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)

TWTCommish 02-10-2002 03:37 PM

Sorry about that, I forgot to use addslashes() there, I think. I've attached an updated admin_glossary.php file. :)

nafae 02-10-2002 08:23 PM

this hack is amazing and I love you.

TWTCommish 02-10-2002 08:49 PM

I love you too, man.

X-Fan 02-11-2002 01:25 AM

Quote:

Originally posted by TWTCommish
Sorry about that, I forgot to use addslashes() there, I think. I've attached an updated admin_glossary.php file. :)
Beautiful! Thanks for the excellent support, TWT!

I'm curious, though, if you can use HTML code/vB Code in the descriptions? I'm asking because I'd like to know if this system could be adapted to post the X-Men character biographics that myself and my site's staff compile.

And is there a way that you can link one glossary entry to another (or several others)?

TWTCommish 02-11-2002 02:02 AM

I'm curious, though, if you can use HTML code/vB Code in the descriptions.
Yes, you can use HTML...all HTML will be stripped from the Random Term JavaScript display, though. No, right now it doesn't parse for vB Code, but if you want, I could upload a modified glossary.php file and have it do so. It's a VERY minor change, really.

And is there a way that you can link one glossary entry to another (or several others)?
Well, sort of. You can display only a specific term. Like this (I forgot to add error-checking for it, though, I think):
http://www.movieforums.net/glossary.php?glossaryid=48

So, in that sense, you can link to a term directly. I dunno what you mean about several, though. You mean have "related terms" or something?

X-Fan 02-11-2002 02:07 AM

Quote:

Originally posted by TWTCommish
Yes, you can use HTML...all HTML will be stripped from the Random Term JavaScript display, though. No, right now it doesn't parse for vB Code, but if you want, I could upload a modified glossary.php file and have it do so. It's a VERY minor change, really.
Well that's cool, because I don't use random terms on my board.

Quote:

Originally posted by TWTCommish
So, in that sense, you can link to a term directly. I dunno what you mean about several, though. You mean have "related terms" or something?
Yep, like a "See also..." function that you could edit through the admin where you could add x number of related terms to an existing glossary entry by entering the name and having the system automatically generate a link when viewing the entry to the related terms.

That would be sweet! :)

xug 02-12-2002 01:58 AM

Dear TWTCommish,

When I have a text with line breaks and enter it as a new record the line breaks are gone and everything is placed line after line without breaks.

Could you make something in your hack that line breaks will be accepted.

Its a hugh job to put by hand the <br> codes in.

TWTCommish 02-12-2002 02:01 AM

There must be something else going on, because line breaks DO work for me. Are you referring to the random term JS alert, though? If that's the case, then yes, line breaks are removed. But not on the actual glossary listings.

xug 02-12-2002 02:06 AM

Sorry I'm a little duno ;)

When I have a text and add that to the list it will not project the text as I had copied, all lines are after each other without the <br> codes.

When I go into that data to edit it and put myself the <br> codes in everything looks fine, but to do that is a hugh job.

TWTCommish 02-12-2002 02:17 AM

I understand what you mean -- but I don't know what to say. It spaces my lines out flawlessly. Anyone else having this problem?


All times are GMT. The time now is 03:13 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.01203 seconds
  • Memory Usage 1,740KB
  • 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_quote_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