Advertisement:

Author Topic: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)  (Read 174344 times)

Offline sunseeker

  • Semi-Newbie
  • *
  • Posts: 63
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #160 on: March 05, 2006, 07:19:52 PM »
bloc,

just wondering what the .psd file allows us to do? im guessing its to edit the entire set of images. but how do you go from all of those down to the little pieces that you create for each jpg etc?

is the process to create the over all image for the .psd file and then break it al apart?

i would just like to create a different background for the logo and am trying to use a tool called gimp2. fancy tool. lots of options. simple painting is hard to figure out since its new to me of course.

thanks

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #161 on: March 06, 2006, 10:41:34 AM »
I have gone through the Display.template where the inline editing takes place , and it was indeed a few mistakes in the javascript. It was showing in IE more so than Firefox, but should work fine in both now.

You can either download the archive again and replace Display.template - or use the attached one.

About your other questions..I may have been a bit lost..are all still current? :)


bloc, thanks for doing that. i tested it in a fresh environment. works like its supposed to now. yahoo!

my problem is now that my own display template for that theme was heavily modified for advertising and other things. can you pinpoint the errors and their corrections?

also, as i mentioned before not all of the tabs at the top get highlighted when selected. any idea how to correct this? again, showing the errors and the changes would help me, maybe others, the most if we modified the themes to add features.

thanks bloc!

It was quite some lines..and I changed some of the code too. You would be better off using a compare utility to see the difference. Ultimately I can do that for you, if you send me the Display.template. ;) (use my email in the profile)

Any tabs will need to be "recognised" for them to be highlighted. For instance, if you write index.php?action=search, the search button highlights because "action=search" is defined as a "highlight check" for that button.

So i need to know which buttons do not highlight, and what their links are. Then we can add the needed checks.

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #162 on: March 06, 2006, 10:42:37 AM »
Bloc,

This is a great theme..

I'm having a couple minor problems.

First, my tabs for 'help' and 'My Messages' also do not change color when I click on them.

Second, When I click on the 'My Message' tab, I get a runtime error on Line 168; Syntax error. If I click no to debug The page comes up fine. I've tried to find what is causing this error, but have been unable to find it so far. If you need more information, I can send you a test login the the site and URL.

Thanks

Do send me that and I will take a peek. :)

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #163 on: March 06, 2006, 10:46:23 AM »
bloc,

just wondering what the .psd file allows us to do? im guessing its to edit the entire set of images. but how do you go from all of those down to the little pieces that you create for each jpg etc?

is the proce
ss to create the over all image for the .psd file and then break it al apart?

i would just like to create a different background for the logo and am trying to use a tool called gimp2. fancy tool. lots of options. simple painting is hard to figure out since its new to me of course.

thanks

If you are familiar with Photoshop, you will see its split up in "slices" that you simply save, overwriting the current ones. Though not the easist solution, it can work this way. If there is a demand I can see if I can make it a bit more user-friendly.

Offline sunseeker

  • Semi-Newbie
  • *
  • Posts: 63
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #164 on: March 06, 2006, 06:24:04 PM »
bloc,

thats awful generous! thanks! but i cant request that from you. much appreciated however!

i went ahead and bite the bullet and converted mine over. works fine so far. :D

as for the .psd files: i dont quite get how they can be used. do we modify the peices there and then break them into .jpg files later to be used or how does this work? i know that the .psd file with the entire set of graphics is in it. but i also see most, if not all, of those in separate .jpg files.

you dont mean to tell me that the .psd file, when saved after mods, will automatically break up into separate .jpg files as defined would they? wouldnt that be killer!

i guess im trying to figure out how best to change the colors of some of these things as well. im learning. what i really need to do is change the header to one of these thin black/dark-blue repeating horizontal lines, and then put the mist and no mist on it to see how it looks.

im trying to use a program called GIMP2. its free and seems powerful. does the layers stuff, etc. but im learning it. is photoshop free somewhere?

love this theme! its one of the best imo! thanks for it!

now im off to tackle the tabs problem...
« Last Edit: March 06, 2006, 06:26:27 PM by sunseeker »

Offline sunseeker

  • Semi-Newbie
  • *
  • Posts: 63
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #165 on: March 06, 2006, 06:33:49 PM »
block,

your board index template is coming up with 1.1 RC1 and highlighted in red during a admin check in smf.

will this need any changes to it to comply with 1.1 RC2 ?

Quote
BoardIndex.template.php     1.1 RC1      1.1 RC2

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #166 on: March 06, 2006, 08:26:40 PM »
Its simply a marker..it will not influence if its not updated. Its good to update it though - if the template is indeed upgraded, so SMF assumes its updated (by looking at that number).

About Photoshop, its not free I am afraid...but you are partly correct in that it will save "pieces" that are for the left/right part and one for the middle.

Offline sunseeker

  • Semi-Newbie
  • *
  • Posts: 63
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #167 on: March 06, 2006, 11:24:05 PM »
bloc,

the 'Help' and 'My Messages' do not highlight.

also, is there one place that i set the color for the overall entire forum background like in the .css file or do i have to modify the .psd file directly for that or do i have to modify each separate .jpg file for that?

thanks!

Offline Deaks

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,174
  • Gender: Male
    • pouvik on GitHub
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #168 on: March 07, 2006, 02:36:02 AM »

also, is there one place that i set the color for the overall entire forum background like in the .css file or do i have to modify the .psd file directly for that or do i have to modify each separate .jpg file for that?


you will need to modify the background image and its a .jpg not a .png aswell as the .css

Offline mfowler

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
    • Fiendsonline
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #169 on: March 09, 2006, 10:41:33 AM »
bloc,

the 'Help' and 'My Messages' do not highlight.


I had the same problem. You will need to update the code in "index.template.php", this should fix the problem. Here is the code that you need to update:

In index.template.php. look for this line:

>       if
> (in_array($_GET['action'],array('search','admin','calendar','profile','mlist','register','login')))

needs to be:

>         if
> (in_array($_GET['action'],array('search','admin','calendar','profile','mlist','register','login','help','pm')))

..if you don't have those two last itmes ( 'pm' and 'help') the links will not highlight.


Again Thanks, Bloc for the help.


bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #170 on: March 09, 2006, 11:27:36 AM »
I will update the theme with this also. ;)

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #171 on: March 09, 2006, 12:19:26 PM »
Updated.

Offline sunseeker

  • Semi-Newbie
  • *
  • Posts: 63
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #172 on: March 09, 2006, 09:49:33 PM »
mfowler, thanks for the help on those tabs!

bloc,

is this the correct way to add a tab at the top that links to an outside of smf site?

echo $tab1, '2"><a href="http://domainname.com/xxx/index.php">Magazine</a></td>';


also what does the 2 in the above statement do? and below there is 1 and 2. what do they do functionally?

echo $tab1, $ca== 'help' ? '1' : '2' , '"><a href="', $scripturl, '?action=help" >'.$txt[119]. '</a></td>';

thank you for any help

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #173 on: March 10, 2006, 05:46:16 AM »
It will render either a class1 or class2 based on what the "action" value is currently. In search screen, the action=search, therefore class2 is rendered, otherwise class1.

Class2 is the one that give the highlight effect. Of course, in a outside link the hightlight will never occur.

Offline Marlou

  • Newbie
  • *
  • Posts: 6
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #174 on: March 20, 2006, 10:57:54 AM »
First of all, I LOVE this theme; nice work =)

I need some help though..
I'm trying to change the colors,
but I don't know where I can find the code to make this part purple:


I don't know if someone already asked you this, but is there a way to make
the newsbox the same size as the other boxes? I use IE, and it looks like this:


I hope you can help me..

Love,
Marlou

--------------------------- EDIT ---

I already know how to change the size of the newsbox.
I also have a new question:
Where can I find the settings to change searchbox?
« Last Edit: March 22, 2006, 02:58:15 PM by Marlou »

bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #175 on: March 23, 2006, 06:59:55 AM »
Try opening index.template and find this code:
Code: [Select]
<td style="background-image: url('.$settings['images_url'].'/img/left.jpg); background-repeat: repeat-y;" ><img src="'.$settings['images_url'].'/img/left.jpg" alt="" style="margin: 0;" /></td>
<td valign="top" width="180" style="background-color: #CCD5DE;">
<div id="upshrinkHeader" style="height: 100%; background-color: #CCD5DE; ', empty($options['collapse_header']) ? '' : 'display: none;' , '">
<img src="'.$settings['images_url'].'/blank.gif" style="margin: 0;" width="208" alt="" height="4" /><br />';

Change the #CCD5DE parts there to your color.

Offline Marlou

  • Newbie
  • *
  • Posts: 6
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #176 on: March 23, 2006, 09:46:53 AM »
Thanks =)
I hope I'm not bothering you, but why isnt this image working?




bloc

  • Guest
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #177 on: March 23, 2006, 10:52:10 AM »
Its ok. :)

I am not sure why its missing..can you see what path the image has?

Offline Marlou

  • Newbie
  • *
  • Posts: 6
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #178 on: March 23, 2006, 11:01:11 AM »
No, I can't  o.O"
Could it be because of my Dutch language pack?

Offline eriktm

  • Sr. Member
  • ****
  • Posts: 727
  • Gender: Male
  • The world as you know it, will soon be changed...
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #179 on: March 23, 2006, 11:10:33 AM »
No, it shouldn`t...

In $themedir/images/post

Check if the xx.gif exist