The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Small problem... My plugin keeps repeating itself...
What I mean is, I have a plugin that is supposed to replace something in the postbit with additional info, but it repeats that additional info more for each poster in the thread, so for example their post count looks like this
Posts: 125! next user Posts: 36,588!! Next user Posts: 16!!! and so on adding more ! every time, here is the code, and I'm using postbit_display_complete because it's the only one that actually even inserts the data. Thanks for your help Code:
$stuff="!"; $lookfor='$vbphrase[posts]: $post[posts]'; $replace='$vbphrase[posts]: $post[posts] $stuff'; $vbulletin->templatecache['postbit_legacy'] = str_replace($lookfor, $replace, $vbulletin->templatecache['postbit_legacy']); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|