![]() |
wow
That's some great thinking there! Thanks, man! |
A (maybe) easier approach:
In template phpinclude_start add PHP Code:
FIND Code:
<if condition="$post['userid']"> Code:
<if condition="$post['userid'] AND $post['userid'] != $bbuserinfo['userid']"> The advantage over tmhalls suggestion is that this does require less processing (explode() is only executed once), and you don't have to modify the php files. |
Quote:
Kirby, you can do explode in the phpinclude_start template? I tried it in the postbit but it said explode wasn't allowed to be used in templates. I didn't know phpinclude_start existed. :nervous: |
Yes you can.
In normal Templates you can use only a few functions. But phpinclude_start is a special template where you can place PHP - only PHP. The code there will be executed by global.php |
Well I'll be damned. That's good to know, thanks. :)
Yep, that works like a charm. Thanks again, Kirby. |
All times are GMT. The time now is 03:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|