The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
I don't know what the variable name is for the userid, but I'm guessing you do since you are already displaying it so for the example I will call is $userid...
Code:
<if condition="$userid = 750"> $user_display_id = 2; <else /> $user_display_id = $userid; </if> |
#12
|
|||
|
|||
![]()
Thanks so much, but can you edit it I did not know the variables name, here is the code:
PHP Code:
|
#13
|
||||
|
||||
![]()
I'm sorry I just tested this and it does not work. I forgot you can't do php in a template, so there's no way of setting/changing the variables. I don't know if there's a way around this but the code would have been this:
PHP Code:
--------------- Added [DATE]1276222079[/DATE] at [TIME]1276222079[/TIME] --------------- OK, I see what you have to do is add the php code to a plugin... in 100% honesty I have never done this before so I don't want to even guess at how to do it, I doubt it would work- but maybe someone else could tell you the code you'd need to put in the plugin... I guess my issue is if $post[userid] is available to the plugin... if so it would be relatively simple... OK this might be a tremendous waste of time and I strongly urge you to backup your forum first or better yet try this on a test board first... In Admin CP go to Plugins and Products -> add new plugin Hook Location: global_start Title: UserID Override Execution Order: 5 Plugin PHP Code: PHP Code:
Save Plugin... And then change the code in the template you gave me above to: PHP Code:
|
#14
|
|||
|
|||
![]()
immm I guess I would not try that
![]() --------------- Added [DATE]1276257027[/DATE] at [TIME]1276257027[/TIME] --------------- or at least make his posts related to anonymous membership and make his posts 0 |
#15
|
||||
|
||||
![]()
You may delete all his post in admincp > threads & Posts > prune > prune by username. Or search for user > select Find all post by user > then select them all > user Moderation Tools to delete them.
|
#16
|
|||
|
|||
![]()
Thanks
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|