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)

Lynne 03-05-2013 09:33 PM

Quote:

Originally Posted by eTiKeT? (Post 2408140)
Thank you very much needed ;)

- İNSTALLED -

Turkish version of the XML :)

Thank you! I added that to the first post also.

RichieBoy67 03-05-2013 10:56 PM

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

Thanks!

flash84 04-04-2013 10:01 AM

Quote:

Originally Posted by FF|Skyrider (Post 2391272)
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.

Morrus 06-24-2013 11:25 AM

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?

Toorak Times 06-24-2013 04:22 PM

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.

SWFans.net 07-03-2013 09:31 PM

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.

Muhammad Rahman 07-27-2013 10:44 PM

work fine on my forum .. vB 4.2.1 ,,

The_Hawk 01-10-2014 03:52 AM

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?

Wajow-community 02-03-2014 11:33 PM

why i dont see it in admincp - option?

Lynne 02-04-2014 12:58 AM

There is nothing to see in the admincp. It's only a product, so it only shows up in the Manage Products area.

Areku 02-13-2014 08:21 AM

Is there any way to list all the prefixes active in certain forum near the header or toolbar area so you can click them there too in addition to each post?

poprwc 02-13-2014 04:15 PM

How make a global prefix clickeable? not for specific forum

show
iF click To prefixid: magazine in forum 143

foro/forumdisplay.php?143&prefixid=magazine
show the prefix magazine in the forum 143

iF click To prefixid: magazine in forum 215
/foro/forumdisplay.php?215&prefixid=magazine
show the prefix magazine in the forum 215

how show all magazine prefix? whatever 143+215 in same page

insidegames 04-04-2014 08:57 AM

Nice idea :-) But it doesn't work with our forum system -> http://www.psn-senioren.de/forum/rennspiele-7/

Lynne 04-04-2014 05:20 PM

Probably something in your custom style or a conflict with another modification. It works just fine on my defautl 4.2.2 test forum.

jimsflies 04-05-2014 03:10 PM

Could prefixes in the search threadbits also be made clickable? Either with this mod or a slightly different one?

HolyKiller 04-26-2014 04:09 PM

I can confirm that the mod works fine on 4.2.2 PL1

Spangle 05-03-2014 07:07 PM

Just want to add that as you can specify Rich Text as well as Plain Text, it's possible to use images.

I'm experimenting with icons with a height of 30px, and it looks OK.

This also adds the prefix in the last post column

abouobaide 05-10-2014 11:32 PM

Quote:

Originally Posted by poprwc (Post 2480862)
How make a global prefix clickeable? not for specific forum

show
iF click To prefixid: magazine in forum 143

foro/forumdisplay.php?143&prefixid=magazine
show the prefix magazine in the forum 143

iF click To prefixid: magazine in forum 215
/foro/forumdisplay.php?215&prefixid=magazine
show the prefix magazine in the forum 215

how show all magazine prefix? whatever 143+215 in same page

interesting ..any solution ?

Lynne 05-11-2014 04:17 PM

You'd have to change it to a search URL, like:
search.php?do=process&contenttype=vBForum_Post&pre fixchoice[]=magazine

addamroy 05-20-2014 04:04 PM

Lynne, is there any way to display threads by MORE THAN ONE prefix at a time? Maybe via URL parameters or something...

Lynne 05-20-2014 07:17 PM

Quote:

Originally Posted by addamroy (Post 2498649)
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.

mykkal 05-16-2015 02:37 AM

1 Attachment(s)
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.

teddyvgt 02-29-2016 10:10 AM

wish vb5.2.x work

IggyP 07-23-2016 04:15 PM

Quote:

Originally Posted by teddyvgt (Post 2565854)
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 :)

Lynne 07-23-2016 06:44 PM

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.

BadgerDog 07-27-2016 01:26 PM

Thanks Lynne... :)

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

Regards,
Doug

BasilFawlty 09-13-2019 02:10 PM

Wow, I wish I'd seen this years ago. Just installed on v4.2.5 and (so far) working great.

abcde 08-26-2020 01:32 PM

1 Attachment(s)
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 ?


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.01477 seconds
  • Memory Usage 1,780KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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