Version: 4.0, by ForumsMods
Developer Last Online: Sep 2022
Category: Show Thread Enhancements -
Version: 4.x.x
Rating:
Released: 12-27-2010
Last Update: Never
Installs: 113
Uses Plugins
Code Changes Translations
No support by the author.
Hide Images from Guests
Description: Allows you to show a message to guests instead of images in posts.
Installation:
Import "product-hideimg_guests.xml" as a product, overwrite if it's already installed
Where to set option: Settings-> Options-> Thread Display Options (showthread)-> Enable Hide Images from Guests
Languages:
- English
History:
28-12-10: v4.0 First Release
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
After a lot of hours I figured out how to finally get this working properly.
It turns out that the first person to view a thread via showthread.php would cache that version of the thread in vb_postparsed - so if a guest views the thread first it is cached with the replaced text and everyone else who uses that style logged in or not will have the cached version.
I've managed to get around this by having a copy of a style dedicated to guests, setting it as the default and using the Restrict Style to Usergroup mod https://vborg.vbsupport.ru/showthread.php?t=95910 to prevent logged in members from changing to that style.
I tried that and it didn't work. Specifically I made the style, I restricted it to guests, and made it default, and that all worked - but it was also then default for all members who had to actively decide to switch it. What I really needed was multiple default styles. I found a different mod, force style on usergroup, and seemed to work, except it wouldn't force a style to my guests, only to other usergroups (why, I'm not sure). So I forced all registered members to another usergroup, and let the guests by in the default one.
I wonder if a better overall fix would be to edit the plugin so the image removal is done AFTER the post content is pulled from the cache, not before. Anyone know how to do that?
If any of these features would be better supported in VB 5 I might be enticed to finally upgrade, anyone know?
If you have good images with good titles and have your images set to use a title tag and alt txt images are great for seo. How would removing them help with seo?
If you have good images with good titles and have your images set to use a title tag and alt txt images are great for seo. How would removing them help with seo?