iamanasha (@iamanasha)

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Adam Kayce Says in this forum post:

    Apostrophe and or quotation marks cause backslash to appear.

    Never mind – I got it, thanks to an old post from two years ago.

    The code has changed a bit, so here’s how I fixed it:

    1) open up /bb-includes/functions.bb-template.php

    2) replace line 1074 with:

    return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));

    3) and line 1782:

    return stripslashes(apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id ));

    That did the trick for me.

    {This worked for me,too. It worked on the front end and back end.}

    AdamKayce says: Never mind – I got it, thanks to an old post from two years ago.

    The code has changed a bit, so here’s how I fixed it:

    1) open up /bb-includes/functions.bb-template.php

    2) replace line 1074 with:

    return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));

    3) and line 1782:

    return stripslashes(apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id ));

    That did the trick for me.

    {That worked for me too. It did the trick in the frontside and backoffice.}

    Sorry, I didn’t get back, I was MIA. Glad you got it resolved. :)

    Sorry, I didn’t get back, I was MIA. Glad you got it resolved. :)

    Okay, I told you that I would bring you in more info if I had it. I got it!

    If you do not have any salts in your wp-config.php file, then you can create keys and salts at this link:

    -WordPress.org secret-key service-

    https://api.wordpress.org/secret-key/1.1/salt/

    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

    To do a proper integration you will need keys and salts, so generate them all at this proper link.

    Remember to add a ‘BB_’ prefix to each key and salt in the bb-config.php.(Example: ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    Miscellaneous info:

    If you only need keys, then use this link:

    https://api.wordpress.org/secret-key/1.1/

    If you only need keys for bbpress then use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/

    For bbpress keys and salts use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/salt

    Okay, I told you that I would bring you in more info if I had it. I got it!

    If you do not have any salts in your wp-config.php file, then you can create keys and salts at this link:

    -WordPress.org secret-key service-

    https://api.wordpress.org/secret-key/1.1/salt/

    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

    To do a proper integration you will need keys and salts, so generate them all at this proper link.

    Remember to add a ‘BB_’ prefix to each key and salt in the bb-config.php.(Example: ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    Miscellaneous info:

    If you only need keys, then use this link:

    https://api.wordpress.org/secret-key/1.1/

    If you only need keys for bbpress then use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/

    For bbpress keys and salts use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/salt

    Okay, I see what was missed.

    1. I had to copy/paste all of the keys and salts from wp-config.php and replace the keys in bb-config.php. (Though the bb-config.php has only keys, you still must copy the KEYS & SALTS from the wp-config.php and add ALL to the bb-config.php.)

    2. Then I had to add ‘BB_’ before each key or salt in the bb-config.php file. (Should look like this… ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    This made my logins seamless. If I have anymore info, then I will add it to this topic later.

    I did all the other stuff first such as:

    a. adding the bbpress integration plugin to my wordpress

    b. updating the wordpress integration ‘user rolemaps’ in the bbpress backoffice

    c. adding the manual cookie setting [define( ‘COOKIEPATH’, ‘/’ );] from the wordpress bbpress integration plugin to the wp-config.php file

    Other info to know:

    My blog is http://gerlainetalk.com

    I put the forum in the same folder and not under a different domain.

    http://gerlainetalk.com/forum

    My lessons:

    I find that having the forum in a different domain, botches things up. Such as http://forum.gerlainetalk.com

    http://gerlainetalk.com/forum works much better.

    Okay, I see what was missed.

    1. I had to copy/paste all of the keys and salts from wp-config.php and replace the keys in bb-config.php. (Though the bb-config.php has only keys, you still must copy the KEYS & SALTS from the wp-config.php and add ALL to the bb-config.php.)

    2. Then I had to add ‘BB_’ before each key or salt in the bb-config.php file. (Should look like this… ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    This made my logins seamless. If I have anymore info, then I will add it to this topic later.

    I did all the other stuff first such as:

    a. adding the bbpress integration plugin to my wordpress

    b. updating the wordpress integration ‘user rolemaps’ in the bbpress backoffice

    c. adding the manual cookie setting [define( ‘COOKIEPATH’, ‘/’ );] from the wordpress bbpress integration plugin to the wp-config.php file

    Other info to know:

    My blog is http://gerlainetalk.com

    I put the forum in the same folder and not under a different domain.

    http://gerlainetalk.com/forum

    My lessons:

    I find that having the forum in a different domain, botches things up. Such as http://forum.gerlainetalk.com

    http://gerlainetalk.com/forum works much better.

    Here is the info that I got from my hosting provider. I hope that it helps.

    I use Hostgator. I do not know if it is the same across hosting providers. If you have trouble with these instructions, then contact your own hosting provider.

    1. Go to the Cpanel for your hosting provider.

    2. Under databases, select MySQL Databases

    3. First Option is Create New Database

    4. Just put the name you want in the box and hit create.

    5. Add New User to the new database you just created.

    6. Then you need to add that user to the database with all permissions.

    7. And then use that info during the install.

    Here is the info that I got from my hosting provider. I hope that it helps.

    I use Hostgator. I do not know if it is the same across hosting providers. If you have trouble with these instructions, then contact your own hosting provider.

    1. Go to the Cpanel for your hosting provider.

    2. Under databases, select MySQL Databases

    3. First Option is Create New Database

    4. Just put the name you want in the box and hit create.

    5. Add New User to the new database you just created.

    6. Then you need to add that user to the database with all permissions.

    7. And then use that info during the install.

Viewing 10 replies - 1 through 10 (of 10 total)