https://www.icyphoenix.com/viewtopic.php?f=36&t=5274 ----------------------------------- abels_182 Wed 07 Jan, 2009 20:53 Reducing Theme To 80% By Lopalong? ----------------------------------- Due to the recent closure of http://icythemes.com/ip, I lost the documentation to reduce the style of 80%. Someone has it? Thank you :mryellow: ----------------------------------- Lopalong Wed 07 Jan, 2009 23:11 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Can I help.......? :mrgreen: [b]This first entry is for IP 1.2.0.27*[/b] [spoiler][code linenumbers=false]# START Core File Changes: # OPEN: lang_main.php FIND: $lang['Inbox_size'] = 'Your Inbox is %d%% full'; // eg. Your Inbox is 50% full $lang['Sentbox_size'] = 'Your Sentbox is %d%% full'; $lang['Savebox_size'] = 'Your Savebox is %d%% full'; CHANGE TO: $lang['Inbox_size'] = 'Inbox'; $lang['Sentbox_size'] = 'Sentbox'; $lang['Savebox_size'] = 'Savebox'; OPEN: lang_main_attach.php FIND: (Not sure if this is used only by itself elsewhere?) $lang['Attachbox_limit'] = 'Attachbox is %d%% full'; CHANGE TO: $lang['Attachbox_limit'] = 'Attachbox'; OPEN: lang_extend_icy_phoenix.php FIND: During CHANGE TO: Duration FIND: $lang['Calendar_from_to'] = 'From %s to %s (inclusive)'; CHANGE TO: $lang['Calendar_from_to'] = ' %s
(inclusive) to
%s '; # # END Core File Changes: # OPEN: overall_header.tpl FIND AND REMOVE: REPLACE WITH: FIND: REPLACE WITH: ######## OPEN: links_body.tpl FIND: Change: 500px To: 450px ######## OPEN: credits_display.tpl DELETE ALL OF THE SCRIPT: REPLACE WITH: {IMG_TBL}

{L_HOME}{NAV_SEP}{L_PAGE_NAME}

{CURRENT_TIME}
 
{IMG_TBR} {IMG_THL}{IMG_THC}{L_IP_TEAM}{IMG_THR}
FIND: AFTER ADD:
######## OPEN: overall_footer.tpl FIND:
{PAGE_GEN_TIME} {GENERATION_TIME}s (PHP: {PHP_PART}% SQL: {SQL_PART}%)
{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}
######## OPEN: calendar_box.tpl (NOTE: These Changes Don't have any noticable affect until under 86% in forum-width.) ;-) And this first change is so that "FF" FINALLY gets to realise that we don't want the table 1800+++px wide - - GRRRRRRRRRRRR! FIND:
REMOVE: nowrap="nowrap" FIND: {_calendar_box._row._cell.DATE}{_calendar_box._row._cell.DATE}{_calendar_box._row._cell.switch_filled._event.EVENT_TYPE}{_calendar_box._row._cell.switch_filled._event.EVENT_TITLE}
{_calendar_box._row._cell.switch_filled._event.EVENT_TYPE}{_calendar_box._row._cell.switch_filled._event.EVENT_TITLE}		 REMOVE: width="100%" ######## OPEN: contact_us_body.tpl FIND:
{L_BBC_IP_CREDITS}
{IMG_TFL}{IMG_TFC}{IMG_TFR} {IMG_THL}{IMG_THC}{L_PAGE_NAME}{IMG_THR}
{L_HACK_NAME} {L_AUTHOR} {L_DESCRIPTION} {L_WEBSITE}
{L_NO_HACKS}
  {listrow.HACK_NAME} {listrow.HACK_VERSION} {listrow.HACK_AUTHOR} {listrow.HACK_DESC} {listrow.HACK_WEBSITE}
 
{IMG_TFL}{IMG_TFC}{IMG_TFR} ######## OPEN: memberlist_body.tpl (Something has to be removed to accommodate 80% width.) :P FIND: {memberrow.AVATAR_IMG} REPLACE WITH: ######## OPEN: privmsgs_body.tpl FIND:
{ATTACH_BOX_SIZE_STATUS}
{INBOX_LIMIT_PERCENT}
0% 50% 100%
{INBOX_IMG}
{INBOX}		 {SENTBOX_IMG}
{SENTBOX}		 {OUTBOX_IMG}
{OUTBOX}		 {SAVEBOX_IMG}
{SAVEBOX}
{BOX_SIZE_STATUS}
{INBOX_LIMIT_PERCENT}%
0% 50% 100%
REPLACE WITH:
{ATTACH_BOX_SIZE_STATUS}
{INBOX_LIMIT_PERCENT}
0% 50% 100%
{INBOX_IMG}
{INBOX}		 {SENTBOX_IMG}
{SENTBOX}		 {OUTBOX_IMG}
{OUTBOX}		 {SAVEBOX_IMG}
{SAVEBOX}
{BOX_SIZE_STATUS}
{INBOX_LIMIT_PERCENT}%
0% 50% 100%
######## OPEN: bbcb_smileys_mg.tpl FIND: AFTER ADD: (This adds "FRIENDS_ONLINE" to underneath Smilies in PM and Sig editor)
 {FRIENDS_ONLINE}
