Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2015, 04:41 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Value within includes/functions.php

Hey guys wonder if someone could help....

I am trying to integrate another system with vBulletin which takes the vBulletin login information, I have seen a number of sites do this, however on the configuration part where its asking for the database information I have some problems....

Firstly its asks for a database prefix I have none so should I leave this blank?

And finally it asks for Value within the file /includes/functions.php Forum

The only thing I can find that makes sense with this is define('COOKIE_SALT', 'vSdGLyEENDkkrqoKQ8murCortkDSc');

This is an old file so the data is not relevant but is this the information it requires or is there another value? Because I'm completely stuck.
Reply With Quote
  #2  
Old 10-30-2015, 05:00 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your question is a bit confusing to me.
You want to implement vBulletin's login system somewhere else so vBulletin logins will work?
Reply With Quote
  #3  
Old 10-30-2015, 05:10 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Your question is a bit confusing to me.
You want to implement vBulletin's login system somewhere else so vBulletin logins will work?
Yes basically and it asks for a value within the functions.php file.

As well as the various database information which I have already input into the file.

--------------- Added [DATE]1446228949[/DATE] at [TIME]1446228949[/TIME] ---------------

Think its best if I just put what I see here.



This has been integrated to many sites so I know it works.

As per the question above, I do not know the value I should place into the box for includes/functions.php and my database has no prefix so should I leave it blank?
Reply With Quote
  #4  
Old 10-30-2015, 05:34 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't use a prefix then I guess you can leave it empty indeed. The table prefix is stored in the includes/config.php file for future reference.

Not sure what they mean by "value within the /includes/functions.php file", there are a bunch of different values in there. My guess would be the COOKIE_SALT as well.
Reply With Quote
  #5  
Old 10-30-2015, 05:38 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
If you don't use a prefix then I guess you can leave it empty indeed. The table prefix is stored in the includes/config.php file for future reference.

Not sure what they mean by "value within the /includes/functions.php file", there are a bunch of different values in there. My guess would be the COOKIE_SALT as well.
I checked in phpmyadmin and the value is 100% the cookie salt it says vbulletin_fct_salt so my assumption is thats the cookie salt value.

However within phpmyadmin is says vbulletin_cookie_prefix for the prefix of the database tables, everything appears correct my end however I'm not making a connection.
Reply With Quote
Reply


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 02:11 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.04025 seconds
  • Memory Usage 2,199KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete