WordPress.org

Ready to get started?Download WordPress

Forums

WP Bulletin Board
[resolved] Adding of / when the character " is used (4 posts)

  1. zoltanentertainment
    Member
    Posted 1 year ago #

    When the quote character " is used, the forum adds a leading / symbol. How can this be corrected?

    http://wordpress.org/extend/plugins/wp-bulletin-board/

  2. codebycarter
    Member
    Plugin Author

    Posted 1 year ago #

    Where are you trying to use the double quotes? In a forum title?

  3. zoltanentertainment
    Member
    Posted 1 year ago #

    In the text of the forum. Not in the forum title.

    Here's a segment of what I entered:
    Chapter 0 "Before." If you're

    Here's what it looks like when I post it:
    Chapter 0 \"Before.\" If you\'re

  4. codebycarter
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, forum descriptions right?

    Open wp-bulletin-board/php/admin/wpbb-admin-forums.php around line 412 find:

    echo $type->description;

    Replace with:

    echo stripslashes($type->description);

    Save and close.

    Open wp-bulletin-board/php/wpbb-index.php around line 172 and find:

    echo $forum->description;

    Replace with:

    echo stripslashes($forum->description);

    Then whenever you want to use slashes, instead of using \ or / use \\ or //.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.