The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Code to stop ignored users from posting in your thread
Hi, I have v3.0.6 and I saw a hack for v2 that allows you to stop users you've placed on ignore from posting in your threads. I've included the original hack for v2 below and wonder if it someone can help me make this work for v3.0.6.
Thanks in advanced for any help or advice. Open newreply.php, find: Code:
$bbuserinfo['userid']==$threadinfo['postuserid'])) { show_nopermission(); } Code:
// HACK: REPLY IGNORE if ($bbuserinfo['userid']>0 and $bbuserinfo['usergroupid']!=6 and $bbuserinfo['usergroupid']!=5 and $bbuserinfo['usergroupid']!=45 and $threadinfo['postuserid']>0) { $firstposter=$DB_site->query_first("SELECT username,ignorelist FROM user WHERE userid='$threadinfo[postuserid]'"); $ignorelist = explode(' ', $firstposter['ignorelist']); while ( list($key, $val)=each($ignorelist) ) { $ignore[$val] = 1; } if ($ignore[$bbuserinfo[userid]]) { eval("standarderror(\"".gettemplate("error_ignoredreply")."\");"); } } // END: REPLY IGNORE Add this: Code:
The original poster of this topic, $firstposter[username], has you on their ignore list. You are unable to reply to the threads they start. |
#2
|
||||
|
||||
have you contacted the author?
|
#3
|
|||
|
|||
Yes, I found that the author was Rick from Overgrow. No reply to my email. I tried to cover every base before coming here and asking. After this if I can't get assistance I'll just pay someone.
Thanks, Nitrous |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|