News:

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

Main Menu

clearly remove image

Started by satinof, June 30, 2012, 09:36:49 AM

Previous topic - Next topic

satinof

Quote from: Shambles™ on June 30, 2012, 01:54:11 PM
This strikethrough of a members name, when he/she gets banned, is it done by a mod you've applied or did someone "hand code" it into your installation?
i have pmed developers, how to add in profile and they said:
Sources/load.php
'name' => $profile['real_name'],
Replace to:
'name' => ($profile['is_activated'] < 10) ? $profile['real_name'] : '<del>'.$profile['real_name'].'</del>',

but its not that fault, because its working perfect with it,
but when i removed image how you said, now in profile not showing

Tried to reinstall mod, but too not showing in profile  :-\

Shambles

What mod is it (is it from SM.org) ?


Shambles

Can I play devil's advocate here, and say those two mods can't coexist in their current form?

To me it seems the username is being amended to include the <del> bits by one mod, but the other mod cannot then find any bans for that renamed member. The diagnostic template you tested made an enquiry of the bans of user testas2222 but found none, which is why your BANNED message doesn't appear.

I'd ask for clarification in the support topic for the strikeout mod if I were you.

satinof

Quote from: Shambles™ on June 30, 2012, 02:18:54 PM
Can I play devil's advocate here, and say those two mods can't coexist in their current form?

To me it seems the username is being amended to include the <del> bits by one mod, but the other mod cannot then find any bans for that renamed member. The diagnostic template you tested made an enquiry of the bans of user testas2222 but found none, which is why your BANNED message doesn't appear.

I'd ask for clarification in the support topic for the strikeout mod if I were you.

Can I play devil's advocate here, and say those two mods can't coexist in their current form?
Its can...

just when i remove image how u said now never appear :{

Shambles

Restore your file(s) to what they were before you edited out the img statement

satinof

Quote from: Shambles™ on June 30, 2012, 02:34:25 PM
Restore your file(s) to what they were before you edited out the img statement
i restored display.template.php and profile.template.php, but its still not showing

satinof


Shambles

Quote from: satinof on July 01, 2012, 05:15:57 AM
damn, wtf just happened
What's the score at the moment with this issue?

satinof

Quote from: Shambles™ on July 01, 2012, 01:30:05 PM
Quote from: satinof on July 01, 2012, 05:15:57 AM
damn, wtf just happened
What's the score at the moment with this issue?
what you mean? its not showing in profile, uploaded 2days, 4days ago backup, reinstalled mod 2 times and its also not showing.

when u said:
Quote from: Shambles™ on June 30, 2012, 09:47:07 AM
Change

<span style="color:red;">', $txt['banned'], '!</span> <img src="', $settings['theme_url'], '/images/pinkdead.gif" />';

to

<span style="color:red">', $txt['banned'], '!</span>';

now never appear :{

satinof


Shambles

You sure you banned that user? When you ran that diagnostic template I provided it said he was not banned

satinof

Quote from: Shambles™ on July 02, 2012, 08:59:36 AM
You sure you banned that user? When you ran that diagnostic template I provided it said he was not banned
yes, i tried another user ban also not showing, in posts showing banned

-=[Vyorel]=-

Look here.

I have tested this file, and is ok. :)

My mods for SMF - [6].

Shambles

Quote from: -=[Vyorel]=- on July 03, 2012, 05:47:56 AM
Look here.

I have tested this file, and is ok. :)
That's identical to what he says he's already tried  :o

<span style="color:red;">', $txt['banned'], '!</span> <img src="', $settings['theme_url'], '/images/pinkdead.gif" />';

edited to

<span style="color:red;">', $txt['banned'], '!</span>';

satinof

Quote from: -=[Vyorel]=- on July 03, 2012, 05:47:56 AM
Look here.

I have tested this file, and is ok. :)

Thanks!! now showing and no image, thx <33

Advertisement: