The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Nope
|
#12
|
|||
|
|||
Any other ideas?
|
#13
|
||||
|
||||
Which hook are you putting the plugin on? The hook may be too early. Try member_complete.
|
#14
|
|||
|
|||
Tried that too dude. No luck other ideas?
|
#15
|
||||
|
||||
What is the code you are using now and where are you hooking it at?
|
#16
|
||||
|
||||
Tampering with the template cache is a really bad idea, epecially if you cache the template cache (sic!).
If I could, I'd bite myself into the ass for coming up with this idea some ages ago ... |
#17
|
|||
|
|||
Code:
<plugins> <plugin active="1" executionorder="1" product="vbulletin"> <title><![CDATA[Ban Home Page1]]></title> <hookname>member_complete</hookname> <phpcode><![CDATA[ if ($vbulletin->options['banhome_enabled'] AND is_member_of($prepared, 8)) { $find = '<!-- Ban Home Begin -->'; $replace = 'Home Page Removed'; $vbulletin->templatecache['memberinfo_block_contactinfo'] = str_replace($find, $replace . $find, $vbulletin->templatecache['memberinfo_block_contactinfo']); } ]]></phpcode> </plugin> </plugins> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|