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)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

Darren Lewis 09-12-2002 07:29 PM

fonz, looks like it may be the path to your config.php file. The scripts can't open the connection to MySQL. Try the options in the link in my previous post if you're still having probs.

Darren.

veedee 09-17-2002 04:18 PM

Why is everyone early on in this thread set as a guest?

Odd!

~veedee

NTLDR 09-17-2002 04:23 PM

Quote:

Originally posted by veedee
Why is everyone early on in this thread set as a guest?

Odd!

~veedee

Because this thread originated from when the hacks section was over at vB.com, when the threads/posts got moved not all the users re-registered and not all the posts/threads got updated with a username. Hence many guest posts here ;)

veedee 09-17-2002 04:39 PM

Ahh righty!!

This is my effort so far.

http://www.visordown.com/forums/last10.php

What's up..anyone know?

NTLDR 09-17-2002 04:41 PM

you have set the path wrong, it should be ./admin/config.php for you.

veedee 09-17-2002 04:45 PM

Ahh ok I searched for another post that said I should replace something in my last10.php file so I did it was this code

PHP Code:

$servername="xxx"// hostname or ip of server
$dbusername="xxx"// username of your database server
$dbpassword="xxx"// password of your database server
$dbname="xxx"// name of database 

It now works great - thanks for your help! :D

PiotrasG 09-26-2002 07:21 PM

I'm new to all this hacking i get this error message what am i doing wrong

Warning: Unable to access /admin in /home/virtual/site10/fst/var/www/html/forum/last10.php on line 13

Fatal error: Failed opening required '/admin' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site10/fst/var/www/html/forum/last10.php on line 13

Zombie-F 10-06-2002 07:42 PM

Quote:

Originally posted by veedee
Ahh ok I searched for another post that said I should replace something in my last10.php file so I did it was this code

PHP Code:

$servername="xxx"// hostname or ip of server
$dbusername="xxx"// username of your database server
$dbpassword="xxx"// password of your database server
$dbname="xxx"// name of database 

It now works great - thanks for your help! :D

Yup, I had to do this too, but now it works awesome! Let me be the 10,345,763rd person to say thanks to tube for the kick-ass script!

The only problem with it I see is it displays the post times as server time, not local time. Is there any way to fix this? I looked as much as I could through this monstrously long thread for an answer, but I didn't see one.

Thanks again, and keep up the good work.

See it in action at http://badass.icestorm.com :nervous:

a43079 10-06-2002 09:58 PM

Fatal error: Failed opening required '/www/eroweb/admin/config.php' (include_path='.:/usr/local/lib/php') in /home/www/eroweb/last10.php on line 13

i am getting this error please help

Visionray 10-07-2002 12:55 AM

I have a question. How do I make the Thread Titles and the number of views, replies etc. bold? What do I have to change and in what file? I think it would look much nicer if the text were bold.

Thanks!

Here it is on my site as a test www.fusionarena.com/newindex.php


All times are GMT. The time now is 02:22 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.02098 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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