vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB Chat (https://vborg.vbsupport.ru/forumdisplay.php?f=107)
-   -   Problem After Server Work (https://vborg.vbsupport.ru/showthread.php?t=82314)

92GreenGT 05-31-2005 05:45 PM

Problem After Server Work
 
I have a problem, when you go to sections off the main page of the forum, this is at the top of all my pages off the main page. How do we fix it? Do we just need lines from these files replaced and we will be good? Thanks (Here is a ScreenShot) :smoke:

https://vborg.vbsupport.ru/

It used to not do this, but we had some server problems and after everything got fixed it started this. Thanks

Corriewf 05-31-2005 05:55 PM

Quote:

Originally Posted by 92GreenGT
I have a problem, when you go to sections off the main page of the forum, this is at the top of all my pages off the main page. How do we fix it? Do we just need lines from these files replaced and we will be good? Thanks (Here is a ScreenShot) :smoke:

http://img.photobucket.com/albums/v2...in/FTFprob.jpg

It used to not do this, but we had some server problems and after everything got fixed it started this. Thanks


Can you post the code on line 808? Were any of the files relocated on server?

92GreenGT 05-31-2005 08:38 PM

Man do I have to count down to 808? Thats going to take awhile!!!

No files where changed around that I know of.

Link14716 05-31-2005 08:51 PM

Quote:

Originally Posted by 92GreenGT
Man do I have to count down to 808? Thats going to take awhile!!!

No files where changed around that I know of.

Use a decent text editor like Notepad2 that shows line numbers.

92GreenGT 05-31-2005 11:54 PM

Wow, thanks for that. That will help out a lot in VB editing.

Here is line 808 of forumdisplay.php

Code:

<?include("online.txt");?>

Marco van Herwaarden 06-01-2005 06:10 AM

And do you have a file called online.txt in your forumhome directory?

92GreenGT 06-01-2005 01:06 PM

Quote:

Originally Posted by MarcoH64
And do you have a file called online.txt in your forumhome directory?

Good call, I dont have it on there. Where can I download it?

Corriewf 06-01-2005 01:28 PM

I wasnt aware of a online.txt. Do you mind posting a little bit of code around it so we can get the context of the code?

Marco van Herwaarden 06-01-2005 01:55 PM

I don't know, it is not a standard vB file. Maybe something to do with an online hack.

Corriewf 06-01-2005 02:15 PM

Yeah thats what I am thinking..... I am unaware of any hacks that utilize a .txt file though.

92GreenGT 06-01-2005 04:09 PM

I was told by the people over at www.VBulletin.com that it had something to do with the VBChat hack I installed, thats why I posted it here.

Here is lines 800-820, if you need more let me know.
Code:

/////////////////////////////////
if ($newthreads < 1 AND $unreadchildforums < 1)
{
        // mark a single forum as read as it appears all threads are read
        set_bbarray_cookie('forum_view', $foruminfo['forumid'], TIMENOW);
}
construct_forum_rules($foruminfo, $forumperms);
?>
<?include("online.txt");?>
<?
//remove html to stop the breaking of the meta description
$foruminfo['description'] = strip_tags($foruminfo['description']);

$show['forumdescription'] = iif ($foruminfo['description'] != '', true, false);
$show['forumsearch'] = iif ($forumperms & CANSEARCH AND $vboptions['enablesearches'], true, false);
$show['forumslist'] = iif ($forumshown, true, false);
$show['stickies'] = iif ($threadbits_sticky != '', true, false);

eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');

Thanks for your help

Corriewf 06-01-2005 04:29 PM

Whats the comment on line 799... I wish I could look at my file right now so I could compare..... I have the chat hack installed as well.

92GreenGT 06-01-2005 04:57 PM

Code:

}
Is on Line 799

Anyone?

Corriewf 06-02-2005 02:58 AM

Yeah just remove this:
PHP Code:

?>
<?include("online.txt");?>
<?

You should be fine then.

92GreenGT 06-02-2005 01:48 PM

Thanks a lot guys, it worked.


All times are GMT. The time now is 08:22 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.01974 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete