vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Make Prefixes Clickable to Filter Forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=230906)

peugeot405 11-04-2010 08:12 PM

very nice mod.
thx for that.

one question:
Would it be possible to make the sticky, moved, moerated and poll also selectable.

Lynne 11-04-2010 09:37 PM

Quote:

Originally Posted by peugeot405 (Post 2118040)
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.

NovoCiv 01-09-2011 08:20 AM

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.

Lynne 01-09-2011 05:44 PM

Quote:

Originally Posted by NovoCiv (Post 2146345)
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.

NovoCiv 01-09-2011 08:50 PM

Quote:

Originally Posted by Lynne (Post 2146540)
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.

Lynne 01-09-2011 10:12 PM

Quote:

Originally Posted by NovoCiv (Post 2146642)
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?

NovoCiv 01-09-2011 10:30 PM

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?

Lynne 01-10-2011 03:19 AM

Quote:

Originally Posted by NovoCiv (Post 2146697)
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).

NovoCiv 01-10-2011 11:18 PM

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

Lynne 01-11-2011 03:38 AM

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.

imedic 01-25-2011 09:44 PM

Installed, nominated, great mod. Should be standard in VB ... Thanks man :)
I think I will use some color coding for prefixes so You might get the idea that thery are clickable.
I have never know that clicking on number of replies it gives you a summary of who posted :)

Magnumutz 02-14-2011 04:42 PM

Hah, looks pretty much like my old template mod: https://vborg.vbsupport.ru/showthread.php?t=169832 :)

Lynne 02-14-2011 10:32 PM

Quote:

Originally Posted by Magnumutz (Post 2162547)
Hah, looks pretty much like my old template mod: https://vborg.vbsupport.ru/showthread.php?t=169832 :)

It does the same thing only without doing any template edit.

emath 02-15-2011 08:56 AM

works for vb4.1.1?

Schoelle 02-15-2011 12:03 PM

Quote:

Originally Posted by emath (Post 2162734)
works for vb4.1.1?

Installed today on 4.1.1 - works!

Fantastic mod! Thank you!

3amalah 02-15-2011 01:20 PM

Amazing As Usual Lynne :)

Thanks Installed In 4 Forums :) Can I Click Install 4 Times Hehe

COL NIL SATIS 02-15-2011 05:11 PM

Awesome work as always Lynne,thanks

cravendale 04-03-2011 05:15 PM

Hiya,

Nice modification.
I have a question about the clickable prefixes. I want to change the colour of them as a global change. I've learned I can change each prefix colour in the prefix manager, but I have allot of prefixes I need to change so that they are not the same colour as the topic titles.
If there is a easy way to globally change the prefix colour that would be great as at the moment they are the same colour as the live link (topic colour).

Can I do this via the additional css or some other way?

thanks

Lestat_ 04-04-2011 06:53 AM

this is excellent ! thank you

Lynne 04-04-2011 04:41 PM

Quote:

Originally Posted by cravendale (Post 2180473)
Hiya,

Nice modification.
I have a question about the clickable prefixes. I want to change the colour of them as a global change. I've learned I can change each prefix colour in the prefix manager, but I have allot of prefixes I need to change so that they are not the same colour as the topic titles.
If there is a easy way to globally change the prefix colour that would be great as at the moment they are the same colour as the live link (topic colour).

Can I do this via the additional css or some other way?

thanks

Have you tried adding something like this to additional.css:
HTML Code:

.prefix a {color: red;}
If that doesn't work, then please link to the page on your site so I can see your CSS.

Lestat_ 04-04-2011 05:42 PM

Quote:

Originally Posted by Lynne (Post 2180808)
Have you tried adding something like this to additional.css:
HTML Code:

.prefix a {color: red;}
If that doesn't work, then please link to the page on your site so I can see your CSS.

I had the same challenge and fixed it in one sql update query in php myadmin - i used bold black format :

Code:

update vb_phrase set text=concat('<span style="color: black;"><b>',text,'</b></span>') where left(varname,6)='prefix' and right(varname,4)='rich'

cravendale 04-05-2011 09:38 PM

Quote:

Originally Posted by Lynne (Post 2180808)
Have you tried adding something like this to additional.css:
HTML Code:

.prefix a {color: red;}
If that doesn't work, then please link to the page on your site so I can see your CSS.


Hi,

Adding...
Code:

.prefix a {color: red;}
to the additional.css worked.

thanks lynne :)

HolyKiller 04-10-2011 04:21 PM

vB 4.1.3 - works flawlessly

Rebecca217 04-14-2011 05:26 PM

Works perfectly! Thanks so much! :)

reddyink 05-25-2011 01:43 AM

Excellent MOD!. Is it possible to make Prefixes part of the sidebar column where it lists all the prefixes of the forum and user clicks on a prefix in sidebar, threads w/ prefix show up on forumdisplay.
Thank you Lynne,

imported_dfmafia 10-21-2011 12:56 AM

how do I make them clickable from forum home, and categories. they are only clickable when browsing that sub-forum

UPDATE:
it works on all subforums but not on the forum home. unable to click on them. would be nice if you could and it would send you to the subforum or foum it is posted under with the search results

example:
Make (Pre-Fix can not be clicked)
-------Model (Pre-Fix is clickable)
--------------Trim Level (Pre-Fix is clickable)

Baja 12-22-2011 08:24 AM

This is a great mod that was working beautifully for me until recently. I just upgraded to 4.1.8 and suspect that might be the problem.

Can anyone else confirm if this is working in 4.1.8?

Lynne 12-22-2011 04:55 PM

Quote:

Originally Posted by Baja (Post 2280003)
This is a great mod that was working beautifully for me until recently. I just upgraded to 4.1.8 and suspect that might be the problem.

Can anyone else confirm if this is working in 4.1.8?

I can confirm it works fine on my 4.1.9 site.

Luca_ITA 12-23-2011 05:53 PM

1 Attachment(s)
As above, working fine on 4.1.9.
Thank you for this mod!!

Allego la traduzione Italiana (italian translate)

Lynne 12-24-2011 04:23 PM

Quote:

Originally Posted by Luca_ITA (Post 2280490)
As above, working fine on 4.1.9.
Thank you for this mod!!

Allego la traduzione Italiana (italian translate)

Thank you. I have added this to the first post.

Baja 12-28-2011 08:10 AM

Yup, it turns out another admin accidentally deleted the prefixes.

It's working fine in 4.1.8 too.

Thanks for the replies!

Athena1984 01-03-2012 07:07 PM

This is very useful and like another user said, should be default! Thanks so much for making it. :)

sportsfroma2 03-06-2012 03:54 AM

my prefixes are still clickable in 4.1.11, lol... great mod, very low maintenance :)


I keep forgetting this isn't default vB behavior

Nirjonadda 03-06-2012 07:59 AM

Installed working on 4.1.10

Skierpetros 03-06-2012 09:13 AM

Invalid File it says when i try to upload the .xml

On 4.1.10

Beckenbauer 04-10-2012 06:27 PM

I love this mod. Thanks!
Is it possible to remove the Filter?

Or only with the return button?

Lynne 04-10-2012 11:18 PM

I don't know what you mean.

ywwz 04-12-2012 11:48 AM

working on 4.1.11

Lynne 04-12-2012 04:53 PM

Quote:

Originally Posted by ywwz (Post 2319374)
working on 4.1.11

Thank you for posting this. It really helps to have members post about whether the mod is working in newer versions. :)

addamroy 04-12-2012 07:42 PM

Great mod Lynne I'm pretty sure I have it marked as installed (it's installed on my forum)

I have one issue i'm not sure if there's a really simple workaround or not, but is there any way to filter threads by more than one prefix at a time?

Example,
Code:

http://www.yourforumhere.com/forumdisplay.php/398-forum-name-here?prefixid=prefix_id_1
will show all threads with prefix id prefix_id_1

But I need a way to show threads with more than one prefix at a time.

Like if below was possible,
Code:

http://www.yourforumhere.com/forumdisplay.php/398-forum-name-here?prefixid=prefix_id_1&prefix_id_2&prefix_id_3
would show all threads with prefix id prefix_id_1, prefix_id_2, and prefix_id_3 at the same time.

Essentially I've got a forum with 50 different category options, and 6 sub-category options for each of those and I have a prefix for each one individually.

Example, I have my prefixes set up pretty much like this, each line is 1 prefix

category1 - subcategory1
category1 - subcategory2
category1 - subcategory3
category1 - subcategory4
category1 - subcategory5
category1 - subcategory6

category2 - subcategory1
category2 - subcategory2
category2 - subcategory3
category2 - subcategory4
category2 - subcategory5
category2 - subcategory6

etc etc. The above example is a total of 12 prefixes.

So in my case, it would be awesome to be able to show all threads from any of the category 1 prefixes at once.

Is this possible at all, possibly with some minor adjustments? This would be hugely beneficial.

For me personally i don't even care that the prefixes are clickable, but it provides that static URL you can use. I use it to essentially make a table of contents using all the URLs for each prefix. Essentially I want to put a link in this table of contents that goes to a page showing threads with multiple prefixes at a time.


All times are GMT. The time now is 01:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01466 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_html_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete