![]() |
Login / Registration for guests to view pictures I would like to have a login/registration page show up when a guest or a non logged in member visits the gallery intead of the message that says "You do not have permission to view this category" The registration should be recorded on vBulletin Database. Thank you. |
How are things setup? If you allow in your category permissions for guests to view the categories but in registration options mark then guests can not view images then they should get a register message. |
Ok that worked fine :) How about making the avatar appear under the Uploaders name on the Photo Details Section, Right under the Medium photo? |
Do you have a link? If a user has an avatar it should appear under the user info depending on your forum integration. |
|
Didnt work when I edited the code. The whole forum became blank: Here is the original code that I found in vb3.php if ( $hasav ) { if ( isset($avpath) ) { $userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$avpath\" border=\"0\">"; // Avatar } elseif ( $vboptions['usefileavatar'] && $hasav == 1 ) { $userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$vboptions[avatarurl]/avatar{$cuserid}_{$avrev}.gif\" border=\"0\">"; // Avatar } elseif ( $hasav == 1 ) { $userprofile[6] = "<img src=\"{$Globals['vbulletin']}/image.php?u=$cuserid\" border=\"0\">"; // Avatar } else { $userprofile[6]= null; // Avatar } } $userprofile[7] = $csig; // Signature } |
I dont think you edited things correctly if your page became blank that means you misedited. If you make the avatar block as posted in that post it should help |
It worked... my mistake was that I was eliminating $userprofile[7] = $csig; // Signature } from the code. |
Also is it possible to edit the text that shows up when a guest tries to see the picture and it promts him to register. |
Sure edit your language file english.php and change that string ;) |
cool " Man Your the best " I started to love PhotoPost :p Its gonna rock my website |
Glad to help have a good evening. |
| All times are GMT -5. The time now is 08:37 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0