Author Topic: Extensible Markup Language  (Read 701 times)

Offline Snowzak

  • Hero Member
  • *****
  • Posts: 1274
  • Karma: +0/-0
    • View Profile
    • http://www.???.com/
Extensible Markup Language
« on: September 03, 2007, 04:15:08 AM »
Can someone help me..? What is it for? I know how to write, And use it. But what jobs can I use it for?
"Vote for me and I'll give you pancakes."

Offline JB Lee

  • Hero Member
  • *****
  • Posts: 4682
  • Karma: +0/-0
    • View Profile
Extensible Markup Language
« Reply #1 on: September 03, 2007, 04:37:37 AM »
XML is usually used to put together a whole bunch of settings in one file, and then upload the file to a certain program and you easily have all of the settings...for example, if you were doing a mod for IPB, you could upload the XML file to the components, add in a few php file edits and your done...XML makes things easier than having to go in and do things manually...

as a language itself, its really just a way to share data over information systems...

basically, its a shortcut...

Offline Snowzak

  • Hero Member
  • *****
  • Posts: 1274
  • Karma: +0/-0
    • View Profile
    • http://www.???.com/
Extensible Markup Language
« Reply #2 on: September 03, 2007, 04:57:45 AM »
Yeah I know

<Note>
<Sent> Hey JB Lee </Sent>
<Recieved> Hello </Receved>
</Note>

Thats a example.
"Vote for me and I'll give you pancakes."

Offline JB Lee

  • Hero Member
  • *****
  • Posts: 4682
  • Karma: +0/-0
    • View Profile
Extensible Markup Language
« Reply #3 on: September 03, 2007, 05:09:17 AM »
lol...wow

this would be a better example (raken from the D22 Affiliates Mod for IPB 2.2:

Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1"?>
<mod_data>
<mod_info>
<title>(Ci22) Affiliates System</title>
<version>1.0.2</version>
<author>Saviour</author>
<website>http://www.createdinvision.com/</website>
<ipbver>2.2</ipbver>
<version_file>http://st97.startlogic.com/~invision/products/umivchecker/vchecker.xml</version_file>
</mod_info>
<sections_group>
<section>
<conf_title_title>CI Affiliates System</conf_title_title>
<conf_title_desc>Basic settings for the Affiliates System mod.</conf_title_desc>
<conf_title_noshow>0</conf_title_noshow>
<conf_title_keyword>daffiliates</conf_title_keyword>
</section>
</sections_group>
<settings_group>
<setting>
<conf_title>Is the Affiliates System on?</conf_title>
<conf_description></conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_system_on</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>1</conf_position>
<conf_start_group>System On/Off</conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Are you accepting new affiliates?</conf_title>
<conf_description>Setting this to no will turn off the apply for affiliation form.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_apply_on</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>2</conf_position>
<conf_start_group>Apply Settings</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Post Requirement</conf_title>
<conf_description><![CDATA[How many posts must a user have to request affiliation?<br />
<b>Leave Blank or enter 0 for no requirement.</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_post_require</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>3</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Require Approval</conf_title>
<conf_description>Do you want to approve all affiliates before they appier on the list?</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_approve_aff</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>4</conf_position>
<conf_start_group>Affiliates</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Allow User-Friendly Links</conf_title>
<conf_description><![CDATA[If set to yes the actual link will be displayed for each affiliate rather than a redirect.<br />
<b>Note: Enabling this will disable the clicks counter.</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_user_friendly</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>5</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Affiliates Per Page</conf_title>
<conf_description><![CDATA[How many affiliates do you wish to show per page?<br />
<b>WARNING: Do not leave blank or enter 0, it will cause an error.</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_per_page</conf_key>
<conf_default>5</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>6</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Default Image</conf_title>
<conf_description><![CDATA[If the user does not provide an image this is the image that will be used.<br />
<b>Location: style_images/daffiliates/</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_img_default</conf_key>
<conf_default>nobutton.gif</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>7</conf_position>
<conf_start_group>Image Settings</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Resize Images</conf_title>
<conf_description><![CDATA[If this is set to no ignore the 2 settings below (Default Height & Width).  What this setting does is it requires all affiliate banners to be a certain size, and if they are above that size they get resized.]]></conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_img_resize</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>8</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Default Height</conf_title>
<conf_description>What is the default height of the affiliates image?</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_img_height</conf_key>
<conf_default>31</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>9</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Default Width</conf_title>
<conf_description>What is the default width of the affiliates image?</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_img_width</conf_key>
<conf_default>88</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>10</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send pm to forums admin.</conf_title>
<conf_description>Do you want a pm to be sent to you once a new affiliation request is submitted.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_pm_admin</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>11</conf_position>
<conf_start_group>Contact Admin</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Your member id</conf_title>
<conf_description>What member id do you want the pm to be sent to?</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_your_id</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>12</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send email to forums admin.</conf_title>
<conf_description>Do you want an email to be sent to you once a new affiliation request is submitted.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_email_admin</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>13</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Your email address</conf_title>
<conf_description>What email address do you want the email to be sent to?</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_your_email</conf_key>
<conf_default>[email protected]</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>14</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Redirect to:</conf_title>
<conf_description>After the request is submitted were do you want the user to be redirected to?</conf_description>
<conf_group></conf_group>
<conf_type>dropdown</conf_type>
<conf_key>daffiliates_wereredirect</conf_key>
<conf_default>modlinkus</conf_default>
<conf_extra>modhome=Affiliates System
modform=Request Form
modlinkus=Link-us Page</conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>15</conf_position>
<conf_start_group>Redirect</conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send a pm when an affiliate is approved?</conf_title>
<conf_description>If set to no the below textarea can be ignored, if you selected yes once you approve an affiliate the submitter will get a pm containing the information you entered below.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_apm_on</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>16</conf_position>
<conf_start_group>PM Settings</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Approve PM Title</conf_title>
<conf_description>If you selected no to the above setting you can ignore this setting.</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_apm_title</conf_key>
<conf_default>Your affiliate has been approved</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>17</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Approve PM Content</conf_title>
<conf_description><![CDATA[If you selected no to the above setting you can ignore this setting.<br />
<#USER_ID#> - Affiliate submitters user id.<br />
<#NAME#> - Affiliate submitters name.<br />
<#EMAIL#> - Affiliate submitters email address.<br />
<#SITE#> - Affiliate submitters site name.<br />
<#URL#> - Affiliate submitters site address.<br />
<#IMAGE#> - Affiliate submitters affiliate image.]]></conf_description>
<conf_group></conf_group>
<conf_type>textarea</conf_type>
<conf_key>daffiliates_apm_content</conf_key>
<conf_default><![CDATA[Hello <#NAME#>,

Your affiliate [b]<#SITE#>[/b] has been approved.

Enjoy,
Forum Staff]]></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>18</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send a pm when an affiliate is rejected?</conf_title>
<conf_description>If set to no the below textarea can be ignored, if you selected yes once you reject an affiliate the submitter will get a pm containing the information you entered below.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_rpm_on</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>19</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Reject PM Title</conf_title>
<conf_description>If you selected no to the above setting you can ignore this setting.</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_rpm_title</conf_key>
<conf_default>Your affiliate has been rejected</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>20</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Reject PM Content</conf_title>
<conf_description><![CDATA[If you selected no to the above setting you can ignore this setting.<br />
<#USER_ID#> - Affiliate submitters user id.<br />
<#NAME#> - Affiliate submitters name.<br />
<#EMAIL#> - Affiliate submitters email address.<br />
<#SITE#> - Affiliate submitters site name.<br />
<#URL#> - Affiliate submitters site address.<br />
<#IMAGE#> - Affiliate submitters affiliate image.]]></conf_description>
<conf_group></conf_group>
<conf_type>textarea</conf_type>
<conf_key>daffiliates_rpm_content</conf_key>
<conf_default><![CDATA[Hello <#NAME#>,

Your affiliate [b]<#SITE#>[/b] has been rejected.

Enjoy,
Forum Staff]]></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>21</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send a pm when a user request deletion?</conf_title>
<conf_description>If set to no the below textarea can be ignored, if you selected yes once a member requests that their affiliate be removed you will get a pm.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_dpm_on</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>22</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Delete PM Title</conf_title>
<conf_description>If you selected no to the above setting you can ignore this setting.</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_dpm_title</conf_key>
<conf_default>You have a new deletion request</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>23</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Delete PM Content</conf_title>
<conf_description><![CDATA[If you selected no to the above setting you can ignore this setting.<br />
<#SITE#> - Affiliate submitters site name.]]></conf_description>
<conf_group></conf_group>
<conf_type>textarea</conf_type>
<conf_key>daffiliates_dpm_content</conf_key>
<conf_default><![CDATA[Dear Admin,

Affiliate '[b]<#SITE#>[/b]' is pending deletion.]]></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>24</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Send a pm when a user reports a broken link or spam?</conf_title>
<conf_description>If set to no the below textarea can be ignored, if you selected yes once a member reports a broken link or a spam site you will get a pm.</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_bspm_on</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>25</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Broken Link/Spam Report PM Title</conf_title>
<conf_description><![CDATA[If you selected no to the above setting you can ignore this setting.<br />
<#REPORT#> - Broken Link if reporting a broken link, Spam if reporting spam.]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_bspm_title</conf_key>
<conf_default><![CDATA[You have a new <#REPORT#> Report]]></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>26</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Broken Link/Spam Report PM Content</conf_title>
<conf_description><![CDATA[If you selected no to the above setting you can ignore this setting.<br />
<#SITE#> - Affiliate submitters site name.<br />
<#REPORT#> - Broken if reporting a broken link, Spam if reporting spam.]]></conf_description>
<conf_group></conf_group>
<conf_type>textarea</conf_type>
<conf_key>daffiliates_bspm_content</conf_key>
<conf_default><![CDATA[Dear Admin,

Affiliate '[b]<#SITE#>[/b]' has been reported as [b]<#REPORT#>[/b]]]></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>27</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Show Global Affiliates</conf_title>
<conf_description>Do you want to show the global affiliates bar in your forums footer?</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_global_on</conf_key>
<conf_default>0</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>28</conf_position>
<conf_start_group>Global Affiliates</conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>How many affiliates?</conf_title>
<conf_description>how many affiliates do you want to show in the global affiliates bar?</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_global_show</conf_key>
<conf_default>10</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>29</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Marquee</conf_title>
<conf_description>Do you want the affiliates to scroll?</conf_description>
<conf_group></conf_group>
<conf_type>yes_no</conf_type>
<conf_key>daffiliates_global_mq</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>30</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Scroll Speed</conf_title>
<conf_description>If the setting above (Marquee) is set to no, you can ignore this setting.</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_global_speed</conf_key>
<conf_default>3</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>31</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Mouseover Speed</conf_title>
<conf_description>If the setting above (Marquee) is set to no, you can ignore this setting.</conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_global_mouce</conf_key>
<conf_default>1</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>32</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>Link-us Banners Per Page</conf_title>
<conf_description><![CDATA[How many link-us banners do you wish to show per page?<br />
<b>WARNING: Do not leave blank or enter 0, it will cause an error.</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_lper_page</conf_key>
<conf_default>5</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>33</conf_position>
<conf_start_group>Link-us Banners</conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
<setting>
<conf_title>How many affiliates?</conf_title>
<conf_description><![CDATA[How many affiliates do you wish to show on the mods profile portal tab?<br />
<b>WARNING: Do not leave blank or enter 0.</b>]]></conf_description>
<conf_group></conf_group>
<conf_type>input</conf_type>
<conf_key>daffiliates_portal_aff</conf_key>
<conf_default>5</conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_position>34</conf_position>
<conf_start_group>Profile Portal Tab</conf_start_group>
<conf_end_group>1</conf_end_group>
<conf_help_key></conf_help_key>
</setting>
</settings_group>
<components_group>
<component>
<com_title>DAffiliates System</com_title>
<com_author>Saviour</com_author>
<com_url>http://www.createdinvision.com/</com_url>
<com_version>1.0.2</com_version>
<com_menu_data><![CDATA[a:10:{i:1;a:5:{s:9:"menu_text";s:15:"Manage Settings";s:8:"menu_url";s:13:"code=settings";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:19:"daffiliates_setting";s:13:"menu_permlang";s:15:"Manage Settings";}i:11;a:5:{s:9:"menu_text";s:17:"Manage Affiliates";s:8:"menu_url";s:15:"code=affiliates";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:22:"daffiliates_affiliates";s:13:"menu_permlang";s:17:"Manage Affiliates";}i:111;a:5:{s:9:"menu_text";s:18:"Approve Affiliates";s:8:"menu_url";s:12:"code=approve";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:19:"daffiliates_approve";s:13:"menu_permlang";s:18:"Approve Affiliates";}i:1111;a:5:{s:9:"menu_text";s:13:"Add Affiliate";s:8:"menu_url";s:17:"code=addaffiliate";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:24:"daffiliates_addaffiliate";s:13:"menu_permlang";s:13:"Add Affiliate";}i:11111;a:5:{s:9:"menu_text";s:15:"Link-us Banners";s:8:"menu_url";s:11:"code=linkus";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:18:"daffiliates_linkus";s:13:"menu_permlang";s:15:"Link-us Banners";}i:111111;a:5:{s:9:"menu_text";s:18:"Add Link-us Banner";s:8:"menu_url";s:14:"code=addlinkus";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:21:"daffiliates_addlinkus";s:13:"menu_permlang";s:18:"Add Link-us Banner";}i:1111111;a:5:{s:9:"menu_text";s:15:"Mod Information";s:8:"menu_url";s:15:"code=splashpage";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:18:"daffiliates_splash";s:13:"menu_permlang";s:15:"Mod Information";}i:11111111;a:5:{s:9:"menu_text";s:18:"Manage Permissions";s:8:"menu_url";s:16:"code=permissions";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:17:"daffiliates_perms";s:13:"menu_permlang";s:18:"Manage Permissions";}i:111111111;a:5:{s:9:"menu_text";s:17:"Deletion Requests";s:8:"menu_url";s:12:"code=rdelete";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:18:"daffiliates_delete";s:13:"menu_permlang";s:17:"Deletion Requests";}i:1111111111;a:5:{s:9:"menu_text";s:14:"Reported Links";s:8:"menu_url";s:13:"code=reportbs";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:20:"daffiliates_reportbs";s:13:"menu_permlang";s:14:"Reported Links";}}]]></com_menu_data>
<com_enabled>1</com_enabled>
<com_safemode>0</com_safemode>
<com_section>daffiliates</com_section>
<com_filename>daffiliates</com_filename>
<com_description>Affiliates System for your board</com_description>
<com_url_title>Affiliates</com_url_title>
<com_url_uri>{ipb.base_url}autocom=daffiliates</com_url_uri>
</component>
</components_group>
<templates_group>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<script type="text/javascript">
function ConfirmSend (){
return confirm("{$this->ipsclass->lang['confirm']}");
}
</script>
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['applyfor']}</div>
<table class="ipbtable" cellspacing="1">
<form name="daffiliates" method="post" action="{$this->ipsclass->base_url}autocom=daffiliates&amp;id=redirect" onSubmit="return ConfirmSend()">
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['username_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="name" type="text" value="{$this->ipsclass->member['members_display_name']}" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['email_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="email" type="text" value="{$this->ipsclass->member['email']}" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['site_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="site" type="text" value="" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['url_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="url" type="text" value="http://" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['image_field']}</b>{$sizemsg}</td>
<td align="left" class="row2" width="60%"><input name="image" type="text" value="http://" size="40">{$this->ipsclass->lang['notrequired']}</td>
</tr>
<tr>
<td align="center" valign="middle" width="100%" class="formbuttonrow" colspan="2"><input type="submit" value="Submit" class="button" /> <input type="reset" value="Reset" class="button" /></td>
</tr>
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</form>
</table>
</div><br />]]></section_content>
<func_name>apply</func_name>
<func_data><![CDATA[$sizemsg]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[</td></tr></table>]]></section_content>
<func_name>bar_footer</func_name>
<func_data></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<table style="width:100%">
<tr>
<td style="width=15%" valign="top">
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['navigation']}</div>
<table class="ipbtable" cellspacing="1">
<tr>
<td align="center" class="row2" width="1%"><{CAT_IMG}></td>
<td class="row2" width="99%"><a href="{$this->ipsclass->base_url}autocom=daffiliates" style="text-decoration:none">{$this->ipsclass->lang['nav_ouraff']}</a></td>
</tr>
<tr>
<td align="center" class="row2" width="1%"><{CAT_IMG}></td>
<td class="row2" width="99%"><a href="{$this->ipsclass->base_url}autocom=daffiliates&amp;id=linkus" style="text-decoration:none">{$this->ipsclass->lang['nav_linkus']}</a></td>
</tr>
$applylinkon
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>
</div>
</td>
<td style="width:85%" valign="top">]]></section_content>
<func_name>bar_top</func_name>
<func_data><![CDATA[$applylinkon]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<div align="center" class="copyright">(Ci22) Affiliates System v{$version} &copy; {$year} <a href="http://www.createdinvision.com/" style="text-decoration:none" target="_blank">CreatedInvision.com</a></div>]]></section_content>
<func_name>copyright</func_name>
<func_data><![CDATA[$version='',$year='']]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<script type="text/javascript">
function ConfirmSend (){
return confirm("{$this->ipsclass->lang['confirm']}");
}
</script>
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['editfor']}</div>
<table class="ipbtable" cellspacing="1">
<form name="daffedit" method="post" action="{$this->ipsclass->base_url}autocom=daffiliates&amp;id=eredirect&amp;affid={$affid}" onSubmit="return ConfirmSend()">
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['userid_field']}</b><br />{$this->ipsclass->lang['readonly_field']}</td>
<td align="left" class="row2" width="60%"><input name="userid" type="text" value="{$pa['userid']}" size="40" readonly="true"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['username_field']}</b><br />{$this->ipsclass->lang['readonly_field']}</td>
<td align="left" class="row2" width="60%"><input name="name" type="text" value="{$pa['name']}" size="40" readonly="true"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['email_field']}</b><br />{$this->ipsclass->lang['readonly_field']}</td>
<td align="left" class="row2" width="60%"><input name="email" type="text" value="{$pa['email']}" size="40" readonly="true"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['site_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="site" type="text" value="{$pa['site']}" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['url_field']}</b></td>
<td align="left" class="row2" width="60%"><input name="url" type="text" value="{$pa['url']}" size="40"></td>
</tr>
<tr>
<td align="right" class="row2" width="40%"><b>{$this->ipsclass->lang['image_field']}</b>{$sizemsg}</td>
<td align="left" class="row2" width="60%"><input name="image" type="text" value="{$pa['image']}" size="40">{$this->ipsclass->lang['notrequired']}</td>
</tr>
<tr>
<td align="center" valign="middle" width="100%" class="formbuttonrow" colspan="2"><input type="submit" value="Submit" class="button" /> <input type="reset" value="Reset" class="button" /></td>
</tr>
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</form>
</table>
</div><br />]]></section_content>
<func_name>edit</func_name>
<func_data><![CDATA[$affid,$pa,$sizemsg]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<div class="errorwrap">
<h4>{$this->ipsclass->lang['error_head']}</h4>
<p>{$emessage}</p>
</div>]]></section_content>
<func_name>error</func_name>
<func_data><![CDATA[$emessage]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ </td>
</tr>
<tr>
<td class="catend"><!-- no content --></td>
</tr>
</table>
</div><br />]]></section_content>
<func_name>global_bottem</func_name>
<func_data></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ <div class="borderwrap" style='display: {$show['div_fc']}' id='fc_affiliate_global'>
<div class="maintitlecollapse"><p class="expand"><a href="java script:togglecategory('affiliate_global', 0);"><{E_PLUS}></a></p><p><{CAT_IMG}> {$this->ipsclass->lang['affbar_header']} {$olinks}</p></div>
</div>
<div class="borderwrap" style='display: {$show['div_fo']}' id='fo_affiliate_global'>
<div class="maintitle"><p class="expand"><a href="java script:togglecategory('affiliate_global', 1);"><{E_MINUS}></a></p><p><{CAT_IMG}> {$this->ipsclass->lang['affbar_header']} {$olinks}</p></div>
<table class="ipbtable" cellspacing="1">
<tr>
<td align="center" class="row2">]]></section_content>
<func_name>global_top</func_name>
<func_data><![CDATA[$show,$olinks]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ <table class="ipbtable" cellspacing="1">
<tr>
<td class="catend"><!-- no content --></td>
</tr>
</table>
</div><br />]]></section_content>
<func_name>linkus_footer</func_name>
<func_data></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ <div class="borderwrapm" style='display: {$show['div_fc']}' id='fc_linkus_{$link['linkid']}'>
<div class="subtitle"><div style="float:right"><a href="java script:togglecategory('linkus_{$link['linkid']}', 0);"><{E_PLUS}></a></div>{$link['title']}</div>
</div>
<div class="borderwrapm" style='display: {$show['div_fo']}' id='fo_linkus_{$link['linkid']}'>
<div class="subtitle"><div style="float:right"><a href="java script:togglecategory('linkus_{$link['linkid']}', 1);"><{E_MINUS}></a></div>{$link['title']}</div>
<table class="ipbtable" cellspacing="1">
<tr>
<td valign="middle" class="row2" align="center">{$this->ipsclass->lang['preview_info']}</td>
<td valign="middle" class="row2" align="center">{$this->ipsclass->lang['code_info']}</td>
</tr>
<tr>
<td width="65%" valign="top" class="post1" align="center">
{$link['image']}
</td>
<td width="35%" valign="top" class="post1" align="center">
<textarea name="linkus_{$link['linkid']}" cols="40" rows="6" readonly="readonly">{$link['image']}</textarea>
</td>
</tr>
</table>
</div>]]></section_content>
<func_name>linkus_main</func_name>
<func_data><![CDATA[$link,$show]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<div id="ucpcontent">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['nav_linkus']}</div>
{$pages}]]></section_content>
<func_name>linkus_top</func_name>
<func_data><![CDATA[$pages]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ <div class="borderwrapm" style='display: {$show['div_fc']}' id='fc_affiliate_{$aff['affid']}'>
<div class="subtitle"><div style="float:right">{$maoption} <a href="java script:togglecategory('affiliate_{$aff['affid']}', 0);"><{E_PLUS}></a></div>{$aff['site']}</div>
</div>
<div class="borderwrapm" style='display: {$show['div_fo']}' id='fo_affiliate_{$aff['affid']}'>
<div class="subtitle"><div style="float:right">{$maoption} <a href="java script:togglecategory('affiliate_{$aff['affid']}', 1);"><{E_MINUS}></a></div>{$aff['site']}</div>
<table class="ipbtable" cellspacing="1">
<tr>
<td valign="middle" class="row2" align="center">{$this->ipsclass->lang['image_info']}</td>
<td valign="middle" class="row2" align="center">{$this->ipsclass->lang['aff_info']}</td>
</tr>
<tr>
<td width="70%" valign="top" class="post1" align="center">
{$aff['url']}
</td>
<td width="30%" valign="top" class="post1" align="center">
{$this->ipsclass->lang['info_by']} <a href="{$this->ipsclass->base_url}showuser={$aff['userid']}">{$aff['name']}</a><br />
{$this->ipsclass->lang['info_on']} {$aff['date']}
{$aff['udate']}
{$aff['clicks']}
{$reportl}
</td>
</tr>
</table>
</div>]]></section_content>
<func_name>main</func_name>
<func_data><![CDATA[$aff,$maoption,$reportl,$show]]></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[ <table class="ipbtable" cellspacing="1">
<tr>
<td class="catend"><!-- no content --></td>
</tr>
</table>
</div><br />]]></section_content>
<func_name>main_footer</func_name>
<func_data></func_data>
</template>
<template>
<group_name>skin_daffiliates</group_name>
<section_content><![CDATA[<div id="ucpcontent">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['nav_ouraff']}</div>
{$pages}]]></section_content>
<func_name>main_top</func_name>
<func_data><![CDATA[$pages]]></func_data>
</template>
</templates_group>
<tables_group>
<table>
<name>daffiliates_linkus</name>
<data><![CDATA[linkid int(11) NOT NULL auto_increment,
 title text NOT NULL default '',
 url text NOT NULL default '',
 image text NOT NULL default '',
 visible tinyint(1) NOT NULL default '1',
 PRIMARY KEY  (linkid)]]></data>
<type>MyISAM</type>
</table>
<table>
<name>daffiliates_list</name>
<data><![CDATA[affid int(11) NOT NULL auto_increment,
 userid varchar(100) NOT NULL default '',
 name varchar(100) NOT NULL default '',
 email varchar(200) NOT NULL default '',
 site varchar(200) NOT NULL default '',
 url text NOT NULL default '',
 image text NOT NULL default '',
 date varchar(13) NOT NULL default '0',
 udate varchar(13) NOT NULL default '0',
 clicks int(11) NOT NULL default '0',
 approved tinyint(1) NOT NULL default '0',
 visible tinyint(1) NOT NULL default '0',
 spam tinyint(1) NOT NULL default '0',
 broken tinyint(1) NOT NULL default '0',
 rdelete tinyint(1) NOT NULL default '0',
 PRIMARY KEY  (affid)]]></data>
<type>MyISAM</type>
</table>
</tables_group>
<alters_group>
<alter>
<alter_type>add</alter_type>
<table>groups</table>
<field_name>g_daff_view</field_name>
<field_type>tinyint(1)</field_type>
<field_default>1</field_default>
</alter>
<alter>
<alter_type>add</alter_type>
<table>groups</table>
<field_name>g_daff_apply</field_name>
<field_type>tinyint(1)</field_type>
<field_default>0</field_default>
</alter>
<alter>
<alter_type>add</alter_type>
<table>groups</table>
<field_name>g_daff_bs</field_name>
<field_type>tinyint(1)</field_type>
<field_default>0</field_default>
</alter>
</alters_group>
</mod_data>

writing this manually would take forever and a day...lol...XML puts it all together so you can upload it at once
« Last Edit: September 03, 2007, 05:10:21 AM by JBLee / Jason »

Offline Snowzak

  • Hero Member
  • *****
  • Posts: 1274
  • Karma: +0/-0
    • View Profile
    • http://www.???.com/
Extensible Markup Language
« Reply #4 on: September 03, 2007, 06:00:44 AM »
Hmm, Well ill look into that, It was just a small one..Didn't want a bigg'un http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/tongue.gif\' class=\'bbc_emoticon\' alt=\':P\' />
"Vote for me and I'll give you pancakes."