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

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
  #82  
Old 11-04-2010, 08:12 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice mod.
thx for that.

one question:
Would it be possible to make the sticky, moved, moerated and poll also selectable.
Reply With Quote
  #83  
Old 11-04-2010, 09: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 peugeot405 View Post
very nice mod.
thx for that.

one question:
Would it be possible to make the sticky, moved, moerated and poll also selectable.
I'm sure you could, but not using this mod. You would just edit the phrase for those words and make them clickable. I'm not sure what the URL would be though since I've never looked into it.
Reply With Quote
  #84  
Old 01-09-2011, 08:20 AM
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How much work would it take to make a similar product that allows you to filter a user's posts in a thread?

In earlier versions of vBulletin you could click the number of replies in threadlist, then click on the number next to a name to search posts by that user within the thread. This seems to be broken as of 4.0 (I've tried on a 4.0.5 forum and a 4.1.0 forum).

The basic principal you have here would work great. Click on a word "Filter" next to the username in a post, and have it only show posts in that thread by the specified user.

I think a great deal of people would be very happy if you could make this.
Reply With Quote
  #85  
Old 01-09-2011, 05:44 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 NovoCiv View Post
In earlier versions of vBulletin you could click the number of replies in threadlist, then click on the number next to a name to search posts by that user within the thread. This seems to be broken as of 4.0 (I've tried on a 4.0.5 forum and a 4.1.0 forum).
This works just fine on my 4.1.0 test forum. Make sure you click the number, not the name. The name takes you to the profile, the number shows you the posts.
Reply With Quote
  #86  
Old 01-09-2011, 08:50 PM
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
This works just fine on my 4.1.0 test forum. Make sure you click the number, not the name. The name takes you to the profile, the number shows you the posts.
http://www.screencast-o-matic.com/watch/cXVQ3JXPH

Ontop of that, Search strips BBcode, it shortens messages, and it italicizes everything in a strange format.

The Filter commands would be a very simple one-click way to have all of the posts not by the specified user invisible. The posts by the specified user would keep all formatting.
Reply With Quote
  #87  
Old 01-09-2011, 10:12 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 NovoCiv View Post
http://www.screencast-o-matic.com/watch/cXVQ3JXPH

Ontop of that, Search strips BBcode, it shortens messages, and it italicizes everything in a strange format.

The Filter commands would be a very simple one-click way to have all of the posts not by the specified user invisible. The posts by the specified user would keep all formatting.
Did you reindex your site after the upgrade? If you click on that particular users profile and click to View All Posts, do you get a list then? If not, then it sounds like his posts weren't indexed. Actually, are posts in that forum indexed or do you have it turned off in that forum?
Reply With Quote
  #88  
Old 01-09-2011, 10:30 PM
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That one is not my forum. My forum has problems because when I installed MediaWiki integration it added a "multi-content" search type.

But as I said the ability to filter as your mod seems to do would be better than working search anyway.

Edit: Out of curiosity, how do I check to see if my forum is indexing posts, and how do I enable that setting?
Reply With Quote
  #89  
Old 01-10-2011, 03:19 AM
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 NovoCiv View Post
That one is not my forum. My forum has problems because when I installed MediaWiki integration it added a "multi-content" search type.

But as I said the ability to filter as your mod seems to do would be better than working search anyway.

Edit: Out of curiosity, how do I check to see if my forum is indexing posts, and how do I enable that setting?
You could look to make sure your searchcore table is continually getting larger (normally would have more rows than the post table). You would know if you indexed it in the first place after the upgrade because that step takes a while. You would have indexing turned on for the forum (forum manager) and then it should be an automated task unless you have a large forum and turned off the setting and are having it done by a Scheduled Task (but you would know if you did that).
Reply With Quote
  #90  
Old 01-10-2011, 11:18 PM
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Thanks. I never upgraded, but I found the options and reindexed just to be safe.

Now, is it possible to have this filter effect on posts like I'm asking?
Quote:
Search strips BBcode, it shortens messages, and it italicizes everything in a strange format.

The Filter commands would be a very simple one-click way to have all of the posts not by the specified user invisible. The posts by the specified user would keep all formatting.
Edit/Delete Message
Reply With Quote
  #91  
Old 01-11-2011, 03:38 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sure a modification to filter the thread like you want would be pretty easy. But to have it formatted how you want would be more tricky and require a few more plugins/modifications to the code.
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 03:08 AM.


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.04566 seconds
  • Memory Usage 2,357KB
  • 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
  • (6)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
  • (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