PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 13th, 2008, 11:30 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
Arrow 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.
bennac40 is offline   Reply With Quote
Old April 13th, 2008, 12:31 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 13th, 2008, 07:31 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
Ok that worked fine

How about making the avatar appear under the Uploaders name on the Photo Details Section, Right under the Medium photo?
bennac40 is offline   Reply With Quote
Old April 13th, 2008, 08:31 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Do you have a link?

If a user has an avatar it should appear under the user info depending on your forum integration.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2008, 01:46 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
try this and see if it helps

http://www.photopost.com/forum/showp...14&postcount=2
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2008, 04:20 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
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
}
bennac40 is offline   Reply With Quote
Old April 14th, 2008, 07:08 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2008, 07:42 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
It worked... my mistake was that I was eliminating
$userprofile[7] = $csig; // Signature
}
from the code.
bennac40 is offline   Reply With Quote
Old April 14th, 2008, 07:43 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
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.
bennac40 is offline   Reply With Quote
Old April 14th, 2008, 07:54 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Sure edit your language file english.php and change that string
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2008, 08:06 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Location: Tangier, Morocco
Posts: 53
Send a message via MSN to bennac40
cool " Man Your the best " I started to love PhotoPost
Its gonna rock my website
bennac40 is offline   Reply With Quote
Old April 14th, 2008, 08:08 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Glad to help have a good evening.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do Guests view ads? ssandgirls Classifieds How do I...? 3 February 8th, 2008 06:53 PM
Allow guests to view the classifieds Olly_K Classifieds How do I...? 2 February 23rd, 2007 09:47 AM
Guests can't view pictures dutchbb Photopost Pro How Do I...? 2 July 21st, 2006 11:51 AM
Guests can Only view thumbs? bugman Photopost Pro How Do I...? 6 March 15th, 2006 04:46 PM
v2.02 - Allowing Guests To View Only smokn28 Classifieds Bug Reports 2 May 8th, 2005 12:45 PM


All times are GMT -5. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0