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)
-   -   Latest XX posts ona non-vb page (https://vborg.vbsupport.ru/showthread.php?t=52235)

vB-Host.com 07-30-2003 09:42 AM

Can you tell me how to do this to get forum home to look like this? http://www.elitetrader.com/vb/ it list all your forums and last 5 threads

Burgy 08-11-2003 02:53 PM

i get the error

Fatal error: Cannot instantiate non-existent class: db_sql_vb in /is/htdocs/26894/www.tanzgemein.de/v2/latest_threads.php on line 35

whats wrong?

in my latest_threads.php there is:
$dbclassname = $bburl."/admin/db_mysql.php";

??????????????????

unit3029 08-17-2003 02:32 AM

help please
where have i gone wrong

Warning: main(http://www.deadly-forces.com/Forum/admin/db_.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/deadly-f/public_html/mainnews/latest_threads.php on line 33

Fatal error: main(): Failed opening required 'http://www.deadly-forces.com/Forum/admin/db_.php' (include_path='') in /home/deadly-f/public_html/mainnews/latest_threads.php on line 33


its all gone pete tong

attached is ure file with my changes incase ive gone wrong somewhere.
Please help

Black Vivi 08-17-2003 06:23 AM

it will only work if you're using the hack on the same server, so you'd have to use this hack on http://www.deadly-forces.com/

unit3029 08-17-2003 11:32 AM

the page i want it displayed on is in a folder called mainnews, the page itself is called index.php
your hack latest_threads.php resides in the same folder, all are on the same server http://www.deadly-forces.com/

yes i still get the same errors as above.

If i look in my forum/admin/ folder i see the db_ file named db_mysql.php so it seems its not finding the classname, sorry i dont know much in the way of php.

I am running another hack on the same page , would this interfere with your hack? or is there another problem that needs to be addressed. your help much appreciated.

unit3029 08-17-2003 06:49 PM

due to the above not working i asked about a bit n changed some of the code.

found this

$dbservertype = strtolower($dbservertype);
$dbclassname = $bburl."/admin/db_$dbservertype.php";
require($dbclassname);

$DB_site=new DB_Sql_vb;


and replaced wiv this

include($bburl."/admin/db_mysql.php");

$DB_site = new DB_Sql_vb();



now i get this error

Fatal error: Cannot instantiate non-existent class: db_sql_vb in /home/deadly-f/public_html/mainnews/latest_threads.php on line 33


I'll try anything just to get it to work help please please please please help me
reply here or
msn messenger me unit3029@hotmail.com if u can help

j0ncc 08-17-2003 09:53 PM

nice hack :)

CardMSG 08-28-2003 06:04 AM

I would like to display the last 5 posts for 1 forum on my home page, then below that, show the last 5 posts for all the forums except the 1 listed on top. Is this possible? If so, how?


All times are GMT. The time now is 08:44 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.01253 seconds
  • Memory Usage 1,728KB
  • 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)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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