How to update a simple module to 1.5 ?

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
Mizpah
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 16, 2007 4:22 pm

How to update a simple module to 1.5 ?

Post by Mizpah » Thu Feb 07, 2008 5:40 pm

Hi Guys'n'Girls,

I recently managed to modify a roster module for WoW to, work for my purposes, the game AOC. This was done with no programming knowlage, just a lot of trial and error!

However I would now would like to make this module, 1.5 native.

It consists of two files, mod_recruitment.php and mod_recruitment.xml. I have listed mod_recruitment at the end of this post, and I have attached a zip file with both in

Is there a guide to the changes I would need to change to make to make this work natively on 1.5 without the legacy plugin ? I am hoping its just syntax in the .xml file!!  If anyone use this and managed to fix or improve on it, please let me know!

Thanks in advance,

Mizpah

Heres the code for mod_recruitment.xml - where I *think* the changes will need to be made!

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="module" version="1.0">
  <name>AoC Guild Recruitment Status Module</name>
  <author>Mizpah</author>
  <creationDate>November 2007</creationDate>
  <copyright>NONE</copyright>
  <license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
  <version>1.1</version>
  <description>A module that displays the guild recruitment status of an Age of Conan guild</description> 
 
  <files>
    <filename module="mod_recruitment">mod_recruitment.php</filename>
    <filename module="mod_recruitment">mod_recruitment.xml</filename>
    
    <filename module="mod_recruitment">images/guardian.png</filename>
    <filename module="mod_recruitment">images/guardian_small.png</filename>
    <filename module="mod_recruitment">images/conqueror.png</filename>
    <filename module="mod_recruitment">images/conqueror_small.png</filename>
    <filename module="mod_recruitment">images/templar.png</filename>
    <filename module="mod_recruitment">images/templar_small.png</filename>
    <filename module="mod_recruitment">images/mitra.png</filename>
    <filename module="mod_recruitment">images/mitra_small.png</filename>
    <filename module="mod_recruitment">images/set.png</filename>
    <filename module="mod_recruitment">images/set_small.png</filename>
    <filename module="mod_recruitment">images/recruitment.png</filename>
    <filename module="mod_recruitment">images/storm.png</filename>
    <filename module="mod_recruitment">images/storm_small.png</filename>
    <filename module="mod_recruitment">images/bear.png</filename>
    <filename module="mod_recruitment">images/bear_small.png</filename>
    <filename module="mod_recruitment">images/barbarian.png</filename>
    <filename module="mod_recruitment">images/barbarian_small.png</filename>
    <filename module="mod_recruitment">images/assassin.png</filename>
    <filename module="mod_recruitment">images/assassin_small.png</filename>
    <filename module="mod_recruitment">images/ranger.png</filename>
    <filename module="mod_recruitment">images/ranger_small.png</filename>
    <filename module="mod_recruitment">images/lich.png</filename>
    <filename module="mod_recruitment">images/lich_small.png</filename>
    <filename module="mod_recruitment">images/necro.png</filename>
    <filename module="mod_recruitment">images/necro_small.png</filename>
    <filename module="mod_recruitment">images/xotli.png</filename>
    <filename module="mod_recruitment">images/xotli_small.png</filename>
    <filename module="mod_recruitment">images/demon.png</filename>
    <filename module="mod_recruitment">images/demon_small.png</filename>    	
    
  </files>
  <params>
    <param name="RecruitmentStatus" type="list" default="Closed" label="Recruitment Status:" description="Are you recruiting or not?">
            		<option value="Open">Open</option>
                      	<option value="Closed">Closed</option>
    </param>                  	  
    <param name="Guardian" type="list" default="Closed" label="Guardian Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="GuardianBlurb" type="text" default="" label="Guardian Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Conqueror" type="list" default="Closed" label="Conqueror Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="ConquerorBlurb" type="text" default="" label="Conqueror Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Dark Templar" type="list" default="Closed" label="Dark Templar Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="TemplarBlurb" type="text" default="" label="Templar Blurb:" description="A small place to put class spec requirements or whatever."/>        
    <param name="Priest of Mitra" type="list" default="Closed" label="Priest of Mitra Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="MitraBlurb" type="text" default="" label="Mitra Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Scion of Set" type="list" default="Closed" label="Scion of Set Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="SetBlurb" type="text" default="" label="Set Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Druid of the Storm" type="list" default="Closed" label="Druid of the Storm Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="StormBlurb" type="text" default="" label="Storm Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Bear Shaman" type="list" default="Closed" label="Bear Shaman Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="BearBlurb" type="text" default="" label="Bear Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Barbarian" type="list" default="Closed" label="Barbarian Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>    
    <param name="BarbarianBlurb" type="text" default="" label="Barbarian Blurb:" description="A small place to put class spec requirements or whatever."/>    
    <param name="Assassin" type="list" default="Closed" label="Assassin Need:" description="Your level of need for this class.">
        		<option value="High">High</option>
                  	<option value="Medium">Medium</option>
                  	<option value="Low">Low</option>
                  	<option value="Closed">Closed</option>
    </param>   
    <param name="AssassinBlurb" type="text" default="" label="Assassin Blurb:" description="A small place to put class spec requirements or whatever."/>
	<param name="Ranger" type="list" default="Closed" label="Ranger Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="RangerBlurb" type="text" default="" label="Ranger Blurb:" description="A small place to put class spec requirements or whatever."/>
	<param name="Lich" type="list" default="Closed" label="Lich Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="LichBlurb" type="text" default="" label="Lich Blurb:" description="A small place to put class spec requirements or whatever."/>
	<param name="Necromancer" type="list" default="Closed" label="Necromancer Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="NecromancerBlurb" type="text" default="" label="Necromancer Blurb:" description="A small place to put class spec requirements or whatever."/>
	<param name="Herald of Xotli" type="list" default="Closed" label="Herald of Xotli Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="XotliBlurb" type="text" default="" label="Xotli Blurb:" description="A small place to put class spec requirements or whatever."/>
	<param name="Demonologist" type="list" default="Closed" label="Demonologist Need:" description="Your level of need for this class.">
    			<option value="High">High</option>
			<option value="Medium">Medium</option>
			<option value="Low">Low</option>
			<option value="Closed">Closed</option>
    </param>    
    <param name="DemonologistBlurb" type="text" default="" label="Demonologist Blurb:" description="A small place to put class spec requirements or whatever."/> 
    <param name="RecruitmentBlurb" type="text" default="" label="Recruitment Blurb:" description="A small place to put something for requirments or whatever."/>
                    
  </params>
</mosinstall>

Attachments
mod_recruitment.zip
(71.07 KiB) Downloaded 58 times
Last edited by Mizpah on Thu Feb 07, 2008 5:45 pm, edited 1 time in total.

Mizpah
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 16, 2007 4:22 pm

Re: How to update a simple module to 1.5 ?

Post by Mizpah » Wed Feb 13, 2008 2:45 pm

Hi Guys,

Can anyone here offer any advice ? Failing that can anyone give me an idea of some suitable resources to look at ?

Cheers,

Miz


Post Reply