######## OPEN: profile_signature.tpl FIND AND REMOVE: ######## OPEN: posting_body.tpl FIND AND REMOVE: {CPL_MENU_OUTPUT} ######## OPEN: style_ice.css FIND: @import url("dock.css"); AFTER ADD: #global-wrapper { width: 90%; } #shadow-left { background-image: url(images/ice/shadow_left.gif); background-repeat: repeat-y; background-position: left; } #shadow-right { padding: 0 9px 0 9px; background-image: url(images/ice/shadow_right.gif); background-repeat: repeat-y; background-position: right; }[/code][/spoiler] Wow! The template System has come a Lonnnnnnnng way in such a short time. :mricy: [b]RC1 Release:[/b] For those who want to stop the editor breaking the width in PM's and Signature. [spoiler][code linenumbers=false]OPEN: bbcb_smileys_mg.tpl FIND: AFTER ADD: (This adds "FRIENDS_ONLINE" to underneath Smilies in PM and Sig editor)
 {FRIENDS_ONLINE}
######## OPEN: profile_signature.tpl FIND AND REMOVE: ######## OPEN: posting_body.tpl FIND AND REMOVE: {CPL_MENU_OUTPUT} [/code][/spoiler] ----------------------------------- abels_182 Thu 08 Jan, 2009 01:05 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Thanks Lopa!!!! You are the BEST. :mryellow: :mryellow: ----------------------------------- Sarakin Thu 08 Jan, 2009 01:25 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- What are these MODifications for? ----------------------------------- Lopalong Thu 08 Jan, 2009 01:30 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- For "Reducing Theme To 80% By Lopalong?" So when you go to various pages mentioned in the MOD - the layout doesn't break. ;) That's what it's for! :P ----------------------------------- abels_182 Fri 09 Jan, 2009 23:32 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Hey Lopalong. This does not look good with resolutions higher than 1024x768 ... How can I change the percentage (%) by the pixels? Thank you :mricy: ----------------------------------- Lopalong Sat 10 Jan, 2009 00:18 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Here! #global-wrapper { width: 90%; } change width to 860px; or whatever suits you or the style you are trying to squash etc. And if it's Crystal Styles, you ain't going to be able to squash them very much - But you didn't say what style you were changing. :( ----------------------------------- Chaotic Sat 10 Jan, 2009 00:26 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- [quote user="abels_182" post="35518"]Hey Lopalong. This does not look good with resolutions higher than 1024x768 ...[/quote] 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. ----------------------------------- abels_182 Sat 10 Jan, 2009 08:21 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- [quote user="Lopalong" post="35521"]Here! #global-wrapper { width: 90%; } [/quote] If I change to 860px, the right edge of the template away. [URL=http://img53.imageshack.us/my.php?image=sinbordeub2.png][IMG]http://img53.imageshack.us/img53/8729/sinbordeub2.th.png[/IMG] If I write a value of less than 860px, the portal is aligned to the right [URL=http://img159.imageshack.us/my.php?image=alineaderecharq1.png][IMG]http://img159.imageshack.us/img159/2156/alineaderecharq1.th.png[/IMG] what happens? :cry: Thanks! Bye ----------------------------------- Lopalong Sat 10 Jan, 2009 08:37 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- A link to your site Please? Post the script you have in the overall_footer for the theme you are trying to change. And DON'T send me to imageshack again - Upload your pics here. :( ----------------------------------- abels_182 Sat 10 Jan, 2009 19:20 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- [url=http://www.enlaonda.com.ar]My Site This is my overall_footer.tpl: [spoiler][code linenumbers=false] {PORTAL_TAILCENTER} {PORTAL_TAILRIGHT} {PORTAL_TAIL} {CMS_ACP}
InvertirOnLine | Kosciuk | Apuntes y Resúmenes
ENLAONDA - www.enlaonda.com.ar & www.enlaonda.co.cc
{ADMIN_LINK}

{L_STAFF_MESSAGE}

{switch_footer_table.FOOTER_TEXT}

