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)

drumsy 10-23-2003 02:59 AM

Installed, works great! :)

disquiet 11-15-2003 09:40 PM

Just another user saying thank you for a great hack, but also requesting the user submission with moderation function...

Just had to post my two cents...:D

cinq 11-24-2003 03:07 AM

Quote:

Originally Posted by Falkware
I was wondering if anybody's modified the code so that when you first enter the glossary it will list total terms/definitions in the database?

If you have a big glossary it's nice to be able to show just how many terms you have in there.

I think you can try the following additions :

In glossary.php
Find
PHP Code:

eval("dooutput(\"".gettemplate("glossary")."\");"); 

Before that, ADD
PHP Code:

$query1 $DB_site->query("SELECT * FROM glossary");
$total $DB_site->num_rows($query1); 

Save and reupload glossary.php

In your glossary template
Find :
PHP Code:

<br>

$footer 

Before that, ADD
PHP Code:

<table cellpadding="6" cellspacing="0" border="0" {tableinnerextrawidth="100%">
<
tr>
    <
td bgcolor="{tableheadbgcolor}" width="100%"><smallfont color="{tableheadtextcolor}">There are a total of <b>$total</bterms in the glossary.</smallfont></td>
  </
tr>
</
table


Lemme know if it works :)

JamesFrost 01-06-2004 07:12 PM

How about a vb3 version of the glossary? I'd certainly be keen to use it. :D

TWTCommish 01-07-2004 03:20 AM

Quote:

Originally Posted by JamesFrost
How about a vb3 version of the glossary? I'd certainly be keen to use it. :D

I've already re-written it. :) I'll need a bit more time to modify it for public release, though.

JamesFrost 01-07-2004 07:13 AM

Happy to be a test subject if you like.

Geographic2 01-12-2004 07:57 PM

Hey TWT... I really liked this hack. And I've been converting it over to VB3 myself...

I have the whole admin functionality worked out perfect..

But I'm having trouble getting the display for users to work right at all.

Basically things that are repeated such as Glossary entries and the letters to select from
do not display properly, only the last one shows up.

Can you help me figure this out? Or sneak me a peak at the new glossary.php?

TWTCommish 01-12-2004 08:04 PM

Quote:

Originally Posted by Geographic2
Hey TWT... I really liked this hack. And I've been converting it over to VB3 myself...

I have the whole admin functionality worked out perfect..

But I'm having trouble getting the display for users to work right at all.

Basically things that are repeated such as Glossary entries and the letters to select from
do not display properly, only the last one shows up.

Can you help me figure this out? Or sneak me a peak at the new glossary.php?

PM in transit. :)

RobAC 01-30-2004 04:06 PM

Looking forward to a vB3 version as well. :)

vdich 02-07-2004 07:11 AM

The glossary works with vBulletin Version 2.3.0 ?
Do u have me actually files of glossary ?


All times are GMT. The time now is 02:21 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.01278 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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