• Welcome to Simple Machines Community Forum. Please login or sign up.

[Theme] Cerberus (SMF 1.0.5 - 1.1RC2)

Started by bloc, March 21, 2005, 03:34:21 PM

Previous topic - Next topic

jazzman

Quote from: OIDanTheManIO on September 07, 2005, 04:52:28 PM
Quote from: jazzman on September 07, 2005, 03:53:15 PM
I'd like to see the option of hiding the top in SMF 1.0.5.  Thanks!

What top?  What part?

My bad, I didn't clarify.  I'd like to see the option of hiding the collapsible header in the Cerberus theme, for use in SMF 1.0.5.

bloc

I will add that to 1.0.5 version, jazzman.

skoozee

Hi Bloc :)

im new to smf but so far totally impressed with it
and your themes are without a doubt the best ive looked at yet on here.

im currently using Cerberus and it is working great
except the html box, when ever i put anything in there and then click
save at the bottom it resets the theme to default and when i switch back to
Cerberus the html box is empty.

its no biggie but i would like to use it for a clickable image to take members to the gallery

any ideas on what could be wrong ?

bloc

Do you use cerberus11 on a smf 1.0.5 installation? Thats what probably causing this. If so - use the normal cerberus archive instead.They are equal in features, but the code is different and will render errors if used on the wrong version of SMF.

skoozee

yeah thats what ive done, didnt realise

can you tell me what files i need to upload to switch it over to the right version Bloc
or do i have to upload everything again ?

also ive installed some new smileys will this effect them ?

bloc

No, the smileys will not be affected, and yes, upload all template files(images you can skip), because almost all of them contains new code. And you get file version numbers correct too.

skoozee

okay that worked thanks :)

only prob now is it outta shape on the bottom
see the funny line under the user info


bloc

um..i can't say i see anything wrong...but that avatar is perhaps too distracting ;D

skoozee

sorry Bloc false alarm lol
dont know why but i didnt remeber it having the straight lower edge.
i thought it was all rounded  ;D


i dont suppose it is possible to add another button somewhere for a Gallery is it ?
i added the code to the html box and it is working fine as it should be but it just looks out of place.

a nice neat button would look so much better :)

maybe a button users could customise to link to other places of there site ?

bloc

Sure. Buttons you can make over at http://www.tinyportal.net/button-generator/cerberus.php , and for the code you need to copy one of the existing ones in index.template.php - under the function template_menu(). 

skoozee

Okay i made the new button using your generator clever bit of gear that is  :D

i really dont know what im doing to be honest but i tried what you said and obviously did something
wrong lol
**************************************************************
                                <a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
                                <a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>&nbsp;&nbsp;&nbsp;';
        }
        // Otherwise, they might want to [logout]...
        else
                echo '

<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];

                                <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>&nbsp;&nbsp;&nbsp;';
        echo '</b>';
}

?>
**************************************************************************

error i get is :
Template Parse Error!
There was a problem loading the /Themes/cerberus11/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

i dont know how to rediret the link either.


i'm really not thick i just donk know nuffin bout html and php  ;D


skoozee


bloc

hm, ok..here is how it should be...note that the link on the button is simply index.php?action=gallery, you have to change that to the correct one. Also, this will only show for members...if you want guest to see it, it has to be moved.

        // Otherwise, they might want to [logout]...
        else
                echo '
                                <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>&nbsp;&nbsp;&nbsp;
                                <a href="', $scripturl, '?action=gallery">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt=Gallery" style="margin: 2px 0;" border="0" />' : 'Gallery'), '</a>';
        echo '</b>';
}

UndergrounD

I have one question...
do you update the Skin to SMF 1.1 RC?

hawkman

September 24, 2005, 09:11:00 PM #114 Last Edit: September 24, 2005, 09:15:48 PM by hawkman
posted in wrong area -sorry
All that is necessary for evil to prosper is that good men do nothing - Edmund Burke

bloc

Quote from: UndergrounD on September 23, 2005, 01:55:07 PM
I have one question...
do you update the Skin to SMF 1.1 RC?
All my themes will be updated to RC1 soon.

bloc


atcair

I love the theme and have installed it. Is there a spell checker button?

I'm a newbie bbut thought we had spell checker but can't find it onc I installed the theme.

Thanks

bloc

there should be..is it turned on in admin section?

carlos

Hallo friends.  I liked to know because my wide forum ist of more?  Which the error I know?

Advertisement: