The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to make it so only the admin has the ability to use all uppercase in a thread title.
Line 183 in the class_dm_threadpost.php file I have added a condtional. if ($userid != 1) { $title = fetch_no_shouting_text($title); } It does not work as expected, I suspect the $userid variable is not know in this php file. Do I use a require once to make this work? Thank you. |
#2
|
||||
|
||||
![]()
$this->registry->userinfo['userid'] contains the Userid of the current User.
But as I hate File Edits ... Hook: global_start PHP Code:
|
#3
|
|||
|
|||
![]()
Kirby you are awesome, the plugin works perfect.
Thank you very much I really appreciate it. :up: ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|