JuMaSo
sir,
i have 8 forum in my wapka site.but spamming is troubling me much.
so i want to hide new topic option from the members for seven forum but want to keep it for one from where members can create new topic.
how can i do it.
plz sir
give me the full tutorial.
plz
Weezy
JuMaSo Just place this at your forum's auto content but the top auto content would be preferable and more faster to execute. There's nothing to change in the codes beloW
[code]<script language="javascript">
var u=:user-count:;
var ur=location.pathName;
var uri=ur.split("_");
var ur=uri[1];
if(ur=="add"){
if(u){ } else { document.location='login_site.xhtml?do_id=1'; }
}
</script>[code]
Weezy
JuMaSo Create a New page and Change the title into site_notification.xhtml Now paste the below Code
<style>#all img{float: left;display: inline-block;margin-right:4px;margin-top:-0.5px}</style><br /><br/><br /><br/><div class="box" name="all" id="all"><div class="one"><b>Notification System</b></div><br /><br/><br /><br/>:forumlist:f=c,s=:get-site(1):,l=20,t=--::<div class="mbox"><script language="javascript"> if('%text%'.match(/(Like)/ig)) document.write('<img src="/img/300258/300258478_41523b8ae5.png" alt="Like" class="img_notif"/>'); if('%text%'.match(/(Comment)/ig)) document.write('<img src="/img/300258/300258479_756b9bc35d.png" alt="Comment" class="img_notif"/>'); if('%text%'.match(/(quote|quoted)/ig)) document.write('<img src="/img/300258/300258482_ef66f3095b.png" alt="Quoted" class="img_notif"/>'); </script> <div style="display:table-cell">%lname% %text%<br/><small>%time%</small></div></div>::<hr/>:/forumlist:<br /><br/></div><div class="mbox"><a href="site_notification.xhtml?get-site=:math::get-site(1):+1:/math:">Load More</a></div><br /><br/><br /><br/><br /><br/><br /><br/><iframe src="profile_0.xhtml?u=:user-tname:&get-d=no&get-id=:user-prvar-74:" style="display:none"></iframe><br /><br/><br /><br/><br /><br/><br /><br/><br /><br/><br /><br/><script language="javascript"> all=document.getElementsByName('all')[0].innerHTML; all=all.replace(/[$(.+?)$]/ig,''); all=all.replace(/Với/ig,'thích'); document.getElementsByName('all')[0].innerHTML=all; </script>
Copy code
JuMaSo
Weezy tnx sir,
but it is not what i asked for.
i want to hide create new topic option from all members in all my forum except one.
Weezy
JuMaSo ok, u want to be the only one to create topic in your forum?
JuMaSo
Weezy yes sir,it called tuner system.
I have seen some wapka sites that hide create new topic except for some users and admin.
plz sir,
Weezy
JuMaSo Login to your wapka » Edit Site » style for forum/chat » Global styles for forum and chat » own Theme in forums and paste the below codes in the third box which is style of theme site. Remember to edit "Admin Username" and put your
admin name
<script language="Javascript">var wmo=':user:'; if(wmo == 'Admin Username'){$('#men').show();} else {$('#men').hide();}</script>
Copy code
Then to hide the create New topic paste the below code in the same third box, find ::CREATE_LINK:: and modify as below
<div name="men">::CREATE_LINK::</div>
Copy code
JuMaSo
Weezy sir,
tnx going to try later.
but one problem sir,
it will disable create new topic option in all the forums,
is there any way to enable create new ttopic just in one forum like help forum?
thx in advance.
Weezy
JuMaSo I dnt think so, i will check ..if i come up with something interesting ..will notify u
JuMaSo
Weezy tnx sir,
sir,i tried many tutorial but failed to setup a full wapka notification system for comment,quote,like.
plz share latest method.