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)

DrkFusion 02-02-2002 01:42 PM

So how would I go about making my avatar viewable?

Darren Evans 02-03-2002 12:26 AM

I've followed the instructions to a tee and can not get this script to run including it in a page.

I ran it in raw form from PluhNews.php and PluhHeadlines.php with no problems.

Included in a root index.php file will not work. I keep getting the following error:

Quote:

Fatal error: Failed opening required './global.php' (include_path='') in /home/site/public_html/forums/PluhNews.php on line 5
The include looks like this:

PHP Code:

<? include ("forums/PluhNews.php"); ?>

My PluhConfig file (placed in the forums directory) was tried with vared paths with out success:

PHP Code:

require("global.php");
require(
"PluhConfig.php");
require(
"admin/config.php"); 

Yes, I tried it with full path info (ie, /home/site/public_html/forums).

This thread is very confusing with posts from way back in July 2001.

Any help would be greatly appreciated.

DrkFusion 02-03-2002 01:06 AM

Quote:

Originally posted by Darren Evans
I've followed the instructions to a tee and can not get this script to run including it in a page.

I ran it in raw form from PluhNews.php and PluhHeadlines.php with no problems.

Included in a root index.php file will not work. I keep getting the following error:



The include looks like this:

PHP Code:

<? include ("forums/PluhNews.php"); ?>

My PluhConfig file (placed in the forums directory) was tried with vared paths with out success:

PHP Code:

require("global.php");
require(
"PluhConfig.php");
require(
"admin/config.php"); 

Yes, I tried it with full path info (ie, /home/site/public_html/forums).

This thread is very confusing with posts from way back in July 2001.

Any help would be greatly appreciated.


DrkFusion 02-03-2002 01:07 AM

Quote:

Originally posted by DrkFusion
So how would I go about making my avatar viewable? For every post, so for example on news.php my avatar will show as well.
Anyone Know?

sccr410 02-03-2002 01:54 AM

Darrenn Evans...

I am having the same problems, but I have managed to get it working, but not completely. Do the following and at least it should show up:

Change:
PHP Code:

require("global.php");
require(
"PluhConfig.php");
require(
"admin/config.php"); 

to:
PHP Code:

include("/home/site/public_html/forums/admin/functions.php"); 

Then, change:
PHP Code:

$bericht=bbcodeparse2($pagetext,"1","1","1","1"); 

to:
PHP Code:

$bericht=bbcodeparse2($pagetext,"1","1","0","0"); 

Then, you have manually set the variables for your database (i.e. $servername, $dbusername, $dbpassword, and $dbname)

It should work on your main page, however it won't parse the bbcode.

I am having the exact same problem as you, so hopefully we can bug the hack creator enough to help us out!

DrkFusion 02-03-2002 02:16 AM

Quote:

Originally posted by DrkFusion


So how would I go about making my avatar viewable? For every post, so for example on news.php my avatar will show as well.

So umm, anyone here?

monitox 02-03-2002 05:53 PM

I want to include the title of the news in an shtml page... with this : <!--#include virtual="PluhHeadlines.php" -->

Well.. is NOT working :(

Any1 can help me ? Without this thing I can not use it :(

Darren Evans 02-03-2002 06:01 PM

Is this hack not being supported any more? :(

monitox 02-03-2002 06:07 PM

This hack is REALLY GREAT.. PLS someone help us :(
Even if you are not the author.. maybe YOU can help us..

* you = ANY good ppl on php :)

DrkFusion 02-03-2002 11:37 PM

Quote:

Originally posted by monitox
This hack is REALLY GREAT.. PLS someone help us :(
Even if you are not the author.. maybe YOU can help us..

* you = ANY good ppl on php :)

Yea Please :(


All times are GMT. The time now is 06:43 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.01765 seconds
  • Memory Usage 1,753KB
  • 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
  • (8)bbcode_php_printable
  • (5)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