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²
Version: 3.0.6
Last Updated: 2008-11-20
Requires bbPress Version: 0.9 or higher
Compatible up to: 0.9.0.2





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²
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
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.
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.
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
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.
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 ?
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....
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
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.
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
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/';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!!!
Thanks for the fix LidiaAnain. It's working perfectly now :)
You must log in to post.