Fussball Tippspiel MOD (BETA)

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
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.
Tim23
Mitglied
Beiträge: 3
Registriert: 08.07.2006 13:33

Beitrag von Tim23 »

Ich hab die ersten 5 Spieltage eingefügt und beim Tippen wird alles richtig angezeigt, nur im Admin Panel bzw. unter Tipps aller User taucht bei mir zu häufig Bayern München auf.

Hat jemand ne Idee?
Yoshi
Mitglied
Beiträge: 276
Registriert: 13.07.2004 12:59
Wohnort: NRW
Kontaktdaten:

Beitrag von Yoshi »

Hi,

irgendwie komme ich nicht klar wie ich das mit der css machen soll. Bei mir bleibt alles Weiss/grau.
Ich habe schon lange komplett auf css umgestellt und in die subSilver.css auch das reingeschrieben wie es im Install steht:

Code: Alles auswählen

#
#-----[ FIND ]------------------------------------------
#
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/
#
#-----[ AFTER, ADD ]------------------------------------------
#
/*Tippspielclasses*/
.forumlinetipp	{ background-color: #FFFFFF; border: 2px #000000 solid; }
td.row4	{ background-color: #008800; }
td.row5	{ background-color: #66CC33; }
td.row6	{ background-color: #99CC99; }
td.row7	{ background-color: #FFFFCC; }
td.row8	{ background-color: #CCFFCC; }
td.row9	{ background-color: #FFCCCC; }
td.row10 { background-color: #CCCCCC; }
.cattitletipp		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #FFFFFF}
.mainmenutipp		{ font-size : 11px; color : #FFFFFF }
Wer kann mir auf die sprünge helfen?
Gruss Yoshi
paulikater
Mitglied
Beiträge: 8
Registriert: 28.05.2006 13:42

Beitrag von paulikater »

lesen der tippspielinstall.txt hilft ungemein :wink:

# Beachte folgenden Link:http://www.phpbb.com/kb/article.php?article_id=127
# Ansonsten ist das Tippspiel nicht grün ;)
paulikater
Mitglied
Beiträge: 8
Registriert: 28.05.2006 13:42

Beitrag von paulikater »

Tim23 hat geschrieben:Ich hab die ersten 5 Spieltage eingefügt und beim Tippen wird alles richtig angezeigt, nur im Admin Panel bzw. unter Tipps aller User taucht bei mir zu häufig Bayern München auf.
Hat jemand ne Idee?
Habe das selbe Problem, aber heute keine Energie mehr
Yoshi
Mitglied
Beiträge: 276
Registriert: 13.07.2004 12:59
Wohnort: NRW
Kontaktdaten:

Beitrag von Yoshi »

paulikater hat geschrieben:lesen der tippspielinstall.txt hilft ungemein :wink:

# Beachte folgenden Link:http://www.phpbb.com/kb/article.php?article_id=127
# Ansonsten ist das Tippspiel nicht grün ;)
Aha.... du denkst ich hätte es nicht getan?
Yoshi hat geschrieben:reingeschrieben wie es im Install steht:
Ich habe es da rein (css) kopiert wie üblich... aber bei phpbb.com verstehe ich es in Englisch kaum was da steht...
Gruss Yoshi
Highwayman
Mitglied
Beiträge: 549
Registriert: 21.04.2005 15:52
Wohnort: Thailand
Kontaktdaten:

Beitrag von Highwayman »

Yoshi hat geschrieben: Ich habe es da rein (css) kopiert wie üblich... aber bei phpbb.com verstehe ich es in Englisch kaum was da steht...
Das was unter http://www.phpbb.com/kb/article.php?article_id=127 aufgeführt ist, also dieses in der overall_header.tpl löschen und dann noch das darunter beschriebene ersetzen!

Also das löschen:

Code: Alles auswählen

  <style type="text/css"> 
<!-- 
/* 
  The original subSilver Theme for phpBB version 2+ 
  Created by subBlue design 
  http://www.subBlue.com 

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 
  theme administration centre. When you have finalised your style you could cut the final CSS code 
  and place it in an external file, deleting this section to save bandwidth. 
*/ 

/* General page style. The scroll bar colours only visible in IE5.5+ */ 
body { 
   background-color: {T_BODY_BGCOLOR}; 
   scrollbar-face-color: {T_TR_COLOR2}; 
   scrollbar-highlight-color: {T_TD_COLOR2}; 
   scrollbar-shadow-color: {T_TR_COLOR2}; 
   scrollbar-3dlight-color: {T_TR_COLOR3}; 
   scrollbar-arrow-color:  {T_BODY_LINK}; 
   scrollbar-track-color: {T_TR_COLOR1}; 
   scrollbar-darkshadow-color: {T_TH_COLOR1}; 
} 

/* General font families for common tags */ 
font,th,td,p { font-family: {T_FONTFACE1} } 
a:link,a:active,a:visited { color : {T_BODY_LINK}; } 
a:hover      { text-decoration: underline; color : {T_BODY_HLINK}; } 
hr   { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;} 

/* This is the border line & background colour round the entire page */ 
.bodyline   { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; } 

/* This is the outline round the main forum tables */ 
.forumline   { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; } 

/* Main table cell colours and backgrounds */ 
td.row1   { background-color: {T_TR_COLOR1}; } 
td.row2   { background-color: {T_TR_COLOR2}; } 
td.row3   { background-color: {T_TR_COLOR3}; } 

/* 
  This is for the table cell above the Topics, Post & Last posts on the index.php page 
  By default this is the fading out gradiated silver background. 
  However, you could replace this with a bitmap specific for each forum 
*/ 
td.rowpic { 
      background-color: {T_TD_COLOR2}; 
      background-image: url(templates/subSilver/images/{T_TH_CLASS3}); 
      background-repeat: repeat-y; 
} 

/* Header cells - the blue and silver gradient backgrounds */ 
th   { 
   color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
   background-color: {T_BODY_LINK}; height: 25px; 
   background-image: url(templates/subSilver/images/{T_TH_CLASS2}); 
} 

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { 
         background-image: url(templates/subSilver/images/{T_TH_CLASS1}); 
         background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px; 
} 

/* 
  Setting additional nice inner borders for the main table cells. 
  The names indicate which sides the border will be on. 
  Don't worry if you don't understand this, just ignore it :-) 
*/ 
td.cat,td.catHead,td.catBottom { 
   height: 29px; 
   border-width: 0px 0px 0px 0px; 
} 
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { 
   font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px; 
} 
td.row3Right,td.spaceRow { 
   background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; 
} 

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; } 
th.thSides,td.catSides,td.spaceRow    { border-width: 0px 1px 0px 1px; } 
th.thRight,td.catRight,td.row3Right    { border-width: 0px 1px 0px 0px; } 
th.thLeft,td.catLeft     { border-width: 0px 0px 0px 1px; } 
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; } 
th.thTop    { border-width: 1px 0px 0px 0px; } 
th.thCornerL { border-width: 1px 0px 0px 1px; } 
th.thCornerR { border-width: 1px 1px 0px 0px; } 

/* The largest text used in the index page title and toptic title etc. */ 
.maintitle   { 
   font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1}; 
   text-decoration: none; line-height : 120%; color : {T_BODY_TEXT}; 
} 

/* General text */ 
.gen { font-size : {T_FONTSIZE3}px; } 
.genmed { font-size : {T_FONTSIZE2}px; } 
.gensmall { font-size : {T_FONTSIZE1}px; } 
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; } 
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; } 
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; } 

/* The register, login, search etc links at the top of the page */ 
.mainmenu      { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} } 
a.mainmenu      { text-decoration: none; color : {T_BODY_LINK};  } 
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; } 

/* Forum category titles */ 
.cattitle      { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}} 
a.cattitle      { text-decoration: none; color : {T_BODY_LINK}; } 
a.cattitle:hover{ text-decoration: underline; } 

/* Forum title: Text and link to the forums used in: index.php */ 
.forumlink      { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; } 
a.forumlink    { text-decoration: none; color : {T_BODY_LINK}; } 
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; } 

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ 
.nav         { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};} 
a.nav         { text-decoration: none; color : {T_BODY_LINK}; } 
a.nav:hover      { text-decoration: underline; } 

/* titles for the topics: could specify viewed link colour too */ 
.topictitle,h1,h2   { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; } 
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; } 
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; } 
a.topictitle:hover   { text-decoration: underline; color : {T_BODY_HLINK}; } 

/* Name of poster in viewmsg.php and viewtopic.php and other places */ 
.name         { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};} 

/* Location, number of posts, post date etc */ 
.postdetails      { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; } 

/* The content of the posts (body of text) */ 
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px} 
a.postlink:link   { text-decoration: none; color : {T_BODY_LINK} } 
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; } 
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}} 

/* Quote & Code blocks */ 
.code { 
   font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2}; 
   background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid; 
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px 
} 

.quote { 
   font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%; 
   background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid; 
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px 
} 

/* Copyright and bottom info */ 
.copyright      { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;} 
a.copyright      { color: {T_FONTCOLOR1}; text-decoration: none;} 
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;} 

/* Form elements */ 
input,textarea, select { 
   color : {T_BODY_TEXT}; 
   font: normal {T_FONTSIZE2}px {T_FONTFACE1}; 
   border-color : {T_BODY_TEXT}; 
} 

/* The text input fields background colour */ 
input.post, textarea.post, select { 
   background-color : {T_TD_COLOR2}; 
} 

input { text-indent : 2px; } 

/* The buttons used for bbCode styling in message post */ 
input.button { 
   background-color : {T_TR_COLOR1}; 
   color : {T_BODY_TEXT}; 
   font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1}; 
} 

/* The main submit button option */ 
input.mainoption { 
   background-color : {T_TD_COLOR1}; 
   font-weight : bold; 
} 

/* None-bold submit button */ 
input.liteoption { 
   background-color : {T_TD_COLOR1}; 
   font-weight : normal; 
} 

/* This is the line in the posting page which shows the rollover 
  help line. This is actually a text box, but if set to be the same 
  colour as the background no one will know ;) 
*/ 
.helpline { background-color: {T_TR_COLOR2}; border-style: none; } 

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ 
@import url("templates/subSilver/formIE.css"); 
--> 
</style>  
Und dann noch

Code: Alles auswählen

<!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
ersetzen mit:

Code: Alles auswählen

<link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css">
Benutzeravatar
Patch
Mitglied
Beiträge: 242
Registriert: 12.06.2006 17:26
Kontaktdaten:

Beitrag von Patch »

wie aufwendig wäre den eine programmierung, wenn die user einmal den herbsmeister tippen könnte und in der winterpause auf den meister tippen könnte und dafür x punkte bekommen würden.
ähnlich wie der weltmeisteripp bei wm tippspiel. würd mich ja selber man ransetzten, aber ich glaub da reichen meine php kenntnisse nicht aus :-?

der hauptprogrammierer scheint ja nicht mehr aktiv zu sein, aber vielleicht hat ein anderer lust und laune ?!
cool_Torsten
Mitglied
Beiträge: 92
Registriert: 26.07.2004 16:14

Beitrag von cool_Torsten »

Mal was anderes: Wozu eigentlich der Aufwand mit dem css-File usw. ?

Es reicht doch wenn man folgendes macht:

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
templates/SubSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
//*
  The original grey_dream Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/
#
#-----[ AFTER, ADD ]------------------------------------------
#
/*Tippspielclasses*/
.forumlinetipp	{ background-color: #FFFFFF; border: 2px #000000 solid; }
td.row4	{ background-color: #008800; }
td.row5	{ background-color: #66CC33; }
td.row6	{ background-color: #99CC99; }
td.row7	{ background-color: #FFFFCC; }
td.row8	{ background-color: #CCFFCC; }
td.row9	{ background-color: #FFCCCC; }
td.row10 { background-color: #CCCCCC; }
.cattitletipp		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #FFFFFF}
.mainmenutipp		{ font-size : 11px; color : #FFFFFF }
Das wärs schon, klappt zumindest bei mir so, das Tippspiel ist grün. Die css bleibt somit unberührt.
Benutzeravatar
Apotemnophiliac
Mitglied
Beiträge: 194
Registriert: 29.01.2006 14:05
Wohnort: Graz

Beitrag von Apotemnophiliac »

Es stört ja eigentlich nicht wenn das .css file berüht wird...

Ich hab meines sowieso an das .css ans Template anegpasst, also an die Standard Befehle und mir den Aufbau etwas abgeändert.
Benutzeravatar
nightfox
Mitglied
Beiträge: 109
Registriert: 15.09.2005 19:12
Wohnort: Moosseedorf / Schweiz

Beitrag von nightfox »

paulikater hat geschrieben:
Tim23 hat geschrieben:Ich hab die ersten 5 Spieltage eingefügt und beim Tippen wird alles richtig angezeigt, nur im Admin Panel bzw. unter Tipps aller User taucht bei mir zu häufig Bayern München auf.
Hat jemand ne Idee?
Habe das selbe Problem, aber heute keine Energie mehr

Probiert mal das: http://www.phpbb.de/viewtopic.php?p=727049#727049

Bei mir hats geholfen
ego sum, qui sum
Antworten

Zurück zu „phpBB 2.0: Mods in Entwicklung“