Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ Forums Centre Block module


Forums Centre Block module
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page 1, 2, 3 ... 24, 25, 26  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

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

Offline Offline
Joined: May 07, 2004
Posts: 21

PostPosted: 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
View user's profile Visit poster's website
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: Fri Feb 18, 2005 3:58 pm
Post subject: Re: Center Forum Block

something like this? http://www.imeshchat.net/index.php

_________________
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
View user's profile Visit poster's website MSN Messenger
tutanka357
Newbie
Newbie

Offline Offline
Joined: May 07, 2004
Posts: 21

PostPosted: Sat Feb 19, 2005 7:49 am
Post subject: Re: Center Forum Block

Exactly like that. Smile 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
View user's profile Visit poster's website
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
al_iguana
Nice poster
Nice poster

Offline Offline
Joined: Oct 31, 2004
Posts: 51
Location: Wales, UK
PostPosted: 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 Smile


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
View user's profile Visit poster's website
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Basilisk
Newbie
Newbie

Offline Offline
Joined: Feb 22, 2005
Posts: 6

PostPosted: 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
View user's profile Visit poster's website
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Daimos
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 14, 2005
Posts: 159
Location: Germany
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 26
All times are GMT
Go to page 1, 2, 3 ... 24, 25, 26  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Διαβάστε περισσότερα ...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy