home Home arrow Forum arrow Development Help and Support Multiple Instances of Vent Module...Need help

MH2 Login

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 12:29:20 AM
Username: Password:
Login with username, password and session length

Forgot your password?

MH2 Releases

Nov.15
Downloads
FileMH2 Treasury Version 2.30
Nov.09
Downloads
FileMH2 Shout Box Version 1.17
Oct.24
Downloads
FileMH2 Ventrilo Viewer (JOOMLA 1.5) 2.02
Oct.24
Downloads
FileMH2 Ventrilo Viewer (MAMBO) 2.02
Sep.25
Downloads
FileMH2 Teamspeak Module Ver 2.5 (JOOMLA 1.5)


    Multiple Instances of Vent Module...Need help
mh2design Forums
November 21, 2008, 12:29:20 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
Advanced search  
Pages: [1]
Print
Author Topic: Multiple Instances of Vent Module...Need help  (Read 393 times)
Flash24
Newbie
*
Posts: 1


View Profile Email
« on: June 30, 2008, 10:32:53 PM »

Hey Mick

Thanks for a great module.  I have used a few others and the amount of configuration you have in yours makes me really love it.  I didnt know about it until I came here for help on the also great Treasury.  (only trouble I have with the donations component is getting people to actually use it, lol.)

Anyway, I have a tech issue on the vent (and will probably be the same on the TS module when I start using it).  We have a motorsports website/social network.  A large portion of the content on the site is provided by other smaller sites/teams/leagues.  This said, we have our own Ventrilo that we provide the community, but there are some other teams that participate in events through our site and have provided access to their vent servers to the public through us.  I tried to create multiple instances on the same page of the vent modules going to different vent servers.  When I do this, the first one in the list works fine, but the second one gives me this error.

Fatal error: Cannot redeclare strkey() (previously declared in /home/dirtw3/public_html/dwrgroup/modules/mod_mh2ventrilo/mh2_ventfuncs.php:16) in /home/dirtw3/public_html/dwrgroup/modules/mod_mh2ventrilo/mh2_ventfuncs.php on line 0

If I unpublish the first one, then the second one will work, so I know it is not a matter of not having something configured correctly.  I have it unpublished now, but let me know if you want to see what I am referring to.  This is the link to the page where I have it happening right now.  http://www.simwizards.com/index.php?option=com_content&task=view&id=181&Itemid=731

How can I make this work since there is no way to change the Unique ID in this module like you can with some other modules to create multiple instances. 

As I said, I am guessing this is probably going to also going to happen if I try to create multiple instances of the TS module.  So I would also like to solve that problem before I get to it if we can. 

Thanks in advance for the help.
Logged
Mick
Administrator
Sr. Member
*****
Posts: 292



View Profile Email
« Reply #1 on: July 02, 2008, 02:27:20 AM »

This is a known issue and I am going to be rectifying it.   I will see if I can create a quick fix on it while waiting for the time to really sit down and revisit the module.   

There are quite a few things that I would like to fix is some of my old stuff, my only issue is time!! LOL
Logged
Pages: [1]
Print
 
Jump to:  

     

© Mh2Design