The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I'm trying to add some extra data at the top of the "About Me" tab in memberinfo template. Unfortunatelly the only hook available is on Statistics section, which is not what I want. So I'm trying to use str_replace but seems that something is not working well with my plugin code. eg I added in the template the text my_extra_info and I'm trying to replace that text with my_extra_info_updated. The code that I'm using is: Code:
<plugin active="1" executionorder="60"> <title>More Aboutme</title> <hookname>member_complete</hookname> <phpcode><![CDATA[ global $vbulletin; $vbulletin->templatecache['MEMBERINFO'] = str_replace('my_extra_info', 'my_extra_info_updated', $vbulletin->templatecache['MEMBERINFO']); ]]></phpcode> </plugin> Thank you Chris |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|