vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGlossary Basics (https://vborg.vbsupport.ru/showthread.php?t=111622)

SS9267547 03-28-2006 10:00 PM

vBGlossary Basics
 
Since I couldn't find any glossary hacks for vb 3.0.X here on vb.org other then Princeton's small FAQ fix/hack I created one for my needs but thought others might need this as well so I've decided to release this small hack. vBGlossary Basics is a very simple glossary hack which looks simliar to the FAQ section of vBulletin. The reason I created the glossary to look like the FAQ was the fact I wanted my FAQ section to be more of a 'Help Center' where users could choose to view the FAQ or glossary section under the help center and look the same. Of cousre you welcome to change to to your needs.

There are 7 screenshots included for you to see what this little hack can do. Now this isn't the greatest coded hack I'm sure so I'm sure there are bugs. Please post any problems you find as well post any solutions and new additions you might add for the hack for other members to use. While I would like to provide support to any isseues you might have with the hack I will not be able to since I don't have as much free time as I would like of course that dosn't mean I might not look in once in a while to make updates. Also feel free to port to 3.5 if you need it. Hope someone finds the hack useful!

vBGlossary Basics

Current Version Number: 1.0.0
vBulletin Test Version(s): 3.0.7, 3.0.13
Queries to run: 3
File Edits: 5
New Phrases: 12
New Templates: 9
Template Edits: 1
Last Edited: March 28, 2006
Edited By: Lucas Pawelczyk
Install Time: 15 minutes
Difficulty: Moderate

Current Features
  1. Option to activate or disable glossary globally.
  2. Give permissions to whatever usergroup you want to be able to access this.
  3. Option for maximum number of entries to be displayed per page.
  4. Create unlimited basic categories.
  5. Basic search options.
  6. Sort glossary alphabetically.
  7. BBCode and smiles enabled.

Note: The 3.0.X series is no longer in any development. Any new features will be only added to the 3.5 series.

For those wanting the hack for the 3.5 series please click visit:
https://vborg.vbsupport.ru/showthread.php?p=938884

PHPGeek2k3 03-29-2006 07:19 AM

kewl hack could be useful thanks

- James

MissKalunji 03-29-2006 02:55 PM

lets say i already have some work in the database is there a way for me to import?

cause i had cinq's hack for 3.0......

SS9267547 03-29-2006 11:18 PM

Might be possiable but I'd need to see how the database is setup. Could always install this hack, rename the main table from the other script to how the new one is and then simply delete the new table that got installed. If you pm me script or at least the install script so I can see how its set up I can let you know.

MissKalunji 03-29-2006 11:18 PM

i'll try to rename the table....

i dont have the install anymore:(

thanks for your help! i'll let you know

and thanks for the mod! i've been looking for that for a whillllllllllle!


---------------------------------
oh shoot i just realised :( its not for 3.5 dammit
---------------------------------

SS9267547 03-30-2006 10:54 AM

Well I'll see if I can find some time to make a port this week.

MissKalunji 03-30-2006 11:17 AM

Quote:

Originally Posted by SS9267547
Well I'll see if I can find some time to make a port this week.


well thank you for considering it

SS9267547 04-01-2006 12:53 AM

vBGlossary Basics 1.1.0 has been released for the 3.5 series. If your using that forum and would like to use this hack please visit the following link. Enjoy all!

https://vborg.vbsupport.ru/showthread.php?t=111863

skokarl 06-22-2006 05:27 AM

Thanks for the great idea.

But, i have a parse error in the install script ..... line 231 ??

vb 3.07, php 5.04, mysql 4.1.1

Warlord 09-15-2006 11:20 PM

Will HTML work in the glossary entries?

Warlord 09-16-2006 01:45 AM

Well I just decided to try it and see and got numerous errors upon install.

I had to edit the installer just to get it to work, because I kept getting:

Parse error: parse error, unexpected T_VARIABLE

for lines 231, 318 and 355.

So I changed this:
PHP Code:

<phrase 1='$glossary[version]'>$vbphrase[glossary_copyright]</phrase

to this (adding periods)

PHP Code:

<phrase 1='.$glossary[version].'>$vbphrase[glossary_copyright]</phrase

Then the installer seemed to be working, but ran into some problems installing the templates.... Although they apparently did install.

PHP Code:

Warningstrpos(): Offset not contained in stringin /includes/adminfunctions_template.php on line 1929
Created
/Updated Template GLOSSARY 

Warning
strpos(): Offset not contained in stringin /includes/adminfunctions_template.php on line 1929
Created
/Updated Template GLOSSARY_CAT 
Created
/Updated Template glossary_catlist 
Created
/Updated Template glossary_letter 
Created
/Updated Template glossary_list 
Created
/Updated Template glossary_nodisplay 

Warning
strpos(): Offset not contained in stringin /includes/adminfunctions_template.php on line 1929
Created
/Updated Template GLOSSARY_RESULTS 
Created
/Updated Template glossary_view 
Created
/Updated Template glossary_searchresult 

And finally there seems to be a missing adminfunctions_glossary.php
in the zipfile which is supposed to be uploaded in the includes directory.

Anyone care to help a guy out? :D

neopet001 11-26-2007 05:46 AM

I don't know why such a good Glossary mod is available for 3.6.x . There is one in the Graveyard. Why ?
I think a glossary will help much in managing and browsing forums that provide a complete series of books, or introduce something for sell, etc.
Could I use this for my 3.6.8 board ?
Thank you in advanced.

mosz 06-27-2008 12:03 AM

nice mod, thx a lot :)


All times are GMT. The time now is 04:53 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.01170 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete