[ABD] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by Tuxman »

I double-checked everything, but there's still no FSS working since the update...
[ randomly phpBBing ]

ccb056
Registered User
Posts: 54
Joined: Tue Sep 02, 2003 3:28 am

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by ccb056 »

PHP Fatal error: Call to undefined method cache::feed_load() in C:\\vhosts\\computerbb\\www\\generate_feed.php on line 241, referer: https://www.computerbb.org/create_syndication.php
site: https://www.computerbb.org

phpBB 3.0.1

Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by Tuxman »

By the way:
I found my error... I accidentally deleted a line in functions.php. The mod is working fine again.

:oops:
[ randomly phpBBing ]

User avatar
phreadom
Registered User
Posts: 29
Joined: Sat Sep 08, 2007 2:50 am
Location: Michigan, USA
Name: Justin Stressman
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by phreadom »

NeoID wrote:
innerdude wrote:While trying to change user preferences:

General Error
Language file acp_syndication.php couldn't be opened.
rename info_acp_syndication.php to acp_syndication.php
After renaming the file, I then got errors on the ACP .MODS page for the mod. The language information was missing and instead there was { TITLE } { TITLE_EXPLAIN } etc.

I then created a copy of acp_syndication.php named info_acp_syndication.php and that fixed it again. I then removed the info_acp_syndication.php file and refreshed my template cache just to be sure, but that didn't fix it. So then I created a link (in Linux) to acp_syndication.php named info_acp_syndication.php and this caused it to work again.

I take it there is somewhere else in the code that refers to info_acp_syndication.php, but I can't figure out where.

Marko86
Registered User
Posts: 84
Joined: Tue Feb 01, 2005 8:24 pm

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by Marko86 »

never mind

User avatar
phreadom
Registered User
Posts: 29
Joined: Sat Sep 08, 2007 2:50 am
Location: Michigan, USA
Name: Justin Stressman
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by phreadom »

I wanted to add that I'm also not getting anything in Google Reader.

The feed works great in Live Bookmarks and Outlook 2007. I tested under both registered users only and with guest access. Google Reader simply doesn't work.

When you add it through Firefox to Google Reader, you get "(title unknown)" has no items.

(Before I set it to guest access I would get an error saying there was no feed data at all.)

UPDATE: I must not have waited long enough. I tried again today and the forum where I had set Guest access worked. I went through and set it up for the rest of the forums and waited for it to refresh the cache and they all worked correctly. :D

Now it looks as though it's not updating the feeds on Google Reader? I know there are 2 new posts that should be showing up, but they aren't. And it's been over an hour. :(

UPDATE: I just checked and they've finally shown up. I just wonder why it took so long... I'd think they should have showed up at the 5 minute interval I set. :(
Last edited by phreadom on Wed Apr 23, 2008 7:17 am, edited 3 times in total.

DubCA
Registered User
Posts: 77
Joined: Thu Sep 27, 2007 8:32 am

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by DubCA »

phreadom wrote:
NeoID wrote:
innerdude wrote:While trying to change user preferences:

General Error
Language file acp_syndication.php couldn't be opened.
rename info_acp_syndication.php to acp_syndication.php
After renaming the file, I then got errors on the ACP .MODS page for the mod. The language information was missing and instead there was { TITLE } { TITLE_EXPLAIN } etc.

I then created a copy of acp_syndication.php named info_acp_syndication.php and that fixed it again. I then removed the info_acp_syndication.php file and refreshed my template cache just to be sure, but that didn't fix it. So then I created a link (in Linux) to acp_syndication.php named info_acp_syndication.php and this caused it to work again.

I take it there is somewhere else in the code that refers to info_acp_syndication.php, but I can't figure out where.
I just copied info_acp_syndication.php, renamed it to acp_syndication.php and now keep both files in that folder.

User avatar
phreadom
Registered User
Posts: 29
Joined: Sat Sep 08, 2007 2:50 am
Location: Michigan, USA
Name: Justin Stressman
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by phreadom »

DubCA wrote:I just copied info_acp_syndication.php, renamed it to acp_syndication.php and now keep both files in that folder.
My point was that while this works, it seems to obviously point out that something isn't quite right. The MOD author should fix this before "going gold" with the final 1.0 release. :)

markg11cdn
Registered User
Posts: 1
Joined: Wed Apr 19, 2006 6:14 pm
Location: Windsor, ON

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by markg11cdn »

Just installed 1.0RC1 on phpBB 3.0.1. Works okay for me, but it looks like support for subsilver2 is gone, though under MOD history, 0.9.4 has "Added instructions for subsilver2". Under the styles directory in the .ZIP there is only a prosilver directory.

Will you be adding subsilver2 support back?

Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by Tuxman »

Take it from an earlier version then. :D
[ randomly phpBBing ]

User avatar
phreadom
Registered User
Posts: 29
Joined: Sat Sep 08, 2007 2:50 am
Location: Michigan, USA
Name: Justin Stressman
Contact:

Re: [BETA] Full Syndication Suite 0.9.4a (RSS/ATOM)

Post by phreadom »

Schumi wrote:
G.I. Suck wrote:How hard would it be to change the feed from

{{Topic}}

to

{{Topic}} - {{Forum it's located in}}
That's easy to do :).
Open includes/functions_syndication and replace the function get_content_data with this variant:

Code: Select all

/**
* get actual data about topics or posts
*/
function get_content_data($content, &$feed_data, $start, $end)
{
    global $global, $number_items, $board_url, $config, $phpEx, $db;

    switch ($content)
    {
        case 'posts':
        case 'topic_posts':    
            if ($content == 'posts')
            {
                global $forum_ids;
                $where_sql = $db->sql_in_set('p.forum_id', $forum_ids);
            }
            else
            {
                global $topic_id;
                $where_sql = 'topic_id = ' . $topic_id;
            }

            $sql = 'SELECT topic_id, p.forum_id, forum_name, post_id, post_text, post_username, post_time, post_subject, bbcode_bitfield, bbcode_uid, enable_bbcode, enable_smilies, enable_magic_url, username
                FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . ' u, ' . FORUMS_TABLE . " f
                WHERE $where_sql
                    AND f.forum_id = p.forum_id
                    AND p.poster_id = u.user_id
                    AND post_approved = 1
                ORDER BY post_time DESC";
            $result = $db->sql_query_limit($sql, $end, $start, $config['syndication_ttl']);

            while ($row = $db->sql_fetchrow($result))
            {
                $link = ($global) ? "{$board_url}/viewtopic.$phpEx?f={$row['forum_id']}&t={$row['topic_id']}" : "{$board_url}/viewtopic.$phpEx?f={$row['forum_id']}&t={$row['topic_id']}";

                $feed_data['items'][] = array(
                    'author'    => (!empty($row['post_username'])) ? $row['post_username'] : $row['username'],
                    'time'        => $row['post_time'],
                    'link'            => $link . '#p' . $row['post_id'],
                    'identifier'    => $link . '#p' . $row['post_id'],
                    'title'        => $row['post_subject'] . ' - ' . $row['forum_name'],
                    'text'        => parse_message($row)
                );
            }
            $db->sql_freeresult($result);
        break;

        case 'topics':
            global $forum_ids;

            $sql = 'SELECT t.topic_id, t.forum_id, forum_name, topic_title, topic_first_poster_name, topic_time, post_text, bbcode_uid, bbcode_bitfield, enable_bbcode, enable_smilies, enable_magic_url
                FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p, ' . FORUMS_TABLE . ' f
                WHERE ' . $db->sql_in_set('t.forum_id', $forum_ids) . '
                    AND p.post_id = t.topic_first_post_id
                    AND p.post_approved = 1
                    AND t.topic_approved = 1
                    AND t.topic_moved_id = 0
                ORDER BY post_time DESC';
            $result = $db->sql_query_limit($sql, $end, $start, $config['syndication_ttl']);

            while ($row = $db->sql_fetchrow($result))
            {
                $link = ($global) ? "{$board_url}/viewtopic.$phpEx?f={$row['forum_id']}&t={$row['topic_id']}" : "{$board_url}/viewtopic.$phpEx?f={$row['forum_id']}&t={$row['topic_id']}";

                $feed_data['items'][] = array(
                    'author'    => $row['topic_first_poster_name'],
                    'time'        => $row['topic_time'],
                    'link'            => $link,
                    'identifier'    => $link,
                    'title'        => $row['forum_name'] . ' - ' . $row['topic_title'],
                    'text'        => parse_message($row)
                );
            }
            $db->sql_freeresult($result);
        break;

        case 'pm':
            global $folder;

            $sql = 'SELECT p.msg_id, message_text, p.author_id, message_time, message_subject, bbcode_bitfield, bbcode_uid, enable_bbcode, enable_smilies, enable_magic_url, u.username
                FROM ' . PRIVMSGS_TABLE . ' p, ' . PRIVMSGS_TO_TABLE . ' t, ' . USERS_TABLE . " u
                WHERE p.author_id = u.user_id
                    AND t.msg_id = p.msg_id
                    AND t.folder_id = $folder
                    AND t.folder_id != " . PRIVMSGS_NO_BOX . '
                    AND t.folder_id != ' . PRIVMSGS_HOLD_BOX . '
                ORDER BY message_time DESC';
            $result = $db->sql_query_limit($sql, $end, $start, $config['syndication_ttl']);

            while ($row = $db->sql_fetchrow($result))
            {
                $link = "{$board_url}/ucp.$phpEx?i=pm&mode=view&f=$folder&p={$row['msg_id']}";

                $feed_data['items'][] = array(
                    'author'    => $row['username'],
                    'time'        => $row['message_time'],
                    'link'            => $link,
                    'identifier'    => $link,
                    'title'        => $row['message_subject'],
                    'text'        => parse_message($row, true)
                );
            }
            $db->sql_freeresult($result);
        break;
    }
}    
When I tried this with the latest version, I got a whole screen full of nasty errors. It looks like the code has changed since you released this patch code and it no longer works. :(

Could you please update this for the latest release? I've tried walking through it myself, but it's a little over my head. :( I'm not sure which changes are specifically for the added "{{Topic}} - {{Forum it's located in}}" bits and which are parts that were changed for other reasons, so I wasn't able to manually patch it myself.

Thank you! :D

User avatar
fulleffect
Registered User
Posts: 78
Joined: Sun Jan 14, 2007 6:54 pm

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by fulleffect »

hi,

i installed this mod, when i enter the acp mod page and want to save this page i get this error:

Code: Select all

SQL ERROR [ mysql4 ]

Unknown column 'user_syndication_method' in 'phpbb_users' [1054]

SQL

ALTER TABLE `phpbb_users` CHANGE `user_syndication_method` `user_syndication_method` tinyint(1) UNSIGNED DEFAULT '0' NOT NULL

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/db/db_tools.php
LINE: 618
CALL: dbal_mysql->sql_query()

FILE: includes/db/db_tools.php
LINE: 1413
CALL: phpbb_db_tools->_sql_run_sql()

FILE: includes/db/db_tools.php
LINE: 329
CALL: phpbb_db_tools->sql_column_change()

FILE: includes/acp/acp_syndication.php
LINE: 100
CALL: phpbb_db_tools->perform_schema_changes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_syndication->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

somebody knows what to do? :mrgreen:
it's just the way it is ;-)

User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by Bruno36 »

Good morning!

When I click on send I have a blank page
Image
Excuse me for my poor English, I speak french
Bruno36

execnz
Registered User
Posts: 1
Joined: Fri May 02, 2008 4:00 am

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by execnz »

Hi,
Thanks for the Mod. Got it working fine. I have a question however, how do I get the feeds be read by any RSS reades such as Omea Reader and RSS Reader?

seba99999
Registered User
Posts: 2
Joined: Fri May 02, 2008 2:43 am

Re: [RC1] Full Syndication Suite 1.0.RC1 (RSS/ATOM)

Post by seba99999 »

Hi, sorry to bother...

I'm getting this error when entering my site (if I change the functions.php to the old pre modified version I have no problems), anyone have an idea of what it could be...

Parse error: syntax error, unexpected T_IF in /home/mysite/public_html/includes/functions.php on line 3413

Thanks!!!
Seba.

Locked

Return to “[3.0.x] Abandoned MODs”