vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBGlossary (https://vborg.vbsupport.ru/showthread.php?t=34385)

TWTCommish 02-12-2002 02:26 AM

Ok, nevermind, I got it fixed. Attached is an updated glossary.php file -- if anyone reading this wants vB Code support, use this one.

xug 02-12-2002 02:26 AM

And as for your hack I haven't changed anything else than the file name and the filename in the templates.

xug 02-12-2002 02:29 AM

Cool ! This update works for me.

Thank you so much for the very fast responces and action.

It's not only a great hack, but your a great guy too !

xug 02-12-2002 02:34 AM

What do I need to do to change the background color ?

so that entry 1 is the same background as entry 3 and
that entry 2 is the same background as entry 4 etc. etc.

Mabye this is already mentioned in this thread but I can't find it.

TWTCommish 02-12-2002 02:37 AM

To do that open the glossarybit template and change this:

Code:

$color
to either this:

Code:

{firstaltcolor}
Or this:

Code:

{secondaltcolor}

xug 02-12-2002 02:57 AM

If I change that code to a color code the entire page background color on my list all page will be the same for each and every entry

TWTCommish 02-12-2002 02:58 AM

Yes, isn't that what you wanted? The same color for entry 2, 3, 4, etc.

xug 02-12-2002 03:02 AM

just as on your list, that you see a darker gray background for entry 1 and a lighter gray for entry 2 and than the darker gray background for 3 and the lighter gray for entry 4 etc etc.

TWTCommish 02-12-2002 03:04 AM

It already does that without any changes. :) It uses your firstaltcolor and secondaltcolor variables (the ones you use for the background of your posts) to alternate colors.

xug 02-12-2002 03:08 AM

Not on my board, maybe I installed something wrong or forgot a template!

Which template does this?

My glossarybit looks like this : (is this one ok?)

<tr bgcolor="$color">
<td width="20%" valign="top"><b><normalfont>$text</normalfont></b></td>
<td width="80%" valign="top"><normalfont>$description</normalfont></td>
</tr>


All times are GMT. The time now is 11:57 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.01158 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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