The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
how to include this php code to vbulletin ? i think wirh plugin and Global start but inst working like that. this script should only be at the showthread.php
function: if the user is logged in. That special link is disepearing from all post. PHP Code:
|
#2
|
|||
|
|||
![]()
need help here!
|
#3
|
||||
|
||||
![]()
You couldn't do that in global start I don't believe. You just dont want links to work at all?
|
#4
|
|||
|
|||
![]()
no only a special link should disappear if the user logged in
|
#5
|
|||
|
|||
![]()
`no ideas?
|
#6
|
|||
|
|||
![]()
need help -.-
--------------- Added [DATE]1257600267[/DATE] at [TIME]1257600267[/TIME] --------------- help me Oo? |
#7
|
||||
|
||||
![]()
if(THIS_SCRIPT == showthread)
{ your code here } |
#8
|
|||
|
|||
![]()
with global start or what?
like that? PHP Code:
|
#9
|
||||
|
||||
![]()
You are using template conditions in a plugin and that is not going to work. Plugins must only use php. Instead of:
PHP Code:
PHP Code:
|
#10
|
|||
|
|||
![]()
ah ok, then like that? (what about the </else> ) Oo
if(THIS_SCRIPT == showthread) { if ($vbulletin->userinfo['userid']) { function callback($buffer) { return (str_replace("http://example.com", "", $buffer)); } ob_start("callback"); {else /} } } |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|