Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #21  
Old 04-26-2004, 08:09 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW: adding bb to the prefix did nothing. Looking at the ini, it says to only add the prefix with ubb and phpbb... not vB

Thanks
Reply With Quote
  #22  
Old 04-26-2004, 11:16 AM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The issues are not a PhotoPost issue - its how your setup is configured that is the issue. Cookies are picky - if PhotoPost can read its own cookie and vB can't, then it wont work. Same in reverse - thats not a PhotoPost limitation, it's a cookie limitation.

If you aren't using the right License Number, then the encryption won't match vB3 and subsequent verifications won't work either - again, not a PhotoPost issues. vB3 added the License Number to the password hash - if you don't enter the right number, then the encrypted password is saved wrong and PhotoPost cannot verify the id.

As developers there is only so much we can do, for integrations like this its up to you to do some basic checking and configuring.

1) In the header of your vB index.php file is a comment section that looks like this:

Code:
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.0.0 - Licence Number 99999999
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000?2004 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
This is where you can verify your license number that PhotoPost needs to encrypt the password. Enter the number that is in your file in bold into the config-inc.php.

2) Cookie Paths. Check your vB cookie settings, if you run vB in a directory like /forums and PhotoPost in a directory like /photopost; then you need to configure both applications to make the cookies available to both applications. You do this by setting the cookie path to "/" in both applications.

3) Cookie domains. If you have both applications on the same domain (like www.yoursite.com), then you can set this to blank "". If you run forums.yoursite.com and photos.yoursite.com, then you need to set this to ".yoursite.com" so that the cookies can be read across domains.

4) Cookie prefix. vB3 uses a default cookie prefix of "bb"; if you specify a different prefix, then you need to tell us whats different about it.

If you need to check why your system isn't working, I suggest referencing your Cookie Manager (if you use Mozilla, IE sucks). Logout from both PP and vB3. Login to PP and check what cookies are created, the values and the paths. Logout. Login to vB3, check those again. 99% of the issues can easily be traced in this manner as you will often find the paths not set properly or the prefixes.

If the password hashes don't match, then the issue is of your license number. 8 out of 10 integration issues are people using the wrong License Number. I'm considering writing a script to parse the license number out (or try to), but checking your index.php file is the easiest way.

Keep in mind, once the integration works you still need to modify your navbar and footer paths. vB3 uses relational paths and if you are using the navbar header in PhotoPost, then the header needs to know where to find the vB3 files.

I am more than happy to help you get your setups working properly, but there is no need to be rude. We have a competent and professional staff at PhotoPost.Com who monitor the forums 7 days a week and provide an extensive FAQ and conversion script to help people along the way. It isn't 100% automatic as you might like, but we do try our best to make it as easy as possible.

If, after you've done all this, and you still want my help - PM me your URL and a login id to test. I will check out the values myself and offer any suggestions that I can identify.
Reply With Quote
  #23  
Old 04-26-2004, 07:43 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally making lead way. Its the license number. Wierd as tho its not working.
The license number is the same on all the files and I even made sure it was the same in the session file on vb3. Still the passwords hashes are different. Atleast now I know what the problem is, just have to figure out how to fix it and then everything will be alright. And I know its the right one since it works with the login as user mod. Maybe there was a Photopost upgrade that fixed this problem.
Reply With Quote
  #24  
Old 04-26-2004, 07:59 PM
obsidian's Avatar
obsidian obsidian is offline
 
Join Date: Apr 2003
Location: Austin Tx
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had no problems getting the integration to work with my Vbulletin/VbPortal site. I used the instructions specified on their site including the ones regarding how to get your themes working with photopost. Took a couple hours to get everything nailed down but nothing to complicated.
Reply With Quote
  #25  
Old 04-26-2004, 08:58 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well everything is fine basically except for the seperate logins
Reply With Quote
  #26  
Old 04-27-2004, 12:44 AM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never encountered an installation where the hashes didnt match with the right license number. May sound obvious, but make sure there are no spaces in the key you entered. Also, clear logout of both sites and make sure you don't have any cookies (just to be sure).
Reply With Quote
  #27  
Old 04-27-2004, 08:23 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Photopost would be like 10 times better if they had the template system right so much needless php
Reply With Quote
  #28  
Old 04-27-2004, 09:40 AM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
Photopost would be like 10 times better if they had the template system right so much needless php
Exactly what I was thinking.
Reply With Quote
  #29  
Old 04-27-2004, 11:04 AM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A matter of opinion I suppose - putting conditionals in <> or outside of echo's is simply a matter of preference. The main difference would be that our templates don't require a preprocessor.

(Not that there is anything wrong with using a preprocessor, just not my preference).
Reply With Quote
  #30  
Old 04-27-2004, 12:14 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

once you rmeove the php then the templating takes on a life of it's own, much in the same fashion as all the vB skinning sites, i think it's worth the consideration, i know me myself as a customer of PP would prefer to be able to read the templates, otherwise theirs no point in having em.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 07:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05634 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete