![]() |
That can be done with a conditional such as
Code:
<if condition="$thread['firstpostid'] == $post['postid']"> |
In the plugin?
|
Ah, sorry.. It's been a while since i edited this mod.
In the postbit_display_complete plugin, change the following Code:
$template_hook[postbit_userinfo_right] .= '<div align="right"><a href="' . $this->registry->options['bburl'] . "/forumdisplay.php?f=$forum[forumid]&userid=$post[userid]\">" . $mylistings_inpostbit_forums . '</a><div>'; Code:
if($thread['firstpostid'] == $post['postid']){ |
I tried that conditional in the plugin yesterday, threw up errors
No other addon I have installed uses $template_hook[postbit_userinfo_left]. I added the conditional to that, works fine, Thank you |
Opps, I was typing as you posted.
|
Assuming its working now?
|
Yes, thank you. Not sure why I did not think to wrap a conditional around the hook. :confused:
|
Heh, no worries. Happens to the best of us :up:
|
All times are GMT. The time now is 04:57 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:
|