bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Support Forum (3.0.6)

Download

Version: 3.0.6

Other Versions

Last Updated: 2008-11-20

Requires bbPress Version: 0.9 or higher

Compatible up to: 1.0

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(10)

Your Rating

Authors so1o, mdawaffe, SamBauers

Tags: ,

  1. xlarge

    Member

    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²

    Posted: 1 year ago #
  2. Bo Fiddlesticks

    Member

    We have the exact same problem: for some topics we get the message "Warning: sprintf() [function.sprintf]: Too few arguments in /home/host/public_html/sitename/my-plugins/support-forum.php on line 680

    Posted: 1 year ago #
  3. When I have a thread stickied instead of the star icon, it shows this error:

    Warning: sprintf() [function.sprintf]: Too few arguments in /home/dtnet/public_html/forums/bb-plugins/support-forum/support-forum.php on line 680

    I am using the latest stable version of bbPress intergrated with the lastest stable version of WordPress MU.

    EDIT: Seems I'm not alone, I posted this then seen the person above me posted the same error about 5 hours ago...and there was somone else befor them, maybe I should have read the other comments first. But it seems the OP of this problem mentioned in for posts stickied to the front page, I also get it for normal sticky posts in the forum, both on the forum and and the recent posts list on the front page.

    Posted: 1 year ago #
  4. Hi. Awesome plugin! What would I change on what lines to change the word resolved to a different word such as fixed? Thanks for your help.

    Posted: 1 year ago #
  5. Kernpunt

    Member

    I'm also getting the same error when I have a topic stickied. A similar one also shows up when a topic is closed. So if a topic is both closed and sticked, it says:

    Warning: sprintf() [function.sprintf]: Too few arguments in /***/my-plugins/support-forum.php on line 657

    Warning: sprintf() [function.sprintf]: Too few arguments in /***/my-plugins/support-forum.php on line 680

    Posted: 1 year ago #
  6. zappala

    Member

    Please see:

    http://ilab.cs.byu.edu/support-forum.zip

    for a patched version that fixes these bugs. Hopefully the maintainer can update the official distribution.

    Posted: 1 year ago #
  7. I have a problem with the images for this plugin
    I'm running bbpress on a windows server, and the img src tags actually point to an absolute file path on my disk instead of relative path to the website
    Can you please fix this ?

    Posted: 1 year ago #
  8. svogelsang

    Member

    There seems to be a bug when using bbPress under Windows. I activated the graphics, but they don't show. I then went into the source code and found the following as a src path for one of the status graphics:

    src="C:/xampp/htdocs/forum/my-plugins/support-forum/support-forum-no.png"

    Of course, on Windows these need to be backslashes....

    Posted: 1 year ago #
  9. Ver 3.0.5

    If you get a warning about insufficient args to sprintf in support-forum.php and can't remember the format of sprintf anymore:

    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.

    Burt

    Posted: 1 year ago #
  10. musnake

    Member

    Hello,

    plugin v3.0.5 on bbPress 1.0.a2, PHP5, FF3

    Activates just fine. First install (not an upgrade).

    If I try to save the settings (even if I do not make any changes) I am presented with the bbPress error page:

    Your attempt to do this has failed.
    
    Please try again.

    No msgs in /bb-admin/err_log.
    No msgs in server log.

    I was not getting the insufficient args to sprintf warnings (but I did try burtadsit's fix just in case, no joy...)

    I'm new to bbPress and will search for a way to make it print an error....

    Thanks.

    Posted: 1 year ago #
  11. ukchencn

    Member

    Hello

    Can anyone help with the path issue under windows environment

    url of the image become src="C:/xampp/htdocs/forum/my-plugins/support-forum/support-forum-no.png", which can not be seen by others

    Thanks

    Posted: 1 year ago #
  12. _ck_

    Moderator

    ukchencn, unfortunately there is a bug in the way Sam derive the path to the icons

    But they have a workaround built-in, you can specify the exact path by editing your bb-config.php and adding this line:

    define('SUPPORT_FORUM_ICON_URI','http://your-domain-name.com/your-forum-path/images/');

    (obviously change the 'your' stuff)

    Note to so1o, mdawaffe, SamBauers, line 225

    $this->iconURI = bb_get_plugin_uri($this->basename) . 'images/';

    is a very bad technique as it will be very wrong on windows boxes, etc. Try my method instead:

    $this->iconURI = bb_get_option('uri').trim(str_replace(array(trim(BBPATH,"/\\"),"\\"),array("","/"),dirname(__FILE__)),' /\\').'/images/';
    Posted: 1 year ago #
  13. LidiaAnain

    Member

    I was getting an error when I had a topic stickied or closed. These were the PHP errors I was getting:

    Closed Topics:

    Warning: sprintf() [function.sprintf]: Too few arguments in /***/my-plugins/support-forum.php on line 657

    Sticky Topics:

    Warning: sprintf() [function.sprintf]: Too few arguments in /***/my-plugins/support-forum.php on line 680

    Errors say line 657 and 680, but what you have to fix is on lines 652 and 675.

    --- Start Errors Fix ---

    '<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',

    --- end fix ---

    Cut and paste above code into both lines 652 and 675.

    THANKS to Burt for providing the fix!!!

    Posted: 1 year ago #
  14. LidiaAnain

    Member


    Posted: 1 year ago #
  15. Thanks for the fix LidiaAnain. It's working perfectly now :)

    Posted: 1 year ago #
  16. I have made the .PO and .MO files for the spanish (Spain) translation. Where may I submit it?

    ;)

    Posted: 1 year ago #
  17. Hello all,

    Suport Forum is a great plugin, really! Thank you very much for that!

    One thing I'm wondering, why is the query "Support topics that are not resolved and are more than 2 hours old" and not "Support topics that are not resolved"? What does it mean with these 2 hours? Is it possible to adjust that?

    ps. The name of your plugin is little bit troublesome to search in Internet..

    Posted: 1 year ago #
  18. My guess is that unsolved topics younger than two hours still need to sit there a bit to see whether there is somebody who picks it up and solves it right away. Or whether the user comes back and declares it solved after RTFM. It does make sense, though the two-hour maturing time may be arbitrary. I can imagine anything between 10 minutes and 1 week. Less than 10 minutes isn't a Forum job, that means Hell Desk.

    Jeroen

    Posted: 1 year ago #
  19. Mmm, I agree and apologize.

    We would just use it for internal use, means not soo many tickets and therefore we would appreciate 10 minutes. Even I'm a 'sunny' stupid guy which should first start to think instead of talking, I've found the solution by myself. You just need to change line 392, 7200 = 2h, changed to 600 = 10min and of course the text below.

    Best regards
    pierig

    Posted: 1 year ago #
  20. I use this plugin and bbpress 1.a.6. Unfortunately, it makes me can't close a topic, stick a topic, and move a topic to other forum... why? is there anyone here that get same problem with me?

    Posted: 1 year ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.