|
View previous topic :: View next topic |
| Author |
Message |
tutanka357 Newbie


Offline Joined: May 07, 2004 Posts: 21
|
Posted: Fri Feb 18, 2005 3:03 pm Post subject: Forums Centre Block module |
|
I was wondering if anyone has a block or if there is one available that shows active threads along with the topic Icons?
I have seen many center blocks for forums, but none show the topic icons.
tutanka357's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.29 (Unix)/4.0.18-standard/4.3.4
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Fri Feb 18, 2005 3:58 pm Post subject: Re: Center Forum Block |
|
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
tutanka357 Newbie


Offline Joined: May 07, 2004 Posts: 21
|
Posted: Sat Feb 19, 2005 7:49 am Post subject: Re: Center Forum Block |
|
Exactly like that.  where might i find it?
tutanka357's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.29 (Unix)/4.0.18-standard/4.3.4
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Sat Feb 19, 2005 9:06 am Post subject: Re: Center Forum Block |
|
I can send you the file by email
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
Ronin Dragonfly addicted


Offline Joined: Jun 07, 2004 Posts: 475 Location: Calgary, AB
|
Posted: Sat Feb 19, 2005 4:33 pm Post subject: Re: Center Forum Block |
|
Daimos,
Could you post it here as an attachment? I'm interested in those centre forum block icons also.
_________________ Cheers,
Ronin
Ronin Technologies
Dragonfly Google Maps Module
Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Sat Feb 19, 2005 4:40 pm Post subject: Re: Center Forum Block |
|
Sure. I modified the old forums centre block, ported by masterbeta. See the file head for the changes and optional settings.
Edit: 'Twas added to the Downloads
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
Ronin Dragonfly addicted


Offline Joined: Jun 07, 2004 Posts: 475 Location: Calgary, AB
|
Posted: Sat Feb 19, 2005 11:32 pm Post subject: Re: Center Forum Block |
|
I've merged this and Red Gerry's centre forum block into one that combines all the features from each one and allows you to enable/disable many of them. I also added a couple of new features such as direct links to attatchments when you click the attachment icon and an optional "Forum" colum.
_________________ Cheers,
Ronin
Ronin Technologies
Dragonfly Google Maps Module
Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
|
|
| Back to top |
|
 |
al_iguana Nice poster


Offline Joined: Oct 31, 2004 Posts: 51 Location: Wales, UK
|
Posted: Sun Feb 20, 2005 8:48 am Post subject: Re: Center Forum Block |
|
hey Ronin, good work. problem though - if you set "display views" to 0, it still displays the column, just without content. but it doesn't display the "views" header, so the headers are moved across and don't make sense. hmmm... neither does this post lol. just set "views" to 0 and see for yourself. anyone got ideas for a fix? i love this new block
al_iguana's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 1.3.33 / MySQL 4.1.11-standard / PHP Version 4.3.10 / Dragonfly v9.0.6.1
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Sun Feb 20, 2005 10:59 am Post subject: Re: Center Forum Block |
|
Ronin, $topic_attachment is read from _bbtopics, i.e. if topic_attachment != 0. If topic_attachment is one, e.g. cause the first post has an attachment, your block shows the attachment icon, but might give a wrong link if the last post had no attachment.
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Sun Feb 20, 2005 1:15 pm Post subject: Re: Center Forum Block |
|
I edited my block a little again. It now has an optional column for the forums and additional (optional) forum links and stats, plus an optional column which shows the IP icon, visible for admins only, of course.
The attachment icon indicated that there is an attachment in the topic, Im not sure yet if I will add an attachment link, since Im unsure whether to add the first attachment or the one in the last post.
Updated the Download
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
Ronin Dragonfly addicted


Offline Joined: Jun 07, 2004 Posts: 475 Location: Calgary, AB
|
Posted: Sun Feb 20, 2005 8:05 pm Post subject: Re: Center Forum Block |
|
Thanks for the feedback guys.
Here's the latest merged version that has all the features including Daimos' new ones. As this is a post based block, I've made it so it only shows the attachment icon if the post has an attachment, not the topic. This way the attachment icon can always have a valid link to the attachment.
Thanks to Red Gerry, Daimos, Maserbeta/emanoyhl whoever else wrote code that contributed to this block over the eons.
If any more center forum block features pop up I'll try to keep this one up to date so that one is available that has all the functionality that can be enabled/disabled based on a users tastes/requirements.
_________________ Cheers,
Ronin
Ronin Technologies
Dragonfly Google Maps Module
Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
|
|
| Back to top |
|
 |
Basilisk Newbie


Offline Joined: Feb 22, 2005 Posts: 6
|
Posted: Thu Feb 24, 2005 10:32 pm Post subject: Forum latest posts center block |
|
Help..
I installed the Forum latest posts center block from the downloads section www.cpgnuke.com/Downlo...id=91.html
.
Everything worked fine, until I made a post in the forum, and I got this error:
On /leavers03/
While executing query "SELECT username, user_id FROM nuke_users where user_id='2'"
the following error occured: Table 'abenweek_nuke1.nuke_users' doesn't exist
In: /home/abenweek/public_html/leavers03/blocks/block-New_Forum_Posts.php on line: 115
It's linked to the block, as when i disactivated it, the error went away. Any ideas on how to fix it?
Basilisk's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) CPG-Nuke Dragonfly
|
|
| Back to top |
|
 |
Ronin Dragonfly addicted


Offline Joined: Jun 07, 2004 Posts: 475 Location: Calgary, AB
|
Posted: Fri Feb 25, 2005 3:33 am Post subject: Re: Forum latest posts center block |
|
I just downloaded it and used it to do a reply and then did a reply directly in the forums with no problem whatsoever. That means its not the block. Are you sure the problem isn't there without the block on your site?
_________________ Cheers,
Ronin
Ronin Technologies
Dragonfly Google Maps Module
Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
|
|
| Back to top |
|
 |
Ronin Dragonfly addicted


Offline Joined: Jun 07, 2004 Posts: 475 Location: Calgary, AB
|
Posted: Fri Feb 25, 2005 3:48 am Post subject: Re: Forum latest posts center block |
|
Only issue I see is that the admin column is duplicated when its active. Looks like lines 164 and 180 are redundant. Thanks again Daimos!
_________________ Cheers,
Ronin
Ronin Technologies
Dragonfly Google Maps Module
Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Fri Feb 25, 2005 8:59 am Post subject: Re: Forum latest posts center block |
|
The IP column is supposed to appear twice, since one is for the topic author and one for the last post author. Maybe I will make that optional, too.
_________________ Les fruits bien mûrs au goût de miel
Daimos's 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
|
|
| Back to top |
|
 |
|
|