Results 1 to 9 of 9
  1. #1
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    <pre class="ip-ubbcode-code-pre"> if (action == "image") {
    var thisImage = prompt("$vars_wordlets{enter_image}", "http://");
    var imageUBBCode = " [img][/img] ";
    revisedMessage = currentMessage+imageUBBCode;
    document.REPLIER.message.value=revisedMe ssage;
    document.REPLIER.message.focus();
    return;
    }</pre>

  2. #2
    ABW Ambassador
    Join Date
    January 17th, 2005
    Posts
    2,160
    Is this an exam? [img]/infopop/emoticons/icon_biggrin.gif[/img]

    >>revisedMe ssage

    there is a space between Me & ssage

    Is that it?

  3. #3
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    Guffy,

    It is the ubb code that inserts the image in the forum ... it is inserting the space by itself and I can't figure it out.

    BTW ... you see it inserted the space also on that post ... (I didn't notice that b4), if it was a test .... you passed [img]/infopop/emoticons/icon_biggrin.gif[/img]

    Haiko

  4. #4
    ABW Ambassador
    Join Date
    January 17th, 2005
    Posts
    2,160
    I've had similar problems with java code in the past.
    I'm not an expert but I just noticed a double =
    >>if (action == "image")

    It might even be the correct format for what I know.

    Another possibility is that it's variable strings may be clashing with some of the hacks you've added :confused:

    Sound Like you need Johnny Suburbs
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>(I'm a PHP/Coldfusion/HTML/javascript/shockwave developer for a living....)<HR></BLOCKQUOTE>

    [ 09-07-2001: Message edited by: Guffy ]

  5. #5
    ABW Ambassador AWaR's Avatar
    Join Date
    January 18th, 2005
    Location
    Scotland
    Posts
    625
    The double = is there on purpose. I means 'is equal to' (but you knew that), and != means 'not equal to' [img]/infopop/emoticons/icon_smile.gif[/img]

  6. #6
    ABW Ambassador AWaR's Avatar
    Join Date
    January 18th, 2005
    Location
    Scotland
    Posts
    625
    @ Haiko

    You consistantly have 'space' = 'space' with the exception in this line...

    <pre class="ip-ubbcode-code-pre">document.REPLIER.message.value=rev isedMessage;</pre>
    I'm no programmer, but shouldn't everything be constant and there should always be a space before and after an =

    Also, shouldn't your first { be on the next line?

    (edited for speeling mistooks)

    [ 09-07-2001: Message edited by: the fish ]

  7. #7
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    As per the PM suggestion ...



    Lets see .....

    Haiko

    [NOPE :confused: ]

    [ 09-07-2001: Message edited by: Haiko ]

  8. #8
    ABW Ambassador AWaR's Avatar
    Join Date
    January 18th, 2005
    Location
    Scotland
    Posts
    625
    First occurence (I know about) of this bug was 09-06-2001 08:47 PM. Experienced by clicknasty in this thread.

    That URL probably won't work right now, so it was in the Lounge / Desktop show off!!!

    What was added to, or removed from the system around that time? If anything was added/removed, that could be the problem... Think hard... [img]/infopop/emoticons/icon_smile.gif[/img]


    Whatever the problem is, it's writing 40 characters of the UBB code, adds a space, then writes the remaining code. If greater than 80 characters, you will get another space after every 40 characters of code.

    [ 09-07-2001: Message edited by: the fish ]

    Have variable lengths/limits been set to 40 characters? (just another idle thought [img]/infopop/emoticons/icon_biggrin.gif[/img] )

    [ 09-07-2001: Message edited by: the fish ]

  9. #9
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    Trouble Ticket response from POOP:
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Hello Haiko:

    Thank you for contacting Infopop Support. We are aware of the situation, and it will be fixed in the next version. Version 6.1 is scheduled for released, within a couple of weeks.


    Regards,


    Jacob Tovés

    Customer Service Representative
    Infopop Corporation
    2030 Dexter Ave. N. Suite 244
    Seattle, WA 98109
    jacob@infopop.com


    Your Original Request:

    ---------------------------------------- --------------

    The ubb code inserts a space inside the address entered of pictures and web addresses

    Thank you,

    Haiko
    <HR></BLOCKQUOTE>

  10. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. something is wrong here
    By waytogo in forum Midnight Cafe'
    Replies: 9
    Last Post: March 8th, 2006, 05:12 AM
  2. Something is wrong
    By Lurker Jones in forum ShareASale - SAS
    Replies: 20
    Last Post: January 24th, 2006, 04:25 PM
  3. test purchase: wrong sale amount, therefore wrong commission
    By hungirl in forum Commission Junction - CJ
    Replies: 19
    Last Post: December 6th, 2004, 04:07 AM
  4. Am I doing something wrong???
    By RobGraves in forum ShareASale - SAS
    Replies: 11
    Last Post: September 2nd, 2004, 04:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •