Advertisement:

Author Topic: clearly remove image  (Read 2001 times)

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
clearly remove image
« on: June 30, 2012, 09:36:49 AM »
How to clearly remove image?

Code: [Select]
<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"

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #1 on: June 30, 2012, 09:47:07 AM »
Change

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

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

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #2 on: June 30, 2012, 10:02:44 AM »
in forum post okay, but in profile something wrong, now dissapear "banned"
whats wrong?

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

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #3 on: June 30, 2012, 10:09:49 AM »
Change

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

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

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #4 on: June 30, 2012, 10:12:01 AM »
Change

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

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

Still not showing  :-\

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #5 on: June 30, 2012, 10:21:29 AM »
My mistake, make the line look like this

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

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #6 on: June 30, 2012, 10:23:22 AM »
My mistake, make the line look like this

Code: [Select]
<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))

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #7 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?

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #8 on: June 30, 2012, 10:55:58 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.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #9 on: June 30, 2012, 10:58:08 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.

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #10 on: June 30, 2012, 11:29:39 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.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #11 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.

Quote
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.
« Last Edit: June 30, 2012, 12:17:14 PM by Shambles™ »

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #12 on: June 30, 2012, 12:17:37 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.

Quote
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.
still not showing :(

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #13 on: June 30, 2012, 01:05:13 PM »
You sure you banned that user, and didn't just put <del> tags in his username


Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #14 on: June 30, 2012, 01:24:39 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

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #15 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

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #16 on: June 30, 2012, 01:43:08 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


Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #17 on: June 30, 2012, 01:45:50 PM »
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.

Offline satinof

  • Semi-Newbie
  • *
  • Posts: 73
Re: clearly remove image
« Reply #18 on: June 30, 2012, 01:49:30 PM »
i take backup from yesterday and uploaded yesterdays profile.template.php
but its still not showing, wtf?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,083
  • Gender: Male
    • i30 Owners Club
Re: clearly remove image
« Reply #19 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?