| |
|
| :: |
| Author |
Message |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 3:00 pm Post subject: Can be penalized by this? |
|
|
My overall_header.tpl have too much style code, is a real mess and I dont have the knowledges to replace this with a single line.
Take a look: http://casinosonline.com.sapo.pt/overall_header.txt
Can be penalized by this on google? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Fri Jul 18, 2008 3:12 pm Post subject: Re: Can be penalized by this? |
|
|
Not directly, but the extra weight to send upon each page load is not really a good thing.
So if you have not changed the colours from the ACP, you can just delete everything between :
| Code: | | <style type="text/css"> |
and
style tags included, and then replace :
| Code: | | <!-- link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css" --> |
with :
| Code: |
<link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css"> |
If you have changed colours in ACP, then you'll need to grab the generated HTML code from any forum page, and copy all the code between the two style tags and past it in you theme's CSS file (templates/subSilver/subSilver.css), replace the whole code.
And then do as if you had not changed any colour in ACP (explained above).
It will deactivate the possibility to change colours from ACP, but you can still do it editing the CSS style sheet.
You'll win some bandwidth and bots will crawl your forum with more ease. |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 3:18 pm Post subject: Re: Can be penalized by this? |
|
|
Thank you for your reply dcz
That probabily dont work, because of this mod that Ive installed:
| Code: | #
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<style type="text/css">
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!--
/*
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");
-->
<!-- BEGIN switch_mps_no_css -->
#
#-----[ FIND ]------------------------------------------
#
</style>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- END switch_mps_no_css -->
|
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 3:53 pm Post subject: Re: Can be penalized by this? |
|
|
Well, dont know if is working 100%, but I did this:
1- Copy all extra css from the MPS mod and past to a new file called mps.css
2- Copy all template css and copy to Orange.css
3- Replace all styles code with this:
| Code: | <!-- 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"> |
Dont know if was the correct way to add mps.css beteween switch_mps_no_css tags...
What do you say?
(please see the mod instructions above) |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 4:00 pm Post subject: Re: Can be penalized by this? |
|
|
Opsss you're right, thank you for the help  |
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 4:04 pm Post subject: Re: Can be penalized by this? |
|
|
Hmmmm got problems with that change...
The colors are a mess...
Can I use like I have? What do you think? |
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 6:01 pm Post subject: Re: Can be penalized by this? |
|
|
Do you think that is because of what you said above?
| Quote: | | If you have changed colours in ACP, then you'll need to grab the generated HTML code from any forum page, and copy all the code between the two style tags and past it in you theme's CSS file (templates/subSilver/subSilver.css), replace the whole code. |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Sat Jul 19, 2008 11:31 am Post subject: Re: Can be penalized by this? |
|
|
Hmmm I don't know how to do that
I tried this:
1- I have uploaded the original overall_header (posted in the first message).
2- Opened the forum index
3- In Firefox, I have click in View -> Page Source
4- Copy all code between the two style tags and past in my theme's CSS file (templates/Orange/Orange.css), replacing the whole code.
5- Uploaded the modified overall_header.
6- Open the forum
7- Same problem with colors...
What I'm doing wrong? |
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Sat Jul 19, 2008 11:42 am Post subject: Re: Can be penalized by this? |
|
|
Are you sure that mps.css needs to appear in first and the Orange.css needs to appear between switch_mps_no_css tags?
Please, take a look at the generated HTML code from the forum:
http://www.hoteis-em-portugal.com/codepage.txt
I have copy all code between:
| Code: | /*
Template orange for phpBB version 2+
Created by Wabisurf
http://www.wabisurf.net
*/ |
and:
| Code: | | @import url("templates/Orange/formIE.css"); |
And past to Orange.css |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Sat Jul 19, 2008 2:13 pm Post subject: Re: Can be penalized by this? |
|
|
| dcz wrote: | What you did is correct, but you need to only use :
| Code: | | <link rel="stylesheet" href="templates/Orange/{T_HEAD_STYLESHEET}" type="text/css"> |
in header, since you pasted all the css code in there. The logic of the mod above is the one I suggested, but as you did, only the mps.css file is used, and you pasted everything in orange.css.
++ |
No... After this steps:
| Divvy wrote: | 1- I have uploaded the original overall_header (posted in the first message).
2- Opened the forum index
3- In Firefox, I have click in View -> Page Source
4- Copy all code between the two style tags and past in my theme's CSS file (templates/Orange/Orange.css), replacing the whole code.
5- Uploaded the modified overall_header.
6- Open the forum
7- Same problem with colors... |
I did this like you said:
| Code: | <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 --> |
Damn... this is more difficult that I though hehe
Can we talk in real time? I will make the changes and you will see whats wrong in my forum in real time.
If you agree, my ICQ: 52276795
Thank you  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
|
|
|
|
|