Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
My Listings (link in postbit) Details »»
My Listings (link in postbit)
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.2 Rating:
Released: 07-13-2009 Last Update: 07-14-2009 Installs: 22
Re-useable Code  
No support by the author.

Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com

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
  • Step 1: Install the product
  • Step 2: Configure options & Enjoy! Options (vBulletin Options -> My Listings (Link in Postbit)

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.

Download Now

File Type: xml product-provb_mylistings.xml (3.7 KB, 114 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-19-2009, 09:31 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing showing at all
Reply With Quote
  #13  
Old 08-22-2009, 02:19 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice to have some stats included in the postbit also. x threads y forum
Reply With Quote
  #14  
Old 08-22-2009, 02:26 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #15  
Old 08-22-2009, 11:00 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #16  
Old 08-22-2009, 03:49 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will install this in a few...
FINALLY some more Mods by Gio...
You make some of the best modifications IMO.
Reply With Quote
  #17  
Old 09-13-2009, 09:58 AM
Rvl Rvl is offline
 
Join Date: Aug 2007
Location: Karşıyaka
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ProVB :down:
Reply With Quote
  #18  
Old 03-28-2011, 12:36 AM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

surprisingly Works in Postbit but not in Postbit legacy for vb4.1
Reply With Quote
  #19  
Old 02-17-2016, 10:49 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']);

if(in_array($forum['forumid'], $listmythreadforums) OR !($this->registry->options['mylistings_inpostbit_forums'])){

$mylistings_inpostbit_forums = construct_phrase($vbphrase['mylistings_inpostbit_forums'], $vbphrase[threads], $forum[title]);
$template_hook[postbit_userinfo_left] .= '<div align="left"><a href="' . $this->registry->options['bburl'] . "/forumdisplay.php?f=$forum[forumid]&userid=$post[userid]\">" . $mylistings_inpostbit_forums . '</a><div>';

}
forumdisplay_query

Code:
$listmythreadforums = explode(',',$vbulletin->options['mylistings_inpostbit_forums']);

$foruminfo[listmythreads] = false;


if(in_array($foruminfo['forumid'], $listmythreadforums) OR !$vbulletin->options['mylistings_inpostbit_forums']){
	// Get Category ID
	$vbulletin->input->clean_array_gpc('r', array(
		'userid'			=> TYPE_UINT
	));
	$get_requested_user = $vbulletin->GPC['userid'];
	
	// Filter answers?
	if($get_requested_user){
	        $hook_query_where .= " AND thread.postuserid = '$get_requested_user'";
	}

$foruminfo[listmythreads] = true;
	
}
Reply With Quote
  #20  
Old 02-17-2016, 07:52 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 02-17-2016, 08:29 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about on first post only?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06613 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete