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)

TWTCommish 07-18-2001 06:13 PM

Sorry, I posted this elsewhere, but think it might be better here:
--------------------------
Hmmm, something's wrong. I started getting errors, so I tried to use chdir() to fix them. Here's what I'm using now. I have these two lines:

Code:

chdir("/usr/home/web/path/to/forums");
require("/usr/home/web/path/to/forums/global.php");

And then, I do this:

Code:

$comments = bbcodeparse2($comments,"1","1","1","1");
I get this error:

Fatal error: Call to a member function on a non-object in /usr/home/web/path/to/forums/admin/functions.php on line 75

Any idea what's wrong? Thanks for your help either way! :)

webhost 07-18-2001 08:49 PM

ok guys couple of questions I have hack installed and it is running alright. Questions?

1)On the news page at the bottom when you select view all
posts should it pull up the entire forumid that you have set or
just new post in that forumid? Mind pulls up the entire forumid.

2) Is there a way to put a link on the headlines page that will
bring up the news page.

3) With this version are we able to pull from more than one
forum if so how?
4) Would there be away to add current active users in the forum
on the headlines page?

Thanks For the hack

Kayn 07-18-2001 09:20 PM

Quote:

Originally posted by webhost
ok guys couple of questions I have hack installed and it is running alright. Questions?

1)On the news page at the bottom when you select view all
posts should it pull up the entire forumid that you have set or
just new post in that forumid? Mind pulls up the entire forumid.

2) Is there a way to put a link on the headlines page that will
bring up the news page.

3) With this version are we able to pull from more than one
forum if so how?
4) Would there be away to add current active users in the forum
on the headlines page?

Thanks For the hack

1) I set it up to pull up the entire forumid. 'View all News' was meant to just be a link to the news forum that was specified. :)

2) Sure is. You have to go in and add the HTML. If you need specifics on how to do this just let me know.

3) Multiple news forums is currently in the works. It's a good idea to have...

4) That is an entirely different hack that I use on my page (http://pluh.com - under latest reviews). I forget exactly where to get it, but this hack is available somewhere in these forums. Try searching for it. If you can't find it, email me and I'll send you the code. :)

Kayn 07-18-2001 09:21 PM

Quote:

Originally posted by TWTCommish
Sorry, I posted this elsewhere, but think it might be better here:
--------------------------
Hmmm, something's wrong. I started getting errors, so I tried to use chdir() to fix them. Here's what I'm using now. I have these two lines:

Code:

chdir("/usr/home/web/path/to/forums");
require("/usr/home/web/path/to/forums/global.php");

And then, I do this:

Code:

$comments = bbcodeparse2($comments,"1","1","1","1");
I get this error:

Fatal error: Call to a member function on a non-object in /usr/home/web/path/to/forums/admin/functions.php on line 75

Any idea what's wrong? Thanks for your help either way! :)

Hmm...I'm stumped...

It should work. Anyone else here have suggestions?

webhost 07-18-2001 09:31 PM

PHP Code:

chdir("/home/username/public_html/forums/");
require(
"./global.php"); 


Guessing you might try something like this and replace username with yours for your ftp account.

Maybe?

Dark_Wizard 07-18-2001 10:13 PM

Quote:

With this version are we able to pull from more than one
forum if so how?
This would work well with categories in that each forum would be a category....I think I have some code from awhile back when I started this and never completed it...hmmm (as he looks through his files)...I'll get back to you on this ;)

webhost 07-18-2001 10:17 PM

Thanks, Wanting to pull from about 7 or 8 forumid's.

Joey

Forgot a question?

Is it possible to somehow incorporate the include script in the install.txt into a html document. Tried putting it in there but it didn't wotk very good. Would like to pull the new files from one website to another site if possible?

webhost 07-19-2001 02:26 AM

Another recommendation.

Say you have your news script setup to pull 10 messages or 40 . Any way say when someone views this page is there away to add views back to total view counts for each thread on the list back in the forum columns . I need this if possible to keep up with views.
???

Kayn 07-19-2001 02:30 PM

yes yes, all of that is possible. I can put this on a 'request' list if you like for the next release!

webhost 07-19-2001 02:41 PM

yes yes can not wait.

Thank You


All times are GMT. The time now is 10:21 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.01618 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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