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)

ladyfyre 06-10-2002 01:33 AM

is there any way to set this up so that you can add glossary editors who are not Admins? Our Admins are already under a TREMENDOUS work load, and i seriously doubt they will contribute time to this...but we have many senior members who i believe would happily submit terms on a regular basis.

Would it work to move the admin_glossary.php file to another directory and use .htaccess to control access? (assuming of course that the script will work with the require for global.php taken out)

TWTCommish 06-10-2002 01:53 AM

It won't work without the global.php file, I don't think. You might be able to move it to the /mod directory so that Mods can manage the Glossary, though.

bpuetz 07-06-2002 03:33 AM

Great hacks -- thanks!

A question that I didn't see an answer to in the thread -- is it somehow possible to add images and other links into the definitions? I have a real need for that.

Also, a feature request. I would like to see an additional Category added to the terms. Then I could display the forum related terms when called from the forums, or the classified realted terms when called from the classifieds, etc. There would also be an option to display all terms. Because of the nature of my site, I'm going to eventually have a huge number of terms in the glossary, and this feature would make it less overwhelming and easier to navigate.

Thanks again!

FWC 07-06-2002 05:10 AM

Quote:

Originally posted by bpuetz
Great hacks -- thanks!

A question that I didn't see an answer to in the thread -- is it somehow possible to add images and other links into the definitions? I have a real need for that.

Sure, just use HTML in the definition. I do it all the time.

bpuetz 07-06-2002 06:29 AM

Quote:

Originally posted by FWC
Sure, just use HTML in the definition. I do it all the time.
I'll say you do! I just had a look at your glossary. Thanks!

FWC 07-06-2002 08:14 AM

Quote:

Originally posted by bpuetz
I'll say you do! I just had a look at your glossary. Thanks!
Glad to help. :)

firewars 07-06-2002 08:38 AM

This isn't working for me :(

The glossary itself works fine.
However, the admin_glossary-file is just blank.
I can't find an error, though.
I did the sql query and uploaded both files as well as added both templates and modified my /admin/index.php-file.

Any ideas? :(

firewars 07-06-2002 08:39 AM

My fault, I tried accessing the file itself without the addings (?action=add..) :)
Thanks for such a great hack!

firewars 07-06-2002 08:53 AM

Umm ok now this is not really working, as I just noticed:

When editing, I get a SQL error :(

Martin64 07-06-2002 12:44 PM

excellent one, TWTCommish :)

I just installed this one and I'm now ready to add some glossary. This should be fun :D

This is my third TWT hack I have installed on my boards, I guess I like your hacks. :P

hypedave 08-05-2002 08:41 PM

when I click on more glossary terms I get a blank page :alien:

Dockaych 08-28-2002 12:03 PM

Would it be possible to have the Glossary.php file show 'all' words in the glossary, and then allow users to filter if necessary (much like the members list page)??

Right now it looks as though the glossary is empty because I don't have any items in the '#' numerical category.

Dockaych 08-28-2002 12:29 PM

Another idea...

Would it be possible to make a custom tag such as [glossary]Avatar[/glossary] which makes the word a hyperlink to an information box (just like on the New Thread page)? This would be really useful.

Dockaych 08-28-2002 01:33 PM

Strange...

When I try to edit an entry, it gives me an SQL error.
However, I can add and delete entries with no problem.
What is the problem?

drownedspirit 01-13-2003 01:56 AM

I get the "Sorry, there are no matching glossary terms available." on the glossary page. I already inputted some terms, why won't they display?


HELP!!! :ogre:

drownedspirit 01-13-2003 02:43 AM

i get this error too..

Database error in vBulletin Control Panel 2.2.7:

Invalid SQL: INSERT INTO glossary (text, description) VALUES ('Who's Online', 'A page displaying the list of users currently on the forums, as well as their current action/location.')
mysql error: You have an error in your SQL syntax near 's Online', 'A page displaying the list of users currently on the forums, as well' at line 1

mysql error number: 1064

what do i do? please please HELP

Geographic 01-17-2003 03:41 AM

It appears as though if the definition of the Glossary term is too long, the alert box will not pop when clicking the random term.

Any fix for dat?

Nice Hack BTW! Good Work.

~Geo~

Geographic 01-17-2003 03:42 AM

Quote:

The third planet from the sun, having a sidereal period of revolution about the sun of 365.26 days at a mean distance of approximately 149 million kilometers (92.96 million miles), an axial rotation period of 23 hours 56.07 minutes, an average radius of 6,378 kilometers (3,963 miles), and a mass of approximately 5.974 ? 1024 kilograms (1.317 ? 1025 pounds).
Oh yeah, with this definition. ;)

