View Full Version : Prevent users in Awaiting Email confirmation group from viewing pictures?
October 5th, 2005, 07:32 PM
How to go about preventing users in Awaiting Email confirmation group from viewing pictures? Currently, unregistered users cannot view images and I would like the same for those in the Awaiting Email confirmation group as well.
I know, I can set the permission/uncheck the users awaiting email confirmation box in individual categories but that just takes away everything from the index page as opposed to unregistered users can still see the thumbs and not the full image...
October 5th, 2005, 09:19 PM
That would be your only option without modifying the code in some manner.
October 5th, 2005, 10:01 PM
I figured it out... basically, block them from viewing the forum (vB) and then present this:
(insert code in the "header" template AFTER
<!-- content table -->
<if condition="$bbuserinfo['usergroupid'] == 3">
<div align="left" style="color: red; background-color: white; border: 2px solid black; padding:2px">
<font size="2"><b>Your account is awaiting email confirmation.</b>
Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail">this page</a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.
<b>YOU <u>MUST CONFIRM YOUR EMAIL</u> IN ORDER TO USE ALL OF THE WEBSITE
Optionally, you can also edit the default vB message no permissions message that appears...
I've got 506 users sitting in the waiting confirmation email... with 35-45 registerations daily, needed to put some control on it along with weekly deletions.
October 27th, 2005, 09:05 PM
What if i want to block by ipaddress how would you change the code.
February 23rd, 2007, 04:04 AM
would this be integrated in a new update?
February 23rd, 2007, 08:19 AM
Nothing like this in our code but you can surely add something like this user added above
July 11th, 2012, 12:29 AM
Can we get this added for the latest version. It is still a problem. Users just register fake emails and never confirm since they know they can view images by being in the "Users Awaiting Email Confirmation" user-group.
It really needs to be addressed. The noview for unregistered users is useless without it. It needs to be just like how an unregistered user can see the gallery index, but when they click any thumbnail, they get the no view message.
July 11th, 2012, 08:35 AM
Well the reason why this has never been addressed is there is nothing to address in as this is not a bug. Basically you are wanting to do something a little different than how the program operates. That is called a code mod.
Our program has viewing permissions. You simply do not want to use them. If you want to prevent users from registering bogus just to be view your pics then remove viewing permissions for that group. Guarantee that the behavior would stop if they cant view anymore. ;)
July 11th, 2012, 06:46 PM
Having the tease where you can just see thumbnails like an unregistered user is would I would like to have for "Users Awaiting Email Confirmation" too. Anyway to get a code snippet to make that happen? :) Please :)
July 11th, 2012, 07:34 PM
You should be able to see any hack noted by users in this thread.
Newer vb would probally use $vbulletin->userinfo[usergroupid] though
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.