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)
-   -   PluhNews 1.5 (https://vborg.vbsupport.ru/showthread.php?t=21875)

SystemLogic 02-20-2002 04:14 PM

Yeah they are calling the right path, also PluhNews, PluhHeadlines, and PluhConfig are all located in the VB directory.....

Gutspiller 02-20-2002 04:31 PM

Yes they have to be in there, but the file that they are included in, the file that I told you to put those required lines before the < html > tag. That file has to be in there as well.

This simple post here: https://vborg.vbsupport.ru/showthrea...397#post219397

Puts it out there, and I think it's pretty much the truth.

You can use the refresh html command to make it go there like I do. When people go to www.GameForumz.com it loads an index file that has this line

<META http-equiv=Refresh content=0;URL=http://www.theforumz.com/forumz/news.php>

right after the <html > tag. Is what it tells the browser to do, is instantly refresh the browser and go to my news page that IS within my vb directory. This is the easiest way I have foudn to get this script to work. Then in my news page I have this line

<meta http-equiv="Refresh" content="300">

Which tells the news page to refresh ever 5 minutes. This makes it so that when the page is updated, people will know about it, at a maximum time of 5 minutes since it was last updated. You can use longer if it's a page that is only updated a few times a day or something. This is what I do and it seems to work. MY only problem is that the script gets this error at the bottom of the page:

Warning: 1 is not a valid MySQL-Link resource in /home/theforum/public_html/forumz/admin/db_mysql.php on line 93

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin: Invalid SQL: UPDATE session SET lastactivity=1014229334,location='/forumz/gamingnews.php',styleid=1 WHERE sessionhash='58b532c55d874f83029b1708f688821d'
mysql error:
mysql error number:
Date: Wednesday 20th of February 2002 10:22:20 AM
Script: /forumz/gamingnews.php
Referer:

which I have narrowed down to if you have both the headlines and the news file running on the same page it gives that error. The news by itself doesn't give that error and the headlines by itself doesn't give that error. I have been working on getting rid of this error for quite some time, but have still been unsuccessful on doing so. :(

I am going to email Kayn today and see if he can help with this error. If not, then even after all the tweaking and hacking on this error and 25 pages of posts, nobody will know how to get this hack to run. If I find out more I will let you know though. :up:

SystemLogic 02-20-2002 04:43 PM

Well I do have those require's before <html> in the index file....

Gutspiller 02-20-2002 04:46 PM

Do you have the index file in your vb directory though? and if you don't and you move it, make sure you change the paths in those require lines and let me know if that works. If it does, then that is as much as anybody has gotten this hack to work. If it doesn't then you do have other problems.... which I wouldn't know how to fix really, because my file is in my forum directory and it works. :confused:

SystemLogic 02-20-2002 04:50 PM

Just tried it in there and it didn't work still...

Gutspiller 02-20-2002 04:59 PM

hmm. Well if you can, email me your news,headlines,config and the index file calling them and I will take a look at them and see if I can see what's wrong.

Webmaster@CuttingTheEdge.com

Hamma 02-20-2002 05:00 PM

My file is outside of my forum directory. I had those stripslash and header errors at one point too. I ended up haxing the code that was causing the error and making a global2.php, that fixed it :p I am able to include my news on a file outside of the forum dir now.

However I dont recall getting that smily error

SystemLogic 02-20-2002 07:30 PM

Hamma, how did you fix that striplash error?

Hamma 02-20-2002 08:39 PM

I removed a few lines of code from global.php and saved a second copy, global2.php

Im not exactly sure what I removed.. since it was a while ago. I suppose I could attach the file.. ill have to get it when I get home.

SystemLogic 02-20-2002 08:44 PM

Thanks ;)


All times are GMT. The time now is 06:54 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.01612 seconds
  • Memory Usage 1,740KB
  • 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
  • (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