{BOTTOM_HTML_BLOCK} [/code][/spoiler] Sorry for my poor English :oops: [b]Thanks[/b] ----------------------------------- Lopalong Sun 11 Jan, 2009 11:23 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- The footer script you have posted does not reflect the changes as required in the instructions. :( ----------------------------------- abels_182 Sun 11 Jan, 2009 22:54 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Thanks! Works Great! :mrgreen: ----------------------------------- Lopalong Mon 12 Jan, 2009 01:26 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Glad you fixed it! :mrgreen: For your sake and others in future, The best way to help solve most problems with themes is: Post a URL to your site: Include the theme ID number that you will find in the ACP - Style and Templates > Default Style etc. It makes it so much easier.! ;) ----------------------------------- Mighty Gorgon Sat 17 Jan, 2009 13:11 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Just a cosmetic suggestion for all people who want to reduce their template to a fixed width... I would use TWO COLUMNS in home page instead of three... :wink: ----------------------------------- n1cks21 Sun 01 Feb, 2009 15:55 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- [quote user="Chaotic" post="35522"][quote user="abels_182" post="35518"]Hey Lopalong. This does not look good with resolutions higher than 1024x768 ...[/quote] 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.[/quote] 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 :mryellow: good job the only other problem was with the footer code, the intructions says find:- [spoiler] FIND: [/spoiler] however mine didnt have it so I put it here :- [spoiler] {PORTAL_TAILCENTER} {PORTAL_TAILRIGHT} {PORTAL_TAIL} {CMS_ACP}

{ADMIN_LINK}

{L_STAFF_MESSAGE}

{switch_footer_table.FOOTER_TEXT}

{BOTTOM_HTML_BLOCK}

Site Logo Designed by Troutpitza aka Clinton Green 2008

 

{PAGE_GEN_TIME} {GENERATION_TIME}s (PHP: {PHP_PART}% SQL: {SQL_PART}%)
{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}
[/spoiler] is that ok ??? my site :- www.uk-alliance.com oh I am using Blue Pearl Theme as well ----------------------------------- Lopalong Sun 01 Feb, 2009 22:13 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- From memory - the instructions tell you that you have clean up this block. [code linenumbers=false]
{BOTTOM_HTML_BLOCK}
[/code] 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 to above the ----------------------------------- n1cks21 Mon 02 Feb, 2009 00:53 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 :- [spoiler] ######## OPEN: overall_footer.tpl FIND:
{PAGE_GEN_TIME} {GENERATION_TIME}s (PHP: {PHP_PART}% SQL: {SQL_PART}%)
{SQL_QUERIES}: {NUMBER_QUERIES} - {DEBUG_TEXT} - {GZIP_TEXT}
######## [/spoiler] there doesnt mention anything about cleaning up :- [spoiler]
{BOTTOM_HTML_BLOCK}
[/spoiler] 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 ----------------------------------- Lopalong Mon 02 Feb, 2009 02:23 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. :P ----------------------------------- n1cks21 Mon 02 Feb, 2009 13:29 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 ----------------------------------- Lopalong Mon 02 Feb, 2009 22:36 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. :P ----------------------------------- Chaotic Mon 02 Feb, 2009 23:08 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. ----------------------------------- n1cks21 Tue 03 Feb, 2009 00:24 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. ----------------------------------- Chaotic Tue 03 Feb, 2009 01:05 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Oh ok, :lol: ----------------------------------- Lopalong Tue 03 Feb, 2009 07:53 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- @Chaotic: Thanks but I did check n1cks site and [i][b]IF [/b][/i]he was "Playing" with the beta - "No Comment on what I would have said" if that had been the case :mrblue: @n1cks: When you reduce the theme width, there is some stuff that is set for the MAX and smilie rows are one of them. [i][b]IF[/b][/i] that's what we are talking about. ? You can change the smilie columns and rows in the ACP.[i][b] IF[/b][/i] that's what we are talking about [b]?[/b] [i][b]Or did I already say that? [/b][/i] :mryellow: [b]Edit:[/b] 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;" ----------------------------------- n1cks21 Tue 03 Feb, 2009 09:52 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 ----------------------------------- Lopalong Tue 03 Feb, 2009 11:44 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. :P You could also try adding spaces before and after all the "New" and / or large smilies that you add. E.g. :mysmilie: If you get what I mean. ;) ----------------------------------- n1cks21 Tue 03 Feb, 2009 23:38 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 ----------------------------------- Lopalong Thu 05 Feb, 2009 01:36 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- If that don't work, and it probably won't! Try this? Open: viewtopic_body.tpl [code linenumbers=false]Find: {POLL_DISPLAY} {L_AUTHOR} Replace With: {POLL_DISPLAY} {L_AUTHOR} Find:
{postrow.QUOTE_IMG} Replace With: (Adjust 800px to suit your style.)
{postrow.QUOTE_IMG}[/code] 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. ;) ----------------------------------- n1cks21 Thu 05 Feb, 2009 02:58 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 ----------------------------------- Lopalong Thu 05 Feb, 2009 05:26 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Yes, You have fixed the overall width. Open: posting_preview.tpl Find: Replace With: (Adjust 800px to suit your theme) A link to your "Image" (Pics) problem please. ;) ----------------------------------- n1cks21 Thu 05 Feb, 2009 16:25 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- getting there slowly that worked........ but now, not sure how to explain this, when I type a message in the message box the text/smileys look fine but when I click preview the text/smileys now look fine in the preview window at the top but the text/smileys move into one long line in the message box, I assume I have to put the same fix as above but somewhere in the message box ???? my picture problem is when I post a big image on the forum it stretches the width to show the picture, so I changed it in ACP to use thumbnails so when you click on them they show up as big picture like on this site, however when I post a picture I dont get a thumbnail I get the below :- [img]http://www.uk-alliance.comimagesimage.jpg[/img] If I click on each one the picture does show, so it does work it just doesnt show a thumbnail ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh I asume it's a file location problem but not sure where to look ----------------------------------- Lopalong Thu 05 Feb, 2009 23:02 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Mate, You need to work on a theme that you haven't modified, and then add your mods to it one by one to see what is happening. ;) No doubt there could be other changes made for cosmetic reasons - but I never tested all functions of the reduced theme because no-one was interested in either testing it or providing any feedback at the time it was available. I'll look at it again for the next version of IP, but it's a little late in the process to be bothering with it now. :( As for the no thumbnail - it's a php.ini thing, and it has been discussed here several times so please search for that answer. ----------------------------------- n1cks21 Fri 06 Feb, 2009 00:03 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- I understand thanks for all your help keep up your good work ----------------------------------- Lopalong Mon 06 Apr, 2009 03:47 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- For the over-fussy people, the second post has been upgraded to include RC1; and more than likely the final release. ;) ----------------------------------- wachowski Mon 13 Apr, 2009 12:24 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- hey lopalong is that orange template yours? If it is, whats its name? It looks very nice-- :mrorange: ----------------------------------- Lopalong Mon 13 Apr, 2009 12:42 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- If you are talking about the posted screen shots way back the start of the thread? No it's not. And I'm not sure if it isn't an FKThemes template, that should be available in the "Downloads" theme section here for IP v27 ONLY - until it's converted to RC1 whatever. :mricy: ----------------------------------- n1cks21 Wed 15 Apr, 2009 10:33 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- :shock: so to reduce the theme by 80% in my new version (1.2.22.49) all I have to do is this :- [spoiler] OPEN: bbcb_smileys_mg.tpl FIND: AFTER ADD: (This adds "FRIENDS_ONLINE" to underneath Smilies in PM and Sig editor)
 {FRIENDS_ONLINE}
######## OPEN: profile_signature.tpl FIND AND REMOVE: ######## OPEN: posting_body.tpl FIND AND REMOVE: {CPL_MENU_OUTPUT} [/spoiler] :?: :?: :?: ----------------------------------- Lopalong Wed 15 Apr, 2009 11:54 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- NO! You would still have to reduce your theme to 80% whatever FIRST - All that adjustment does is stop the editor from "breaking" the template in PM Reply / New; and the Sig after you have reduced it. ----------------------------------- n1cks21 Mon 20 Apr, 2009 17:19 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- ok :oops: :oops: :oops: ----------------------------------- _aNoNiMo_ Wed 05 Aug, 2009 18:28 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- Lopalong can help set the theme fk_theme_kids, looks good to enter the website, but when entering the username and password, decentralization, I have the resolution 1024*768 and I would like my website was well http://eligetutheme.es/forum/ The error is http://chatbuenrollito.es/index.php Username: prueba password: 123456 we must shift the web to the right to see the blocks, and that's what I want to fix I have installed the version of Icy Phoenix 1.3.0.53 Thank you very much! ----------------------------------- Lopalong Sat 08 Aug, 2009 03:14 Re: Reducing Theme To 80% By Lopalong? ----------------------------------- At the moment I'm not doing anything with IPv1.3* so you will have to wait unless someone else can help you. :( But! Please don't post your requests in more than one thread in future, and particularly not about v1.3 in the "Old" version threads. ;)