News:

Wondering if this will always be free?  See why free is better.

Main Menu

clearly remove image

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

Previous topic - Next topic

satinof

How to clearly remove image?

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

i need remove pinkhead.gif, if i delete /images/pinkhead.gif its on image place only error or if i remove from code '/images/pinkhead.gif"

Shambles

Change

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

to

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

satinof

in forum post okay, but in profile something wrong, now dissapear "banned"
whats wrong?

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

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

Shambles

Change

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

to

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

satinof

Quote from: Shambles™ on June 30, 2012, 10:09:49 AM
Change

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

to

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

Still not showing  :-\

Shambles

My mistake, make the line look like this

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

satinof

Quote from: Shambles™ on June 30, 2012, 10:21:29 AM
My mistake, make the line look like this

<big><b><span style="color:red">', $txt['banned'], '!</span></b></big>';
still not showing :{

Edit: Its only showing on firefox, (on chrome, explorer, opera its not showing)

now tried add default code and still only showing on firefox. ((on chrome, explorer, opera its not showing))

Shambles

Can you post the URL to a profile which should have the "banned!" message in it?

As a guest, will I be able to view it?

satinof

Quote from: Shambles™ on June 30, 2012, 10:34:42 AM
Can you post the URL to a profile which should have the "banned!" message in it?

As a guest, will I be able to view it?
sent pm.

Shambles

Quote from: satinof on June 30, 2012, 10:55:58 AM
Quote from: Shambles™ on June 30, 2012, 10:34:42 AM
Can you post the URL to a profile which should have the "banned!" message in it?

As a guest, will I be able to view it?
sent pm.

Ok. Thanks. Can you attach your profile.php file to your reply here please? I believe the snippets you posted might not be showing some other tags that we need to see.

satinof

Quote from: Shambles™ on June 30, 2012, 10:58:08 AM
Quote from: satinof on June 30, 2012, 10:55:58 AM
Quote from: Shambles™ on June 30, 2012, 10:34:42 AM
Can you post the URL to a profile which should have the "banned!" message in it?

As a guest, will I be able to view it?
sent pm.

Ok. Thanks. Can you attach your profile.php file to your reply here please? I believe the snippets you posted might not be showing some other tags that we need to see.

Shambles

#11
Is that the same template you were using when you sent me the links to your website? It's just that it contains the image you were originally trying to remove.

I think the reason the ban marker isn't showing in the profile is because the test for a ban didn't seem quite right, according to the other tests in the template.


It's tough doing this blind, but try the attached.


EDIT: I tested your template on my rig and it worked fine as it was. Can you answer the top query please?

Attachment removed.

QuoteIs that the same template you were using when you sent me the links to your website? It's just that it contains the image you were originally trying to remove.

satinof

Quote from: Shambles™ on June 30, 2012, 12:00:50 PM
Is that the same template you were using when you sent me the links to your website? It's just that it contains the image you were originally trying to remove.

I think the reason the ban marker isn't showing in the profile is because the test for a ban didn't seem quite right, according to the other tests in the template.


It's tough doing this blind, but try the attached.


EDIT: I tested your template on my rig and it worked fine as it was. Can you answer the top query please?

Attachment removed.

QuoteIs that the same template you were using when you sent me the links to your website? It's just that it contains the image you were originally trying to remove.
still not showing :(

Shambles

You sure you banned that user, and didn't just put <del> tags in his username


satinof

Quote from: Shambles™ on June 30, 2012, 01:05:13 PM
You sure you banned that user, and didn't just put <del> tags in his username


i know it, but its not this fault. <del></del> make slash to banned members

Shambles

Yep - I can see why you're using the <del> bits.

Can you do me a favour and upload this diagnostic version of the template, then get a screen grab of the profile view of that user you banned?

We'll get there soon. Cheers

satinof

Quote from: Shambles™ on June 30, 2012, 01:39:56 PM
Yep - I can see why you're using the <del> bits.

Can you do me a favour and upload this diagnostic version of the template, then get a screen grab of the profile view of that user you banned?

We'll get there soon. Cheers


Shambles

Well there you go.

The member has had his name changed in the $context array (probably in file profile.php - I did ask for that code originally) so the ban test isn't working at all.

satinof

i take backup from yesterday and uploaded yesterdays profile.template.php
but its still not showing, wtf?

Shambles

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?

Advertisement: