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 - Global Threads for VB4 (https://vborg.vbsupport.ru/showthread.php?t=258084)

BirdOPrey5 02-01-2011 07:33 PM

Quote:

Originally Posted by BadgerDog (Post 2157443)
Thanks ... :)

Sent you a PM ....

Also, sent you a PayPal donation for this, as well as other mods and work you've done that we've started using. Been meaning to do that for a while now ... :D

Regards,
Doug

Thanks. :D :up:

Apparently the "Thread Links" mod is interfering with this mod. I'm going to work on getting them to work together now.

Will update soon.

Quote:

Originally Posted by TheLastSuperman (Post 2157463)
Awesome Joe, I like how you updated this quite handy imo!


Thanks. :)

BirdOPrey5 02-01-2011 09:30 PM

2.02 released- fixes conflict with the "Thread Links" mod.

Edited to fix execution order.

Aaron873 02-02-2011 01:51 AM

I love this modification, I've edited a couple of things to my likings.
I'm glad you got it working for VB4~

Taurus1 02-02-2011 02:19 AM

Is there a way I can change the global threads text color please? I changed my sticky's color to red, but I am not sure how to do it for this.

Thanks.

BirdOPrey5 02-02-2011 03:06 AM

I'm not really sure what you have to do, probably something with CSS but what you need is in your threadbit_global template...


find the code:
Code:

<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
That is the code for the link... So you have a link to the Sticky code to change colors? Maybe I can translate it for Global thread use.

Taurus1 02-02-2011 03:16 AM

This is what I added in the additional.css template for the sticky color:

Code:

.sticky a.title {color: red;}

BirdOPrey5 02-02-2011 11:24 AM

OK, simple fix... edit the threadbit_global template and change the code I quoted above to:

Code:

<a style="color:green;" class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
I set it to "green" you can use any color you want or hex color code.

BadgerDog 02-02-2011 11:26 AM

Quote:

Originally Posted by Taurus1 (Post 2157662)
This is what I added in the additional.css template for the sticky color:

Code:

.sticky a.title {color: red;}

That's interesting ... :)

Do I just tack this on the very end of the additional.css template that exists for each of my styles, so the Global Threads ONLY appear with this background color?

Thanks ...

Regards,
Doug

BirdOPrey5 02-02-2011 11:31 AM

That doesn't do the background color, just the link color... and that code is for stickies... for global threads you must edit the template I explained above.

BadgerDog 02-02-2011 11:38 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2157739)
That doesn't do the background color, just the link color... and that code is for stickies... for global threads you must edit the template I explained above.

Roger that ... :up:

Regards,
Doug


All times are GMT. The time now is 09:12 AM.

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.01139 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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
  • (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