News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Help a little with customization please

Started by Norchie, July 20, 2014, 10:01:06 AM

Previous topic - Next topic

Norchie

So, I need a little help customizing my forum. I want the top area to be deleted, I want to change the text at the top to a picture and want the rest to stay the same way it is. The picture shows you what I'm talking about. I want to remove the red area, change the green area, and want the rest to stay the same. How should I do this? Please help :)

(hxxp:i.imgur.com/zxM2tVV.png [nonactive])

Chalky

Hi Norchie.  Those are questions that should be directed to the theme author, since they will know how to modify the theme better than we do.  Which theme are you using?  Then we can direct you to the right place.

Norchie

The theme is called Back n Black. Here is a link to my modified version of it: hxxp:www.mediafire.com/download/ooei6f2s6l4fbvo/ownoriginal.rar [nonactive]

Edit: Also attached it

margarett

Unfortunately that theme's author is not with us anymore :(

Norchie, what you want to do can be more or less complex, depending on the theme itself. The forum name replaced by an image is something most themes support from your ACP: if you define a logo, the text is usually replaced with it.
The second part... Do you want to remove ALL that section? :o
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Norchie


margarett

For the text to image replacement, just go to your ACP --> Configuration --> Current theme
You'll find this "Logo image URL:"
Add a link to the image you want to have as your logo and shazam! it's done :)

In order to remove all that section, your need to edit your index.template.php
Find:

// Display user name and time.
echo '
<ul id="greeting_section" class="reset titlebg2">
<li id="time" class="smalltext floatright">
', $context['current_time'], '
<img id="upshrink" src="', $settings['images_url'], '/upshrink.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
</li>';

if ($context['user']['is_logged'])
echo '
<li id="name">', $txt['hello_member_ndt'], ' <em>', $context['user']['name'], '</em></li>';
else
echo '
<li id="name">', $txt['hello_guest'], ' <em>', $txt['guest'], '</em></li>';

echo '
</ul>';

Remove or comment out

Find:
if ($context['user']['is_logged'] || !empty($context['show_login_bar']))
Add before:
$options['collapse_header'] = 1;
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Norchie

Thank you so much, I can't even describe how happy I am :D Thank you thank you thank you thank you

machawk

yeah ! thanks too. that post was very helpful too.  ;) but i need ask you a question. must i change default background images and the likes with an ftp software only? For example i want to change the backdrop.png of the default curve theme.

margarett

Yup, you need to upload your modified images with the same name or modify the theme's CSS.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

machawk

Quote from: margarett on July 22, 2014, 07:27:55 PM
Yup, you need to upload your modified images with the same name or modify the theme's CSS.

modifying the theme's CSS with SMF inbuilt editor doesnt work when i add my image url. using ftp client will be a lot easier. isnt it?

which ftp software is best to use and how can i use it to edit a theme?

Advertisement: