Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how do i utilise the bbpress cookie for something else also…


Sam Bauers
Participant

@sambauers

By default, the alphanumeric code is an md5 hash of the bb_table_prefix that is set in config.php

For default installs this effectively makes the cookie names:

'bb_user_' . md5('bb_')

'bb_pass_' . md5('bb_')

You can override the name of the cookie by setting values for the following somewhere in config.php:

$bb->usercookie = 'my_great_user_cookie_name'

$bb->passcookie = 'my_great_pass_cookie_name'

Then provided that your website is in the same domain as your forum, you should have no trouble reading these cookies using your own code.

Skip to toolbar