edubuilder
Weezy Is not a code he hav to set the person as forum modrator
Weezy
edubuilder Wat abt other forum users, wont they be able to create topic?
edubuilder
Weezy If he want them to create topic is goin to show the create topic link
Weezy
edubuilder Ok then drop the tutorial on how to set it!
Washington
Weezy Tank u weezy... Edubuider no wan post am
plz urgently i need tuitorial on how to display image of more dan 20kb in wapka forum. D 1 of donsiazones am using is working oo, but it is only wen user logs in dat d picture will appear. If a non logged user access my forum, it will only write d image link.......
Dis is d code of donsiazones.com own
<script language="javascript">
var msg=document.getElementsByName("donsia");
for(var i=0;i<msg.length;i++){
var oldtext=document.getElementsByName("donsia")[i].innerHTML;
var newtext=oldtext.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig, "$1<a href='$2'>$2</a>");
newtext=newtext.replace(/\[img\](.+?)\[\/img\]/ig, "<div align='center' class='donsiamag'><a href='$1'><img src='$1' alt=':get-topic(GLAMOROUSSTARCITY.TK):' style='background-color:#556B2F;max- width:100%' width='' height=''/></a></div>:br:<b>Photo Credits</b>:br:$1"); newtext=newtext.replace(/themeid/ig, ":getid-forum:"); newtext=newtext.replace(/themename/ig, ":get-topic:"); newtext=newtext.replace(/temaid/ig, ":get-tema:"); document.getElementsByName("donsia")[i].innerHTML=newtext;
}
</script>
plz i need working code that would enable all users 2 c d images in forum... Tank u. Needed urgently
Weezy
Washington How to set wapka forum to accept images more than 20kb ..go to global settings > forum > wcode > untick img ..now go to wap2 > styles for content in
forum > own msg in own forum... now befor the ::msg:: tag.. put this
Code:
<span name="topic"><img
id="topic">::msg::</img></span>
Copy code
after that goto your forum footer usually site_-ID.xhtml and add
<script language="javascript"><br />var msg=document.getElementsByName("topic");<br />for(var i=0;i<msg.length;i++){<br />var oldtext=document.getElementsByName("topic")[i].innerHTML;<br />var newtext=oldtext.replace(/(^|[n ])([w]+?://[^ ,"nrt<]*)/ig, "$1<a href='$2'>$2</a>");<br />newtext=newtext.replace(/<td><span><img src='(.+?)' alt='' style='background-color:red;max- width:100%;' /></span></td>/ig, "<a href='$1'><img src='$1' alt='image' /></a>");<br />document.getElementsByName("topic")[i].innerHTML=newtext;<br />}<br /></script>
Copy code thats all!
Washington
Weezy Wat about d <br /> 's in d 2nd code... Should i remove dem?
Washington
Weezy Tank u itz already working. Plz i need dat facebook comment box code like dat naijaloaded own. I want 2 use it as my comment box in my site.... Hw do i do it plz
Weezy
Washington Give me a link the page with the facebook comment box!