 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
April 13th, 2008, 11:30 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
| 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.
|
| |
April 13th, 2008, 12:31 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
April 13th, 2008, 07:31 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
|
Ok that worked fine
How about making the avatar appear under the Uploaders name on the Photo Details Section, Right under the Medium photo?
|
| |
April 13th, 2008, 08:31 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
Do you have a link?
If a user has an avatar it should appear under the user info depending on your forum integration.
|
| |
April 14th, 2008, 01:46 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
| |
| |
April 14th, 2008, 04:20 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
|
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
}
|
| |
April 14th, 2008, 07:08 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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
|
| |
April 14th, 2008, 07:42 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
|
It worked... my mistake was that I was eliminating
$userprofile[7] = $csig; // Signature
}
from the code.
|
| |
April 14th, 2008, 07:43 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
|
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.
|
| |
April 14th, 2008, 07:54 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
Sure edit your language file english.php and change that string |
| |
April 14th, 2008, 08:06 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2008 Location: Tangier, Morocco
Posts: 53
|
cool " Man Your the best " I started to love PhotoPost 
Its gonna rock my website
|
| |
April 14th, 2008, 08:08 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
Glad to help have a good evening.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:08 PM. | |