News:

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

Main Menu

Avatar Under Membergroups Rank

Started by senyorito, March 03, 2008, 01:04:41 PM

Previous topic - Next topic

Basie


senyorito

Hmmmm... v1.1a has only 1 download so far.  And afaik, it was me because I need to download it just to check if it is downloadable or not.

Anyways, can you please post here or PM to me your forum's link?

Basie


senyorito

I got your pm seek.  Thank you.

As I was suspecting, it's an issue to your internet cache.  Try the following:

- ask your members if they see the same the way you see it (your screenshot suffice)
- clean your internet cache
- use a different browser (just to check if changes has been made or not)
- try a hard F5

... and the result?


Basie

What browser were you useing there?

It works for me in IE, but it's still wrong in firefox, even after F5 and clearing the cache.

senyorito

I'm using Opera browser (my default browser). 

And yes I confirm that it has an issue with Firefox.  Though by adding another break string would fix the issue in Firefox.  But other browser than Firefox would display 2 line breaks.  Would it be fine with you?

Basie

In that case I think it would probably be better left as it is.

Ideally I'd like it as it was in the picture you posted above, but if that isn't possible then I can live with it how it is right now. :)

Thanks for the mod and the help!

senyorito

Alright then seek.  It is actually an issue between SMF and Firefox.  We're just trying to fix their differences to each other.  The drawback is, other browsers will suffer.

Thank you seek.

Have a nice day!

Spidtuelv


senyorito

Quote from: Spidtuelv on March 19, 2008, 10:26:23 AM
Thanks man,works great ;)

You're welcome and thank you for using this mod.

efil59

Hi,

When i was  trying to install the mod i got error in Display.template.php.

How can i do a manual edit?

Thanks,
Thanks,
Efil.

senyorito

Quote from: efil59 on March 20, 2008, 11:38:04 AM
Hi,

When i was  trying to install the mod i got error in Display.template.php.

How can i do a manual edit?

Thanks,

Modparser by Daniel15 will be a big help to guide you on what to add, replace, delete, etc. 

http://www.adrevenueshare.com/parser

If you can't figure it out, just attach your Display.template.php and PersonalMessage.template.php here and I'll help you out on this.

When you attach it, please inform me also if what version you have downloaded (v1.1 or v1.1b).

Thank you.

SAMm

can you help me whit that senyorito?

can you say me how can i order like this pic?



the avatar first and second de group and the rest

senyorito

Quote from: SAMm on March 20, 2008, 01:42:37 PM
can you help me whit that senyorito?

can you say me how can i order like this pic?



the avatar first and second de group and the rest

Hi SAMm!  Do you want it to be like this...



IF yes, then follow this instruction:

Themes/default/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" id="msg_', $message['id'], '_extra_info">';


REPLACE with:

// 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;">';
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div>';
echo '
<b>', $message['member']['link'], '</b>
<div class="smalltext" id="msg_', $message['id'], '_extra_info">';


Themes/default/PersonalMessage.template.php

FIND:

<table width="100%" cellpadding="4" cellspacing="1" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';


REPLACE with:

<table width="100%" cellpadding="4" cellspacing="1" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">';
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div>';
echo '
<b>', $message['member']['link'], '</b>
<div class="smalltext">';


Then you must delete or comment out on the original avatar strings in both templates so that the avatar wouldn't appear between the number of post and personal text.

Good luck!

efil59

Thank you senyorito!

Your last comment to SAMm, Helped me.

It's working great.
Thanks,
Efil.

senyorito

Quote from: efil59 on March 21, 2008, 03:00:51 AM
Thank you senyorito!

Your last comment to SAMm, Helped me.

It's working great.

You're welcome.  Anyhow, learn how to use the modparser.  It really helps a lot.

Thank you for using this mod. ;)

Basie

#36
Hey senyorito - version 1.1b works good with karma enabled AND disabled, so do you really still need 2 different versions?

Here is a pic of 1.1b with karma enabled...



Maybe karma shold be beneath the online/offline indicator though?

senyorito

@seek:

Hi!

Yeah, I knew that it would work also on v1.1b.  However, enabling Karma on v1.1b will leave a gap between Karma and Online/Offline icon.  There is no gap between the two on SMF default setup and as much as possible, I don't want to touch on it except for the modifications that I'd done.  Now, It's up to the users which one will they use.

SAMm

it works excellent
thankyou senyo ^^

senyorito


Advertisement: