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
  #162  
Old 03-05-2013, 09:33 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 eTiKeT? View Post
Thank you very much needed

- İNSTALLED -

Turkish version of the XML
Thank you! I added that to the first post also.
Reply With Quote
  #163  
Old 03-05-2013, 10:56 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work as always Lynne! I have a client that will just love this!

Thanks!
Reply With Quote
  #164  
Old 04-04-2013, 10:01 AM
flash84 flash84 is offline
 
Join Date: Apr 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
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.
I had the same problem on default mobile style. The user has the potential to get stuck in a never ending loop of filtering by prefix and then listing by all threads.

To fix go to AdminCP > Plugin Manager > Make Prefix Clickable > [Edit]

Search for this line:
Code:
if ($thread['prefixid'] AND $thread['prefix_rich'] AND THIS_SCRIPT=='forumdisplay')
And replace with:
Code:
if ($thread['prefixid'] AND $thread['prefix_rich'] AND THIS_SCRIPT=='forumdisplay' AND $vbulletin->userinfo['styleid'] != 4)
*Change 4 to the number of your default mobile theme to disable the plugin on the mobile theme.

Awesome plugin by the way Lynne.
Reply With Quote
  #165  
Old 06-24-2013, 11:25 AM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of the most useful mods around!

Here's a question to any erstwhile coders here: what would it take to add the filtered prefix name to the page title when filtered?
Reply With Quote
  #166  
Old 06-24-2013, 04:22 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne, we been building a Directory using the prefixes and this is just great for us.

http://www.tooraktimes.com.au/forumd...ness-Directory

We are trying to move the Search Block below the posts on top as we speak.
Reply With Quote
  #167  
Old 07-03-2013, 09:31 PM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder what it would take to modify this to work the same way but with Post Icons instead of Prefixes? I tried doing so myself with no success.
Reply With Quote
  #168  
Old 07-27-2013, 10:44 PM
Muhammad Rahman Muhammad Rahman is offline
 
Join Date: Jun 2012
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work fine on my forum .. vB 4.2.1 ,,
Reply With Quote
  #169  
Old 01-10-2014, 03:52 AM
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working nicely for me... although this isn't what I was originally looking for (and still am).

I'm looking for something that does the opposite, ie allows you to click a button and EXCLUDE a certain prefix (with the ability to toggle on/off). Is there anyway to modify this to do that?
Reply With Quote
Благодарность от:
heyzeus909
  #170  
Old 02-03-2014, 11:33 PM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why i dont see it in admincp - option?
Reply With Quote
  #171  
Old 02-04-2014, 12:58 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is nothing to see in the admincp. It's only a product, so it only shows up in the Manage Products area.
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 09:21 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.05343 seconds
  • Memory Usage 2,359KB
  • 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
  • (2)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
  • (17)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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_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