Can be penalized by this?

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

Postby Divvy » Sat Jul 19, 2008 3:40 pm

Ohhh so I dont need mps.css? the style code from the MPS MOD?
Divvy
 
Posts: 44
Joined: Thu Jul 17, 2008 11:49 pm

Advertisement

Postby dcz » Sat Jul 19, 2008 3:44 pm

Well no, what you copied from the source code is the full css code.

What you could do to go further would be to grab the css code from the source with the mod activated and then past it in mps.css, and then, deactivate it, and paste the online css code in orange.css this time.
This way, you could keep this :
Code: Select all
<link rel="stylesheet" href="templates/Orange/mps.css" type="text/css">

<!-- BEGIN switch_mps_no_css -->
  <link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css">
  <!-- END switch_mps_no_css -->


And be able to switch from one to another. But as said above, you would not be able to change colours from acp any more, but directly in the css files.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby Divvy » Sat Jul 19, 2008 3:57 pm

I am confuse about you said to put only this:
Code: Select all
<link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css">



because in Orange.css dont have all css like you said. This code is missing:
Code: Select all
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  Edited for MPS css tool by jadestone

  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.
*/

.avatar_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.contact_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.details_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.interests_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.forum_stats_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.weblog_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.blurbs_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.quiz_results_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.friends_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

.friends_comments_table {background-color : {MPS_BOX_BG_COLOR}; border: {MPS_BOX_BORFDER_SIZE}px {MPS_BOX_BORFDER_COLOR} {MPS_BOX_BORDER_STYLE}; }

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
   background-color: {MPS_BODY_BGCOLOR};
   scrollbar-face-color: {MPS_SB_COLOR};
   scrollbar-highlight-color: {MPS_SB_HIGHLIGHT_COLOR};
   scrollbar-shadow-color: {MPS_SB_SHADOW_COLOR};
   scrollbar-3dlight-color: {MPS_SB_3D_LIGHT_COLOR};
   scrollbar-arrow-color:  {MPS_SB_ARROW_COLOR};
   scrollbar-track-color: {MPS_SB_TRACK_COLOR};
   scrollbar-darkshadow-color: {MPS_SB_DARK_SHADOW_COLOR};
}

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

/* This is the border line & background colour round the entire page */
.bodyline   {
  background-image:url({MPS_BODY_BACKGROUND});
  background-position: {MPS_BG_ATTACH_POSITION};
  max-width: 100%;
  background-repeat: {MPS_BG_REPEAT};
  background-attachment: {MPS_BG_ATTACH};
  background-color: {MPS_FORUMLINE_BG_COLOR}; border: {MPS_BODY_OUTLINE_BORDER_SIZE}px {MPS_BODY_OUTLINE_BORDER_COLOR} {MPS_BODY_OUTLINE_BORDER_STYLE}; }

/* This is the outline round the main forum tables */
.forumline   { background-color: {MPS_FROUMLINE_BG_COLOR}; border: {MPS_FORUMLINE_BORFDER_SIZE}px {MPS_FORUMLINE_BORFDER_COLOR} {MPS_FORUMLINE_BORDER_STYLE}; }

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


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


/* Table Cells - The title area of a table */
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
         background-color:{MPS_BOX_TITLE_BG_COLOR};
         background-image: url(templates/subSilver/images/{MPS_BOX_TITLE_BG_IMAGE});
         border: {MPS_BOX_TITLE_BORDER_COLOR};
         border-style: {MPS_BOX_TITLE_BORDER_STYLE}; 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: {MPS_BODY_BGCOLOR}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
   background-color: {MPS_BOX_TITLE_BG_COLOR}; border: {MPS_TH_COLOR3}; border-style: solid;
}

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

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

/* General text */
.gen { font-size : {MPS_TITLE_FONT_SIZE}px; color : {MPS_TITLE_TEXT_COLOR}; }
.genmed { font-size : {MPS_TEXT_FONT_SIZE}px; color : {MPS_TEXT_COLOR}; }
.gensmall { font-size : {MPS_SMALL_TEXT_FONT_SIZE}px; color : {MPS_SMALL_TEXT_COLOR}; }
a.gen,a.genmed,a.gensmall { color: {MPS_LINK_COLOR}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {MPS_HLINK_COLOR}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu      { font-size : {MPS_TEXT_FONT_SIZE}px; color : {MPS_TEXT_COLOR} }
a.mainmenu      { text-decoration: none; color : {MPS_LINK_COLOR};  }
a.mainmenu:hover{ text-decoration: underline; color : {MPS_HLINK_COLOR}; }


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

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

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

/* Copyright and bottom info */
.copyright      { font-size: {MPS_SMALL_TEXT_FONT_SIZE}px; font-family: Verdana, Arial, Helvetica, sans-serif; color: {MPS_TEXT_COLOR}; letter-spacing: -1px;}
a.copyright      { color: {MPS_LINK_COLOR}; text-decoration: none;}
a.copyright:hover { color: {MPS_HLINK_COLOR}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
   color : {MPS_TEXT_COLOR};
   font: normal {MPS_TEXT_FONT_SIZE}px {MPS_FONTFACE1};
   background-color: {MPS_PAGE_BGCOLOR};
   border-color : {MPS_TEXT_COLOR};
}

/* 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: {MPS_BODY_BGCOLOR}; border-style: none; }

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



Well, I think that my site is working fine like that:

Code: Select all
<!-- BEGIN switch_mps_no_css -->
  <link rel="stylesheet" href="templates/Orange/mps.css" type="text/css">
  <!-- END switch_mps_no_css -->

  <link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css">


Thank you again :)
Divvy
 
Posts: 44
Joined: Thu Jul 17, 2008 11:49 pm

Postby dcz » Sat Jul 19, 2008 4:02 pm

Well what you copied in your orange.css file is the template source code, not the one from the on-line source code, hence your colours problems.

While mentioning the link rel tag, I was always referring to overall_header.tpl, where it belongs.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Previous

Return to phpBB2 Forum

Who is online

Users browsing this forum: VoilaBot [Bot] and 43 guests