PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Cannot login in to photopost (http://www.photopost.com/forum/photopost-pro-installation-upgrades/108998-cannot-login-photopost.html)

Kalakov July 3rd, 2004 10:03 AM

Cannot login in to photopost
 
Photopost version : 4.8d

Vbulletin version : 3.0.2

________________________________________________________________
Cookie settings on Vbulletin 3


Path to Save Cookies /

Cookie Domain .thewired.be
________________________________________________________________
Cookie settings on Photopost

$cookie_path = "/";
$cookie_domain = ".thewired.be";
$cookieprefix="bb";
________________________________________________________________

mysql database usergroups Administrators groupid = 6 cpaccess = 1


Well I think I tryed about everything that was posted here and I still cannot login to photopost :eek:

and during the install I had no errors


anyone know what the problem could be ?

Chuck S July 3rd, 2004 10:08 AM

Whats your vb license set to in Photopost Config?

You need to enter the VB license number not customer number in the config. You will not have an integrated login until you do this. VB uses the user password+salt+vblicense to write the cookie password value.

Kalakov July 3rd, 2004 10:23 AM

Yes my license is correct its the same that can be found on forum/index.php
vBulletin 3.0.2 - Licence Number *********


I did some changes

// Cookie variables
// This should be set to match the path/domain for your cookies,
// / = "/"; sets the cookie to be usable throughout the site.
// = ".domain.com"; sets the cookie to be usable across the domain
// If your BB system has a different setting, then you need to put that path here as well.
$cookie_path = "/";
$cookie_domain = ".thewired.be-";
$cookieprefix="bb"; <--- I removed this line



// Cookie Prefix
// Default vB3:
// = "bb";
// Default phpBB2:
// = "phpbb2mysql";
// Default Threads:
// = "w3t_";
$cookieprefix="bb"; <--- this was empty first

now I can login but only if i login from vbulletin after I go back to photopost i'm logged in but cannot log out after I clear the cookies and try to login from photopost it doasnt work only from vbulletin

Chuck S July 3rd, 2004 10:37 AM

Try reading this thread

http://www.photopost.com/members/for...d.php?t=107895

You will find you need to edit the VB templates specifically header header include navbar and footer since VB uses relative url's and fix them to use full url's

Kalakov July 3rd, 2004 11:05 AM

1 Attachment(s)
still same problem

all settings are right I gues
_________________________________________________________________
// vBulletin Integration
// Instead of using the static header/footer file specified in the Admin options
// panel, you can use your existing default vBulletin header/footer. Just change
// $vbpath and $pppath below to the proper full paths and remove the "//" slashes
// from the beginning of the 27 lines of code below. If PhotoPost has an odd
// background color or squished width, you will need to edit vbulletin's default
// "header" style input box / template and change "{pagebgcolor}" and "{tablewidth}"
// (near the bottom) to your preferred background color and table width, respectively.

$vbpath ="/opt/www/user/web/www.site.com/forum";
$pppath ="/opt/www/user/web/www.site.com/gallery";
chdir($vbpath "/");
require("./global.php");

eval('$navbar = "' . fetch_template('navbar') . '";');

$vbheader = "$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">
<head>
$headinclude";

$vbheader .= "</head>
<body>
$header
$navbar
<div align=\"center\">";

eval('$vbfooter = "' . fetch_template('footer') . '";');
$vbfooter = process_replacement_vars($vbfooter);
$vbfooter = "</div>$vbfooter";
chdir($pppath . "/");

$HTTP_POST_FILES = $_FILES;
$HTTP_POST_VARS = $_POST;
?>
________________________________________________________________


and the layout of photopost got changed after that to this .... :confused:

Chuck S July 3rd, 2004 11:16 AM

You need to edit the VB templates I meantioned.

Your VB login on the navbar is not pointing back to the forum directory thus the error.

You need to edit your forum options and under the main options and click use inline css not css save as files.


All times are GMT -5. The time now is 10:21 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97