vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Rssfeeds for cms 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=271295)

almannai 10-01-2011 10:00 PM

Rssfeeds for cms 4 VB4
 
1 Attachment(s)
vbfixer.com

Current version:
1.0.4


Review:
This mod allows VB4 owners to easily add an Rssfeed from you admincp where it has the option to target cms as a destination of the feeds. This mod is build and tested on 4.1.5 so it should work on this version or any versions afterwards. But it is not supported for any version after 4.1.8.

I build this mod because a lot of people where asking for it in several post here and there.

I tried my best to avoid file replacing in your forum so you will have no trouble when upgrading for newer vbulletin version so no worries:).












03-10-2011: ver 1.0.1
  • -Bug fixed in 1.0.1

06-10-2011: ver 1.0.2
  • - "Invalid Action Specified" Bug when hitting run scheduled task now fixed in 1.0.2
  • - "Fatal error: Call to undefined function convert_wysiwyg_html_to_bbcode() in /home/..../public_html/includes/cron/rssposter_cms.php" error when running RSS Poster Robot (CMS) fixed in 1.0.2

10-10-2011: ver 1.0.3
  • - Will not run if the forum is not set fixed in 1.0.3
  • - Publish problem fixed in 1.0.3




08-12-2011: ver 1.0.4
  • - bug: Imagepreview is not shown on articles section.
  • - Add option to remove backlink to our website from the articles.
  • - New feature add where to set to set the minimum number of words in the article to be inserted.(paid version only)
  • - New feature add where to filter articles using negative words.(paid version only)
Installation
: (Upload the files before installing the product)
1. Download plugin and unzip.
2. Upload all the contents of the "upload" directory to your forum root.
3. Login to your vBulletin admincp.
4. Open "Plugins & Products", and go to "Manage Products".
5. Click on "[Add/Import Product]".
6. Import the XML file that you download. Make sure you set "allow overwrite" to "yes" when updating. Best practice for updating this mod is by uninstalling the old version and installing the new one.
7. After installing go to your admincp you will find "RSS Feeds For CMS"
use it to add you rssfeeds for cms and select "Post Items as Articles" and set the target section of the article.

************************************************** **

Un-Installation:

1. Login to your vBulletin admincp.
2. Disable all the rssfeeds entries from admincp.
3. Delete all the rssfeeds entries from admincp.
4. Open "Plugins & Products", and go to "Manage Products".
5. Uninstall the product.
6. Remove all the files you upload to your website as follows
admincp/rssposter_cms.php
includes/cron/rssposter_cms.php
includes/xml/cpnav_rssfeeds_cms.xml
includes/xml/bitfield_rssfeeds_cms.xml
7. Done

************************************************** **



Demo:
http://last24tech.com/content.php

References:



To Do:






Observation:
  • This Hack have copyright ad at the bottom of the page (visit my website for instruction on how to remove it).

To Get Support:
  • Hit Mark as Installed from top right.
  • You have to put your website link.
  • If you include a screenshot you will get a better support.
Updated
The latest version can be downloaded from my website at vbfixer.com

mgcom 10-02-2011 06:10 PM

How much info will this pull into an article ?

almannai 10-03-2011 04:15 AM

Quote:

Originally Posted by mgcom (Post 2252432)
How much info will this pull into an article ?

This not related to the mod itself but to answer you question: that depends on how much information you want. More feeds more info. Also if you use for example
PHP Code:

{feed:description

you will get short description of the feeds it self
But if you used
PHP Code:

{rss:content:encoded

You will pull all the feed content

Again this depends on the source itself

Fready 10-03-2011 06:53 AM

Data Base error in the Admin CP when clicking on:
RSS Feed for CMS Manager:

Quote:

Database error in vBulletin 4.1.5:

Invalid SQL:

SELECT rssfeed.*, user.username, forum.title AS forumtitle, sections.title AS sectiontitle
FROM rssfeed AS rssfeed
LEFT JOIN user AS user ON(user.userid = rssfeed.userid)
LEFT JOIN forum AS forum ON(forum.forumid = rssfeed.forumid)
LEFT JOIN cms_nodeinfo AS sections ON(sections.nodeid = rssfeed.sectionid)
ORDER BY rssfeed.title;

MySQL Error : Unknown column 'rssfeed.sectionid' in 'on clause'
Error Number : 1054
Request Date : Monday, October 3rd 2011 @ 02:50:52 PM
Error Date : Monday, October 3rd 2011 @ 02:50:52 PM
Script : http://wwwxxxxx/admincp/rssposter_cms.php
Referrer : http://www.xxxxx/admincp/index.php?do=nav
IP Address : 124.120.3.57
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.1.56-log
And yes I had uploaded every file in the Upload folder to the correct place/places.

almannai 10-03-2011 10:29 AM

Quote:

Originally Posted by Fready (Post 2252603)
Data Base error in the Admin CP when clicking on:
RSS Feed for CMS Manager:


And yes I had uploaded every file in the Upload folder to the correct place/places.

Yes you are right

I forget to insert this column in the product

I will update it within an hour

Fready 10-03-2011 10:57 AM

Please let us know once you have updated it.

hitboy 10-03-2011 11:37 AM

Awaiting update as well looking forward to this mod =)

almannai 10-03-2011 12:13 PM

Quote:

Originally Posted by Fready (Post 2252642)
Please let us know once you have updated it.

Quote:

Originally Posted by hitboy (Post 2252654)
Awaiting update as well looking forward to this mod =)

Ok done

Please try it now and let me know how it goes

If you uploaded the files before no need to upload it again the changes only in the produc xml installation file. So just uninstall the old product and install the new one.

almannai 10-03-2011 05:22 PM

Quote:

Originally Posted by Fready (Post 2252642)
Please let us know once you have updated it.

Please let me know once you try it

davio33 10-06-2011 05:18 AM

I cant get it to work.

when trying manually I get this message

Quote:

Invalid Action Specified
if i go to Scheduled Task Manager and try to run it that way i get this message

Quote:

RSS Poster Robot (CMS)


Fatal error: Call to undefined function convert_wysiwyg_html_to_bbcode() in /home/orinje/public_html/includes/cron/rssposter_cms.php on line 347

almannai 10-06-2011 05:33 AM

Quote:

Originally Posted by davio33 (Post 2253835)
I cant get it to work.

when trying manually I get this message


Invalid Action Specified
if i go to Scheduled Task Manager and try to run it that way i get this message


RSS Poster Robot (CMS)


Fatal error: Call to undefined function convert_wysiwyg_html_to_bbcode() in /home/orinje/public_html/includes/cron/rssposter_cms.php on line 347


You need to upgrade your vbulletin version to 4.1.5 or higher

davio33 10-06-2011 05:35 AM

Quote:

You need to upgrade your vbulletin version to 4.1.5 or higher
thanks for your reply
im at 4.1.6

almannai 10-06-2011 05:44 AM

Quote:

Originally Posted by davio33 (Post 2253839)
thanks for your reply
im at 4.1.6

ok one moment please I will check it out

almannai 10-06-2011 05:51 AM

Quote:

Originally Posted by almannai (Post 2253842)
ok one moment please I will check it out

ok

open "rssposter_cms.php" in include/cron directory

find

PHP Code:

convert_wysiwyg_html_to_bbcode 

replace it with
PHP Code:

$html_parser->parse_wysiwyg_html_to_bbcode 

or upload the files from the thread after I update the mod for ver 1.0.2

hitboy 10-06-2011 12:37 PM

I havent been able to get this to work yet when i try to pull content nothing happens. I tried with multiple rss feeds.

Also is there anyway to do this for category and not just the section?

almannai 10-06-2011 02:06 PM

Quote:

Originally Posted by hitboy (Post 2253918)
I havent been able to get this to work yet when i try to pull content nothing happens. I tried with multiple rss feeds.

Also is there anyway to do this for category and not just the section?

No worries Just give it sometime maybe there is no new feeds; it will work.
Or add new feed as test from new high quality source.

For category thing not on this version but may be in the next update.

Give it sometime try it and let us know how it goes

If you still have trouble try to disable "RSS Poster Robot" task



Updated
Ok I found a nother bug:
When setting your feed you need to set the forum name to any forum it does not matter as it will be inserted as an article in the section you choose.
This is a temporary overcome until I update the mod.


hitboy 10-06-2011 06:26 PM

Quote:

Updated
Ok I found a nother bug:
When setting your feed you need to set the forum name to any forum it does not matter as it will be inserted as an article in the section you choose.
This is a temporary overcome until I update the mod.
Looks like this was the problem. Works fine now. The only thing now is I wish this mod would do this for categories as it wont really be useful for me until then.

almannai 10-07-2011 05:12 PM

Quote:

Originally Posted by hitboy (Post 2254034)
Looks like this was the problem. Works fine now. The only thing now is I wish this mod would do this for categories as it wont really be useful for me until then.

You can get the last update from my website at
http://vbfixer.com/viewtopic.php?f=4&t=1840

davio33 10-08-2011 02:12 AM

this is an awesome mod. Nominated for mod of the month.

I filled out the form on your site for a branding free version, hope to hear from you soon

almannai 10-08-2011 10:01 AM

Quote:

Originally Posted by davio33 (Post 2254515)
this is an awesome mod. Nominated for mod of the month.

I filled out the form on your site for a branding free version, hope to hear from you soon

What is the website address you entered in the order form?

claystation 10-11-2011 09:47 PM

Is there a way to moderate the feed into the cms?

almannai 10-12-2011 04:47 AM

Quote:

Originally Posted by claystation (Post 2256061)
Is there a way to moderate the feed into the cms?

Yes you can set it to not publish.

sweetpotato 10-12-2011 10:03 AM

Is this possible to make a forum as destination for feed?

almannai 10-12-2011 10:39 AM

Quote:

Originally Posted by sweetpotato (Post 2256232)
Is this possible to make a forum as destination for feed?

of course

you set the forum name then select post item as thread

https://vborg.vbsupport.ru/attachmen...5&d=1317579889

sweetpotato 10-13-2011 06:07 AM

Thank you very much for the nice Mod and your kind help. It saves me a lot of time to build content for my site

clutchthese 10-14-2011 08:20 PM

All i get in ACP is a 404 error when clicking on the rss on cms link.

I'm on 4.1.5

almannai 10-15-2011 05:24 AM

Quote:

Originally Posted by sweetpotato (Post 2256679)
Thank you very much for the nice Mod and your kind help. It saves me a lot of time to build content for my site

:)
Quote:

Originally Posted by clutchthese (Post 2257305)
All i get in ACP is a 404 error when clicking on the rss on cms link.

I'm on 4.1.5

This means you didn't upload all the files to their correct places

joerod77 10-15-2011 03:36 PM

Its not letting me import the product, says "Invalid File Specified"

joerod77 10-15-2011 03:41 PM

I also notice there's a database error:

Database error in vBulletin 4.1.7:

Invalid SQL:

SELECT rssfeed.*, user.username, forum.title AS forumtitle, sections.title AS sectiontitle
FROM rssfeed AS rssfeed
LEFT JOIN user AS user ON(user.userid = rssfeed.userid)
LEFT JOIN forum AS forum ON(forum.forumid = rssfeed.forumid)
LEFT JOIN cms_nodeinfo AS sections ON(sections.nodeid = rssfeed.sectionid)
ORDER BY rssfeed.title;

MySQL Error : Unknown column 'rssfeed.sectionid' in 'on clause'
Error Number : 1054

almannai 10-15-2011 03:56 PM

Quote:

Originally Posted by joerod77 (Post 2257507)
Its not letting me import the product, says "Invalid File Specified"

Quote:

Originally Posted by joerod77 (Post 2257509)
I also notice there's a database error:

Database error in vBulletin 4.1.7:

Invalid SQL:

SELECT rssfeed.*, user.username, forum.title AS forumtitle, sections.title AS sectiontitle
FROM rssfeed AS rssfeed
LEFT JOIN user AS user ON(user.userid = rssfeed.userid)
LEFT JOIN forum AS forum ON(forum.forumid = rssfeed.forumid)
LEFT JOIN cms_nodeinfo AS sections ON(sections.nodeid = rssfeed.sectionid)
ORDER BY rssfeed.title;

MySQL Error : Unknown column 'rssfeed.sectionid' in 'on clause'
Error Number : 1054

If you don't install the product you will get database error

Just follow the installation steps

joerod77 10-15-2011 04:17 PM

I followed these directions:

1. Download plugin and unzip.
2. Upload all the contents of the "upload" directory to your forum root.
3. Login to your vBulletin admincp.
4. Open "Plugins & Products", and go to "Manage Products".
5. Click on "[Add/Import Product]".
6. Import the XML file that you download. Make sure you set "allow overwrite" to "yes" when updating.
7. After installing go to your admincp you will find "RSS Feeds For CMS"
use it to add you rssfeeds for cms and select "Post Items as Articles" and set the target section of the article.

almannai 10-15-2011 04:32 PM

Quote:

Originally Posted by joerod77 (Post 2257516)
I followed these directions:

1. Download plugin and unzip.
2. Upload all the contents of the "upload" directory to your forum root.
3. Login to your vBulletin admincp.
4. Open "Plugins & Products", and go to "Manage Products".
5. Click on "[Add/Import Product]".
6. Import the XML file that you download. Make sure you set "allow overwrite" to "yes" when updating.
7. After installing go to your admincp you will find "RSS Feeds For CMS"
use it to add you rssfeeds for cms and select "Post Items as Articles" and set the target section of the article.

more details
Import the Rssfeeds_cms_product_1.0.3.xml file through your Acp->Plugins & Products->Manage Products->[Add/Import Product]->EITHER upload the XML file from your computer. Click the browse button, locate the mod xml file (Rssfeeds_cms_product_1.0.3.xml) and hit the Import button. This file is located outside the upload folder

davio33 10-16-2011 09:07 AM

I dont know if its this product, or just how VB works, but it is grapping feeds and then grapping the same feeds again, which results in duplicate articles. Is there a way to make it not grap the same content twice?

Its not the rss feeds im fetching that have duplicate content, but when the rss for cms bot goes to the rss feed, it will take feeds that it already posted and post them again

almannai 10-16-2011 10:10 AM

Quote:

Originally Posted by davio33 (Post 2257686)
I dont know if its this product, or just how VB works, but it is grapping feeds and then grapping the same feeds again, which results in duplicate articles. Is there a way to make it not grap the same content twice?

Its not the rss feeds im fetching that have duplicate content, but when the rss for cms bot goes to the rss feed, it will take feeds that it already posted and post them again

Could you please disable the "RSS Poster Robot" task and let us know if that fix it

chocolate angel 10-16-2011 04:30 PM

thank you for this mod! :)

davio33 10-16-2011 04:58 PM

Quote:

Originally Posted by almannai (Post 2257691)
Could you please disable the "RSS Poster Robot" task and let us know if that fix it

The "RSS Poster Robot (CMS)", disable that? Then run it manually?

Thanks for your reply

almannai 10-16-2011 05:04 PM

Quote:

Originally Posted by davio33 (Post 2257826)
The "RSS Poster Robot (CMS)", disable that? Then run it manually?

Thanks for your reply

No no no

Not "RSS Poster Robot (CMS)" task

The one to disable is "RSS Poster Robot " task

hakkuo23 10-16-2011 05:07 PM

Will there be support so I could add 3 RSS feeds and each goes to its own section?
EDIT:
nvrmnd :D

almannai 10-16-2011 05:30 PM

Quote:

Originally Posted by hakkuo23 (Post 2257831)
Will there be support so I could add 3 RSS feeds and each goes to its own section?
EDIT:
nvrmnd :D

you figured it out :cool:

davio33 10-16-2011 06:01 PM

Quote:

Originally Posted by almannai (Post 2257829)
No no no

Not "RSS Poster Robot (CMS)" task

The one to disable is "RSS Poster Robot " task

OK, I already had that disabled


All times are GMT. The time now is 07:13 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.05219 seconds
  • Memory Usage 1,858KB
  • 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_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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