I reciently upgraded to DF 9.2.1 and am working through updating all the broken blocks. Now its the Forum Centre block's turn.
So here's where I am: I updated the block-Forums_Centre_Block_(Module).php script with the one Pheonix had, then un-installed and reinstalled it and wala, all errors disappeared.
The problem I have though is that while I get the column titles, I get no content within the block... and one of the language defines is missing.
Picture is worth 1000 words so here it is:
Ideas?
-CodeMyster
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS:Linux/Apache:1.3.33 / MySQL:5.0.51a / PHP:5.2.6 / DF 9.2.1
blocks/block-Forums_Centre_Block_(Module).php
Notice line 44: Undefined index: ShowRanks01
Notice line 44: Undefined index: ShowRanks02
Notice line 49: Undefined variable: MFFMidFix
Warning line 49: Invalid argument supplied for foreach()
Warning line 55: Invalid argument supplied for foreach()
Notice line 63: Undefined index: TDAuth
Notice line 65: Undefined variable: MFFMidFix
Warning line 65: Invalid argument supplied for foreach()
Notice line 113: Undefined variable: Result
Notice line 114: Undefined variable: MergeArray
Warning line 114: Invalid argument supplied for foreach()
Warning line 114: rsort() expects parameter 1 to be array, null given
Notice line 224: Undefined index: ShowBoard
Notice line 247: Undefined index: EnableMultiForums
Notice line 256: Use of undefined constant _FCBTOPPOSTERS - assumed '_FCBTOPPOSTERS'
Notice line 262: Undefined index: ShowRanks02
Notice line 272: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 278: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 278: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 278: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 278: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 278: Undefined variable: MouseOver01
Notice line 262: Undefined index: ShowRanks02
Notice line 274: Undefined variable: MouseOver01
-CodeMyster
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS:Linux/Apache:1.3.33 / MySQL:5.0.51a / PHP:5.2.6 / DF 9.2.1
Anyone know how to get the forums centre module block to display the content from forumspro in 9.2? I get it to work with Pitchers update, but right were the topics are supposed to show, it's nothing there. I have done the modifications that are supposed to make it work, changing the getlink(Forums to getlink(ForumsPro, can't remember exactly what I did.
Oh and I have the right version, 1.9 I think. Mine is like in CodeMyster's picture above.
I have a version with forumspro integration, hasn't been released; I will release it as beta as soon as I will have found the time to fix some minor ugly things with 9.2 compatibility.
Les fruits bien mûrs au goût de miel
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Suse Linux/ Apache 1.3.29 (Unix)/ MySQL 4.0.20/ PHP 4.3.10/ Dragonfly 9.0.5.0
I have a version with forumspro integration, hasn't been released; I will release it as beta as soon as I will have found the time to fix some minor ugly things with 9.2 compatibility.
thanks!
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS/Apache/Mysql/php/9.2.X/
HecklerOffline
Joined: Apr 22, 2007
Posts: 298
Location: California
On /dfly/index.php?name=ForumsCentreBlock
While executing query "SELECT
p.post_time, t.topic_id, t.forum_id, t.topic_title, t.topic_poster, t.topic_views, t.topic_replies, t.topic_type, t.topic_status,
t.topic_last_post_id, t.topic_first_post_id, t.topic_moved_id, t.topic_attachment, t.icon_id,
f.forum_id, f.forum_name, f.auth_read, n.notify_status,
u.username, u.user_posts, v.username, v.user_posts, w.poster_ip, i.icon_url,
p.poster_id, p.poster_ip, p.post_id, s.post_text, m.custom_title
FROM cms_bbtopics t, cms_bbforums f
LEFT JOIN cms_bbposts p ON (p.post_id=t.topic_last_post_id)
LEFT JOIN cms_bbposts w ON (w.post_id=t.topic_first_post_id)
LEFT JOIN cms_users u ON (u.user_id=p.poster_id)
LEFT JOIN cms_users v ON (v.user_id=t.topic_poster)
LEFT JOIN cms_bbtopics_watch n ON (n.user_id=55 AND n.topic_id=t.topic_id)
LEFT JOIN cms_bbtopic_icons i ON (i.icon_id=t.icon_id)
LEFT JOIN cms_bbposts_text s ON (s.post_id=t.topic_last_post_id)
LEFT JOIN cms_modules m ON (m.title="Forums") WHERE t.forum_id=f.forum_id AND t.topic_moved_id=0
ORDER BY p.post_time DESC LIMIT 7"
the following error occured: Unknown column 't.topic_last_post_id' in 'on clause'
In: /home/obituscl/public_html/dfly/modules/ForumsCentreBlock/index.php on line: 100
Would be nice if I could get it going until Daimos releases the fpro version.
I changed it to this "FROM ('.$prefix.'_'.$MFTable.'topics t, '.$prefix.'_'.$MFTable.'forums f)" But it's still not wokring. ANd my host has upgraded to MySQL 5