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)

KevinG 01-31-2002 04:51 PM

Thanks TWT for the terms! :up:

Anyone need a button?

Snake~eyes 01-31-2002 06:52 PM

Okay

well a Show all would be good and i could reall yuse a submit feature. LoL.. just somthing like that would be cool.

Anything!

thx

TWTCommish 02-04-2002 02:51 PM

Thanks Kevin -- awesome button. :up: I think I'll modify this shortly to allow people to view all terms, and maybe even a quick search or something. Anyone think a search would be useful? How do you think the submission thing should be handled, everyone?

SaintDog 02-04-2002 03:02 PM

Well, I like the idea of members being able to search, if it turns our you have a huge database of terms, this would be ideal. I think allowing those to view all terms would be a nice idea, but if you are going to implement the search feature, there is not much of a reason to implement a "View All", imo.

In regards to allowing "Term Submissions" I think that would be great, but they would have to be moderated in a way, you would not want loads of trash filling up your glossary for you to later have to delete.

Maybe have a form where only members can fill it out, once they fill it out, it is directly sent to the webmaster/administrator with the term and it's difinition. Once the admin/webmaster reviews it, he/she can then add it to the database (this would take away the time it takes to moderate them, instead, it directly goes to the admin/webmaster).

Just my thoughts. :) - Still a nice hack

SaintDog 02-04-2002 04:00 PM

I was looking at kevins button that he attached and thought I would post one with the border on it for those that wanted it.

Nupraptor 02-05-2002 02:10 AM

http://www.movieforums.net/glossary.php?ltr=D

LOL!

Looks interesting. I might install it. I know it's hard enough trying to keep up with the slang of Star Wars geeks - much less SW geeks who roleplay. ;)

Lucky 02-05-2002 02:52 AM

Got vbp3.0pr7 and vb2.2.2 and all is working great!

Thanks. :p

xug 02-05-2002 03:10 AM

Cool Hack!

I would love to have a 'list all' option, any suggestions how to do this, or 'TWTCommish' could you add that to the script?

Many thanks in advance.

Lucky 02-05-2002 10:08 PM

good idea.

TWTCommish 02-06-2002 12:09 AM

Ok, I added the functionality for this. I've attached the new glossary.php file to this post...just upload it over the old one...but make the template changes first, naturally. :)

Find this in your glossary template:

Code:

        <td width="100%"><normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &nbsp;> &nbsp;Glossary</b></normalfont></td>
Right after it, add this:

Code:

        <td width="50%" align="right">$view_all</td>
Next, create a template called glossary_viewall. Enter this into it:

Code:

<normalfont><a href="$bburl/glossary.php?s=$session[sessionhash]&view=all">View All</a></normalfont>
Next, create a template called glossary_viewall_selected. Enter this into it:

Code:

<normalfont color="white"><b>View All</b></normalfont>
Okay! I think that's it. Here it is in action:
http://www.movieforums.net/glossary.php

Let me know if I've missed anything (more than likely!). :)


All times are GMT. The time now is 10:49 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.01174 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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