The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
For some reason I can't seem to get this string replacement to work, and I thing it has something to do with the $session part of the string
This doesn't work: Code:
$vbulletin->templatecache['threadbit'] = str_replace('showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]','SOME REPLACMENT URL',$vbulletin->templatecache['threadbit']);
Code:
$vbulletin->templatecache['threadbit'] = str_replace('showthread.php?','SOME REPLACMENT URL',$vbulletin->templatecache['threadbit']);
Code:
$vbulletin->templatecache['threadbit'] = str_replace('t=$thread[threadid]$thread[highlight]','SOME REPLACMENT URL',$vbulletin->templatecache['threadbit']);
Thanks |
|
#2
|
||||
|
||||
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=151332" target="_blank">[How-To] Plugins for Template Edits (Adv. Version)</a>
|
|
#3
|
|||
|
|||
|
That was a great article. I don't know how I missed it when searching.
Everything I needed to solve the problem was right there. Thanks |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|