php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#314326 - 06/05/07 02:07 PM RSS Topic Creator [Release Candidate]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
This mod will import RSS feeds as new topics. You can specify which forums the topics are posted to, and who posts them.

Installation file is included in zip. Upload the files following the structure I created in the zip.

Example: IanSpence.com


Attachments
2402-RSSTopicCreator.zip (75 downloads)

_________________________
Code monkey like Fritos

Top
#314329 - 06/05/07 04:14 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks Ian.

Is this the same as the beta version?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314330 - 06/05/07 04:21 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian_W]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
it's the same as the latest one I posted in that topic, now it has instructions for installation
_________________________
Code monkey like Fritos

Top
#314337 - 06/05/07 08:26 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Is there an upgrade script as well, or do we need to alter tables manually?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314339 - 06/05/07 09:14 PM Re: RSS Topic Creator [Release Candidate] [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
alter manually
_________________________
Code monkey like Fritos

Top
#314340 - 06/05/07 09:29 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Mors Offline
User

Registered: 03/31/01
Posts: 47
Ian this is awesome. Thank you very much.. Now to get it working for me smile

Top
#314350 - 06/06/07 05:06 PM Re: RSS Topic Creator [Release Candidate] [Re: Mors]
Mors Offline
User

Registered: 03/31/01
Posts: 47
I made a mistake when entering RSS feeds that didn't have any existing data on them ie: future RSS outlets that haven't been used. The program stopped visiting any additional RSS URLs entered in the list the second it found a URL with absolutely no data on it.

So when setting up RSS feed URLs make sure they have existing data on them. When it hits a null it just stopped polling past that url. Other then that this is an oustanding mod..

Thanks so much Ian Spence smile

FYI for now smile

Top
#314351 - 06/06/07 05:22 PM Re: RSS Topic Creator [Release Candidate] [Re: Mors]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Have added an updated version.
_________________________
Code monkey like Fritos

Top
#314352 - 06/06/07 05:44 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Mors Offline
User

Registered: 03/31/01
Posts: 47
Thanks Ian smile

Again well done!!

Top
#314354 - 06/07/07 12:35 AM Re: RSS Topic Creator [Release Candidate] [Re: Mors]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
*curses himself for not being able to do this*

*curses himself for not being able to get other stuff to work*

frown
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#314355 - 06/07/07 01:13 AM Re: RSS Topic Creator [Release Candidate] [Re: GEN]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Do we need to add the tables manually?
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#314359 - 06/07/07 03:43 AM Re: RSS Topic Creator [Release Candidate] [Re: GEN]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
frown

Totally unfamiliar with PhpAdmin I copy n pasted this:

Code:
CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS (
	FEED_ID int(4) unsigned not null auto_increment primary key,
	USER_ID int(9) unsigned not null,
	FORUM_ID int(9) unsigned not null,
	FEED_URL varchar(255),
	LAST_BUILD int(11) unsigned not null default '0',
	LAST_TOPIC_TIME int(11) unsigned not null default '0',
	CACHE_TIME int(9) unsigned not null default '30',
	TITLE_PREFIX varchar(32),
	BODY_FORMAT text,
	FEED_IS_ENABLED tinyint(1) default '1',
	FEED_WAS_ESCAPED tinyint(1) default '0',
	PARSE_BBCODE tinyint(1) default '0',
	TOPIC_ICON varchar(30),
	REGEXP_SPECIAL text
) TYPE=MyISAM



Into my Query window...resulting in this:


Code:
Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 14
STR: %%
SQL: CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS (
	FEED_ID int(4) unsigned not null auto_increment primary key,
	USER_ID int(9) unsigned not null,
	FORUM_ID int(9) unsigned not null,
	FEED_URL varchar(255),
	LAST_BUILD int(11) unsigned not null default '0',
	LAST_TOPIC_TIME int(11) unsigned not null default '0',
	CACHE_TIME int(9) unsigned not null default '30',
	TITLE_PREFIX varchar(32),
	BODY_FORMAT text,
	FEED_IS_ENABLED tinyint(1) default '1',
	FEED_WAS_ESCAPED tinyint(1) default '0',
X	PARSE_BBCODE tinyint(1) default '0',
	TOPIC_ICON varchar(30),
	REGEXP_SPECIAL text
) TYPE=MyISAM


SQL query:

CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS ( FEED_ID int(4) unsigned not null auto_increment primary key, USER_ID int(9) unsigned not null, FORUM_ID int(9) unsigned not null, FEED_URL varchar(255), LAST_BUILD int(11) unsigned not null default '0', LAST_TOPIC_TIME int(11) unsigned not null default '0', CACHE_TIME int(9) unsigned not null default '30', TITLE_PREFIX varchar(32), BODY_FORMAT text, FEED_IS_ENABLED tinyint(1) default '1', FEED_WAS_ESCAPED tinyint(1) default '0', PARSE_BBCODE tinyint(1) default '0', TOPIC_ICON varchar(30), REGEXP_SPECIAL text ) TYPE=MyISAM

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%%TABLE_PREFIX%%TOPIC_FEEDS (
    FEED_ID int(4) unsigned not null



frown
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#314360 - 06/07/07 03:50 AM Re: RSS Topic Creator [Release Candidate] [Re: GEN]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
where it says %%TABLE_PREFIX%% replace this with your usual table prefix - probably ubbt_

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314361 - 06/07/07 04:48 AM Re: RSS Topic Creator [Release Candidate] [Re: Ian_W]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
*sighs happily*

Thank You

smile
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#314363 - 06/07/07 05:26 AM Re: RSS Topic Creator [Release Candidate] [Re: GEN]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
no worries smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314364 - 06/07/07 01:56 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian_W]
Mors Offline
User

Registered: 03/31/01
Posts: 47
you can also use the SQL command in your control panel to do this..

Top
#314365 - 06/07/07 07:31 PM Re: RSS Topic Creator [Release Candidate] [Re: Mors]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Thank you too.

smile
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#314392 - 06/12/07 10:04 AM Re: RSS Topic Creator [Release Candidate] [Re: GEN]
FREAK1 Offline
User

Registered: 07/01/03
Posts: 46
I look at this and it is 100% Greek to me. It is exactly what I am looking for, but have no clue as to what to do. I downloaded the zip file, and man I feel dumber than an ox.

Top
#314393 - 06/12/07 02:28 PM Re: RSS Topic Creator [Release Candidate] [Re: FREAK1]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Upload the each of those folders to your forums directory (the directory containing ubbthreads.php)

That'll leave the structure something like

../ubbthreads.php
../cache_builders/rss_topic_creator.php
../languages/english/admin/topic_feeds.php

Then open the txt file and follow the instructions in there. You'll run the one query, replacing %%TABLE_PREFIX%% with the table prefix used at your forums.

You'll then use your trusty text editor (notepad if you have nothing better) to edit a couple of files specified, and then you upload the modified files.

Go to your control panel, click "Topic Feeds" in the left bar, and set the feeds up
_________________________
Code monkey like Fritos

Top
#314649 - 07/06/07 03:25 PM Re: RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
Thanks for this, Ian. This was exactly what I needed.

Top
Page 1 of 3 1 2 3 >


Moderator:  sirdude 
Who's Online
0 registered (), 26 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
Yesterday at 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks