![]() |
My Listings (link in postbit)
1 Attachment(s)
Inspired by.. ModernvB Listings List My Threads Quick and easy mod. I needed for this product and I saw it requested once or twice. A link will auto-generate in postbit, that will redirect the user to all the topics the member has started in that forum. There's also an option to make it forum specific. DemoInstallation
Useful Links ProvB Listings How-To's You can utilize the format forumdisplay.php?f=x&userid=y in order to include the link anywhere, as what was done with the ProvB Listings mod. Just didn't want to force you all to have a dropdown. Might include an option for it if requested. |
I will try this out. Thanks a lot.
Review Coming Soon! |
Very Nice
Installed :) will be back ... |
did not work.. I have the following already in my postbit... maybe something is clashing. *uninstalled*
Quote:
|
Try now (updated the zip). Also, are you missing $template_hook[postbit_userinfo_right] in your postbit template?
|
I like it. It's nice and clean like usual :)
Nice work! |
nope.. sorry, still not working, and yes, I do have $template_hook[postbit_userinfo_right]
|
did not work.. thank you
|
If you weren't able to get it work, feel free to send me over a pm. Once you've confirmed that you aren't missing the template hook, it really comes down to possibly entering the wrong forumid or something along those lines, as it should by default effect all forums.
|
I will send you a pm when I have a few minutes... I did not put in any forum id's at all cheers
|
nothing showing at all
|
Would be nice to have some stats included in the postbit also. x threads y forum
|
I'm confused as to how this works exactly.
Let's say for example, I have the listings in only one forum. I want this link in their postbit to direct them to their listings for that forum no matter where that link is clicked. So if I'm in a different forum I can click on this link and it will show me all their listings from that forum get it? |
It's not working for me now. I click on the link, no matter who's it is, and it will show me only one sticky, and one fight (if that).
|
I will install this in a few...
FINALLY some more Mods by Gio... You make some of the best modifications IMO. |
ProVB :down:
|
surprisingly Works in Postbit but not in Postbit legacy for vb4.1
|
What would need added to either to only show on first post or show only if they have threads in that forum?
postbit_display_complete Code:
$listmythreadforums = explode(',',$this->registry->options['mylistings_inpostbit_forums']); Code:
$listmythreadforums = explode(',',$vbulletin->options['mylistings_inpostbit_forums']); |
In order to only show it if they have posts in that forum, you would need to query every user's post, which can be a bit intense.
|
How about on first post only?
|
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 11:59 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:
|