vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Different Cell Color for Stickies (https://vborg.vbsupport.ru/showthread.php?t=93195)

Andrew111888 07-29-2005 10:00 PM

Different Cell Color for Stickies
 
What this modification does is change the td cell background color for a sticky thread when viewing a thread listing.

Versions:
3.6.0
3.5.0
3.0.0

This is tested in 3.0.5 but I don't know why it wouldn't work in any 3.0.x version.

Tony G 07-30-2005 06:46 AM

Very, very useful mod. Thanks for sharing, will definitely use myself. ^^

Andrew111888 07-30-2005 06:53 AM

I actually thought it would be more complex than it was but then I discovered $thread['sticky'] is what determines if the thread is a sticky or not and then I just shoved it in the template.

Azhrialilu 07-30-2005 11:33 AM

Great idea! *installs*

bigcurt 07-30-2005 12:05 PM

Good job bud A+ mod

~Curt

Warlord 07-30-2005 10:04 PM

Handy little feature.

*clicks install*

Tony G 07-31-2005 12:42 AM

Quote:

Originally Posted by Andrew111888
I actually thought it would be more complex than it was but then I discovered $thread['sticky'] is what determines if the thread is a sticky or not and then I just shoved it in the template.

I also thought it would be pretty complex, suprised it wasn't. ^^

Barakat 08-01-2005 01:19 AM

thanks and install ....... good job

GrendelKhan{TSU 08-01-2005 05:42 AM

any chance for this with 3.5 RC1?

(btw, related: anyone know how to change it so I can to something else (different word) beside the word "sticky"?)

:D

Andrew111888 08-01-2005 07:00 AM

Admin CP -> Languages & Phrases -> Phrase Manager -> GLOBAL Phrases -> sticky_thread_prefix is how you change that.

And as I have no working 3.5 board because of some stupid cookie issue, I don't know when I'll write this for 3.5.


All times are GMT. The time now is 01:47 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.01210 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)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