| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Issues with imageZB uploader code | ||
|---|---|---|
| Tweet Topic Started: Apr 26 2018, 06:16 PM (427 Views) | ||
| fnuppage | Apr 26 2018, 06:16 PM Post #1 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Both of the options move and color the button but produce the button twice and also appear to interfere with the BBCode causing one of the BBCodes to drop down on the same line next to the button. I have another problem which is really weird. I register at the site with no issues, tried to upload an image in a post a short while ago which was successful however the BBCode was not added to the post. When I try to upload it again it refers to a duplicated image and if I go to the site and try to upload the image directly I encounter the same message however the image is not shown with the one other image I have already upload. It will be confusing for members if the bbcode is not generated and added to the post as they were used to that with the other uploader you posted. |
|
![]() |
|
|
| Skyon Archer | Apr 26 2018, 07:46 PM Post #2 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Your board is about to make me mad ![]() You are the only person on the internet that has issues with this image uploader. ![]() Do you have the script in your "Javascript" section of your Board Template? If not, move it there. I have put the exact same code on http://forum.imgzb.com and the button is placed as expected. I was also able to upload an image and the code was inserted appropriately (as can be seen here). Finally, the bbcode buttons may be slightly out of line simply due to your screen resolution. If it's not narrow enough for the buttons to spread out then they wrap. My screen resolution is 1900 x 1200 and the buttons look nicely ![]() Edited by Skyon Archer, Apr 26 2018, 07:48 PM.
|
|
![]() |
|
|
| fnuppage | Apr 26 2018, 08:38 PM Post #3 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I moved it to the Javasript and get this![]() 2 instances of the upload button and the Spotify BBCode has moved down Tried uploading the screenshot and it went through but no BBCode was produced. Eventually uploaded at imgbb Edited by fnuppage, Apr 26 2018, 08:41 PM.
|
|
![]() |
|
|
| Skyon Archer | Apr 26 2018, 08:46 PM Post #4 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I don't see that.![]() ![]() ![]() Try clearing your browser cache. I also attempted to make a post and the bbcode was inserted upon completion of uploading an image. ![]() Edited by Skyon Archer, Apr 26 2018, 08:51 PM.
|
|
![]() |
|
|
| fnuppage | Apr 26 2018, 09:08 PM Post #5 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I have to do some investigation my end, weird | |
![]() |
|
|
| Skyon Archer | Apr 26 2018, 09:12 PM Post #6 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I have tried all three of your themes and I only see one button. I made a test post and everything worked 100% as intended. Like the saying goes, if it ain't broke, I can't fix it ![]() I still think you have the script cached of the old version and now the new version. |
|
![]() |
|
|
| fnuppage | Apr 26 2018, 09:18 PM Post #7 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
If I chose to reply to a post such as the one you posted in I see one button only - However if I go to any forum and opt to make a totally new post I see two buttons e.g. if I go to http://thelighthouse.cf/forum/5099435/ and select New Topic I see two buttons - If I click on Add Reply I see only one |
|
![]() |
|
|
| Skyon Archer | Apr 26 2018, 09:23 PM Post #8 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Try commenting out or removing the spotify script. | |
![]() |
|
|
| fnuppage | Apr 26 2018, 09:31 PM Post #9 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Removed the Spotify script and cleared the browser cache but still seeing two buttons when making a new post | |
![]() |
|
|
| Skyon Archer | Apr 26 2018, 09:42 PM Post #10 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Was it double before you moved it? There has to be another script effecting the button placement. The first button is correct, it has the right information inside the tag, the second button is missing the critical information to make it work properly. It does not have a distinct name, thus that's why you were having issues uploading. If it was my site, I would remove the scripts and slowly add them back, one after another, to find out which script is causing the issue. Otherwise, if you aren't wanting to go through all that, then I recommend you move the image back to where it was located by removing the sibling part. I don't see a clear reasoning of why you are getting two buttons. |
|
![]() |
|
|
| fnuppage | Apr 26 2018, 09:58 PM Post #11 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks, I was thinking of doing just that, when I just used the colored button everything was OK and it was not duplicated It's still not producing the BBCode for me, can't figure out why, so for now I've readded the imgbb uploader |
|
![]() |
|
|
| fnuppage | May 5 2018, 05:10 PM Post #12 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I tried again tonight and added the original standard code - When I went to upload an image it gave me extra options saying it would be added to my Public Photographs at the website and I chose "Forum Images" from the drop down menu. The image uploaded successfully yet no BBCode was generated in the post and strangely I cannot see the image on the website either. If I choose to add the image when logged in at the website I get the message that the image was a duplicate and could not be uploaded any ideas? |
|
![]() |
|
|
| Skyon Archer | May 5 2018, 06:42 PM Post #13 | |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
There is a script on your forum that is effecting my script, plain and simple. Do you have the default Zetaboards original theme to test it on? Like I've said, your site seems to have issues with several scripts working correctly. Another being the Better FAQ script. I looked on the website and see that you have one album and it contains no images. Your public album has 8 images that have been uploaded. |
|
![]() |
|
|
| fnuppage | May 5 2018, 06:49 PM Post #14 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
The interesting thing is that I can't see those images n the site - I'm going to take another look at the codes installed and see if there is anything causing problems EDIT Removed code to prevent large images from stretching the page and was able to upload an image in a test area and the BBCode was presented - Will see if this rectifies them problem Edited by fnuppage, May 5 2018, 07:03 PM.
|
|
![]() |
|
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | ||
| « Previous Topic · ZetaBoards - Theme & Code Support · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)












azure.png (14.64 KB)
4:23 AM Jul 11