Weezy
edrisluv Is it content manager files search or u mean forum topics and site links search?
edrisluv
Weezy yea, but av done dat, pls d search code for wapka, av really tried to put some code from kinwap and other sites but ar not working., following d process...., i just need a working search code for my wapka site
Weezy
edrisluv U mean music filelist code?
Weezy
edrisluv How to create latest update code like that of naijaloaded.. 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
<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 Well in the above code you will see something like forum-112293195 And forum_add_112293195 Now Replace that 112293195 with your Simple forum Id 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 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
<span name="topic"><ing id="topic"><div name="msg">::msg::</div></ing></span>
Copy code
NOW TO TAG YOUR TOPIC FOR USER TO SEE, ONCE YOU CREATE A TOPIC, CLICK THE TOPIC AGAIN, SCROLL DOWN YOU WE SEE
SUMBIT/TAG TOPIC... click on it and it will automatically update!
edrisluv
Weezy ok i will check, thanks....,one more tin....., i want to display latest forum update like d one of naijaloaded.com.ng pls pls pls pls, will i join d code to the same box i put d other code......., am really confused
Weezy
edrisluv The headtags can contain as many codes as possible!
edrisluv
Weezy there is another code in my head tags so ad i don't think i will put anoder code pls find another way out for me
Weezy
edrisluv Download the icon below, i have resized it to be suitable for the page title icon ..upload to your wapka site ...copy the icon url and change it in the code below ..then paste the code in your headtags!
<link rel="shortcut icon" type="image/x-icon" href="http://image-url.com/image.png"/>
Copy code
edrisluv
Weezy yea it works Thanks pls one more tin....., pls really need ur help, I want to change the "w" icon on my wapka site, av tried my best even sef am tired wit it, pls send me d code....., dis is d pic I want to use