Skip to:
Content
Pages
Categories
Search
Top
Bottom

Oops Broken Support-Forums Plugin


  • creativeherb
    Member

    @creativeherb

    Well I didn’t break it, I think… =) I’m currently using the latest version Support-Forums plugin (3.0.4), and the latest BBpress (0.9.0.2)

    On the front page, most topics displays fine, with the status bubble ahead of the topic title, but for certain topics I get this error… this error code replaces where the color bubble would have been.

    Warning: sprintf() [function.sprintf]: Too few arguments in /home/blog/public_html/forums/my-plugins/pb–support-forum/support-forum.php on line 657

    help would be much appreciated, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • yes, we have the same problem

    If I would like to close a topic, this error was written over the topic name in the topic list

    please bugfix this problem asap

    thx andiĀ²


    chrishajer
    Participant

    @chrishajer

    I would recommend adding a comment to the support forum for the plugin rather than posting it here.

    https://bbpress.org/plugins/topic/support-forum/

    @createiveherb , @xlarge

    function modifyTopicLabelClosed($label) and

    function modifyTopicLabelSticky($label) need their sprintf substitutions changed from $1%s to %1$s

    ‘<img src=”$1%ssupport-forum-$1%s.png”…

    should be

    ‘<img src=”%1$ssupport-forum-%2$s.png”…

    for all 4 substitutions.

    @xlarge you might have gotten a quicker reply with kinder words. :D

    Burt

    Error says line 657 and 680

    but what you have to fix is on lines 652 and 675

    Burt above gave the fix here it is in full so you can just cut and paste into those lines:

    '<img src="%1$ssupport-forum-%2$s.png" alt="[%3$s]" title="[%3$s]" style="vertical-align:top; margin-right:0.3em; width:14px; height:14px; border-width:0;" />%4$s',

    Same code goes in both lines.

    THANKS to Burt for providing the fix!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar