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
  #12  
Old 12-23-2009, 12:36 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really nice Lynne, good job.
Reply With Quote
  #13  
Old 12-23-2009, 05:08 PM
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sections do not work?
Reply With Quote
  #14  
Old 12-23-2009, 05:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sections? This has nothing to do with CMS.
Reply With Quote
  #15  
Old 12-24-2009, 09:31 PM
cosy cosy is offline
 
Join Date: Jul 2007
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you go to what is new when click on a prefix u get invalid URL

also can put use on rhe URL the title instead of Prefix ID
Reply With Quote
  #16  
Old 12-24-2009, 10:37 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 cosy View Post
if you go to what is new when click on a prefix u get invalid URL

also can put use on rhe URL the title instead of Prefix ID
Hmmm, this wasnt' written to be used on the What's New page. I'll have to put a condition around it so it doesn't show then in my next release.

If you want to do it now, just put this around the plugin contents:
PHP Code:
if (THIS_SCRIPT == 'forumdisplay') {
** 
the current plugin code **

Reply With Quote
  #17  
Old 12-28-2009, 08:56 AM
Antyrael Antyrael is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this great plugin Lynne

One question though, would it be possible to make it so that you can view all topics with the same prefix forum wide?
Or make it optional maybe.

I would like to present an easy list of important topics for new visitors, selected by their thread prefix.
For example, the URL would be something like "forumdisplay.php?prefixid=01".
Reply With Quote
  #18  
Old 12-28-2009, 02:13 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 Antyrael View Post
Thanks for this great plugin Lynne

One question though, would it be possible to make it so that you can view all topics with the same prefix forum wide?
Or make it optional maybe.

I would like to present an easy list of important topics for new visitors, selected by their thread prefix.
For example, the URL would be something like "forumdisplay.php?prefixid=01".
Somebody already asked that question in this thread. I do not know how that is possible.
Reply With Quote
  #19  
Old 12-31-2009, 03:58 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne,

I have added Prefix's [CN] [KR] [JP] etc. and force the Poster to use one to designate country, I Installed the mod as directed, but the Prefix is not Clikable. Could it be that the Brackets make the prefix Null? Or if I need to make different prefix's to suit the mod, pls advise.
Reply With Quote
  #20  
Old 12-31-2009, 02:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use brackets in my prefixes, so that isn't it. Are you trying this on a default style? Also, you need to be using rich prefixes - did you make sure to enter the prefix text in that text box also?
Reply With Quote
  #21  
Old 01-01-2010, 04:49 AM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thank you.
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:34 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.05141 seconds
  • Memory Usage 2,358KB
  • 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
  • (1)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (16)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
  • (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