Programmier Aufgabe (ezportal-Quote of the Day-Callite)

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Gismo110
Mitglied
Beiträge: 848
Registriert: 29.03.2005 16:48
Kontaktdaten:

Programmier Aufgabe (ezportal-Quote of the Day-Callite)

Beitrag von Gismo110 »

Hi ich möchte gerne diesen MOD in mein ezportal einbauen:

Code: Alles auswählen

############################################################## 
## MOD Title:		Quote of the Day Block (for Smartors ezPortal) 
## MOD Version:		1.0.0 
## MOD Author:		Amr < mods@alhaffar.com > www.alhaffar.com 
## MOD Description:	This mod will add a new block to your ezPortal allowing you
## 			to display a quote of the day, or any randomly chosen strings of text
## 			from a list that you can compile yourself. (In other words you can choose
## 			the text that will be selected randomly)
##
##                      This is not really a mod, it is more of a combination of available
##                      coding customised for ezPortal.
## 
## Installation Level: 	Easy
##
## Installation Time:  	5 Minutes 
##
## Files To Edit:	1
##
## 			subSilver/portal_body.tpl
##
## Included Files: 	0
##############################################################
## There are only 2 official locations from which to download this MOD. You
## will not receive support for versions downloaded from non-official sites since
## I CANNOT guarantee that they have NOT been tampered with or altered.
##
## The official sites are:
## www.alhaffar.com
## www.phpbbhacks.com
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################


# 
#-----[ OPEN ]------------------------------------------ 
#

portal_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 

		<!-- END fetch_post_row -->
		</td></tr></table>
	</td>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

##   NOTE: You can add as many lines of text you like, just remember to number them correctly. Once
##   you have added more lines of text, count the total number (including r_text[0]). For
##   example if you have 12 lines of text (r_text[0] to r_text[12] = 13 lines) replace
##   the '6' in:  var i = Math.round(6*Math.random()); with a 13, 
##   so you end up with: var i = Math.round(13*Math.random());


		<br />
            <table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline" dwcopytype="CopyTableRow">
              <tr> 
                
    <td class="catHead" height="25"><span class="genmed"><b>Quote of the day</b></span></td>
              </tr>
              <tr> 
                <td class="row1" align="left"><div align="center"><span class="gensmall" style="line-height:150%"> 
                    
        <SCRIPT LANGUAGE="JavaScript">
<!--
var r_text = new Array ();
r_text[0] = "This is such a nice mod";
r_text[1] = "Yes its very simple";
r_text[2] = "REPLACE ME WITH YOUR TEXT";
r_text[3] = "REPLACE ME WITH YOUR TEXT";
r_text[4] = "REPLACE ME WITH YOUR TEXT";
r_text[5] = "REPLACE ME WITH YOUR TEXT";
var i = Math.round(6*Math.random());

document.write(r_text[i]);
//-->
</SCRIPT>
                    <br />
                    </span></div></td>
              </tr>
            </table>

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
In die Quote of the Day möchte ich gerne einen counter einbauen.

Beispiel:

Es sind noch 30 Tage bis Ostern!
Ich habe in meinem Forum den Callite drinne ich denke der wird helfen um den counter hinzubekommen, oder?

Am besten wärs wenn ich sagen könnte:

Noch xyz Tage bis zum (event im Callite)


Kann mir dabei einer helfen? Bin nicht so der Super Progger ;-)

Danke im vorraus

Gismo110
Gismo110
Mitglied
Beiträge: 848
Registriert: 29.03.2005 16:48
Kontaktdaten:

Beitrag von Gismo110 »

hi
ich habe den gedanken wieder verworfen und will es jetzt mit diesem mod hier verwirklichen:

http://www.phpbbhacks.com/download/1899

hab das ding mit easy mod installiert -> kein ergebniss und keinerlei veränderungen zu sehen... was könnte schief gelaufen sein?

es kam keine fehler meldung

kennt sich da einer mit dem mod aus?
Antworten

Zurück zu „phpBB 2.0: Mod Support“