[Theme] Amber (SMF v1.1RC1 - v1.1RC2)

Started by bloc, November 16, 2005, 07:35:47 PM

Previous topic - Next topic

sunseeker

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

Quote from: sunseeker on March 04, 2006, 06:28:22 PM
Quote from: Bloc on February 25, 2006, 03:59:45 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

Quote from: mfowler on March 03, 2006, 01:22:05 PM
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

Quote from: sunseeker 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 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.

sunseeker

#164
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...

sunseeker

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 ?

QuoteBoardIndex.template.php     1.1 RC1      1.1 RC2

bloc

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.

sunseeker

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!

Deaks

Quote from: sunseeker on March 06, 2006, 11:24:05 PM

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
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

mfowler

Quote from: sunseeker on March 06, 2006, 11:24:05 PM
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

I will update the theme with this also. ;)


sunseeker

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

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.

Marlou

#174
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?

bloc

Try opening index.template and find this code:
<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.

Marlou

Thanks =)
I hope I'm not bothering you, but why isnt this image working?




bloc

Its ok. :)

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

Marlou

No, I can't  o.O"
Could it be because of my Dutch language pack?

eriktm

No, it shouldn`t...

In $themedir/images/post

Check if the xx.gif exist

Advertisement: