Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: shunga
Forum: vB3 Programming Discussions 06-20-2008, 11:58 AM
Replies: 12
Views: 942
Posted By shunga
The code is below. I'm sure there are much more...

The code is below. I'm sure there are much more elegant methods, but it works:


$result = mysql_query("SELECT postid, username, userid, dateline, pagetext, threadid
FROM post
WHERE visible = 1...
Forum: vB3 Programming Discussions 06-12-2008, 10:39 PM
Replies: 12
Views: 942
Posted By shunga
I realised my mistake after I posted. I need...

I realised my mistake after I posted.

I need to do a second query to get the thread text, but without knowing the names of everything I'm struggling. I've searched through Google and through the...
Forum: vB3 Programming Discussions 06-11-2008, 11:19 PM
Replies: 12
Views: 942
Posted By shunga
I thought postid just gave a number, not a HTML...

I thought postid just gave a number, not a HTML link? I assume if I can get the threadid I can use that to do another query to get the thread title?
Forum: vB3 Programming Discussions 06-09-2008, 10:31 PM
Replies: 12
Views: 942
Posted By shunga
Thanks for the code. I think I'm using a version...

Thanks for the code. I think I'm using a version of MySQL that doesn't support some of it. This is what I could get to work:


SELECT p.postid, p.username, p.userid, p.dateline, p.pagetext
FROM...
Forum: vB3 General Discussions 06-07-2008, 11:23 PM
Replies: 2
Views: 869
Posted By shunga
Thanks. I must have scanned past that section a...

Thanks. I must have scanned past that section a few times.
Forum: vB3 General Discussions 06-07-2008, 10:07 PM
Replies: 2
Views: 869
Posted By shunga
Quick reply auto activated?

I've looked through the manual and searched the forum, but how do I have the quick reply box useable for posters without them having to click the "quick reply to this message" icon?
Forum: vB3 Programming Discussions 06-07-2008, 09:45 PM
Replies: 12
Views: 942
Posted By shunga
MySQL, PHP and new posts?

Apologies if this has been explained previously, but I couldn't find an answer, though I did find some code to get me started. I need to pull new posts from the database and display the data on an...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT. The time now is 10:56 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.01500 seconds
  • Memory Usage 1,914KB
  • 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)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (7)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (10)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • forumjump
  • search_complete
  • navbits
  • navbits_complete