The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I need to stop a specific user gaining posts
Okay so I found this
Code:
if ($foruminfo['countposts'] AND ($bbuserinfo['userid'] != 30 OR $bbuserinfo['posts'] < 1)) { $bbuserinfo['posts'] += 1; Can anyone help me. I want to keep a poster from gaining posts when posting. Thank you |
#2
|
||||
|
||||
Why do you think it won't work for you? Have you tried it on a test site?
|
#3
|
|||
|
|||
Why? it was for 3.6.x and the post was dated back to 2007... I tried editing the functions_newpost.php file and there was nothing there that I could possibly change. So now I am looking for a version which would work on 3.8.4
|
#4
|
||||
|
||||
I figured it was custom code cuz it was certainly never default vb code (vb has nothing in there regarding userid 30), so I figured you got it from a mod that came with install instructions.
Anyway, there was some thread here where I helped a user write a plugin to stop a specific user from gaining post count. Try a search and you should find it. |
#5
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=69667" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=69667</a>
Yes this is where I sourced the code from, sorry the one I originally posted was the one I edited before I realised it wouldn't work on my version of vB. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|