News:

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

Main Menu

problem in the index.template.php

Started by Aportadordelmix, June 17, 2010, 05:54:48 AM

Previous topic - Next topic

Aportadordelmix

What should I change so that all images displayed in a single line?


// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
{
echo '<a href="', $scripturl, '?action=pm">';



echo '<img alt="" src="', $settings['images_url'], '/english/message.png" /></a>';
if($context['user']['unread_messages'] <= 0)
echo'<br />('.$context['user']['unread_messages'].')';


}




deansmar

try removing the <br /> in this line


echo'<br />('.$context['user']['unread_messages'].')';


Aportadordelmix

Quote from: deansmar on June 17, 2010, 06:05:03 AM
try removing the <br /> in this line


echo'<br />('.$context['user']['unread_messages'].')';

remains the same

sawz

if you could make those menu images smaller, then maybe they wouldn't go to a second line.
your an admin so you have that extra menu image and thats forcing it to go to a second line.
keep smiling, they'll always wonder what your up too.....

Aportadordelmix

Quote from: sawz on June 17, 2010, 06:40:26 AM
if you could make those menu images smaller, then maybe they wouldn't go to a second line.
your an admin so you have that extra menu image and thats forcing it to go to a second line.

How rankings were the list of users?

sawz

keep smiling, they'll always wonder what your up too.....

Aportadordelmix

Quote from: sawz on June 17, 2010, 06:44:54 AM
Quote from: ABM® on June 17, 2010, 06:43:44 AM

How rankings were the list of users?

huh? no comprende'

yes, but first I want to try disabling the image that says members.

The administration panel I think you can. I do not remember

sawz

the menu array is in index.template.php
find the Members link and remove it.
keep smiling, they'll always wonder what your up too.....

Aportadordelmix

Quote from: sawz on June 17, 2010, 06:52:51 AM
the menu array is in index.template.php
find the Members link and remove it.

thank.

do not see the private message icon.

How do I add?

Paul_Pauline

 ??? The PM icon is showing in your first post ?
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Aportadordelmix

Quote from: Paul_Pauline on June 17, 2010, 07:04:40 AM
??? The PM icon is showing in your first post ?

I was wrong  :)

75 x 100 px have icons.

What measures do you recommend ?

sawz

Quote from: ABM® on June 17, 2010, 07:08:27 AM

75 x 100 px have icons.

What measures do you recommend ?
thats your preference, maybe 50 x 75
keep smiling, they'll always wonder what your up too.....

Paul_Pauline

Like sawz said earlier, if you reduce the size of all the icons they may well all fit on one line.

When you have resized them just swap the original images for your new ones via ftp.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Aportadordelmix

Thank you very much.

How I can change the icon of private messages when I have new pm?

Advertisement: