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)

04-02-2001 03:31 AM

Tubedogg:

After trying what you suggested, it works ok now after I put the code above in. Also, I had to change the include for my .shtml file from include "file" to include "virtual" as well. Doing all the above now produces the active table ok. I don't know what caused this, but we found the solution. :)

Jeff

04-02-2001 07:05 AM

That's very odd. Well, in any case, I'm glad it's working now. :D

04-02-2001 07:58 AM

Quote:

Originally posted by tubedogg
Jeff: Hmm. I was expecting those two files to fail. What doesn't make sense is if they worked, why the other one wouldn't. Or, more succinctly, why the other one fails where it does. If it's having problems connecting, it should fail at the connect step, not at the select database step.

Here's what I suggest. Since the only thing I'm pulling from the vB files for this is username, password, db host, and database name, put these up at the top of the last10.php file as so:
Find
Code:

// let's get connected
require("last10config.php");
require("$path/config.php");

and replace it with
Code:

// let's get connected
require("last10config.php");
$servername = "localhost";
$dbusername = "dbusername";
$dbpassword = "dbpassword";
$dbname = "dbname";

and change the info to your details. That should work. If it still doesn't let me know and I'll look into it some more.

:scratching head:

Need to correct that on my hack?

04-02-2001 08:38 AM

Nope :) Just if it isn't working. His for whatever reason wasn't working, so I had him change that.

Yours is fine. ;)

04-02-2001 10:11 AM

Quote:

Originally posted by tubedogg
Nope :) Just if it isn't working. His for whatever reason wasn't working, so I had him change that.

Yours is fine. ;)

Ok thx tubedogg :)

04-02-2001 09:47 PM

Robert and tubedogg:

I have deleted the cookie from my computer, closed down the browser and rebooted my computer so that all I get when I get on the board is the nonregwelcome message and I do not get the header error message when clicking on the link to take me to the last10.php file using the bbparsecode for the message.

Just so you know that on my board the script is working great with the bbparsecode being used with no error messages at all.

Parker

04-03-2001 01:00 AM

Quote:

Originally posted by Parker Clack
Robert and tubedogg:

I have deleted the cookie from my computer, closed down the browser and rebooted my computer so that all I get when I get on the board is the nonregwelcome message and I do not get the header error message when clicking on the link to take me to the last10.php file using the bbparsecode for the message.

Just so you know that on my board the script is working great with the bbparsecode being used with no error messages at all.

Parker

Where is the page you have it on?

I'll visit and see if it gives me the error message.

04-03-2001 01:20 AM

jojo: No problem. :D

Parker: I don't have first-hand knowledge of the error Sportbikeworld is talking about. But if it truly does work, I'll look into it. :)

04-03-2001 01:32 AM

Robert:

Go to http://www.hometheaterforum.com/htforum/index.php

Click on the Today's Active Topics link under the threads in total count on the left hand side at the top.

This board is still in beta and I haven't moved any posts over from UBB yet so not much is going to be seen.

Let me know if you get the error or not.

Parker

04-03-2001 01:56 AM

Quote:

Originally posted by Parker Clack
Robert:

Go to http://www.hometheaterforum.com/htforum/index.php

Click on the Today's Active Topics link under the threads in total count on the left hand side at the top.

This board is still in beta and I haven't moved any posts over from UBB yet so not much is going to be seen.

Let me know if you get the error or not.

Parker

Parker,

If I visit that way I will already have visited your forum. I need a direct link to the page that you have the hack on. There error will only show up if I have never visited your forums.


All times are GMT. The time now is 10:11 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.01699 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (4)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