Announcement

Collapse
No announcement yet.

Import problems with smilies

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

  • Import problems with smilies

    I have recently imported from phpbb 1.4.2 via impex. All of my smilies show up as "[img]images/smilies/xxx.gif[/img]" where xxx is the name of the smilie file. These files do exist in this location on my server so why aren't they resolving to the smilie image? Do I need to do a cleanup where I replace this with the full url?

  • #2
    Another option I though of was to re-create the simile in the forum manager with a code, so :xxx: for instance.

    Then use cleaner to swap them out :

    "[img]images/smilies/xxx.gif[/img]" => ":xxx:"

    That way they are defiantly simile codes opposed to images.
    I wrote ImpEx.

    Blog | Me

    Comment


    • #3
      decided to go with your suggestion. Not sure what the prob is but the cleaner isn't working with this added in:
      PHP Code:
                  "[img]images/smilies/icon_biggrin.gif[/img]" => ":D",
                  
      "[img]images/smilies/icon_cheering.gif[/img]" => ":cheering",
                  
      "[img]images/smilies/icon_cheers.gif[/img]" => ":cheers",
                  
      "[img]images/smilies/icon_smile.gif[/img]" => ":)",
                  
      "[img]images/smilies/icon_confused.gif[/img]" => ":?",
                  
      "[img]images/smilies/icon_frown.gif[/img]" => ":(",
                  
      "[img]images/smilies/icon_smoking.gif[/img]" => ":smokin",
                  
      "[img]images/smilies/icon_sick.gif[/img]" => ":x",
                  
      "[img]images/smilies/icon_eek.gif[/img]" => ":eek",
                  
      "[img]images/smilies/icon_cool.gif[/img]" => "8)",
                  
      "[img]images/smilies/icon_sleep.gif[/img]" => ":sleepin",
                  
      "[img]images/smilies/icon_lol.gif[/img]" => ":lol",
                  
      "[img]images/smilies/icon_mad.gif[/img]" => ">:",
                  
      "[img]images/smilies/icon_rolling.gif[/img]" => ":rollin",
                  
      "[img]images/smilies/icon_razz.gif[/img]" => ":p",
                  
      "[img]images/smilies/icon_puke.gif[/img]" => ":puke",
                  
      "[img]images/smilies/icon_redface.gif[/img]" => ":o",
                  
      "[img]images/smilies/icon_cry.gif[/img]" => ":cry",
                  
      "[img]images/smilies/icon_evil.gif[/img]" => ":evil",
                  
      "[img]images/smilies/icon_rolleyes.gif[/img]" => ":rolleyes",
                  
      "[img]images/smilies/icon_wink.gif[/img]" => ";)",
                  
      "[img]images/smilies/icon2.gif[/img]" => ":thumbsup",
                  
      "[img]images/smilies/icon3.gif[/img]" => ":thumbsdown",
                  
      "[img]images/smilies/icon9.gif[/img]" => ":doh",
                  
      "[img]images/smilies/icon11.gif[/img]" => ":fuming",
                  
      "[img]images/smilies/icon16.gif[/img]" => ":whine",
                  
      "[img]images/smilies/icon17.gif[/img]" => ":devil",
                  
      "[img]images/smilies/icon18.gif[/img]" => ":retarded",
                  
      "[img]images/smilies/icon22.gif[/img]" => ":oohlala",
                  
      "[img]images/smilies/icon23.gif[/img]" => ":ohbaby",
                  
      "[img]images/smilies/howyoudoin.gif[/img]" => ":howyoudoin",
                  
      "[img]images/smilies/zam.sim.gif[/img]" => ":zam",
                  
      "[img]images/smilies/fett_esb_icon.gif[/img]" => ":fettesb",
                  
      "[img]images/smilies/fett_rotj_icon.gif[/img]" => ":fettrotj",
                  
      "[img]images/smilies/fett_jango_icon.gif[/img]" => ":jango",
                  
      "[img]images/smilies/moon.gif[/img]" => ":booty",
                  
      "[img]images/smilies/wacko.gif[/img]" => ":wacko",
                  
      "[img]images/smilies/ohwell.gif[/img]" => ":\",
                  "
      [img]images/smilies/hat.gif[/img]" => ":hat",
                  "
      [img]images/smilies/lol2.gif[/img]" => ":lol2",
                  "
      [img]images/smilies/jodo.sim.gif[/img]" => ":jodo",
                  "
      [img]images/smilies/cargofs.gif[/img]" => "",
                  "
      [img]images/smilies/cargoft.gif[/img]" => "",
                  "
      [img]images/smilies/cargowtb.gif[/img]" => "",
                  "
      [img]images/smilies/cargoebay.gif[/img]" => "",
                  "
      [img]images/smilies/jastericon.gif[/img]" => ":jaster",
                  "
      [img]images/smilies/fett_prepro_icon.gif[/img]" => ":fettpre",
                  "
      [img]images/smilies/jetpackicon.gif[/img]" => ":jetpack",
                  "
      [img]images/smilies/redskull.gif[/img]" => ":redskull
      When I run it. I get the following error:

      Parse error: parse error, unexpected '[', expecting ')' in /hsphere/local/home/thedent/forums.thedentedhelmet.com/impex/tools/cleaner.php on line 80

      So, I thought, maybe that was too many things to change at once, so I took out all the ones I had added from line 80 and below. After that I tried to rerun and got the following error:

      Parse error: parse error, unexpected T_STRING, expecting ')' in /hsphere/local/home/thedent/forums.thedentedhelmet.com/impex/tools/cleaner.php on line 106

      Any idea what is wrong here? Thanks.
      Last edited by Jerry; Tue 4 Jan '05, 4:21pm. Reason: php tags to show where syntax typo is

      Comment


      • #4
        PHP Code:
         "[img]images/smilies/ohwell.gif[/img]" => ":\", 
        should be :

        PHP Code:
         "[img]images/smilies/ohwell.gif[/img]" => ':\', 
        or

        PHP Code:
         "[img]images/smilies/ohwell.gif[/img]" => ":\\"
        I wrote ImpEx.

        Blog | Me

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X