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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2011, 11:08 PM
lilgezuz lilgezuz is offline
 
Join Date: Jan 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default database query

I'm not sure if I'm do something wrong or if something has changed from vb3 to vb4. But I'm not using VB4 and trying to get a mod to work with VB4 before with VB3 it would pull 6 records from the databse and display them on a page. Now with VB4 the same query will only pull the last record from my database and display that. Is there something else I need to do in the php or template to get it to display all 6 records
Reply With Quote
  #2  
Old 05-26-2011, 05:07 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you just post your Code instead of making us guess?
Reply With Quote
  #3  
Old 05-26-2011, 02:42 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
Why don't you just post your Code instead of making us guess?
Ahaha, we should start reading mings now lol
Reply With Quote
  #4  
Old 05-26-2011, 03:10 PM
lilgezuz lilgezuz is offline
 
Join Date: Jan 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW! nevermind I will look else where for help if I'm gonna get these kind of responses
Reply With Quote
  #5  
Old 05-26-2011, 03:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lilgezuz View Post
WOW! nevermind I will look else where for help if I'm gonna get these kind of responses
I don't blame you. But what I'm sure they meant to say is, probably no one will be able to help you unless you were to post the code in question. Also if it's a mod you downloaded from here you should be asking in the mod thread.
Reply With Quote
  #6  
Old 05-26-2011, 05:11 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lilgezuz View Post
WOW! nevermind I will look else where for help if I'm gonna get these kind of responses
So, you think its unreasonable to ask for the actual query you ask for help with? Honestly? WOW indeed.
Reply With Quote
  #7  
Old 05-26-2011, 05:23 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
So, you think its unreasonable to ask for the actual query you ask for help with? Honestly? WOW indeed.
I'm sure it was the way you asked, along with borbole's comment. Can you not see that it could come across as rude?
Reply With Quote
  #8  
Old 05-26-2011, 06:18 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. But since help is not needed anymore, it's pointless, really. Next time I'll make sure to put some extra candy on when answering in a thread.
Reply With Quote
  #9  
Old 05-26-2011, 06:57 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'm sure it was the way you asked, along with borbole's comment. Can you not see that it could come across as rude?
What is rude about it. The OP couldn''t be more vague by asking how can I do this and that here and there, without mentioning a specific code and/or any other details what so ever. And unless we read minds, we got no clue what he is talking about.

Can you make sense of this?

Quote:
Originally Posted by lilgezuz View Post
I'm not sure if I'm do something wrong or if something has changed from vb3 to vb4. But I'm not using VB4 and trying to get a mod to work with VB4 before with VB3 it would pull 6 records from the databse and display them on a page. Now with VB4 the same query will only pull the last record from my database and display that. Is there something else I need to do in the php or template to get it to display all 6 records
cellarius reponse was perfectly in order. Nothing rude what so ever about his answer, or mine as well for that matter.
Reply With Quote
  #10  
Old 05-26-2011, 07:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
What is rude about it. The OP couldn''t be more vague by asking how can I do this and that here and there, without mentioning a specific code and/or any other details what so ever. And unless we read minds, we got no clue what he is talking about.
Your comment serves no purpose other than to ridicule the OP. You don't call that rude? Then pick another word. In any case it's unnecessary.


Quote:
Can you make sense of this?
That's irrelevant. We all agree we need more info, like I posted above.


Quote:
cellarius reponse was perfectly in order. Nothing rude what so ever about his answer, or mine as well for that matter.
We'll have to agree to disagree. If we were to take a poll, do you really think most people would agree with you?
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 01:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03994 seconds
  • Memory Usage 2,263KB
  • 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
  • (9)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
  • (1)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