vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Weird Post per day message (https://vborg.vbsupport.ru/showthread.php?t=152467)

aj8690 07-16-2007 10:18 PM

Weird Post per day message
 
I have it set so members have to do 2 posts per day to play games. This is the message they get:

Quote:

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

1 Attachment(s)
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:

Quote:

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
PHP Code:

        $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

1 Attachment(s)
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.

Quote:

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

1 Attachment(s)
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*


All times are GMT. The time now is 11:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01131 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete