vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   want to make a encylopedia using current DB (https://vborg.vbsupport.ru/showthread.php?t=73667)

aussiev8 01-02-2005 10:06 AM

want to make a encylopedia using current DB
 
i used to use nuke, and i have a db table with all of the encylopedia terms, i was wondering if someone could give me a kick in the right direction on how i'd get this into a nice addon..

maybe something like:

[ a b c d e f g h i j k l m n o p q r s t u v w x y z ]

then they pick a letter and all of the definitions starting with that letter are displayed, they can then click on the title and presto the definition pops up!

the table layout goes as follows:

article_id,
title,
text,

any gurus out there wanting to lend a hand?

aussiev8 01-04-2005 10:16 AM

bump
anyone?

rake 01-04-2005 10:28 AM

to get all the terms from the database starting with a certain letter, you could use this query:

SELECT * FROM table WHERE title LIKE '$letter%'

then loop through all rows to display the list of entries for that letter..

aussiev8 01-04-2005 11:11 AM

how can i make it look like the forum?
is there an addrow() function or somethin i can use?
i'd prefer to do it that way then create my own tables?

Dean C 01-04-2005 11:14 AM

I did make DC Glossary a while ago but I haven't had time to pick it up again (got frustrated with having to support phrases which broke everything).

aussiev8 01-05-2005 01:05 AM

bump someone out there should know this!

rake 01-05-2005 06:23 AM

Seems like you need to learn a lot more about vbulletin and coding in general before you can do this. You can't expect someone to walk you through creating a hack.

aussiev8 01-05-2005 08:02 AM

so where do i learn? :)
shouldn't i ask questions, to find the answers? I've searched the net without much help.
i've created php websites before, but asked a few simple questions, i can add dynamic tables to pages, do encryption, secured transfers ect.ect, but just not sure what functions/procedures vb gives everyone..

aussiev8 01-09-2005 09:11 PM

anyone?

memobug 01-11-2005 05:25 AM

Quote:

Originally Posted by rake
Seems like you need to learn a lot more about vbulletin and coding in general before you can do this. You can't expect someone to walk you through creating a hack.

In what way would this integrate with vB

?


All times are GMT. The time now is 03:08 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.00971 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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