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 > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 2nd, 2004, 05:54 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
restricting unregistered users

how do you restrict unregistered users from posting reviews or uploading new reviews?

I did not see an option for this in the admin cp... i have setup all the proper user groups and permissions, however unregistered users can still post reviews and upload new reviews.
hoonz is offline   Reply With Quote
Old August 2nd, 2004, 11:22 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
It's in the Usergroup options in the admin panel.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old August 7th, 2004, 04:52 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
i have already setup the user groups...

the script seems a little buggy when restricting groups, etc.

also logins are a bit strange when utilizing ib2's user database, they are not always in sync, sometimes when logging on or off, you will have to do it twice, in both the forums and review post.
hoonz is offline   Reply With Quote
Old August 7th, 2004, 10:46 AM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
That sounds like a cookie issue - are your cookie settings the same between the two applications?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old August 7th, 2004, 10:47 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
I would have to say you also do not have category permissions set correctly then if usergroups are set.

If you logins are not in sync it is because you have not set them up correctly. As I say the same to people who use VB3 all the time.

I have IB2 and Reviewpost install here and the logins are always integrated

http://www.omegatron.net/reviews/

http://www.omegatron.net/ib/

You can login with photopost and alphabeta
__________________
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 August 9th, 2004, 08:27 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
well i think i got the login issue fixed, however there's still problems with the permission masks.

for instance, in the review post permissions masks, i allow a usergroup mod access (but no admin access), however they can still access the admin panel.

i made sure all user group permissions masks are correct, also i made sure the category permissions were all correct.
hoonz is offline   Reply With Quote
Old August 9th, 2004, 09:03 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
of course they can access the admin panel. Mod access means they can access the admin panel they just dont see all the stuff
__________________
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 August 11th, 2004, 09:00 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
ahhhhhhh lol... thanks for clearing that up!

stupid me
hoonz is offline   Reply With Quote
Old August 13th, 2004, 06:55 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
actually... it still allows unregistered people to upload and post new products... all the permission masks are set 100% correctly!
hoonz is offline   Reply With Quote
Old August 14th, 2004, 09:37 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
i've tried everything with the cookies but still they do not seem to be insync...

currently i have the cookie access set to .domain.com on rp and ipb. the cookie path to "/" on review post, but disabled on ipb (this is the only way i can login), and prefixes disabled.

even when i change the prefixes on both rp and ipb it doesn't work. i tried setting the cookie path to /forums on both, but then you can't even login to rp. i've tried pretty much every single possibility but the login's are not insync with eachother.

for instance... i will login to the reviews section, this will log me into both rp and ipb... however after i visit ipb, and when i go back to rp without logging out of ipb, it says welcome to "site" reviews, yet the admin link, upload link and login links are displayed. when i click the admin link it tells me to login, however, when i click the upload link i am able to upload as unregistered (i checked the usergroup permissions many times and everything is setup correctly). First of all both the admin and upload links shouldn't be displayed if i am not logged in... as they dissapear when i logout thru rp, rather than when going from the forums and back to rp without a logout...

i'm not sure if this is exactly clear, however rp seems to be half logged in, it displays all links which shouldn't be displayed and allows you to upload new products (when permissions are denied), but asks you to login when clicking on the admin link, when it really shouldn't be displayed in the first place if i am not logged in.

Any ideas on how to fix this half logged in problem?
hoonz is offline   Reply With Quote
Old August 14th, 2004, 10:01 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
In your ib2.php file try this

if ( ($sessionid) && ($sessionid == $session_id) ) {
$checkpass = 1;
}
elseif ($converge_hash) {
if ($converge_hash == $finalpass) {
$checkpass = 1;
}


change it to this

if ( ($sessionid) && ($sessionid == $session_id) ) {
$checkpass = 1;
}
elseif ($converge_hash) {
if ($converge_hash == $finalpass) {
$checkpass = 1;
}
elseif ( $member_id && !$session_id ) {

setcookie("{$Globals['cookieprefix']}session_id","$session_id","0","{$Globals['cookie_path']}", $Globals['domain_path'] );

$ipaddr = findenv("REMOTE_ADDR");
$agent = findenv("HTTP_USER_AGENT");
$browser = addslashes( substr($agent, 0, 30) ) ;
$sesstime = time();

if ( !empty($Globals['dprefix']) ) {
$stable = "{$Globals['dprefix']}sessions";
}
else {
$stable = "ibf_sessions";
}

$query = "DELETE FROM $stable WHERE member_id='$userid'";
$result = ppmysql_query($query,$db_link);
ppmysql_free_result($result);

$query = "INSERT INTO $stable (id, member_name, member_id, running_time, member_group, ip_address, browser, login_type)
VALUES ('$session_id','$username',$userid,$sesstime,'$usergroup','$ipaddr','$browser',0)";
$result = ppmysql_query($query,$db_link);
ppmysql_free_result($result);

$checkpass = 1;
}
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 14th, 2004 at 03:36 PM.
Chuck S is offline   Reply With Quote
Old August 15th, 2004, 07:44 AM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
i think that did the trick! everything seems to be working fine now... but i'll test it out a little more just to make sure it's good.

thank you very much.
hoonz is offline   Reply With Quote
Old August 15th, 2004, 10:01 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
Yep well basically what I see if that the session_id cookie is not there after you close your browser and come back directly to the browser. What it means is the sessions never match so checkpass never equals 1. The only other way cpaccess equals 1 is on login matching passwords so it is vital that the sessions match. What is funny is except for the altered queries and password structure the file is almost identical to ib.php. I found if you go to the forums the session_id is rewritten and your logged into Photopost fine.

So what I did is this

elseif ( $member_id && !$session_id ) {

Basically what that is saying is if member_id cookie exists and session_id does not delete their session and rewrite the session and create a session cookie.

THUS CHECKPASS EQUALS 1
__________________
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 January 22nd, 2006, 10:36 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 32
Hi, I have installed ReviewPost, but if I'm not logged in, I can access the reviewpost/index.php page, I can also click on a category, post, etc.

In my admincp Usergroup section, the permissions are exactly how they were before I installed ReviewPost and I don't see anything in there that tells it to block out guests.

Can someone please help me? I don't want unregistered users to access any part of ReviewPost. Thanks!
digitalSite is offline   Reply With Quote
Old January 22nd, 2006, 10:44 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
Hello we would need some information like what forum your integrated with a url etc to assist here.
__________________
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 January 22nd, 2006, 10:58 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 32
Ok,

I am using vBulletin 3.5. My ReviewPost is located here:

http://www.naturalbeautycafe.net/reviewpost/

Please let me know what else you need, thanks!
digitalSite is offline   Reply With Quote
Old January 22nd, 2006, 11:08 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
Okay well your integration seems just fine with no issues that I see. I registered a forum account and posted a dummy product in reviewpost just fine

http://www.naturalbeautycafe.net/rev....php?product=1

Guests have the ability to view your forum just fine it seems. If you do not want guests to view your reviewpost categories then in Admin => Edit Categories for your category permissions uncheck viewing permissions for the groups you do not want to access reviewpost content. Make sure to check the box apply to children to copy to your children cats of reviewpost as well.
__________________
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 January 22nd, 2006, 11:16 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 32
Thanks Would it be possible for me to have the vB login box show up if an unregisterd user tries to access the ReviewPost home?

Do you think this can work if I place ReviewPost inside the forums folder?

Thanks!
digitalSite is offline   Reply With Quote
Old January 22nd, 2006, 11:24 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
To my knowledge for the Vbulletin login box to appear the minute you access the reviewpost home the only way to do this would be to also lock down guests from accessing your vbulletin content without being registered.
__________________
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 January 22nd, 2006, 11:34 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 32
Quote:
Originally Posted by Chuck S
To my knowledge for the Vbulletin login box to appear the minute you access the reviewpost home the only way to do this would be to also lock down guests from accessing your vbulletin content without being registered.
Thank you, that helped I just made it so that unregistered users CAN VIEW REVIEWS, but cannot post or upload. So when they click on a product, ReviewPost's message tells them they much be registered first. Perfect!

Thanks!
digitalSite 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reviews by Unregistered Users TheSonic ReviewPost Bug Reports 1 August 9th, 2005 08:20 AM
unregistered users and contact form rcull Classifieds Suggestions 0 August 3rd, 2005 10:13 AM
Setting up for unregistered users only LaurenB Before You Buy 2 November 30th, 2004 12:39 PM
users upload as unregistered fatma Photopost Pro Installation & Upgrades 10 September 14th, 2004 12:04 PM


All times are GMT -5. The time now is 07:17 PM.

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