The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Lookin for a hack - email into thread
Hello,
Ok heres the skinny: I have an "experts" forum. Only my 9 "experts" are cleared to post in this forum. Up until now, questions for the experts have been emailed to me by users, and then I post the 'good questions' in this forum. Needless to say..this is a pain in the ass. So what im thinking is this... I don't want to open the entire forum to the "general public" cause then they would be like a pack of wild monkeys postin away and general mayhem. And I don't like the way I have to post for them right now. Is there a better way? How about a form that Emails the questions into the forum? Or is that to complicated? Any better ideas? |
#2
|
|||
|
|||
You wouldn't e-mail the questions into the forum. All you need to do is write a script that adds the questions into the database.
Or make your forum moderated so that before new posts posted by regular users appear, they have to be approved by a mod or admin. |
#3
|
||||
|
||||
Maybe you should consider setting access permissions to:
1- Only your experts can reply other's threads while ordinary users can only reply their own. 2- Ordinary users' new threads are moderated. This should do exactly what you want.. |
#4
|
|||
|
|||
Logician,
That sounds like a good idea. But Im not sure how to do it. I set that forum to moderated, but now even the "experts" replies are being moderated. Is there a way to set the general posts to moderated, but the expert posts aren't moderated and automatically get posted? |
#5
|
||||
|
||||
Here is the hack
Edit newreply.php, find: PHP Code:
PHP Code:
Now experts can reply without moderation in that specific forum. Enjoy! Logician |
#6
|
|||
|
|||
Um.... it didn't work. I get a "Parse error: parse error in /home2/www/mysite/forums/newreply.php on line 104"
I copied and pasted the code here. Line 104 is the "if ($bbuser" line. I get that parse error whenever someone tries to post, in any forum, including me. Not just forum 19. PHP Code:
|
#7
|
||||
|
||||
is there a chance you are using OPERA as your browser?
The code you have written is correct and free of errors (especially parse errors), however there might be a problem with copy/paste process (Opera does this!). Please try to write it down verbatim, instead of copy/paste.. Also delete the spaces in the begining of the code, so it should be like this: $visible=!$foruminfo[moderatenew]; if ($bbuserinfo[usergroupid]==11 AND $foruminfo['forumid']==19) { $visible=1; } after you finished.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|