Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
"Find all started threads" in postbit & postbit_legacy dropdown Details »»
"Find all started threads" in postbit & postbit_legacy dropdown
Version: 1.3, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.11 Rating:
Released: 11-30-2009 Last Update: 05-11-2012 Installs: 116
Uses Plugins
Re-useable Code Translations  
No support by the author.

fourat asked me to update his modification here for vb4. It just adds a new option, Find all started threads, to the little postbit(_legacy) dropdown and now (in version 1.2) throughout the site.

This was just a simple plugin, but it is now a product. It was a bit more involved figuring out the variable names than any simple little plugin should have to be! Or, perhaps I was just having a bad coding day.



Version History:
1.0 2009-12-01: - initial release by Lynne at vbulletin.org as a plugin
1.1 2010-01-03: - Had to add a phrase and rewrite the plugin, so it's now a product.
1.2 2011-01-23: - Thanks to Boofo, this now works throughout the site.
1.3 2012-05-12: - Fixed template to use CSS for image. (changed around 4.1.12?)




To install:

1. Plugins & Products > Manage Products > Import product-product-lynne_view_threads.xml

To uninstall:

1. Uninstall "Add View Forum Threads to Postbit Dropdown"

Download Now

File Type: zip Add View Threads.zip (20.0 KB, 212 views)
File Type: zip Add View Threads 1.2.zip (20.2 KB, 122 views)
File Type: zip Add View Threads 1.3.zip (20.5 KB, 190 views)

Screenshots

File Type: png add_view_threads.png (16.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
djbaxter, EliasAlucard, elsa23, K4GAP

Comments
  #32  
Old 05-26-2010, 02:49 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

The icon doesn't line up with the rest of them in 4.0.3. The fix for this is as follows:

Code:
if ($show['search']) 
{ 
$template_hook['memberaction_dropdown_items'] .= '<li class="left"> 
    <img src="'.vB_Template_Runtime::fetchStyleVar(imgdir_siteicons).'/forum.png" alt="" /> 
    <a href="search.php?'.$session[sessionurl].'do=finduser&amp;userid='.$post[userid].'&amp;starteronly=1&amp;contenttype=vBForum_Post" rel="nofollow"> 
        '.$vbphrase[view_forum_threads].' 
    </a> 
</li>'; 
}

Also, is there a way to do this globally so that it works in all areas that have the dropdown when you click on the username? (forumdisplay, etc.)
Reply With Quote
  #33  
Old 05-26-2010, 01:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Bob.

If you want to have it show up everywhere that this template is used, then you have to write a different plugin for every area it is used in.
Reply With Quote
  #34  
Old 05-26-2010, 02:09 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried doing that and I couldn't get it to work in any other place.

And, you're very welcome.
Reply With Quote
  #35  
Old 07-18-2010, 11:34 AM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does installing this mean that the "Add as Contact" (which is located where the View Forum Threads is at now) is replaced by "View Forum Threads"?
Reply With Quote
  #36  
Old 07-18-2010, 02:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArchAngelz View Post
Does installing this mean that the "Add as Contact" (which is located where the View Forum Threads is at now) is replaced by "View Forum Threads"?
No, it doesn't replace it. It would be shown in addition to the other stuff.
Reply With Quote
  #37  
Old 04-29-2011, 04:47 AM
p@ndu p@ndu is offline
 
Join Date: Jan 2009
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

it is showing in this way cannot we set in a order

Reply With Quote
  #38  
Old 04-29-2011, 06:38 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, there is no way to sort the order.
Reply With Quote
  #39  
Old 05-03-2011, 04:49 PM
ARSamo ARSamo is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

un installed ............ not working on vb 4.0.0
Reply With Quote
  #40  
Old 03-04-2012, 04:44 AM
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alignment is off on 4.1.11. I ended up hard-coding the mod into memberaction_dropdown.

Thanks for the great idea though!
Reply With Quote
  #41  
Old 05-11-2012, 06:49 PM
Big-Pete Big-Pete is offline
 
Join Date: May 2009
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't get this to work in vB4.1.12PL1
Reply With Quote
Reply

Thread Tools

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 04:51 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
  • Page Generation 0.12060 seconds
  • Memory Usage 2,332KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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