hallo leute,
ich bin gerade damit beschäftigt das modul spread firefox für meine zwecke umzuschreiben.
brauche es um die seite http://www.mehr-demokratie.at/ zu promoten :-)
nun meine erste frage: da steht im code der php datei copyright drinnen. im code der xml datei aber released under gpl. was git nun?
und meine zweite frage: weiss jemand welchen code ich genau löschen muss damit das mit user id wegfällt?
hier die php datei:
HTML-Code:<?php /** * SpreadFirefox - a Mambo Firefox Promotion Module * @version 1.0 * @package SpreadFireox * @copyright (C) 2004 by Sebastian Roth - All rights reserved! */ # Don't allow direct acces to the file defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $userid = $params->get( 'userid' ); $type = $params->get( 'type' ); $button = $params->get( 'button' ); $banner = $params->get( 'banner' ); $border = $params->get ( 'border' ); $width = $params->get ( 'width' ); $height = $params->get ('height' ); if ( $type=="button" ) { if ( $button=="") { $button = "takeback88x31.gif"; } $image_location = "buttons/$button"; } else { if ( $banner=="") { $banner = "trust120x240.png"; } $image_location = "banners/$banner"; } $image = $mosConfig_live_site."/modules/mod_mambospreadfirefox/".$image_location; if( strncmp( $userid, "http", 4 ) == 0 ) { $link = $userid; } else { if ( $userid=="") { $userid="15531"; } $link="http://www.spreadfirefox.com/?q=affiliates&id=$userid&t=73"; } if ( $border=="" ) { $border="0"; } if ($width=="") { $imgwidth=""; } else { $imgwidth="width=\"$width\""; } if ($height=="") { $imgheight=""; } else { $imgheight="width=\"$height\""; } #Bring it all to the screen $msf="<div><a href=\"$link\"><img src=\"$image\" $imgwidth $imgheight border=\"$border\" /></a></div>"; echo $msf;
und hier die xml datei:
HTML-Code:<?xml version="1.0" ?> <mosinstall type="module"> <name>Mambo Spread FireFox</name> <creationDate>12.10.2004</creationDate> <author><![CDATA[<a href="http://www.xsebbi.de" target="_blank">Sebastian Roth</a><br /> &<br /> <a href="http://mamboforge.net/projects/msf/">Damian Caynes</a>]]></author> <copyright>Released under the GPL by Sebastian Roth for the Mambo Spread Firefox project.</copyright> <authorEmail><![CDATA[<a href="mailto:info@xsebbi.de?subject=Sebastian Spreads Firefox!">info@xsebbi.de</a> <br /> <br /> <a href="mailto:idigital@idigital.3rror.com?subject=Mambo Spreads Firefox Module">idigital@idigital.3rror.com</a> ]]></authorEmail> <authorUrl>mamboforge.net/projects/msf/</authorUrl> <version>1.0</version> <description><![CDATA[ <div style="background-image:url(../modules/mod_mambospreadfirefox/bghead.gif); background-repeat:repeat-x; width:100%"> <img src="../modules/mod_mambospreadfirefox/msfheader.png" width="532" height="239"></div> <font face=> <p><a href="http://mamboforge.net/projects/msf/">Mambo Spread Firefox Project</a> : Affliliate Link Module v1.0</p> <p>Created by <a href="mailto:idigital@idigital.hostcubed.com">Damian Caynes</a> and <a href="mailto:info@xsebbi.de">Sebastian Roth</a></p> <p>This module is to ease the insertion of promotional buttons and banners to help spread the word of Firefox, the best browser on the planet.</p> <p>If you have not yet joined the Spread Firefox community and recieved your affiliate link, <a href="http://www.spreadfirefox.com/?q=user/register&r=15531" target="_blank">sign up now</a>. You get access to your own blog and you can become directly involved in helping Firefox take back the web.</p> <p>You do not need to register to use this module, although if you do you'll be able to see how well you're spreading our favourite browser. You can also support the Mambo Spread Firefox project by leaving the affiliate link blank, and it will default to our own link.</p> <p>Note that some of the images may be too large for your template, and will overlap. This can either be solved by using the width and height tags, or by making sure you have enough room in your template for them.</p> <p>Also, 4.5.1's new features allow for multiple copies of modules. So, if you want more than one of these groovy buttons or banners on your site, simply copy the module and insert it where you like. Another option is inserting the larger banners into content by using the modulebot, available from the <a href="http://mamboforge.net/projects/botsnstuff/">Bots 'n' Stuff project</a> at MamboForge <a href="http://mamboforge.net/"></a>. </p> <p>We aim to promote Firefox in the Mambo community and also spread the word of Mambo in the Firefox community.</p> <p>Thanks for downloading, stay tuned for further releases.</p> <p>Cheers,</p> <p><i><a href="http://mamboforge.net/projects/msf/" target="_blank">The Mambo Spread Firefox Team</a></i></p> <p>12th October 2004</p> ]]></description> <files> <filename module="mod_mambospreadfirefox">mod_mambospreadfirefox.php</filename> <filename>mod_mambospreadfirefox/msfheader.png</filename> <filename>mod_mambospreadfirefox/bghead.gif</filename> <filename>mod_mambospreadfirefox/buttons/firefoxblue80x15.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefox88x31.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefox110x32.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefox120x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefox180x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefoxblue80x15.gif</filename> <filename>mod_mambospreadfirefox/buttons/getfirefoxwhite80x15.png</filename> <filename>mod_mambospreadfirefox/buttons/rediscover88x31.gif</filename> <filename>mod_mambospreadfirefox/buttons/rediscover110x32.gif</filename> <filename>mod_mambospreadfirefox/buttons/rediscover120x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/rediscover180x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/safer88x31.gif</filename> <filename>mod_mambospreadfirefox/buttons/safer110x32.gif</filename> <filename>mod_mambospreadfirefox/buttons/safer120x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/safer180x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/takeback88x31.gif</filename> <filename>mod_mambospreadfirefox/buttons/takeback110x32.gif</filename> <filename>mod_mambospreadfirefox/buttons/takeback120x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/takeback125x50.png</filename> <filename>mod_mambospreadfirefox/buttons/takeback180x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/trust88x31.gif</filename> <filename>mod_mambospreadfirefox/buttons/trust110x32.gif</filename> <filename>mod_mambospreadfirefox/buttons/trust120x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/trust180x60.gif</filename> <filename>mod_mambospreadfirefox/buttons/whitefirefox80x15.gif</filename> <filename>mod_mambospreadfirefox/buttons/whitegetfirefox80x15.gif</filename> <filename>mod_mambospreadfirefox/banners/rediscover125x125.png</filename> <filename>mod_mambospreadfirefox/banners/rediscover120x140.png</filename> <filename>mod_mambospreadfirefox/banners/rediscover468x60.png</filename> <filename>mod_mambospreadfirefox/banners/rediscover600x120.png</filename> <filename>mod_mambospreadfirefox/banners/rediscover300x250.png</filename> <filename>mod_mambospreadfirefox/banners/rediscoverwhite300x250.png</filename> <filename>mod_mambospreadfirefox/banners/trust125x125.png</filename> <filename>mod_mambospreadfirefox/banners/trust120x240.png</filename> <filename>mod_mambospreadfirefox/banners/trust468x60.png</filename> <filename>mod_mambospreadfirefox/banners/trust600x120.png</filename> <filename>mod_mambospreadfirefox/banners/trust300x250.png</filename> <filename>mod_mambospreadfirefox/banners/trustwhite300x250.png</filename> </files> <params name="" description=""> <param name="userid" type="text" default="" label="UserID" description="This is your SpreadFirefox.Com userId. You may also set the entire affiliate URL, beginning with http." /> <param name="type" type="radio" default="button" label="Type" description="Select the type of banner."> <option value="button">Button</option> <option value="banner">Banner</option> </param> <param name="button" type="imagelist" directory="/modules/mod_mambospreadfirefox/buttons" default="" label="Button" description="Choose your favourite Firefox button." /> <param name="banner" type="imagelist" directory="/modules/mod_mambospreadfirefox/banners" default="" label="Banner" description="Choose your favourite Firefox banner." /> <param name="moduleclass_sfx" type="text" default="" label="Module CSS class suffix" description="This is a suffix applied to the css class of the module to allow individual styling." /> <param name="width" type="text" default="" label="Image Width" description="Set image width (optional)" /> <param name="height" type="text" default="" label="Image Height" description="Set image height (optional)" /> <param name="border" type="text" default="0" label="Border Width" description="Set image border width (optional)" /> </params> </mosinstall>
danke für eure hilfe
sonnenblume


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen