Announcement

Collapse
No announcement yet.

Cleaner is not changing smilies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ibaker
    replied
    Thanks SNN - but that didn't work either.

    I just don't understand that cleaner worked with things like left over html etc but not with the smilies.

    Leave a comment:


  • SNN
    replied
    Looks like a capitialization error with "/forum/" lol. I wouldn't know of why it wouldn't be working if this doesn't work: I believe this would be proper: (Go into Notepad if you use windows and replace site with your domain name. Didn't want to advertise.)
    Code:
    $replacer = array(
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley1.gif[/IMG]"    => ":smiley1:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley2.gif[/IMG]"    => ":smiley2:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley3.gif[/IMG]"    => ":smiley3:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley4.gif[/IMG]"    => ":smiley4:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley5.gif[/IMG]"    => ":smiley5:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley6.gif[/IMG]"    => ":smiley6:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley7.gif[/IMG]"    => ":smiley7:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley8.gif[/IMG]"    => ":smiley8:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley9.gif[/IMG]"    => ":smiley9:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley10.gif[/IMG]"    => ":smiley10:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley11.gif[/IMG]"    => ":smiley11:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley12.gif[/IMG]"    => ":smiley12:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley13.gif[/IMG]"    => ":smiley13:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley14.gif[/IMG]"    => ":smiley14:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley15.gif[/IMG]"    => ":smiley15:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley16.gif[/IMG]"    => ":smiley16:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley17.gif[/IMG]"    => ":smiley17:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley18.gif[/IMG]"    => ":smiley18:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley19.gif[/IMG]"    => ":smiley19:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley20.gif[/IMG]"    => ":smiley20:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley21.gif[/IMG]"    => ":smiley21:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley22.gif[/IMG]"    => ":smiley22:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley23.gif[/IMG]"    => ":smiley23:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley24.gif[/IMG]"    => ":smiley24:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley25.gif[/IMG]"    => ":smiley25:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley26.gif[/IMG]"    => ":smiley26:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley27.gif[/IMG]"    => ":smiley27:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley28.gif[/IMG]"    => ":smiley28:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley29.gif[/IMG]"    => ":smiley29:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley30.gif[/IMG]"    => ":smiley30:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley31.gif[/IMG]"    => ":smiley31:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley32.gif[/IMG]"    => ":smiley32:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley33.gif[/IMG]"    => ":smiley33:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley34.gif[/IMG]"    => ":smiley34:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley35.gif[/IMG]"    => ":smiley35:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley36.gif[/IMG]"    => ":smiley36:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley37.gif[/IMG]"    => ":smiley37:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley38.gif[/IMG]"    => ":smiley38:",
    "[IMG[B]][/B]http://www.site.com.au/forum/smileys/smiley39.gif[/IMG]"    => ":smiley39:"
    );
    );
    Last edited by SNN; Mon 1 Jan '07, 7:01am.

    Leave a comment:


  • ibaker
    started a topic Cleaner is not changing smilies

    Cleaner is not changing smilies

    Hi
    I have used the cleaner successfully on a lot of elements after my import from WebWiz to vB 3.6.4 and the following doesn't do anything to replace the smilies - Note that I got the original smiley location by switching the editor mode to see what the smiley code is in the post:
    HTML Code:
    $replacer = array(
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley1.gif[/IMG]"    => ":smiley1:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley2.gif[/IMG]"    => ":smiley2:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley3.gif[/IMG]"    => ":smiley3:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley4.gif[/IMG]"    => ":smiley4:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley5.gif[/IMG]"    => ":smiley5:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley6.gif[/IMG]"    => ":smiley6:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley7.gif[/IMG]"    => ":smiley7:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley8.gif[/IMG]"    => ":smiley8:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley9.gif[/IMG]"    => ":smiley9:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley10.gif[/IMG]"    => ":smiley10:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley11.gif[/IMG]"    => ":smiley11:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley12.gif[/IMG]"    => ":smiley12:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley13.gif[/IMG]"    => ":smiley13:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley14.gif[/IMG]"    => ":smiley14:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley15.gif[/IMG]"    => ":smiley15:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley16.gif[/IMG]"    => ":smiley16:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley17.gif[/IMG]"    => ":smiley17:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley18.gif[/IMG]"    => ":smiley18:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley19.gif[/IMG]"    => ":smiley19:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley20.gif[/IMG]"    => ":smiley20:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley21.gif[/IMG]"    => ":smiley21:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley22.gif[/IMG]"    => ":smiley22:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley23.gif[/IMG]"    => ":smiley23:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley24.gif[/IMG]"    => ":smiley24:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley25.gif[/IMG]"    => ":smiley25:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley26.gif[/IMG]"    => ":smiley26:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley27.gif[/IMG]"    => ":smiley27:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley28.gif[/IMG]"    => ":smiley28:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley29.gif[/IMG]"    => ":smiley29:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley30.gif[/IMG]"    => ":smiley30:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley31.gif[/IMG]"    => ":smiley31:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley32.gif[/IMG]"    => ":smiley32:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley33.gif[/IMG]"    => ":smiley33:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley34.gif[/IMG]"    => ":smiley34:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley35.gif[/IMG]"    => ":smiley35:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley36.gif[/IMG]"    => ":smiley36:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley37.gif[/IMG]"    => ":smiley37:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley38.gif[/IMG]"    => ":smiley38:",
    "[IMG]http://www.recreationalflying.com.au/Forum/smileys/smiley39.gif[/IMG]"    => ":smiley39:"
    );
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X