IRCChat add server bug
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks
Author Message
safecracker4hire
500+ Posts Club


Joined: Nov 26, 2004
Posts: 525
Location: Ontario - CANADA

PostPost subject: IRCChat add server bug
Posted: Fri May 06, 2005 2:06 pm
Reply with quote

Sorry if this is not the right place... I checked projects and there is nowhere to report an IRC bug as it is an addon module. I have searched for this in the forums and found no results. I have fixed it, so it's not an issue for me and I have no questions... it's more to let those involved in the IRC project know.

If you add a new network, everything goes as it should. However, if you try to add a new server to that network, the networks id is inserted into the database, instead of the networks name. Accordingly, this new entry is not populated into the drop down list as the list populates based on the network name (which is pulled from the network id), but not it's id directly.

An example of the options list is as follows;

Code:
<select class="set" name="network" id="network">
<option value="1">ablenet.org</option>
<option value="2">afternet.org</option>
<option value="3">beyondirc.net</option>
<option value="11">dal.net</option>
<option value="4">freenode.net</option>
<option value="9">icq.com</option>
<option value="33">Test.net</option>
<option value="10">undernet.org</option>
</select>

Trying to add a server to the network 'dal.net' produces the following data in the *_ircservers table;

Quote:

server_id = 33
network = 11
server = arcor.de.eu.dal.net
region = Europe


safecracker4hire's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHE Linux / 2.0.52 / 4.0.22 / 4.3.10 / 9.0.6.1-CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
djdevon3
Gold Supporter


Joined: Aug 05, 2004
Posts: 4365

PostPost subject: Re: IRCChat add server bug
Posted: Fri May 06, 2005 3:20 pm
Reply with quote

oh that's a bug? i thought ircchat just couldn't do it. a co-admin of the site created a custom drop down for it instead. yeah we were pretty dissapointed that feature wasn't in there. that explains a lot now.

you can report a bug here www.dragonflycms.com/P...s/p=2.html


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website
safecracker4hire
500+ Posts Club


Joined: Nov 26, 2004
Posts: 525
Location: Ontario - CANADA

PostPost subject: Re: IRCChat add server bug
Posted: Fri May 06, 2005 3:40 pm
Reply with quote

Yeah, I looked there... but no reporting for IRC... just core modules...

It's a simple bug... just need to insert the 'server name' as the value, rather than the 'server id'. No biggie...


safecracker4hire's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHE Linux / 2.0.52 / 4.0.22 / 4.3.10 / 9.0.6.1-CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: IRCChat add server bug
Posted: Fri May 06, 2005 4:22 pm
Reply with quote

Support for this dropped considerably, so it was not considered important enough. If you post a DIFFs to this thread I'll note it for inclusion.

Thanks safecracker4hire!

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger
norseman
Nice poster


Joined: Apr 20, 2004
Posts: 127
Location: Toronto

PostPost subject: Re: IRCChat add server bug
Posted: Fri May 06, 2005 11:32 pm
Reply with quote

I would definitely like this module to be worked on!
_________________
www.phearme.com

norseman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
BSD/1.3.33/4.0.18/4.3.9
Back to top
View user's profile Visit poster's website ICQ Number MSN Messenger
safecracker4hire
500+ Posts Club


Joined: Nov 26, 2004
Posts: 525
Location: Ontario - CANADA

PostPost subject: Re: IRCChat add server bug
Posted: Sat May 07, 2005 3:29 am
Reply with quote

Rather than rework the select_box call, I simply used the passed server_id ($network), pulled the network name from the *_ircservers table and assigned it to $network (just manipulating $network before the database insert, changing it from the id to it's actual name).

DIFFs
PHP:


safecracker4hire's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHE Linux / 2.0.52 / 4.0.22 / 4.3.10 / 9.0.6.1-CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks All times are GMT
Page 1 of 1


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

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
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

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


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
This page generated in 0.3259 seconds with 16 DB Queries in 0.0321 seconds
Memory Usage: 2.91 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy