TinyPortal

Development => Support => Topic started by: rjackson on March 31, 2006, 10:14:27 AM

Title: Need Help with logo
Post by: rjackson on March 31, 2006, 10:14:27 AM
how do i place my own logo on the top of my webpage

logo - http://home.insightbb.com/~rjackson3/ggod.jpg (http://home.insightbb.com/~rjackson3/ggod.jpg)

Webpage - www.ggod-eve.com (http://www.ggod-eve.com)

and it also seems my buttons are not to be found. any ideals?

thanks
Title: Re: Need Help with logo
Post by: MetalHellsangel on March 31, 2006, 10:27:58 AM
If you look in the admin section under theme and layout there is a section to modify themes
Title: Re: Need Help with logo
Post by: rjackson on March 31, 2006, 03:45:32 PM
dont see any way to change or add a logo or make the buttons appear
Title: Re: Need Help with logo
Post by: MetalHellsangel on March 31, 2006, 04:05:59 PM
Ok open your admin panel go to

Themes and Layout -> Modify Themes -> under Black22 -> Browse the templates and files in this theme. -> open index.template.php

in Beginning on line 60:

find

// TinyPortal end

       // header
       echo '<div style="width: 100%; background-color: #3E3C3C"><table width="100%" cellpadding="0" cellspacing="0" style="background-image: url('.$settings['images_url'].'/topbarmid.gif); background-repeat: repeat-x;"><tr><td class="forum_name" width="50%"><img align="middle" src="'.$settings['images_url'].'/topbarleft.gif" alt="" />&nbsp;'.strtoupper($context['forum_name']).'</td>';

       echo '<td class="welcome" width="50%" align="right">';
       if ($context['user']['is_logged'])
                echo '
                                                        ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>';
       else
                echo '
                                                        ', $txt['welcome_guest'];

       echo '</td></tr></table>';
       echo '<div id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>';
       // stats/personal/news


and replace with

// TinyPortal end

       // header
       echo '<div style="width: 100%; background-color: #3E3C3C"><table width="100%" cellpadding="0" cellspacing="0" style="background-image: url('.$settings['images_url'].'/topbarmid.gif); background-repeat: repeat-x;"><tr><td class="forum_name" width="50%"><img align="middle" src="http://home.insightbb.com/~rjackson3/ggod.jpg" width="100%"></td></tr></table>';

       echo '<table><tr><td class="welcome" width="100%" align="right">';
       if ($context['user']['is_logged'])
                echo '
                                                        ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>';
       else
                echo '
                                                        ', $txt['welcome_guest'];

       echo '</td></tr></table>';
       echo '<div id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>';
       // stats/personal/news



then click save changes, and your logo should now be changed.
Title: Re: Need Help with logo
Post by: borgBOB on March 31, 2006, 04:09:03 PM
I see the tp Black22 theme, and it looks ok to me. Not sure which buttons you are missing, or if you fixed the error.
Title: Re: Need Help with logo
Post by: borgBOB on March 31, 2006, 04:10:31 PM
Custom buttons can be added in the admin > Current theme settings.
Title: Re: Need Help with logo
Post by: rjackson on March 31, 2006, 05:23:50 PM
thank you very much MetalHellsang...

the button and/or icon problem is i see a bunch of red x's mostly on the admin page.
Title: Re: Need Help with logo
Post by: borgBOB on March 31, 2006, 05:42:12 PM
Try to re-upload the images for the admin section to the theme/images folder. You may have corrupt files.

Just right-click and view properties on all your red-x placeholders if you want to know exactly which images you are missing.
Title: Re: Need Help with logo
Post by: rjackson on March 31, 2006, 06:27:01 PM
Now the fun part... :) anyoone wanna change the colors for me? to make it blend in with my header?