Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#318555 04/03/2010 11:35 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Author: Gizmo (James of VNC Web Design)

Requirements:
Valid UBB.Threads 7.4 install and license

[center]This will ONLY work with UBB.threads versions 7.4 and above.[/center]

About:
This mod will import RSS feeds as new topics. You can specify which forums the topics are posted to, and who posts them.

Installation instructions are included in the attached archive. Upload the files following the structure created in the archive.

Demo:
You can see this script in action on: My Dev Site and UGN Security.

File History
2600 - Initial 7.4+ cleanup.

Known Bugs
  • Will, at times, create duplicate topics; at times these are editorial revisions on some sites (Reuters for example) however.


NOTE
This mod is a port of an older UBB.threads7 mofification by Ian Spence which you can find here.

For Version 1.2 Please see Isaac's Post below.
Attachments
RSS Topic Creator.zip (13.25 KB, 50 downloads)
RSS Topic Creator v1.1
SHA1: 612c4ae1022cb4647792008002b1723acca1411a

Last edited by Gizmo; 03/02/2021 11:22 AM.

UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Mar 2010
Posts: 7
Vic Offline
Lurker
Lurker
Offline
Joined: Mar 2010
Posts: 7
I have thanked you already but ile say it again thankyou lol.

I have just added a rss feed but i put the wrong member to show who has posted the feeds so i had to delete the feed posts on my forum and i have now re added another feed but now its not reposting what i have deleted.

Also when it posts it says

A TORY councillor who defected from Labour was today suspended from his new party after making a homophobic comment on his Facebook website.

Source: [url=http://www.wirralnews.co.uk/wirral-news/local-wirral-news/2010/03/31/wirral-councillor-suspended-for-anti-gay-facebook-update-100252-26144094/]Wirral councillor suspended for 'anti-gay' Facebook update[/ url]

Instead of putting a link.

Last edited by Vic; 04/04/2010 4:35 PM.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, that's expected behavior, it should try NOT to repost anything; there is a field in the database that holds the timestamp of the last time it "grabbed" the feed and it'll attempt not to repost anything before that timestamp.

You could try this query:
Code
UPDATE `your_db`.`prefix_TOPIC_FEEDS` SET `LAST_BUILD` = '0', `LAST_TOPIC_TIME` = '0' WHERE  `prefix_TOPIC_FEEDS`.`FEED_ID` =1;

As for the link, on what you posted it has a space before the end tag at the end, is that what it's doing on your site? could you link me to a story?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2010
Posts: 7
Vic Offline
Lurker
Lurker
Offline
Joined: Mar 2010
Posts: 7
Originally Posted by Gizmo
Well, that's expected behavior, it should try NOT to repost anything; there is a field in the database that holds the timestamp of the last time it "grabbed" the feed and it'll attempt not to repost anything before that timestamp.

You could try this query:
Code
UPDATE `your_db`.`prefix_TOPIC_FEEDS` SET `LAST_BUILD` = '0', `LAST_TOPIC_TIME` = '0' WHERE  `prefix_TOPIC_FEEDS`.`FEED_ID` =1;

As for the link, on what you posted it has a space before the end tag at the end, is that what it's doing on your site? could you link me to a story?

No i had to leave a space or it would of posted correctly lol.
Its just posting on my website like that instead of the proper link.

Also just tried that code above and it says SQL Error: Table 'web180-forum-2.prefix_TOPIC_FEEDS' doesn't exist

Last edited by Vic; 04/04/2010 6:27 PM.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
prefix_ needs to be changed to whatever your db prefix is


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Mar 2010
Posts: 7
Vic Offline
Lurker
Lurker
Offline
Joined: Mar 2010
Posts: 7
Ok thanks.
The other problem as above is like i havnt got html activated for users on the forum but i have the feed isnt coming out as a link

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I need to see it... it should parse out regardless of your html setting... on my test forums the aggregator is a standard user account


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Be sure you have "Parse BBCode in feed" selected in the feed


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2010
Posts: 7
Vic Offline
Lurker
Lurker
Offline
Joined: Mar 2010
Posts: 7
I have a problem.
Its not checking for more feeds every 15 minutes like i have set it. It updates once a day.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Is the source feed updating more than once a day? I know a lot of sites cache out their feed in the early morning and only do it once a day...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Mar 2010
Posts: 7
Vic Offline
Lurker
Lurker
Offline
Joined: Mar 2010
Posts: 7
Originally Posted by Gizmo
Is the source feed updating more than once a day? I know a lot of sites cache out their feed in the early morning and only do it once a day...

Its doing it once a day and thats it but when i look at the feed there is more news which could be added.
When i had Vbulletin it updated every 10 mins

(SORRY CAN THIS BE MOVED TO THE RSS FEED, I POSTED IN WRONG THREAD.)

Last edited by Vic; 04/06/2010 4:43 PM.
Joined: Jan 2008
Posts: 11
Newbie
Newbie
Joined: Jan 2008
Posts: 11
I don't receive any feeds. I added the lines in the source as described and added the files but nothing happens. Any idea how to check whether it is working right?

Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Hi Gizmo,

I installed it, but its not making any new posts.

I am trying to post earthquake updates from USGS. the feed is live, so at 15 minutes I should be seeing posts, but nothing.

Its now started working smile

Is there a way it can post some of the data from the source, rather than a link just to it? The link is good at the bottom, but I want some of the data on the post rather than just a link.


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It's supposed to display data from the feed, could you provide me the URL so I can take a gander?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, your problem from your feed is that they're using the description tag to roll out the date versus providing data on the page itself; the description tag is what gets parsed by this script.

They should be using the pubdate variable to publish the date, and the description variable to provide data on the link.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Is it possible to tweak the scripts to parse the feed?

Also the atom feed just gets ignored..

http://earthquake.usgs.gov/earthquakes/catalogs/7day-M2.5.xml

Its got more info showing and a map, but nothing happens frown


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Its NASA as well, all the feeds we need frown

http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=52828&gonew=1#UNREAD

Shows a date as the topic and info frown


It won't work with any feed from NASA:

http://www.nasa.gov/rss/

Also there is a bug. Any posts made by the fetching, keep the date of where the source is. This means twitter never picks them up as they are old as my forum is UTC+11.

The posts need to have the current time and date just like they were posted by a person.

Last edited by AUS-CITY; 03/12/2011 12:30 AM.

Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
The RSS feed parses what it's supposed to; their feed displays data in a manner that isn't what the RSS spec says it should.

As for the ATOM feed, this script isn't designed to parse that at all... That's why it's politely ignored.

Basically it reads the title, description, and pubdate; description should hold data about the link, the title is the title of the story, and the pubdate should be the date associated with it.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I'm not sure why the nasa rss feed is all on one line, kind of interesting...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Can the topic creator me modified to accept ATOM feeds?

A lot of sites offer them.


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You'd have to modify it to grab those tags versus rss tags... I really don't have the time currently to make a mod for that however...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Hey Giz

I followed the instructions, created the forums, add ed myself as the Poster (2) and nothing is happening?

What am I doing wrong?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
So you selected the forum to populate, and the feed? Could you post the feed that you're trying to use/


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Actually Giz, I'm going to do a fresh install and then attempt the RSS creator again...I'll post here in the next hour or so to update you. smile

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Well, I did the Fresh Install and still nothing appearing. frown

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Think I'm just going to have to give up on this.

frown

Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
I just reimaged my server to centos 6. I loaded up my backup and ubbthreads is working again. I had some directory permission issues.

Anyway the topic feeds has just stopped at the time of the backup. I checked the httpd logs, no errors.

Is there any files or directories that need 777 that the control panel check permissions is not picking up?

I can see this as the only cause.

I also cleared the cache in CP as the backup was full, all files and dir.

Thanks!


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Updated to 7.5.7 and this has stopped working. Can we get an update please?


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by AUS-CITY
Updated to 7.5.7 and this has stopped working. Can we get an update please?
Did you re-patch footer.tpl?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I have it installed on one of my sites still, I'm waiting to see if it updates :taps shoe:


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Hi Gizmo,

Yes I repatched:

/templates/default/footer.tpl
/templates/default/admin/admin_adminmenu.tmpl
/languages/english/admin/generic.php

Triple checked them, its correct as per v1.1 docs.



Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Hmm, I'm not sure; I just checked mine (the only file I have patched is the footer.tpl file, no cp changes) and it updated as it's supposed to here...

Do you have a link to the forum that's supposed to update and the feed it's supposed to read?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Hi Gizmo,

Okay its actually working, but nothing is being tweeted as all the RSS Feeds the forum generates have stopped.

Any ideas on that?

http://www.aus-city.com/ubbthreads/cache/rss40.xml

XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.aus-city.com/ubbthreads/cache/rss40.xml
Line Number 2, Column 1:
^

But the file looks okay...






RSS Feed for AUS-CITY NATO Press Releases
http://www.aus-city.com/ubbthreads/ubbthreads.php
RSS Feed for AUS-CITY NATO Press Releases
AUS-CITY Message Forums - UBB.threads(tm)

Remarks by Secretary Panetta at Ali Al Salem Air Base, Kuwait
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=135168#Post135168

Webmaster:

]]>

Wed, 12 Dec 2012 23:05:51 GMT


Visit to NATO by the Prime Minister of the Netherlands
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=135066#Post135066

Webmaster:

]]>

Wed, 12 Dec 2012 22:44:40 GMT


Secretary General condemns North KoreaÂ’s rocket launch
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=135020#Post135020

Webmaster:

]]>

Wed, 12 Dec 2012 14:44:42 GMT


Euro-Atlantic Partnership Council pays respect to late Ambassador Milinkovic of Serbia
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=134763#Post134763

Webmaster:

]]>

Tue, 11 Dec 2012 16:05:20 GMT


North Atlantic Council expresses concern about North KoreaÂ’s intent to launch a ballistic missile
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=133696#Post133696

Webmaster:

]]>

Wed, 05 Dec 2012 20:11:48 GMT


Remarks by Secretary Panetta at Walter Reed National Military Medical Center, Washington, D.C.
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=133562#Post133562

Webmaster:

]]>

Tue, 04 Dec 2012 23:06:53 GMT


NATO Foreign Ministers's statement on Patriot deployment to Turkey
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=133561#Post133561

Webmaster:

]]>

Tue, 04 Dec 2012 23:01:54 GMT


Remarks by Deputy Secretary Carter at the Cooperative Threat Reduction Symposium at National Defense University, Washing
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=133421#Post133421

Webmaster:

]]>

Tue, 04 Dec 2012 12:59:34 GMT


Remarks by Deputy Secretary Carter at the Von der Heyden Fellows Program Endowment Fund Lecture Series at Duke Universit
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=132736#Post132736

Webmaster:

]]>

Fri, 30 Nov 2012 19:47:07 GMT


NATO Press Release(2012)147 - Visit to NATO by the Minister of Foreign Affairs of Pakistan
http://www.aus-city.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=132716#Post132716

Webmaster:

]]>

Fri, 30 Nov 2012 17:33:49 GMT




Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Fixed, its a ubbthreads bug. There is an added space in the rss feed template..

"{* Script Version 7.5.7 *} "

It should be:
"{* Script Version 7.5.7 *}"


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
That setting should be for outputting forum data as RSS feeds; the RSS Topic Creator imports RSS feeds to your forum from an RSS feed...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Yes that is correct wink

I thought it was the Topic Creator at fault as our twitter updates stopped. But as it turned out it was working, but the template in the update from ubbthreads has the extra space that was corrupting the RSS feeds, and hence no twitter updates from the forum.

I added the fault to the thread in ubbthreads/bugs, so it should be moved to a known bug and the template file fixed in the zip.


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Hey Giz

Me again.

Same issue as before.

Done everything as I'm supposed to but no show on the forum I want the Topics to appear.

Help

http://cinemagalaxy.co.uk/ubbthreads.php/forums/5/1/News_Articles.html

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Do you think it may have something to do with the forum being installed on the site root or should that not make a difference?

Last edited by SGHB1138; 05/28/2013 12:02 PM.
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
I checked my error logs and got this:

[Tue May 28 07:05:47 2013] [error] [client 0.0.0.0] SoftException in Application.cpp:601: Directory "/home/myuser/public_html/mydirectory/cache_builders" is writeable by group, referer: http://cinemagalaxy.co.uk/ubbthreads.php/forums/5/1/News_Articles.html

Last edited by SGHB1138; 05/28/2013 2:14 PM.
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Also, its a wordpress feed so don't know if that's an issue

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
And now it works but with only one feed.

I'm puzzled.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by SGHB1138
Do you think it may have something to do with the forum being installed on the site root or should that not make a difference?
Shouldn't make a difference.

Originally Posted by SGHB1138
[Tue May 28 07:05:47 2013] [error] [client 0.0.0.0] SoftException in Application.cpp:601: Directory "/home/myuser/public_html/mydirectory/cache_builders" is writeable by group, referer: http://cinemagalaxy.co.uk/ubbthreads.php/forums/5/1/News_Articles.html
I'm not sure on this one, I went and googled it and found this that references that it's likely a permission issue.



UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Yeah, I checked that too.

But UBB states that cache_builders has to have a CHMOD permission of 0777

I set it at 0755 and nothing happened and then set it back to 0777 and then one feed worked but not the other

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
So, I changed the permissions to 0755 of cache_builders and then back to 0777 and the other rss feed is now produced.

Even more puzzled than before.

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
How do I get it to show the full text of the article?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It SHOULD post the entire body of the "description" field of the feed in question; if the feed truncates the display (which they commonly do) you can't import what's not there...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Oh well. I just can't get it to work.

Pity.

I really liked this mod.

smile

Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
I cant believe only 36 downloads have taken place.
This is so cool this add on and should be stock my 2p.

Ive just tested it on my dev board and works great.
I just need to find the time to update my main site.

Good work Giz rockband


BOOM 7.6.+ rocks....
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Hey Gizmo,

Does this work with 7.6.0?

Better to ask than try to upgrade and break the board smile

Cheers!


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I did not write this script, I simply ported it up through the v7.4 system in 2010; you're going to have to try it out yourself to see if it works as I don't have it configured anywhere.

I can tell you that very little has changed in the database from v7.5.9 and v7.6; so if it was working in v7.5.9 for you it should continue to do so once it's reinstalled on v7.6.0.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2015
Posts: 1
Lurker
Lurker
Offline
Joined: Nov 2015
Posts: 1
As an FYI, RSS Topic Creator does work with 7.6.0

I had to re-patch the files required to be edited.

Then, spend several frustration hours tracking down a typo I introduced.....

But, it does work when the files are modified correctly....

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
RSS Topic Creator 1.2 - Updated for UBB.threads 7.7.0+

If you had been running version 1.1, your topics were being prevented from displaying on the News Portal. This release fixes that 1.1 bug, along with several other minor issues such as encoding corrections and images within the RSS feed, especially html5 img tags, and respecting responsive design guidelines.

Run the following SQL from Control Panel / Database Tools / SQL Command to retroactively correct the News Portal bug from version 1.1

Fix missing TOPIC_STATUS created by RSS Topic Creator 1.1
SQL Query
UPDATE ubbt_TOPICS
SET TOPIC_STATUS = 'O'
WHERE TOPIC_STATUS IS NULL
Attachments
RSS_Topic_Creator1.2.zip (15.45 KB, 13 downloads)
SHA1: ee61293f223e46fa79a9440cc794f57c01f1ceb9


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Thanks Isaac been awaiting this :-)


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
Thanks guys. I have made the necessary entries into the templates / php and created the new table. How long does it take to start populating? Within 30 mins ?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
IIRC as long as the cache time of the feed has passed it should insert data; this should trigger when there is activity on the forum (the file is called on every page view)... So if you've never inserted data and the feeds are valid it should insert data as soon as a page on the main forum is accessed.

This script is simple and maintained just as required, so your mileage will vary.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
2 members like this: Morgan, isaac
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
Thanks Gizmo :)

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Call the XML sections of your RSS feed that you want to display.

Example "Format Of The Posts"
Code
%%CONTENT:ENCODED%%<br>
<b>Source: <a href="%%LINK%%">Example.com</a></b>
<span style="font-weight:400;font-size:11px;">Category: %%CATEGORY%%</span>

A respectful feed update interval would be 60 minutes. Possibly 120 minutes or even 180 minutes.

Also, your feed source should be RSS 2.0 format, not ATOM.
https://problogger.com/rss-vs-atom-whats-the-big-deal/

There is a fun story behind the two. I believe it is here:
https://en.wikipedia.org/wiki/Atom_(Web_standard)#Atom_compared_to_RSS_2.0
Additional reading here:
https://en.wikipedia.org/wiki/RSS


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Originally Posted by Gizmo
This script is simple and maintained just as required, so your mileage will vary.

Its been updated is as needed here and there. The current version compatible with UBB.threads 7.7.x (and newer) shortly after 7.7.0 was released :)


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Gizmo
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Sorry, I do not do support in private messaging. More people can benefit from a support reply by making it public, keeping related questions within the correct thread, and on the correct domain.

From your PM to me on UBBCentral.com:
Originally Posted by Mors
Hi Issac,

I did the 1.2 upgrade on the script and I finally figured out I needed to assign a posting user. I got all that setup including creating my new topic feeds table etc.. all that went great.

It's still not posting yet. If I had you look at things what would you want to charge ?

Don't have lots of time and willing to pay for your services :)

If you added cache_builders/rss_topic_creator.php to your footer file, the RSS feed will update when your page footer is viewed and the "Feed Update Interval" timer expires.

You can view ubbt_TOPIC_FEEDS to see what is/is not happening. I believe that if you set LAST_BUILD to 0, the script force itself to run again.

If nothing is populating the database, you may have any of the following issues.
1/ Source feed is ATOM and not RSS 2.0.
2/ Source feed has an error in it.
3/ Source feed is empty.
4/ You are using a bad URL.
5/ You missed part of the directions within the rss_topic_creator.txt documentation.
6/ You have not set a User ID that the feeds should be posted by.
7/ You have not set a forum to put the feeds in to.
8/ Your "Format Of The Posts" is empty or incorrect.
9/ The Topic Feed is not enabled.

TIP: Create an RSS TEST FORUM so you can repete your feed fetches until you have them displaying exactly as you desire. Then you can easily delete the entire forum and all of your test posts in a single swoop of deleting that entire forum. You can also prune your tests with Control Panel > Prune Threads.

But first things first, watch your ubbt_TOPIC_FEEDS database to see if it is getting populated upon 1/ refreshing of a forum page with a footer (usually category page is easiest to do) 2/ setting LAST_BUILD to 0 to the feed in the database.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Gizmo
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
Ya ok they are atom feeds.. I need to find the same feeds in RSS 2.0 OR better yet you build atom capable switching formats and I buy it. :) Need to know costs..

Last edited by WebGuy; 10/08/2020 5:28 PM.
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
1/ You could modify the script to support ATOM instead of RSS.
2/ You could modify the script to do #1, and along side the current RSS script, so you'll have two different processors.
3/ You could install a 3rd party feed agitator that exports everything in to an RSS 2.0 template.

I currently do #3 using https://tt-rss.org/
This also gives me the benefit of having feeds from multiple sources with hundreds of posts daily. Then applying a filter, for example, "Pixel" or "Nexus" and must include "Google." Then the UBB.threads RSS Topic Creator only downloads those items from custom feed that TTRSS made for me, with its own URL, in RSS 2.0 format.

[Linked Image]


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
LOL I keep finding out more and more haha :) I will look into your suggestion.. I am trying to get a rss 2.0 to work right now before I look at other options

You have to remember I haven't had a working forum in like 10 plus years :) I am slowly getting back into it.

Last edited by WebGuy; 10/08/2020 5:44 PM.
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
thanks for all the help guys :) I honestly appreciate it.

Its working. I am going to look into your option 3 and see if it makes sense or worth doing :)

Last edited by WebGuy; 10/08/2020 5:55 PM.
2 members like this: Gizmo, isaac
Joined: Jun 2003
Posts: 8
Likes: 2
Lurker
Lurker
Offline
Joined: Jun 2003
Posts: 8
Likes: 2
Ok for number 2.. who can do it and how much :) I want less complexity.. need it to work with atom and rss 2.X

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
While there are many initial intents for providing/serving RSS feeds, please keep in mind that that the RSS TOPIC CREATOR script provides something that is somewhat of a grey area with respect to taking someone elses content, hosting it on your server, and presenting it as your own content.

RSS is for news syndication. Not free web content for your website.

Game scores, weather, news snippets pointing back to the source...etc. Basically being responsible with the content someone else created and is sharing.

as far as your other question on who can write this for you, feel free to open the script and look at its bits. the script is rather short. Pull up a sample RSS 2.0 and ATOM (rss/xml) file and read them. its straight forward.

its one of those things where once you set it up and it is working, there is no further adjustments needed its low level "take from column A put in to column B." stuff.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Mar 2021
Posts: 3
Lurker
Lurker
Offline
Joined: Mar 2021
Posts: 3
If I wanted to figure out why it's just not doing anything, though the topic feed shows up as enabled and it's standard WordPress RSS2 (?feed=rss2), and works in desktop RSS viewers - what would I do? Is there a good place to put in a "log errors" command?

Joined: Mar 2021
Posts: 3
Lurker
Lurker
Offline
Joined: Mar 2021
Posts: 3
Never mind - it's adding threads, but they're not visible. Also generating this:

[02-Mar-2021 17:33:30 UTC] PHP Fatal error: Uncaught --> Smarty: Unable to load template 'file:not_right_bare.tpl' <--
thrown in /home/public_html/forums/libs/smarty/sysplugins/smarty_internal_template.php on line 195

Joined: Mar 2021
Posts: 3
Lurker
Lurker
Offline
Joined: Mar 2021
Posts: 3
... also, instructions here suggest changing the nulls in the topics to 0s or Os. Any new topic appears as a null, though. If I change it, it seems to lock the topic.

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Make sure you are using the current version, which is posted further down the thread.

direct link
https://ubbdev.com/forums/ubbth...4-rss-topic-creator-v1-1.html#Post323151

Prior versions of the script will not work on current UBB.threads. You need to be using the current version of RSS Topic Creator with current versions of UBB.threads.

The current version discussion started in 2019.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It sounds like you're using v1.1 from the OP, which is a direct port of Ian's original; instead you should be using Isaac's v1.2 which includes bugfixes and further upgrades for compatability.

Also, ensure you're not trying to use an ATOM feed, ATOM and RSS are different structures and this script (by default) will parse RSS only.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
I just moved my server. The Topic Creator was running fine on the old server. Its running CentOS7 so old stuff.

New one is RedHat 9. Now I'm running old php for ubbthreads and the restored back runs perfectly. Everything runs, except the Topic Creator isn't creating posts off the feeds.

I'm suspecting I'm missing a php or perl library it needs for downloading, etc.

Can you give me all the required libraries please? I had issues getting dadamail but found those in the program itself so that's easy.

Cheers,

David


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Found the issue. Its running great again.

Cheers,

David


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
What ended up being the issue, out of curiosity?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 27
User
User
Offline
Joined: Mar 2001
Posts: 27
Hey Gizmo,

Issue was the domain its-self was running php 7.4, but the servers root didn't have php installed as it isn't serving out anything. But as cron runs some jobs there was no path to php.

Wasn't an issue early days of course, when it was all php 5 right :-)

I do love the Topic creator and will anxiously await its update for php8 as its a real great feature.

Appreciate the effort.

Cheers,

David


Webmaster
AUS-CITY Space and General Interest Forums
http://www.aus-city.com/ubbthreads/ubbthreads.php
Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)