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
  #182  
Old 05-20-2014, 07:17 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 addamroy View Post
Lynne, is there any way to display threads by MORE THAN ONE prefix at a time? Maybe via URL parameters or something...
Not that I know of, no. I think you would need to actually modify the code to be able to do that.
Reply With Quote
  #183  
Old 05-16-2015, 02:37 AM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne when I install this mod on my forum it works well with the desktop theme but it interferes with the mobile theme functioning properly. If not enabled I can click on the thread and go directly to it. If the plugin is enabled clicking on the thread only reloads the page in the current view. I have tested on two separate android devices. I do not know if this happens on IOS phones but I would assume so.

I'm using vbulletin 4.2.3. I attached a screenshot.
Attached Images
File Type: jpg Screenshot_2015-05-16-00-20-23.jpg (50.6 KB, 0 views)
Reply With Quote
  #184  
Old 02-29-2016, 10:10 AM
teddyvgt teddyvgt is offline
 
Join Date: Nov 2015
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wish vb5.2.x work
Reply With Quote
  #185  
Old 07-23-2016, 04:15 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by teddyvgt View Post
wish vb5.2.x work
prefixes are clickable by default in 5.x

i was wondering one thing tho....im working on a vb4 project i was considering to code the way vb5 is or if this can be made similar...

its in regards to this part of the description
Quote:
If you click on the prefix, then the forumdisplay will only show threads with that prefix in that forum.
in vb5 it will give any instance of the prefix, not only for that particular channel.....is this possible?

thanks lynne
Reply With Quote
  #186  
Old 07-23-2016, 06:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vB4, the link needs to have a forum id in the URL - ie forumdisplay.php?f=12&prefixid=p_3 . If you remove the "f=12&" part of the URL, then you get an Invalid Forum error. You would need to change the link to a search - ie. search.php?do=process&contenttype=vBForum_Post&pre fixchoice[]=p_3 That would give you all threads using that prefixid.
Reply With Quote
Благодарность от:
IggyP
  #187  
Old 07-27-2016, 01:26 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne...

Installed on 4.1.3pl8 and seems to be working just fine .. :up:

Regards,
Doug
Reply With Quote
  #188  
Old 09-13-2019, 02:10 PM
BasilFawlty BasilFawlty is offline
 
Join Date: Jul 2012
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I wish I'd seen this years ago. Just installed on v4.2.5 and (so far) working great.
Reply With Quote
  #189  
Old 08-26-2020, 01:32 PM
abcde abcde is offline
 
Join Date: Feb 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynn,

Is there anyway that we can have the prefix table that lists all the prefix in that forum above like in the attachment ?
Attached Images
File Type: jpg aa.JPG (94.3 KB, 0 views)
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 04:35 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.04999 seconds
  • Memory Usage 2,342KB
  • 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
  • (3)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (9)post_thanks_box
  • (17)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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