edrisluv
pls I need did site forum codes, dere ar
two forum in dis site, I want d 1 DAT is supported wit wapka
OluwaTofunmi
edrisluv I don't think it can be supported on wapka... This forum is an xt function while the homepage is a blog function
OluwaTofunmi
edrisluv Request for the wapka own
edrisluv
OluwaTofunmi wat I need is like DAT...., u can av another related to it dat wapka can surport
OluwaTofunmi
edrisluv 1st of all create a Simple Forum (Not structed On
theme) I.e Create a Simple forum and
write Down the Forum Id, Now Go to
your forum button Auto content and
Paste below code
OluwaTofunmi
edrisluv <style>.nin{display: none;}</style><br /><div class='nin'>:forum-112293195/smallform/0:</div><script type='text/javascript'><br />dtoken=document.getElementsByName("d_token")[0].value; </script><form method="post" action="forum_add_112293195.xhtml"><input type="hidden" name="meno" value=":user-tname:"/><script type="text/javascript"> var dhd = ':getid-url:'; var yur = dhd.split( "hash" )[1]; var yurliii = yur.split( "tema" )[1]; var yurlk = '/forum2_theme_:getid-forum:.xhtml?tema'+yurliii; var messag = ":getid-forum:"; var jeel = messag.split( "tema" )[0]; var s1 = document.getElementById('s1').innerHTML; document.write('<input type="text" name="text" value="<a href="'+yurlk+'">'+s1+'</a>"/>');</script><script type="text/javascript">dtoken=document.getElementsByName("d_token")[0].value; document.write('<input type="hid'+'den" name="d_token" value="'+dtoken+'"/'+'>');</script><input type="hidden" name="ret_s" value="0"/><input type="submit" name="submit" value="TAG TO HOMEPAGE"/></form>
Copy code Check the above code you will see
something like forum-112293195 And
forum_add_112293195 Now Replace that
112293195 with your Simple forum Id that you
created Earlier Then submit the code, Now
go to your Homepage then Paste the below code
<div style='background:#e5e5e5;'> :forumlist:f=112293195,l=30,s=:get-number(1):,o=n::<div class='update' style='left-padding: 15px; right-padding: 15px;'> - %text%</div>:: :/forumlist:</div><div/><center><div class="update"><div class="update">:paging:n=:geti-number(1):,u=site_:getid-site:.%ext%?get-number=%n%:admin-hash-amp: ::<table class='' width='100%'><tr><td width='50%' align='left'><div class='ht:get-number 1:'><b>%prev%</b></div></td><td width='50%' align='right'><b>%next%</b></td></tr></table><style> .hta%nlast%{ display: none;} .ht:get-number(1):{ display: none;}</style>:/paging:</div></div></center>
Copy code
OluwaTofunmi
edrisluv check the above Code nd Replace with
your simple forum Id u created Earlier..
Wapka Tag Topic Automatically To
Homepage code 1st: Have Forum Bottom
Autocontent (i will advice you to create a
new page for that). Paste this code at the forum bottom autocontent (the page you
created), replace the forum id ..
<div id='hidden'>:forum-111412866/form/2:</div>
<script src="<b> </b> /gdev-1.0.js"></script>
<script language="javascript">
// Hiding the textarea
var amt=getnElem('text').length-1;
getnElem('text')[amt].style.display='none';
getnElem('submit')[amt].value='Tag This Topic';
</script>
<script language="javascript">
//setting the values
var theme=getElem('').innerHTML;
var tema=$_GET('tema');
getnElem('text')[amt].value=' ' theme '';
</script>
<script>
if(!tema) {
getElem('hidden').style.display='none';
}
</script>
<script>
if(!tema) {
getElem('hidden').style.display='none';
}
</script>
Copy code
Also paste the below code in the forum
bottom autocontent
<script language="javascript">
var msg=document.getElementsByName("topic");
for(var i=0;i<msg.length;i ){
var oldtext=document.getElementsByName("topic")[i].innerHTML;
var newtext=oldtext.replace(/(^|[n ])([w] ?://[^ ,"nrt<]*)/ig, "$1<a href='$2'>$2</a>");
newtext=newtext.replace(/<a href='(. ?)'><img src='(. ?)' alt='image' /></a>/ig, "<a href='$1'><img src='$1' alt='image' /></a>");
document.getElementsByName("topic")[i].innerHTML=newtext;
}</script>
Copy code
Go to ur Wap2 .. message in forum... In
the 1st box u will see ::msg::, replace it with the below code {this function will allow you to be able to post picuters in forum}
<span name="topic"><ing id="topic"><div name="msg">::msg::</div></ing></span>
Copy code
CREATE A TOPIC, CLICK THE TOPIC
AGAIN, SCROLL DOWN YOU WE SEE SUMBIT/TAG TOPIC ... click on it and it will automatically update!
edrisluv
OluwaTofunmi pls wat dis for, am expecting message in forum code e.t.c to design my forum....., pls u can explain how d above code works
OluwaTofunmi
edrisluv it a forum function that allows you to post in your forum and make it show on ya homepage... Request for the site forum that you like here
edrisluv
OluwaTofunmi yea naijapres.com forum code