News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Theme] Ragnarok... first theme

Started by Viking Chief, April 03, 2005, 03:19:12 PM

Previous topic - Next topic

Viking Chief

Empty your cache then it will show up... :P
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

dustrho

Quote from: Viking Chief on June 19, 2005, 11:56:18 PM
Empty your cache then it will show up... :P

Still showing up as the old one after clearing out my cache.  I tried viewing it with both Firefox and IE, and still no good.   ???

dustrho

Okay, now I'm embarassed.  I have two copies of SMF running on my server... one directory is smf and the other is smfTEST.  I placed it in the second one initially.  After placing it in the correct directory all is well.   :-[

Thanks for the assistance and getting me a better-looking image.   :D

deadlands

Hi, great theme.

I have a question though, how would I go about dividing the user profile info from the user's post? For example, instead of just a continous color that bleeds from the user info into the post, I would like a vertical black line, or an alternating lighter shade of gray.

I know where this is in Display.template.php, but I don't really know how to seperate the user info from the post.

Also, how would I make a link to the main forum page when a user clicks on the banner.

thanks!

Viking Chief

#44
Hi deadlands,

vertical line

Copy Display.template.php to the Ragnark folder (from the Default folder)

In the Display.template.php

Find:


// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;" >
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';

// Show the member's custom title, if they have one.





Replace with:

// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;" >
<tr>
<td class="verticalline" valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';

// Show the member's custom title, if they have one.






Ad this to the style.css in the Ragnark folder

.verticalline {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #000000;
}




Click able banner

In the index.template.php

Find:

<td width="400" rowspan="2" valign="top"><img src="', $settings['images_url'], '/Logo_banner.gif" width="400" height="80" alt="" /></a></td>

Replace with:

<td width="400" rowspan="2" valign="top"><a href="index.php" target="_top"><img src="', $settings['images_url'], '/Logo_banner.gif" width="400" height="80" alt="" border="0" /></a></td>


Viking Chief  :P
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

deadlands

Wow. Thanks so much! I didn't think it was that easy. I'm just learning CSS, and I didn't even think about defining a a style for the vertical line. Neat.  :D




Sauron[RAS]

Hi!! I will give this theme 10/10 because its simply the best. But i will give you 15/10 if you decide to make buttons coloured when mouseover. 

GREAT JOB!!!!!

Sauron[RAS]

One more thing. I want to disable the BIG searchbox and the keystatsbox. Can someone point me in the right direction??  :o

Viking Chief

#48
Quote from: Sauron[RAS] on August 17, 2005, 01:17:28 PM
Hi!! I will give this theme 10/10 because its simply the best. But i will give you 15/10 if you decide to make buttons coloured when mouseover. 

GREAT JOB!!!!!

Thanks Sauron[RAS]

Quote from: Sauron[RAS] on August 17, 2005, 04:53:14 PM
One more thing. I want to disable the BIG searchbox and the keystatsbox. Can someone point me in the right direction??  :o

Look in the index.template.php

search for:
// Search box and Key stat box


Viking Chief  ;)
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

Sauron[RAS]

Man! You are so helpful. THX!!! One more thing  ::) Can you please make me a button with text "important" without the quotes of course?? Or you can just send me the source of your button so i can make them self. Im going to replace the big searchbox with a box with links to the most important topics on my board. Have a look on my betasight here http://ras.atomvinternatt.se [nofollow] and then you will know what i mean.

And that might be an idea for the modmakers to. Have a good one!!

My mail:  [email protected]

Viking Chief

Hey Sauron[RAS],

here you have the "important" button without the quotes  ;D





Viking Chief
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

Sauron[RAS]

Youa are suuuper!!! Thx!! I will buy you a beer...  :P

Beldin

Is there a version of this theme compatible with 1.1 beta 3 yet?  I don't see anything saying it is.  Thanks

Viking Chief

Quote from: Beldin on September 14, 2005, 02:15:41 PM
Is there a version of this theme compatible with 1.1 beta 3 yet?  I don't see anything saying it is.  Thanks

You can downloade it here:
http://ragnarok.upnweb.dk/index.php/topic,18.msg32.html#msg32


-Viking Chief  :)
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

Beldin

Thanks a ton, do you happen to have a version that is not fixed but fluid over the whole page?  Or a way to easily make this one that way.

Beldin

Actually no worries I figured it out myself.  Thanks a ton for the great theme.

alfuken

Looks nice :) I liked those grey colours. But I think you should fix it a bit, so it works with Opera and other browsers by default (if that hasn't been done yet) :)

wbr, Me.

IronLion

Quote from: Beldin on September 14, 2005, 06:26:46 PM
Thanks a ton, do you happen to have a version that is not fixed but fluid over the whole page?  Or a way to easily make this one that way.

How did you do that?

Advertisement: