IRCChat add server bug
| Author |
Message |
safecracker4hire


Joined: Nov 26, 2004 Posts: 525 Location: Ontario - CANADA
|
Post subject: IRCChat add server bug Posted: Fri May 06, 2005 2:06 pm |
|
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 |
|
 |
djdevon3


Joined: Aug 05, 2004 Posts: 4365
|
Post subject: Re: IRCChat add server bug Posted: Fri May 06, 2005 3:20 pm |
|
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 |
|
 |
safecracker4hire


Joined: Nov 26, 2004 Posts: 525 Location: Ontario - CANADA
|
Post subject: Re: IRCChat add server bug Posted: Fri May 06, 2005 3:40 pm |
|
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 |
|
 |
Jeruvy


Joined: Apr 23, 2004 Posts: 1433 Location: Canada
|
Post subject: Re: IRCChat add server bug Posted: Fri May 06, 2005 4:22 pm |
|
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 |
|
 |
norseman


Joined: Apr 20, 2004 Posts: 127 Location: Toronto
|
Post subject: Re: IRCChat add server bug Posted: Fri May 06, 2005 11:32 pm |
|
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 |
|
 |
safecracker4hire


Joined: Nov 26, 2004 Posts: 525 Location: Ontario - CANADA
|
Post subject: Re: IRCChat add server bug Posted: Sat May 07, 2005 3:29 am |
|
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
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 |
|
 |
|
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
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|