Results 1 to 3 of 3

Thread: [Current Poll] Error display for "&" letter

  1. #1

    Default [Current Poll] Error display for "&" letter

    Hi All,

    I've just install CMPS in testing environment, one error I noticed in displaying Current Poll in left column.

    It's only error in displaying the title for letter &

    Code:
    Title  : Which car you like & Why?
    Display: Which car you like & Why?
    Just wanna inform the developer...

    Thanks.

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,467

    Default Re: [Current Pool] Error display for "&" letter

    Thank you for pointing this out. I've just applied the fix to the modules/currentpoll.php file in the download package here, so if you will download the files again and replace your existing currentpoll.php file with the updated version, that should take care of the issue.
    Or, if you'd rather apply the fix manually, just look in the file for this line:
    PHP Code:
    $pollmod['question'] = $bbcode_parser->parse($pollmod['question'], $pollmod['forumid'], $mod_options['portal_poll_allowsmilies']); 
    And replace with this:
    PHP Code:
    $pollmod['question'] = $bbcode_parser->parse(unhtmlspecialchars($pollmod['question']), $pollmod['forumid'], $mod_options['portal_poll_allowsmilies']); 

  3. #3

    Default Re: [Current Pool] Error display for "&" letter

    Hi Brian,

    Sory for this late reply, have been off for almost a week.

    Have applied your code, and it work perfectly.

    Thanks...
    Last edited by PosIklan; 02-18-2008 at 10:15 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Current Poll Location ?
    By wii in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 02-13-2008, 06:43 AM
  2. Current Poll module
    By dpnow in forum Troubleshooting & Problems
    Replies: 11
    Last Post: 10-09-2006, 01:56 PM
  3. Current Poll Module pull poll from wrong forum
    By dc35 in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 03-07-2006, 11:26 PM
  4. Current Poll options
    By sully02 in forum Feedback & Suggestions
    Replies: 2
    Last Post: 02-09-2006, 03:02 PM
  5. Current Poll
    By RaceJunkies in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 12-18-2005, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •