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 > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 15th, 2006, 01:31 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 45
Unregistered can View Recent Comments

How Can I hide the Recent Comments Pal from non registered users or non logged in users? I was able to edit the undercat template to hide the stats, top poster etc, but where would I edit to hide the Recent comments? As it is now, someone ( a nonmember) could go through and see all of the thumbs and comments for the over 800 pics that I have at my site simply by clicking on the "more" link in the Recent Comments Pal. Thanx, Stu
Stumeister2 is offline   Reply With Quote
Old May 15th, 2006, 08:52 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
If you where able to edit the undercats template to hide the other stuff then you could do the same thing to the include for the commentspal.tmpl
__________________
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 May 15th, 2006, 09:20 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
Quote:
Originally Posted by Stumeister2
How Can I hide the Recent Comments Pal from non registered users or non logged in users? I was able to edit the undercat template to hide the stats, top poster etc, but where would I edit to hide the Recent comments? As it is now, someone ( a nonmember) could go through and see all of the thumbs and comments for the over 800 pics that I have at my site simply by clicking on the "more" link in the Recent Comments Pal. Thanx, Stu
Hi Stu,

could you please post the mod for hide this stuff for non logged users? thx

ps: do you speak german?
max_view is offline   Reply With Quote
Old May 15th, 2006, 10:01 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 45
OK, the include in the undercat template looks like this:

include( "{$Globals['PP_PATH']}/{$Global ['TMPL_PATH']}/commentspal.tmpl" );
echo "<br />";

I tried to make it look like the others, but got an error message (not sure what exactly I did now). My statspal edit was as follows:
From this:
if ( $Globals['statspal'] == "yes" ) {
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/statspal.tmpl" );
To this:
if ( $Globals['statspal'] == "yes" && $User['userid'] > 0 ) {
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/statspal.tmpl" );


What and where do I edit the comments include??

Please advise, Thanx, Stu
Stumeister2 is offline   Reply With Quote
Old May 15th, 2006, 10:04 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Stu place an if statement around the commentspal include

Code:
Content visible to verified customers only.
__________________
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 May 15th, 2006, 11:58 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 45
Fantastic! Thanx much. Stu
Stumeister2 is offline   Reply With Quote
Old May 16th, 2006, 12:02 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 45
Max view, sorry no German, but here is a link that may help you: Hide Statistics On Log in Page
Stumeister2 is offline   Reply With Quote
Old May 17th, 2006, 05:44 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
Quote:
Originally Posted by Stumeister2
Max view, sorry no German, but here is a link that may help you: Hide Statistics On Log in Page
thanks, stu...
max_view is offline   Reply With Quote
Old May 17th, 2006, 06:18 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
ok, recent comments are clear, but how can i hide the regular comments (comshow.php) for unregistered?

Maybe there is an switch on the settings whitch i have not seen... my picture are closed for unregistered and it would be great when the comments are closed for unregistered, too.

thanks
max_view is offline   Reply With Quote
Old May 20th, 2006, 06:58 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
gentel bump for my question above... how can i hide the regular comments (comshow.php) for unregistered?
max_view is offline   Reply With Quote
Old May 20th, 2006, 08:06 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
You would need to alter or modify your code for such things. The code above shows how to hide the comments pal.
__________________
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 May 20th, 2006, 08:18 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
Quote:
Originally Posted by Chuck S
You would need to alter or modify your code for such things. The code above shows how to hide the comments pal.
jepp, chuck... now i know that the string
Code:
Content visible to verified customers only.
is the rigth thing... but i donŽt know whereŽs the rigth place for hiding the regular comments (comshow.php) for unregistered? it would be great if you could give me a tip.
max_view is offline   Reply With Quote
Old May 30th, 2006, 12:09 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany
Posts: 131
iŽam glad to find it by myself...

No more comments showing for unregistered:

after
Code:
Content visible to verified customers only.

add
Code:
Content visible to verified customers only.
max_view 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
Only Spiders can view image not unregistered users bugman Photopost Pro How Do I...? 7 March 15th, 2006 04:31 PM
Can Unregistered/Not Logged view e-Cards? MotoUp How Do I? - vBulletin 3.5.X 2 October 13th, 2005 02:29 PM
Unregistered Unable to view images KarstensMommy Photopost Pro Installation & Upgrades 2 August 29th, 2005 11:04 AM
How to make `Recent Photos' work like view all recent pics? mjm Photopost Pro How Do I...? 1 February 3rd, 2005 01:54 PM
Unregistered can post comments 1996 328ti Photopost Pro Installation & Upgrades 5 January 22nd, 2005 08:40 AM


All times are GMT -5. The time now is 08:04 PM.

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