vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Value within includes/functions.php (https://vborg.vbsupport.ru/showthread.php?t=320655)

Bluefin221 10-30-2015 04:41 PM

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.

Dave 10-30-2015 05:00 PM

Your question is a bit confusing to me.
You want to implement vBulletin's login system somewhere else so vBulletin logins will work?

Bluefin221 10-30-2015 05:10 PM

Quote:

Originally Posted by Dave (Post 2557922)
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.

https://vborg.vbsupport.ru/external/2015/10/3.jpg

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?

Dave 10-30-2015 05:34 PM

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.

Bluefin221 10-30-2015 05:38 PM

Quote:

Originally Posted by Dave (Post 2557929)
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.


All times are GMT. The time now is 08:40 AM.

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.01128 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete