|
Page 2 of 3
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
Hey Lopalong.
This does not look good with resolutions higher than 1024x768 ...
I disagree. Of course words and images are going to appear smaller because of increased resolution, but most of your users will not have their resolution set above 1024x768.
Take a look at my site with Lopalong's reducing code. Link is in my profile.
I have just done the above changes however I need some help :-
Chaotic I love your site and I would like to have the same layout how did you manage to put a border at the top and bottom as mine doesnt seem to have them ???
I also love the background picture  good job
the only other problem was with the footer code, the intructions says find:-
however mine didnt have it so I put it here :-
<!-- BEGIN switch_importal -->
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
{PORTAL_TAILCENTER}
</td>
{PORTAL_TAILRIGHT}
</tr>
</table>
{PORTAL_TAIL}
<!-- END switch_importal -->
{CMS_ACP}
<div style="text-align:center;"><br /><span class="admin-link">{ADMIN_LINK}</span><br /><br /></div>
</td>
</tr>
<!-- BEGIN switch_footer_table -->
<tr>
<td width="100%" colspan="3">
<div style="padding-left:5px; padding-right:5px;">
<table class="forumline" width="100%" cellspacing="0" cellpadding="0">
<tr><td class="row-header"><span>{L_STAFF_MESSAGE}</span></td></tr>
<tr><td><div class="post-text"><br />{switch_footer_table.FOOTER_TEXT}<br /><br /></div></td></tr>
</table>
</div>
</td>
</tr>
<!-- END switch_footer_table -->
<!--
<tr>
<td colspan="3" width="100%">
<table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td class="row5bg" width="100%"> </td></tr>
</table>
</td>
</tr>
-->
<tr>
<td colspan="3">
<div id="bottom_logo_ext">
<div id="bottom_logo">
<table class="empty-table" width="100%" height="35px" cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap" width="25%" align="left">
<span class="copyright"> Powered by <a href="http://www.icyphoenix.com/" target="_blank">Icy Phoenix</a> based on <a href="http://www.phpbb.com/" target="_blank">phpBB</a>{TRANSLATION_INFO}</span>
</td>
<td nowrap="nowrap" align="center">
<div style="text-align:center;">
<span class="generation"><b>{LOFI}</b></span>
</div>
</td>
<td nowrap="nowrap" width="25%" align="right">
<span class="copyright">Design by <a href="http://www.mightygorgon.com" target="_blank">Mighty Gorgon</a> <br />{CRACKER_TRACKER_FOOTER}</span>
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
<div align="center">{BOTTOM_HTML_BLOCK}
<span><a name="bottom"></a></span>
</body>
<div align="center">
</div>
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=3974397;
var sc_invisible=0;
var sc_partition=31;
var sc_click_stat=1;
var sc_security="c0a117ad";
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div class="statcounter">
<div align="center"><a href="http://www.statcounter.com/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/3974397/0/c0a117ad/0/" alt="hit counter" ></a></div>
</div></noscript>
<!-- End of StatCounter Code -->
<div align="right" class="style1">
<p><font size="-20">Site Logo Designed by Troutpitza aka Clinton Green 2008</font></p>
<p> </p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-6171820-1");
pageTracker._trackPageview();
</script>
</div></div></div></div>
<!-- BEGIN generation_time_switch -->
<div style="text-align:center;">
<div class="generation">{PAGE_GEN_TIME} <b>{GENERATION_TIME}s</b> (PHP: {PHP_PART}% SQL: {SQL_PART}%)</div>
<div class="generation">{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}</div>
</div>
<div style="padding:4px;"></div>
<!-- END generation_time_switch -->
</html>
is that ok ???
my site :- www.uk-alliance.com
oh I am using Blue Pearl Theme as well
|
#16 Sun 01 Feb, 2009 15:55 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
From memory - the instructions tell you that you have clean up this block.
<div align="center">{BOTTOM_HTML_BLOCK}
<span><a name="bottom"></a></span>
</body>
<div align="center">
</div>
You have added mods etc, that are outside of the body, so you need to work out what's best for you. But either way, you need to move </body> to above the </html>
|
#17 Sun 01 Feb, 2009 22:13 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
hi again Lopalong, sorry about this nothing seems to work first time for me ahhhhhhhhhhhhhhhhhhhhhhhhh
anyway, I followed these instructions that you posted :-
########
OPEN:
overall_footer.tpl
FIND:
<div id="bottom_logo">
<table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
INLINE FIND:
width="100%"
INLINE AFTER ADD:
height="35px"
FIND AND REMOVE:
<!-- BEGIN generation_time_switch -->
<span class="generation">{PAGE_GEN_TIME} <b>{GENERATION_TIME}s</b> (PHP: {PHP_PART}% SQL:
{SQL_PART}%)</span><br />
<span class="generation">{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}</span>
<!-- END generation_time_switch -->
FIND:
250 ( X 2 - Twice)
CHANGE BOTH TO:
25%
FIND AND REMOVE:
</td>
<td class="rightshadow" width="9" valign="top"><img src="{FULL_SITE_PATH}{SPACER}" alt="" width="9" height="1" /></td>
</tr>
</table>
FIND:
</body>
</html>
BEFORE ADD:
</div></div></div></div>
<!-- BEGIN generation_time_switch -->
<div style="text-align:center;">
<div class="generation">{PAGE_GEN_TIME} <b>{GENERATION_TIME}s</b> (PHP: {PHP_PART}% SQL: {SQL_PART}%)</div>
<div class="generation">{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}</div>
</div>
<div style="padding:4px;"></div>
<!-- END generation_time_switch -->
########
there doesnt mention anything about cleaning up :-
<div align="center">{BOTTOM_HTML_BLOCK}
<span><a name="bottom"></a></span>
</body>
<div align="center">
</div>
anyway I have moved the code to above the body tag
I still have no border at the top or bottom any ideas ?? Chaotic site looks great with the borders
|
#18 Mon 02 Feb, 2009 00:53 |
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
Sorry, I thought I had made reference to the the fact that the bottom blocks and body vars needed to be moved.
Chaotic uses a theme created by Limun, so if you want extras added - talk to Limun, because I don't normally work on any theme that someone has added modifications to themselves. And I certainly don't create patches on-the-run for wannabe personal taste changes etc.
|
#19 Mon 02 Feb, 2009 02:23 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
ok.................. I may need to do that or even change to ProSilver IP Blue because I have followed your script but changed the global-wrapper to 924px everything now looks ok however I am having a problem when I post in the forum it doesnt seem to wrap around properly, for example if I create a new message and press and hold down the a key by the time I have "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" it shows it as one big line knocking the rest of the site out of line.
any help would be great
|
#20 Mon 02 Feb, 2009 13:29 |
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
Stop holding down the key? No normal word is ever going to be that long, and the editor can't find a space to wrap it.
|
#21 Mon 02 Feb, 2009 22:36 |
|
Chaotic 
Joined: January 2008
Posts: 1369
Location:  Georgia
|
 Re: Reducing Theme To 80% By Lopalong?
Lopa,
Your reducing code works correctly with the beta? I think n1cks21 is using this on a beta IP. You are the code master so I'm not sure if your code works on the beta or not.
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#22 Mon 02 Feb, 2009 23:08 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
I am using version 1.2.0.27c , but the a was just an example, I have this problem with some of my smileys also.
|
#23 Tue 03 Feb, 2009 00:24 |
|
Chaotic 
Joined: January 2008
Posts: 1369
Location:  Georgia
|
 Re: Reducing Theme To 80% By Lopalong?
Oh ok,
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#24 Tue 03 Feb, 2009 01:05 |
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
@Chaotic:
Thanks but I did check n1cks site and IF he was "Playing" with the beta - "No Comment on what I would have said" if that had been the case
@n1cks: When you reduce the theme width, there is some stuff that is set for the MAX and smilie rows are one of them. IF that's what we are talking about. ?
You can change the smilie columns and rows in the ACP. IF that's what we are talking about ?
Or did I already say that?
Edit:
There were some unwanted carriage returns in the script which I have removed.
The most obvious change is:
height="35px"
Which should have been ->
style="height: 35px;"
|
#25 Tue 03 Feb, 2009 07:53 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
yes the smileys did need changing in the ACP which I did what I mean is when you use smileys in a post ?? but I suppose it's the same answer that you gave me for the a example above, I suppose when you put smiley after smiley after smiley the editor cant find a space to wrap it ???
I do have quite big smileys on my site
|
#26 Tue 03 Feb, 2009 09:52 |
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
Smilies can or should be able to be broken with spaces between each one, notwithstanding that at present they probably look something like this:
:asmile::bsmile::csmile: etc. Though it may not be apparent in the editor, that's how they are coming up as described by you?
It means that the url calling the smilies either needs a space before or after the http string that calls them. Not difficult, but means a .php script adjustment.
Post it as a new topic and we'll see if we can thrash it out.
Post some pics too, as it would be helpful.
You could also try adding spaces before and after all the "New" and / or large smilies that you add.
E.g. <space>:mysmilie:<space> If you get what I mean.
|
#27 Tue 03 Feb, 2009 11:44 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
Thanks for the reply, I will try your suggestion and put some spaces in before I create a new thread
thanks again
|
#28 Tue 03 Feb, 2009 23:38 |
|
Inactive User
|
 Re: Reducing Theme To 80% By Lopalong?
If that don't work, and it probably won't! Try this?
Open: viewtopic_body.tpl
Find:
{POLL_DISPLAY}
<tr>
<th width="150">{L_AUTHOR}</th>
Replace With:
{POLL_DISPLAY}
<tr>
<th style="width:15%;">{L_AUTHOR}</th>
Find:
<td class="row-post" width="100%" height="100%">
<div class="post-buttons-top post-buttons">
<span class="img-main">{postrow.QUOTE_IMG}</span>
Replace With: (Adjust 800px to suit your style.)
<td class="row-post" style="width:800px; height:100%;">
<div class="post-buttons-top post-buttons" >
<span class="img-main">{postrow.QUOTE_IMG}</span>
It won't fix AAAAAAAAAAAAAAAAAAAA etc, but it will fix the smilies. And higher resolutions will just have to put up with what they get unless you do fix or have fixed the overall table width with px.
|
#29 Thu 05 Feb, 2009 01:36 |
|
n1cks21 
Joined: May 2008
Posts: 99
Location:
|
 Re: Reducing Theme To 80% By Lopalong?
I have set the global-wrapper to 924px does that fix the overall table width as well ????
I have done the change from above which has fixed the smileys once posted but still shows them as a big long line in the preview window.
Images posted still strech the template, I have tried to limit image sizes via ACP but it doesnt seem to have any effect
thanks for all your help lopalong
|
#30 Thu 05 Feb, 2009 02:58 |
|
|
Page 2 of 3
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|