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)

Lionel 11-15-2004 02:17 PM

I am wondering, using the who's online hack I display "getting the articles..." for location instead of /var/www/etc../.../articlebot.php. Is there a way to make it display a name instead of "Guest" ?

venomx 11-15-2004 03:03 PM

Quote:

Originally Posted by Torqued
I have encountered an interesting post display order issue...

I have one of my articlebots retrieve 5 articles at a time, when it does that, the posts displayed @ forumdisplay are ordered like this:

http://www.mydomain.com/forums/showthread.php?t=101
http://www.mydomain.com/forums/showthread.php?t=102
http://www.mydomain.com/forums/showthread.php?t=103
http://www.mydomain.com/forums/showthread.php?t=104
http://www.mydomain.com/forums/showthread.php?t=105

The problem with that is that the 5th post down is really the most recent post. This is a little confusing because @ the index.php, the thread "t=105" is shown as the "Last Post", but once the user enters the forum (forumdisplay.php), the thread "t=101" appears to be the most recent/last posted thread.

Any ideas on how to get bot to enter the posts in the correct order?

I noticed this too a while back... noone offered a way to fix it. :(

Torqued 11-15-2004 10:33 PM

Quote:

Originally Posted by berberber
Hi, it is quite cool .... one thing i dont understand is why it does not work with the cron system of VB ? is there a way to do that ?

I have the articlebot running via a vB Scheduled Task. The thing you have to remember about the scheduled tasks is that it's not a "real" cron job - it depends on activity on your forum to kick it off.

Torqued 11-15-2004 10:50 PM

Quote:

Originally Posted by iKwak
Is that true? :(
I receive the google e-mails about the topic that I like and wanted to setup with the Article Bot hack.

I thought some other member in this thread (few pages earlier) mention that it does work. I should look back and post.

You may want to take a look at the NNTP Gateway for Usenet ( Newsgroups ) & Mailing Lists mod. I am using the gateway to import emails instead of newsgroups and it works great. I have created several different email addresses @ my domain for the different categories of news/information that I am receiving emails for.

bondjetta 11-17-2004 07:49 PM

I've found an interesting (and yet aggrevating) issue w/ Article Bot...

I'm pulling RSS from this URL:
Code:

www.zenguide.com/rss/generator.cfm?content=stories&category=10&code=XXXXXXXXX
which I have edited to remove my access code (sorry guys, register and you can have one too ;))

HOWEVER here is what Article Bot is storing (due in part possibly to storing it as rendered html?)
Code:

www.zenguide.com/rss/generator.cfm?content=stories&category=10&code=XXXXXXXXX
You might see the problem: namely the & instead of & as a result of this I cannot pull RSS from any of the feeds on this site (seeing as they require the category and code to access them.

Is there a quick way I can get around this? I'm going to try to investigate the storage of the RSS URL when I get home, but perhaps someone has some insight before I start? :)


EDIT: i used [code ] tags for the url's in hopes that they wont render as real links simply so you can see the & issue :)

bondjetta 11-17-2004 10:12 PM

and...i figured it out thanks to some input from Ianomed :D I have yet to find a URL that this has an adverse affect on, but if someone finds one please let me know :)

How To:
1) Open /admincp/articlebot_admin.php
2) Do a find for:
PHP Code:

    print_input_row('<b>RSS File Path</b><br />URL to the RSS XML feed.''rss_path'$rss_feed['rss_path']); 

And replace with:
PHP Code:

    print_input_row('<b>RSS File Path</b><br />URL to the RSS XML feed.''rss_path'html_entity_decode ($rss_feed['rss_path'])); 

Save and upload :) Pretty simple, it uses html_entity_decode to convert the html entities to their applicable characters. It's working for me so far and is rendering valid URL's now!

vfxtalk 11-18-2004 09:29 AM

Awesome work ...few questions...

Is there anyway to control the style of the text etc ?

Is there any possibility to have the ability to include images if they are available ?

Cheers

Paul

Neobud 11-20-2004 01:31 PM

Hello. Seemingly basic question (since nobody has asked it in 28 pages).

How do I add the articlebot_post template. Is it the 'vbulletin-style.xml' page that I alter? If so, what does the code look like?

Thanks. I'm very new to VB.

trackpads 11-21-2004 01:55 PM

Quote:

Originally Posted by Neobud
Hello. Seemingly basic question (since nobody has asked it in 28 pages).

How do I add the articlebot_post template. Is it the 'vbulletin-style.xml' page that I alter? If so, what does the code look like?

Thanks. I'm very new to VB.

No, just open the styles and templates and in the little pull down menu choose the "Add New Template".

-Jason

Torqued 11-23-2004 05:30 PM

I'm trying to import this XML feed:

http://news.biohealthmatics.com/feeds/rssnews.aspx

The link in the xml file looks lik this:

<link>http://biz.yahoo.com/prnews/041117/law061_1.html</link>

but I'm getting a malformed URL like this on import:

http://<br%20/>http://biz.yahoo.com/prnews/041117/law061_1.html<br%20/>

Any ideas as to what is going on here and how I can fix it? I have several other feeds that are importing just fine. :confused:


All times are GMT. The time now is 12:27 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.01950 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)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