Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
images in forum not displaying properly for guest or non-logged in users after clicking thumbnail to see full sized image
Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2013 - 3:21 am

Please have a look at the below url and click on any of the thumbnails:

http://www.ethericwarriors.com.....ences/4673

There's a gray cross hatching over the image itself, rather than just the background being obscured and the image clear and accessible which is how it behaves with members logged in. This looks like a javascript problem...

As it stands now you have to click back on the browser controls as you can't do anything at all on that page if you clicked on a thumbnail as an anonymous user/guest.

The thing is that we have a cadre of members who were made members, and allowed to post, by invitation only. I need anonymous users (guests) to be able to view a set of forums but not be able to do anything else. I have them set with the read-only permission and everything works fine except for these images.

Thanks

--Azti

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2013 - 4:16 pm

so what version of simple press is that?  and are you using your own custom theme?  if so, did you ever incorporate the required css changes for the WP jquery ui changes? 

if not, please see: http://codex.simple-press.com/.....tes-5-3-0/ in particular the section about popup dialogs...

Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2013 - 8:22 pm

The latest version. I upgraded and it still was present. The standard default theme. And no, I have not done any customization. I will look at the link provided.

Thanks :-)

and happy holidays.

--Azti

Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2013 - 11:08 pm

In my case, I had to remove/comment out the line:

z-index: 1;

on line 1678 of default.php. It was already in the file, but I had to remove it to make this work correctly (or mostly correct). If I left in the zindex: 1 the image would come up, but it would still be embedded in the darkened background, and you couldn't delete the popup window.

I did commented out the php in the two entries for background-image. Though with the z-index: 1 in 1679, it worked with the "crosshatch" background image regardless. I like it better commented out, so I left it as suggested. My file did have the !important directive already. I only commented out the php in both cases.

All the rest of the changes had already been applied.

One interesting feature. On chrome it works perfectly (except for the little x being missing from the popup window. If you click on the square it kills the window fine. But there's no x displayed) well. However, on both opera and firefox, if you try to move the windows (which you can in Chrome) the pop up window moves down the scroll, and out of site. If you scroll down you will find the window and you can then close it. If you move it again, it will move further down... and further down.. etc.

Quite odd, but I am satisfied that at least my guest users can see the images, and close them, correctly.

Thanks again

--Azgti

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 24, 2013 - 3:58 am

Odd that in your case you should have to remove it. Can I assume that you are also using the latest version of WordPress itself as these changes were originally applied to support changes to WP.

Also - if you have any other from of image 'lightbox' type plugin active it might help diagnostics if you could briefly deactivate that to see if the problem goes away.

On the issue of the 'jumping' popup window could you possibly try something for me?  Would you be willing to add:

html, body {position: relative}

to either your WP theme CSS file or the Simple:Press theme CSS to see if this resolves the issue?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2013 - 4:33 am

Yes, I will try the setting you suggest. In the afternoon. I am living on "vampire time" right now, lol. As to the WP Version, I am still on 3.7.1. I was waiting a few weeks for any problems to shake out, and to allow plugins to catch up. I do have Nextgen gallery. That may be the issue. I upgraded to their latest. I will try deactivating it and testing again. Then a good db and content backup and upgrade to 3.8.

Thanks again.

--Azti

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2013 - 5:45 pm

are you running sp 5.4?  it clearly said wp 3.8 was required before upgrading...  and oddly you should be getting a message about that then...  and might have some oddities in the admin in on old wp...

Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2013 - 4:52 pm

"are you running sp 5.4?  it clearly said wp 3.8 was required before upgrading…"

Ah... well... That explains the weirdness then. I will upgrade to 3.8 now. Hopefully it will not break any other of my plugins.

--Azti

 

Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2013 - 5:16 pm

I have upgraded to 3.8. Then reinstated the z-index: 1; directive as per the link above. I deactivated nextgen-gallery. I also tried again with all minification (via W3 Total Cache) deactivated (I was using manual with only a few of the minifaction features as auto broke my site). The result is that under those conditions, with either a guest user or a logged out member, the popup image window is again in-accessible and part of the "darkened" background where I have to click back on the browser controls to regain access to the site. After reverting to commenting out z-index: 1 I again regain control of the pop-up window albeit without the x (to exit) though clicking on the box where the x would be does quit the window correctly. This is tested under Chrome and Firefox on Linux.

--Azti

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2013 - 9:50 pm

Find this interesting. Seems like it just be wp theme related. Have we asked you to switch to default WP theme to see how that works?

None the less, glad it's basically working. Have you given a link to example.? Sorry answering from phone... Could examine the close for fix too...

u

 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626