vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Clickable, Sortable Prefixes (https://vborg.vbsupport.ru/showthread.php?t=169832)

Magnumutz 02-05-2008 10:00 PM

Clickable, Sortable Prefixes
 
Clickable, Sortable Prefixes


Please mark as "Installed" if you use this modification, thanks !



Ok guys, some of you might be wondering what this does (most of you are)... so here it is: Instead of having simple text prefixes, this template modification will allow you to click any prefix and sort them.

This is an alternative to the sorting dropdown menus that are under the Forum Display.

So here's what you gotta do.

First of all, go to your AdminCP -> Styles & Templates -> Style Manager -> Select Style -> Edit Templates -> threadbit.

Good now your editing the threadbit template.
Find:
PHP Code:

$thread[prefix_rich

And replace it with:
PHP Code:

<if condition="$thread['prefix_rich']"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]&amp;prefixid=$thread[prefixid]">$thread[prefix_rich]</a></if> 

All done... simple but effective :)

Demo: http://www.psp-media.nl/vraag-aanbod/

Please mark as "Installed" if you use this modification, thanks !

iogames 02-07-2008 10:57 PM

Is nice to see u making Mods :up:

eNforce 02-07-2008 11:01 PM

Thanks! Very simple, but useful mod!

Demo:
http://www.deathbridge.net/forumdisplay.php?f=5

Forum Lover 02-08-2008 12:54 AM

Quote:

Originally Posted by eNforce (Post 1438545)
Thanks! Very simple, but useful mod!

Demo:
http://www.deathbridge.net/forumdisplay.php?f=5

Still got confused mate... I don't get it. I mean what will be the action?

nothing1 02-08-2008 01:56 AM

Really nice and small mod, two thumbs up!

eNforce 02-08-2008 02:18 AM

Quote:

Originally Posted by Forum Lover (Post 1438595)
Still got confused mate... I don't get it. I mean what will be the action?

Click on one of the thread Prefix's such as "Music" or "PC" or "Other", it will take you to other threads that have the same thread Prefix's.

On normal vBulletin installation, the thread Prefix's are not linked at all :)

RvG2 02-08-2008 03:03 AM

thank you so much.... this must be by DEFAULT in vbulletin since it use prefixes already!

Magnumutz 02-08-2008 01:54 PM

Thanks for the demo eNforce.
And for the reviews... it's as simple as that :)

Forum Lover 02-08-2008 03:48 PM

Quote:

Originally Posted by eNforce (Post 1438614)
Click on one of the thread Prefix's such as "Music" or "PC" or "Other", it will take you to other threads that have the same thread Prefix's.

On normal vBulletin installation, the thread Prefix's are not linked at all :)

Thanks eNforce and agreed with RvG2.

Magnumutz 02-08-2008 03:50 PM

Then nominate it for MOTM :p
Kidding :D


All times are GMT. The time now is 05:18 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.01200 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (3)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
  • (10)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