Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-11-2005, 06:01 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aussiev8
anyone?
Start by looking through the function libraries in your includes directory, then look how those functions are being learned.

You already got the best manual there is: the vB source code.
Reply With Quote
  #12  
Old 01-11-2005, 07:42 AM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhmm cool, i don't want someone to walk me through it, for an open source project the documentation is limited and the community help is shocking...

nobody wants to help a new coder get off his feet...
i think you guys are stuck up!
Reply With Quote
  #13  
Old 01-11-2005, 08:25 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rake
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..
rake already provided the solution to what you are asking
Reply With Quote
  #14  
Old 01-11-2005, 08:28 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i consider myself a new coder as well, but i learned myself the way i described it. And in my view that is the only way you can (good) learn something like this.

If you have any specific questions, you will find to community and the members/coders/staff to be very willing to answer and help you solve your problems.
Reply With Quote
  #15  
Old 01-11-2005, 10:40 PM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aussiev8
uhmm cool, i don't want someone to walk me through it, for an open source project the documentation is limited and the community help is shocking...

nobody wants to help a new coder get off his feet...
i think you guys are stuck up!
I tried to help. It seems you just wouldn't answer my question

-- A stuck-up coder
Reply With Quote
  #16  
Old 01-11-2005, 11:25 PM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its just an addon, never mind
i'll go about it on my own..
thanks to the guys that helpd.
Reply With Quote
  #17  
Old 01-12-2005, 12:08 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by memobug
I tried to help. It seems you just wouldn't answer my question
I think aussie knows how to code php/mysql in general, just that he wants to learn how to tie it in with vb using vb's various functions.

Please correct me if I am wrong.
Reply With Quote
  #18  
Old 01-12-2005, 04:09 AM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. I (still have) no clue from his post how, even generally, this encyclopedia was going to integrate with vbulletin. Did it appear on thread view and list every term on that page for definition? Did it appear beside a post? Was it somehow related to search? Maybe I'll never know.

Regards,

Matt
Reply With Quote
  #19  
Old 01-12-2005, 12:40 PM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as i stated, i wanted it to be a thread view, (hence asking about how to make it look like the forum) sorry if i wasn't clear enough..

i just wanted it to act, for instance the same as "articles" this is the best way i could think of setting it out...

it'll have [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 ] in a bar
and when you click on a letter all of the definitions for that letter will come up!

ant
apple
ashtay

then when you click on the "ashtray" link it'll take you to a thread like view with the definition..

?? follow??

ps. i'm sorry i lost the plot, was just getting fed up with it not working the way i wanted it too.. i scrapped the previous attempt and will be a bit calmer and ask for help
i can't bevelie i make coporate fully interactive php styled secure sites, but i'm having trouble with this!

please someone either help me, or shoot me
Reply With Quote
  #20  
Old 01-12-2005, 06:47 PM
rake's Avatar
rake rake is offline
 
Join Date: Nov 2002
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

start with a blank page,
require("./global.php");
to get the vb back-end, so you can access vb resources..

Get your database structure straight. One table should be enough to start with. Something like id ; title ; definition will work.

if($_REQUEST['do'] == showletter)
{
globalize($_REQUEST, array ('l' => STR));

$l = $DB_site->query("SELECT * FROM table WHERE title LIKE '$letter%' ORDER BY title ASC");
while($def = $DB_site->fetch_array("$l"))
{
.....
}
}

This should be enough to get you started. You can work your way up from there. If you don't know what something is, just search here, or through the vb files, and you'll find it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:21 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.07912 seconds
  • Memory Usage 2,254KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete