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)

Layne SMith 05-01-2005 04:28 AM

Quote:

Originally Posted by kyouens
Is anyone else having problems with their articlebot making duplicate posts? Mine performs correctly about 99% of the time, but the last 1% of posts are re-downloaded and re-posted every time that articlebot is run. I can't see any difference in the posts or titles (e.g. obvious areas of whitespace).

Has anyone either a) succesfully dealt with this problem from the articlebot end or b) found a script to delete identical posts (even if they're in the same forum--note that the remove doubleposts function in admincp only works across forums)?

Kenny, Did you ever solve this one? I'm having the same problem.


Thanks,
Layne

kyouens 05-01-2005 04:36 AM

Quote:

Originally Posted by kyouens
I just added that feed to my test installation, and it appears to work correctly on mine. I would recommend doing a fresh install of articlebot and using the updated MagpieRSS files (Which I linked to in a previous post.)
----------------------
Did this. No dice.
Well, at least once you get it fixed you'll be ready to go and have already done the upgrade.....

Quote:

Originally Posted by kyouens
take a look at your template (if it's customized for your articlebot) to make sure you haven't left something out.
------------------------------
Doublechecked, looked fine. Did a copy and replace right out of instructions to be sure. Still nada.
Well, it seems like the posts are getting where they need to be, but for some reason the descriptions in particular are being neglected, and the template still seems like the best lead. Here is the contents of my articlebot_post template:

HTML Code:

$article[description]

[b][url="$article[link]"]View Reference[/url][/b]

One possibility--make sure that you've placed the articlebot_post template into a style that you're actually using, i.e. your default style, or make sure that your style is a "child" style of the one with the articlebot_post template.
If your template was somehow not getting accessed, you would see exactly what you're describing--everything works except the post itself. Also, check the spelling of the template name and make sure you haven't botched that accidentally.

Quote:

Here's where we have a lead. When I use phpMyAdmin to check the contents of articlebot_rss_cache the last thing in the table says...

rsschacheid=91
title=...And We're Back
dateline=1114918800

That's it. I see no descriptions.

This looks fishy.
No dice on this one, because the purpose of the articlebot_rss_cache is, I think, to keep track of already-posted articles, i.e. to avoid doubleposts.

The database error you saw when you tried to reinstall occurred because your old articlebot tables were still on your database. I should have mentioned that you need to drop those tables before reinstalling. However, if you're not that familiar with phpyadmin or MYsql, I would be careful and be sure to make a backup of your DB before you "fix" it ;)

Anyway, I still think the best lead may be the template. Let me know if you get it.

Kenny

kyouens 05-01-2005 04:39 AM

Quote:

Originally Posted by Layne SMith
Kenny, Did you ever solve this one? I'm having the same problem.


Thanks,
Layne

No, I never fixed the double posting problem. I haven't given up, though. I am afraid it may be due to a problem with the feed itself, though. For example, if the feed puts a different spacing in the article title, it will be treated like a new article.

For the time being, I'm hand-deleting, which sucks big time. I'm looking for (At least) a piece of code that can delete identical posts, but ideally I'd like to work out this crappy doubleposting problem.

PS I checked out your page. Your work is outstanding.

Layne SMith 05-01-2005 04:59 AM

Quote:

Originally Posted by kyouens
Also, check the spelling of the template name and make sure you haven't botched that accidentally.

YOU'VE GOT TO BE KIDDING ME! You mean the template I called "article_post"? The one I should've called "articlebot_post"!!! Well double-damn!!!

Quote:

Originally Posted by kyouens
The database error you saw when you tried to reinstall occurred because your old articlebot tables were still on your database. I should have mentioned that you need to drop those tables before reinstalling. However, if you're not that familiar with phpyadmin or MYsql, I would be careful and be sure to make a backup of your DB before you "fix" it ;)

Okay, well since when I tried to reinsttall I may have done more harm than good, I need to rectify this table already exists stuff.

In phpMyAdmin, I see three tables clearly labeled articlebot.
  1. articlebot
  2. articlebot_rss
  3. articlebot_rss_cache

Are these the ones to delete?

I'm going to back up my databases now ...

Quote:

Originally Posted by kyouens
PS I checked out your page. Your work is outstanding.

Thanks fella. Appreciate that. But not half as much as I appreciate your help here!

kyouens 05-01-2005 05:04 AM

Quote:

Originally Posted by Layne SMith
YOU'VE GOT TO BE KIDDING ME! You mean the template I called "article_post"? The one I should've called "articlebot_post"!!! Well double-damn!!!



Okay, well since when I tried to reinsttall I may have done more harm than good, I need to rectify this table already exists stuff.

In phpMyAdmin, I see three tables clearly labeled articlebot.
  1. articlebot
  2. articlebot_rss
  3. articlebot_rss_cache

Are these the ones to delete?

I'm going to back up my databases now ...

Thanks fella. Appreciate that. But not half as much as I appreciate your help here!

I don't think you'll necessarily need to reinstall. From the SQL output you posted, it looks like it may have just barfed on the error and not changed your DB. But, if you want to delete them, the three called / prefixed with articlebot are the ones to amputate.

Glad to have been of help with the post trouble. Now, if I could only get one of these PHP geniuses around here to do some work for me . . . .

Layne SMith 05-01-2005 05:06 AM

Kenny! My man, Kenny!

Hot Damn! Look what just started working! My feeds are coming in loud and proud. Apparently the reinstall did enough without having to monkey with the database.

For you people having problems out there, MAKE SURE YOU NAME YOUR STUFF EXACTLY AS THE INSTRUCTIONS TELL YOU! That's right I yelled it.

Thanks again Kenny!

greenhybrid 05-01-2005 05:07 AM

I just want to check... does this work with 3.0.7? If so, I'll install. But, it hasn't been updated in months.

kyouens 05-01-2005 05:08 AM

Quote:

I just want to check... does this work with 3.0.7? If so, I'll install. But, it hasn't been updated in months.
Yep.

Layne SMith 05-01-2005 05:09 AM

Quote:

Originally Posted by greenhybrid
I just want to check... does this work with 3.0.7? If so, I'll install. But, it hasn't been updated in months.

I'm running 3.0.7 right now. Just got it up and running.

greenhybrid 05-01-2005 05:10 AM

Can I see? I don't see a demo anywhere. Thanks.


All times are GMT. The time now is 09:31 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.04199 seconds
  • Memory Usage 1,757KB
  • 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)bbcode_html_printable
  • (11)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