View Full Version : Weird Post per day message
aj8690
07-16-2007, 10:18 PM
I have it set so members have to do 2 posts per day to play games. This is the message they get:
You have to do <#EXTRA#> posts in the forum per day to play a game.
2
It just started happening after the upgrade. I hope there's an easy fix. :)
THANKS!
MrZeropage
07-17-2007, 06:19 AM
oops, this is a small bug *damn*
upload the attached file to /arcade/functions/ and let me know if this is fixed then :)
aj8690
07-17-2007, 02:11 PM
Now when I go to the arcade home I get this message on a white page:
Parse error: syntax error, unexpected '{' in /home/aj8690/public_html/forum/arcade/functions/functions.php on line 1091
Thanks for your help! :)
EnIgMa1234
07-17-2007, 02:46 PM
Here's the code from that line
$msg = $ibforums->lang[ $error['MSG'] ];
if ($error['EXTRA'])
{
if (preg_match("/<#EXTRA#>/", $error['EXTRA'])
{
$msg = preg_replace( "/<#EXTRA#>/", $error['EXTRA'], $msg );
}
else
{
$msg .= "<br /><br />".$error['EXTRA'];
}
}
$html = $skin_universal->Error( $msg, $em_1, $em_2);
//-----------------------------------------
// If we're a guest, show the log in box..
//-----------------------------------------
MrZeropage
07-17-2007, 02:51 PM
ooops, sorry, I should not change the php-code "on the fly" while being in office without testing it ;)
Here is a new file, should work now ...
aj8690
07-17-2007, 03:36 PM
With that file I am back to where I was in the first place.
You have to do <#EXTRA#> posts in the forum per day to play a game.
2
Sorry to be so much trouble. Thanks a lot for your help!
MrZeropage
07-17-2007, 06:20 PM
this is not trouble, but bugfixing ;)
I see a logical mistake, try this 3rd edition please ;)
I bet 5$ that is works now :D
aj8690
07-17-2007, 11:40 PM
IT WORKS!
Haha.
Thanks so much for all of your hard work! :D :D :) :D
MrZeropage
07-18-2007, 08:06 AM
so this is the first fix for v2.6.3+ *lol*
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.