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

Reply
 
Thread Tools
Make Prefixes Clickable to Filter Forumdisplay Details »»
Make Prefixes Clickable to Filter Forumdisplay
Version: 1.1, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.0 Rating:
Released: 12-22-2009 Last Update: 03-04-2013 Installs: 504
Uses Plugins
Re-useable Code Translations  
No support by the author.

This is another modification which should be standard vbulletin. I wrote a template modification, but have now written one that is just a plugin. This template modification will make your thread prefixes clickable. If you click on the prefix, then the forumdisplay will only show threads with that prefix in that forum. Then, if you click on the prefix again, it will show all the threads.

Click to Filter Forum by this Prefixid:


Click to Show All Threads:


Version History:
1.0 2009-12-22: - initial release by Lynne at vbulletin.org
1.1 2010-01-05 - fixed issue of bad link showing up in search results - clickable prefixes will only show on forumdisplay as they are supposed to now.

To Install:

1. Import product-lynne_click_prefix.xml

To Uninstall:

1. Uninstall "Make Prefixes Clickable to Filter Forumdisplay"

Translations:
Thank you to Luca_ITA for the Italian phrase translations.
Thank you to yjeanrenaud for the German phrase translations.
Thank you to eTiKeT? for the Turkish phrase translations.

Download Now

File Type: zip Make Prefixes Clickable 1.1.zip (103.2 KB, 2140 views)
File Type: xml product-lynne_click_prefix-italian.xml (540 Bytes, 85 views)
File Type: xml product-lynne_click_prefix_GER.xml (2.0 KB, 65 views)
File Type: xml product-lynne_click_prefix_T?RK?E.xml (2.0 KB, 42 views)

Screenshots

File Type: png lynne_prefix_all.png (53.1 KB, 0 views)
File Type: png lynne_prefix_filter.png (47.9 KB, 0 views)

Show Your Support

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

Comments
  #142  
Old 08-15-2012, 04:06 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 RedFoxy View Post
I can't, asu you can test here: http://www.softairmania.it/forum.php
That is a forum.php page. As I said, it only works on the forumdisplay.php pages.
Reply With Quote
  #143  
Old 08-18-2012, 11:16 PM
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
Location: Italy
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
That is a forum.php page. As I said, it only works on the forumdisplay.php pages.
whops :3

There is a way to have it on search result?
Reply With Quote
  #144  
Old 08-18-2012, 11:43 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 RedFoxy View Post
whops :3

There is a way to have it on search result?
You would probably need to create a new plugin to do that using one of the search_* hook locations.
Reply With Quote
  #145  
Old 09-07-2012, 08:08 AM
zascok zascok is offline
 
Join Date: Jul 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne, sorry to bother you. But the idea comes from a usage of you plugin.

Any chance, that you will be interested to create a plugin that removes any prefix from closed threads if any?
Reply With Quote
  #146  
Old 09-07-2012, 03:25 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 zascok View Post
Hi Lynne, sorry to bother you. But the idea comes from a usage of you plugin.

Any chance, that you will be interested to create a plugin that removes any prefix from closed threads if any?
I am not modifying this plugin, but someone else is welcome to modify and release it.
Reply With Quote
  #147  
Old 09-16-2012, 08:51 PM
goldoff goldoff is offline
 
Join Date: Oct 2005
Location: Barcelona
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working fine, thanks.
I also translated it into Spanish. If someone is interested in it just let me know.
Reply With Quote
Благодарность от:
Delfi_r
  #148  
Old 11-13-2012, 05:31 PM
SpikedRocker SpikedRocker is offline
 
Join Date: Jul 2009
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if it was possible to have a way to say have a drop down or legend on the forum section page that would do this, incase a prefix that i wanted to sort by was not on the first page?

It would be pretty handy to check things that we may have forgotten to look at.
Reply With Quote
  #149  
Old 11-13-2012, 09:41 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 SpikedRocker View Post
I was wondering if it was possible to have a way to say have a drop down or legend on the forum section page that would do this, incase a prefix that i wanted to sort by was not on the first page?

It would be pretty handy to check things that we may have forgotten to look at.
Of course there is a way to do that, but it isn't part of this modification. You would need to coe something like that or try a search and see if someone else has coded it.
Reply With Quote
Благодарность от:
SpikedRocker
  #150  
Old 12-17-2012, 01:29 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Temp disabled. There's a bug with this plugin on the default vB4 mobile theme, when clicking on threads it selects the pre-fix instead of which shows the entire prefix thread list rather than going to the thread that you selected. I've tested it and doesn't matter where I click, it shows the prefix list.
Reply With Quote
  #151  
Old 12-17-2012, 04:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could just disable it in the mobile style by adding another condition to the condition in the plugin:

PHP Code:
 AND $vbulletin->options['styleid'] != 
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 08:17 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.05255 seconds
  • Memory Usage 2,370KB
  • Queries Executed 28 (?)
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_php
  • (5)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (18)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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