The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
specific users to start new threads
I was wondering if it was possible to only let certain users start threads in a forum. I want my members to be able to have sort of a journal. They can start the thread in their forum (no one else can), but others can reply. Is this possible?
Thanks |
#2
|
||||
|
||||
you can put thread starters in a special user group and assign forum access permissions so that only this group can create new threads in that forum and others can reply..
|
#3
|
||||
|
||||
Of course...
Just move them into another usergroup, say named "Journal", and set the Forum Permissions for their forum for that usergroup and the Registered usergroup, making sure that the "Journal" members can start new threads in that forum, but the Registered members can only reply Satan |
#4
|
||||
|
||||
Lol...
Logican beat me to it again! Satan |
#5
|
||||
|
||||
Actually, I was going to do something like this too
But, without using usergroups, 'cause otherwise I would have to make a lot of different groups The idea I came up with: a few subfora where only the admins, super moderators and the moderators of that specific subfora can post new threads. But then I'll need a peace of code to check wheter or not a user is moderator of that subforum. Btw, a lot of hacks that concern moderators use if usergroup = 5, but that's a special usergroup at my board |
#6
|
||||
|
||||
yea, I will have to make a bunch of different usergroups, but I will see how that works.
Thanks! |
#7
|
||||
|
||||
If you dont want to use usergroups and access permissions and if you need to hack that's the line you need :
if ($bbuserinfo[usergroupid]!=X AND $forumid=Y) { show_nopermission();exit;} This allows only usergroup X to pass the line when forumid is Y (You can add it to newthread.php for new threads, newreply.php for new replies) for specific users choose this one: if ($bbuserinfo[userid]!=X AND $forumid=Y) { show_nopermission();exit;} Same applies, only userid X can pass the line in forum Y. Hope this helps.. |
#8
|
||||
|
||||
Yeah well, I figured that out allready, but I'd like moderators (which are actually users that are in the Registered usergroup) to be able to start new threads as well.
So, how about this: PHP Code:
btw, one more little question, where to put this code and what code should be placed at the "Code to continue" part? |
#9
|
||||
|
||||
himm.. the code:
PHP Code:
For new threads: in newthread.php insert it before: PHP Code:
PHP Code:
|
#10
|
||||
|
||||
thanks
Actually, I just came up with the idea to use if != moderator too, so I surfed to this post to tell you but then I saw you allready posted that code And even more thanks for giving the location to put the code btw, I'd like it template driven. This code is correct, isn't it? PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|