Announcement

Collapse
No announcement yet.

Upload Attachment Feature creates strange Json code

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

  • Wayne Luke
    commented on 's reply
    https://tracker.vbulletin.com/vbulle...sues/VBV-19197

  • Wayne Luke
    replied
    Originally posted by mark.hs View Post
    ** ISSUE SOLVED **

    6 Hour later we found the issue. One of our smilies was set with "text to replace" = ":182" .... and this variable was interfering with the attachment upload process because the attachment IDs was also ":182XXX"

    So the lesson to anyone out there, make sure NONE of your smilies (emoticons) have all numbers or it "could" eventually mess up your file attachments.



    Glad you were able to resolve it. Looking at the post again, that was going to be my next guess. I am going to create a Bug Report so this can be fixed properly in the future.

    Leave a comment:


  • mark.hs
    replied
    test test test

    Leave a comment:


  • mark.hs
    replied
    ** ISSUE SOLVED **

    6 Hour later we found the issue. One of our smilies was set with "text to replace" = ":182" .... and this variable was interfering with the attachment upload process because the attachment IDs was also ":182XXX"

    So the lesson to anyone out there, make sure NONE of your smilies (emoticons) have all numbers or it "could" eventually mess up your file attachments.




    Last edited by mark.hs; Fri 1st Mar '19, 6:43pm.

    Leave a comment:


  • mark.hs
    replied
    Wayne,
    BBcode settings attached, everything looks correct. Did you see the highlighted section in yellow above, you can see that code is getting inserted instead of the actual files. That is our issue.

    Click image for larger version

Name:	screen7.jpg
Views:	36
Size:	508.1 KB
ID:	4409815

    Leave a comment:


  • Wayne Luke
    replied
    That is how inserting inline images works in vBulletin 5. If you double click on the image, there are a number of settings you can change for the image. If you hover over it, there is an anchor point in the lower right corner that allows you to resize the image right in the editor.

    Make sure you're allowing BBCODE in the channel under Channel Management -> Channel Manager. Make sure you allow all the proper BBCodes under Settings -> Options -> BBCode Options.

    Leave a comment:


  • mark.hs
    replied
    I was able to reproduce the issue on our system:
    1. Post New Topic or Reply
    2. Click Upload Attachments
    3. Select file and upload
    4. Insert: Medium
    5. Click Post Reply.

    The end result is this:

    Click image for larger version

Name:	screen3.jpg
Views:	33
Size:	166.5 KB
ID:	4409803

    Leave a comment:


  • mark.hs
    replied
    test: Insert Medium Thumbnail Here:

    Click image for larger version  Name:	b.jpg Views:	0 Size:	519.6 KB ID:	4409801

    Result - no code showing where picture belongs; everything is working on this forum correctly. So this issue is something in our setup.

    Leave a comment:


  • mark.hs
    started a topic Upload Attachment Feature creates strange Json code

    Upload Attachment Feature creates strange Json code

    Many of our users use the "Upload Attachments" button to post pictures inside their message (they DO NOT use the Insert Picture feature of the WYSIWYG editor). Lately when they use the upload attachment feature we are getting code inside the message like: [ATTACH=JSON][][/ATTACH]

    Here are two examples:
    Example 1: There are four embedded pictures, 4 junk code on the page, and there are no attachment thumbnails:
    https://www.hobbysquawk.com/forum/rc...008#post182008

    Example 2: There are four thumbnails, no actual embedded pictures, and four junk code.
    https://www.hobbysquawk.com/forum/rc...104#post182104

    Does anyone know what might be causing this junk code on the page?

Related Topics

Collapse

Working...
X