Sunsy(guest
2016-05-21 04:07
Pls is sunsy teach me hw to set it...
How To Display or Add Image (picture) more than 20kb size In Your Wapka Site Forum Post Like
www.campusbase.tk
Step 1: Goto Global settings » Forum » Enable WCODE (about WCODE)
click on that (about wcode) You will see many tick box just untick the one with ( img: )
Step 2: Goto Wap2 » Styles for content in forum/chat » Set ( www.campusbase.tk) global settings of styles for forum/chat » and click on the second " Messages in forum " which is or set own form for: afta u click u will see 3 boxes, In the first box which is "Style of messages in the forum:" Remove :msg: in that box and replace it with
<span name="mido"><ing id="mido">::msg::</ing></span>
Copy code
Step 3: Goto your forum buttom autocontent default button autocontent is site_-1.xhtml, bt mine is
-6 but it will be advisable to create another site id for ur forum buttom autocontent, No long story, Now goto ur Forum buttom autocontent and add the code below
<script language="javascript"> var msg=document.getElementsByName("mido"); for(var i=0;i<msg.length;i ){
var oldtext=document.getElementsByName("mido")[i].innerHTML; var newtext=oldtext.replace(/(^|[n ])([w] ?://[^ ,"nrt<]*)/ig, "$1<a href='$2'>$2</a>"); newtext=newtext.replace(/<img src='(. ?)' alt='image' />/ig, "<a href='$1'><img src='$1' alt='CAMPUSBASE' /></a>"); document.getElementsByName("mido")[i].innerHTML=newtext;
}</script>
Copy code
Thats All!
SOURCE: Campusbase
Sunsy(guest
2016-05-21 08:13
Thanks how will i be posting images?
Use dis
eg [*img*]http://strikecoded.cf/Pic/strikecoded1.png[/img]Remove The Stars And It Will Automatically Show
(Edited by 2016-05-21 10:02 STRIKELORD )