PDA

View Full Version : vBGlossary Basics


SS9267547
03-28-2006, 10:00 PM
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


Option to activate or disable glossary globally.
Give permissions to whatever usergroup you want to be able to access this.
Option for maximum number of entries to be displayed per page.
Create unlimited basic categories.
Basic search options.
Sort glossary alphabetically.
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
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:

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


to this (adding periods)

<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.

Warning: strpos(): Offset not contained in string. in /includes/adminfunctions_template.php on line 1929
Created/Updated Template - GLOSSARY

Warning: strpos(): Offset not contained in string. in /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 string. in /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 :)