vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Article Bot (https://vborg.vbsupport.ru/showthread.php?t=67078)

Maikeru 08-06-2004 03:36 PM

Quote:

Originally Posted by Velocd
Maikeru, what version is your PHP? Maybe you have the same problem as snobbymom, and it's a server-related issue.

My version of PHP is 4.3.8.

KW802 08-09-2004 04:59 PM

Velocd, is the "RSS Label" value available as a variable name to use in the template? I'd like to have that value appear in my template so I'm hoping that there's a variable name for it. :D

Velocd 08-09-2004 06:50 PM

Yeah, it should be accessible by the variable $articlebot[label], which pertains to each RSS feed.

I found an awesome RSS feed directory on the web, whom also have a cool RSS news aggregator application in .NET.

http://www.newsisfree.com/sources/bycat/

Cool beans.

KW802 08-09-2004 07:15 PM

Quote:

Originally Posted by Velocd
Yeah, it should be accessible by the variable $articlebot[label], which pertains to each RSS feed.

I found an awesome RSS feed directory on the web, whom also have a cool RSS news aggregator application in .NET.

http://www.newsisfree.com/sources/bycat/

Cool beans.

To borrow a phrase from the 80's...... Most excellent! :D

FirstStepBlake 08-09-2004 08:26 PM

Great hack, working well. However the posts added by AB don't trip whatever gets tripped to send out an email to the forum members... Any way around this?

Thanks,
Blake

Velocd 08-09-2004 11:28 PM

What do you mean by trip?

egn 08-10-2004 04:54 AM

I still get..

Warning: main(/admincp/global.php): failed to open stream: No such file or directory in /home/mgunnin/public_html/forums/admincp/articlebot/articlebot.php on line 43

Fatal error: main(): Failed opening required '/admincp/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mgunnin/public_html/forums/admincp/articlebot/articlebot.php on line 43

I am not sure what to do to fix this, did everything step by step and check 100 times. I know it is something simple that I am just overlooking.

chdir('/home/mgunnin/public_html/forums/');
require_once './global.php';
include_once './articlebot/rss_fetch.inc';

Is that correct?

Velocd 08-10-2004 06:32 PM

The articlebot directory was not meant to go inside the admincp folder (according to install.html)

Still, if you're using chdir() it should relocate. The path seems to be referencing to /admincp/global.php though.

Are you sure the following line is correct?

Code:

chdir('/home/mgunnin/public_html/forums/');
The include_once certainly will give errors for your articlebot directory is in the admincp dir.

So change:

Code:

include_once './articlebot/rss_fetch.inc';
To:

Code:

include_once './admincp/articlebot/rss_fetch.inc';

FirstStepBlake 08-11-2004 07:01 PM

by trip, I mean that what I have here:

Email Addresses to Notify When there is a New Post
(Separate each address with a SPACE)

doesn't seem to be used when AB posts. Threrefore the people I want to see the new post aren't getting the normal email. They have to happen upon it, which isn't timely.

Thanks!

KW802 08-11-2004 07:19 PM

Quote:

Originally Posted by FirstStepBlake
by trip, I mean that what I have here:

Email Addresses to Notify When there is a New Post
(Separate each address with a SPACE)

doesn't seem to be used when AB posts. Threrefore the people I want to see the new post aren't getting the normal email. They have to happen upon it, which isn't timely.

Thanks!

Pardon my curiousity but..... what kind of RSS feed are you receiving that your users would want to get an email every time there is a new item received? Seems like an overkill to have site XYZ.com send an email every time there is a new item at ABC.com.


All times are GMT. The time now is 11:22 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.01639 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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