drownedspirit 01-20-2003 11:16 AM

Quote:

Originally posted by drownedspirit
i get this error too..

Database error in vBulletin Control Panel 2.2.7:

Invalid SQL: INSERT INTO glossary (text, description) VALUES ('Who's Online', 'A page displaying the list of users currently on the forums, as well as their current action/location.')
mysql error: You have an error in your SQL syntax near 's Online', 'A page displaying the list of users currently on the forums, as well' at line 1

mysql error number: 1064

what do i do? please please HELP

I found out why it gives me error.. I tried Who Is Online and it added. The table doesn't accept ' in Who's.

Btw, I still get the "Sorry, there are no matching glossary terms available." HELP!

.:.NetStartz.:. 02-08-2003 06:52 PM

Could you upload a new .zip to the first page with all the changes and corrections. I love this idea and would love to install it, but going through all the post to see the fixes/updates is time consuming.

Ice Effect69 02-18-2003 09:13 PM

i just installed it, and it works perfectly with no problems

Gutspiller 02-27-2003 01:43 PM

Quote:

Originally posted by TWTCommish
I'll need some more time, I'm working on a few other things. Don't give up on me just yet. :D
Are you still working on those 2 modifications for this hack TWTCommish? I know a lot of us want them, and I was hoping they may be coming shortly? How goes the progress? I was also wondering how hard it would be to implement a search for the glossary? I wouldn't mind something inside the search dropdown box on the actual search page, but I would be more interested in a search field at the top of all the glossary pages that allows you to search while in the glossary. Sound possible?

I also had a question, how hard would it be to modify the hack so that you use the glossary for something else? Like say I want a glossary, but I also want to use the same type of formating for another idea? How hard would it be tweak the current code so that there are like 2 glossaries (sp?) and 1 works as a glossary and the other works for another purpose?

Please let us/me know how the hacking is going. :)

Thanks.

Gutspiller 03-01-2003 12:37 AM

How do I get the glossary word to link to itself on an individual page? That way people can click the word and have that word and it' description the only thing on the page. Can anybody help me with this? I think it would be simple, but I can't seem to figure it out.

Gutspiller 03-08-2003 04:10 PM

bump

FleaBag 03-31-2003 11:45 PM

Very nice hack - working fine with 2.3.0. Not sure how I managed to miss this one for so long. Got a few ideas for modifying this, I'll let you know how it goes. :)

jacobi 05-15-2003 05:06 PM

At the risk of echoing what others have already said, this is an awesome hack, TWTCommish! :D

I'm also thoroughly impressly by the level of creativity of my fellow vBulletin hackers on this thread. It seems there are some great ideas out there for "interpreting" this script for various uses.

Like others have stated, I'd be quite interested in:[list=1][*]The ability for user-submitted (yet moderated) entries[*]A "quick search" box.[/list=1]
The vB Links Directory (now under version 3.0 development at this thread may offer a good model for incorporating these features. I'd love to take a try at it, but I'm still within my first six months as a vBer, and don't feel quite ready to forray into scripting my own hacks yet.

So, in the spirit of our hacker's site - is anyone seeing The Matrix: Reloaded today?

Cloudrunner 05-24-2003 03:48 AM

Thank you TWTCommish, yet again!

I've taken this little gem and converted it into an online herbal. I'll be redoing some code within the structure of the mod and admin CPs to allow for formatting buttons when placing new listings. All in all my herbalist Mods and my users thank you as well for allowing us to have the herbal up and running with minimal time for coding the backend!

Thank you!

)O( Cloudrunner )O(

P.S. Was curious as to your thoughts on recycling the code for the vb buttons within newthread / newreply. Will this break the glossary code with the admin CP at all do you think?

gmarik 05-24-2003 07:55 AM

The Matrix: Reloaded - no, I have not.
Has somebody tried to make an e-library of it?

Falkware 06-28-2003 07:00 PM

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.

Also, has anybody worked on the user-submission for the glossary? Would be nice to have registered members be able to suggest glossary they feel belong and have moderators/admin approve these much like moderated posts.

Other than that I have to say this is a killer hack, and we're loving it already! You can see ours in action here.

Thanks again for a great hack, and I really hope you keep working on this gem!

Cloudrunner 06-28-2003 10:56 PM

yes, I have actually....contact me for how to do it.

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 11:37 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.01595 seconds
  • Memory Usage 1,836KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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