vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Soccer Betting Game ("Fussball-Tippspiele") (https://vborg.vbsupport.ru/showthread.php?t=238043)

aryshi 03-28-2010 12:24 PM

Dear AA_
its woking fine with me, but sometimes when we open the forum we receive this error:

PHP Code:

Fatal errorCannot redeclare construct_matchbit() (previously declared in /home/xxx/public_html/xxx/vb/includes/functions_vbsoccer.php:44in /home/xxx/public_html/xxx/vb/includes/functions_vbsoccer.php on line 163 

please advise.

AA_ 03-28-2010 12:39 PM

Quote:

Originally Posted by jazan (Post 2011565)
Dear AA_
its woking fine with me, but sometimes when we open the forum we receive this error:

PHP Code:

Fatal errorCannot redeclare construct_matchbit() (previously declared in /home/xxx/public_html/xxx/vb/includes/functions_vbsoccer.php:44in /home/xxx/public_html/xxx/vb/includes/functions_vbsoccer.php on line 163 

please advise.

the function exists only once in functions_vbsoccer.php.
It is possible that another addon has a function with the same name ('construct_matchbit')?
you can check it?

AA_ 03-28-2010 12:45 PM

@murratti
this high cpu usage does not come from my addon. vbsoccer forum-block enabled?

murratti 03-28-2010 01:53 PM

vbsoccer forom blcok was enabled..but not now...its seems ok now...but still i m not sure what was the cause of it

evilTone 03-28-2010 02:20 PM

installed and nominated for MOTM

nice work fellah, very nice

GafferSports 03-28-2010 04:54 PM

Quote:

Originally Posted by AA_ (Post 2011554)
this is a problem for you?

btw (first post, FAQ):

I am not asking for a new league mate, i am asking if there is any news on a date for Scottish leagues.

And no, it is not a problem for me, it was a simple question

tavarish 03-28-2010 05:09 PM

AA_: Tried it live with Tippeligaen today, worked perfect :)

Thanks!!

AA_ 03-28-2010 05:14 PM

Quote:

Originally Posted by GafferSports (Post 2011721)
I am not asking for a new league mate, i am asking if there is any news on a date for Scottish leagues.

And no, it is not a problem for me, it was a simple question

The season begins in August 2010. now we have march. There are no dates for the new season.

AA_ 03-28-2010 05:16 PM

Quote:

Originally Posted by tavarish (Post 2011730)
... worked perfect :)

yes I know, I am the programmer :)

GafferSports 03-28-2010 05:43 PM

Quote:

Originally Posted by AA_ (Post 2011737)
The season begins in August 2010. now we have march. There are no dates for the new season.

Well then, that is the answer I was looking for. Now i know that there will be no Scottish competition until the new season, I shall stop pestering you :)

aryshi 03-28-2010 07:17 PM

Quote:

Originally Posted by AA_ (Post 2011572)
the function exists only once in functions_vbsoccer.php.
It is possible that another addon has a function with the same name ('construct_matchbit')?
you can check it?

No, i don't
could you please tell me, thanks

AA_ 03-28-2010 08:04 PM

Quote:

Originally Posted by jazan (Post 2011823)
No, i don't
could you please tell me, thanks

is APC (php opcode cache) installed? if so, then reload/restart the http-server.
if that does not work: what addons are installed?

madddenaddicto 03-28-2010 08:44 PM

Question!

1. I want to see what other people picked when the game started! How can I do this?
In admin panel I set it to show bets only, if matches are in progress or finished!

2. I also set Show betforecast to yes in admin panel!
How can I see how many users bet on which winning team?

NickyNet 03-29-2010 06:00 AM

1 Attachment(s)
Quote:

Originally Posted by madddenaddicto (Post 2011865)
Question!

1. I want to see what other people picked when the game started! How can I do this?
In admin panel I set it to show bets only, if matches are in progress or finished!


hi, to your 1st question

look at the screens.. those games are ended.
if game is in progres it will show a soccer ball
just click on it.

glen290 03-29-2010 08:07 AM

Can anybody provide the country flags, ready for the world cup ?

NickyNet 03-29-2010 08:25 AM

1 Attachment(s)
Quote:

Originally Posted by glen290 (Post 2012126)
Can anybody provide the country flags, ready for the world cup ?

go to your ACP League Manager choose world cup.. edit country... tick for the icon.. for each one... done :)

skol 03-29-2010 09:42 AM

1 Attachment(s)
World Cup Icons..

Enjoy :D


Attachment 114951

glen290 03-29-2010 10:17 AM

Sorted, cheers to you both.

Next question, may be difficult to explain.
Going to be running a World Cup prediction competition on my site where users wanting to join pay an entry fee to play and win a prize at end.
Is it possible to give permissions to play this league only for a certain usergroup ?

AA_ 03-29-2010 10:45 AM

Quote:

Originally Posted by glen290 (Post 2012165)
Is it possible to give permissions to play this league only for a certain usergroup ?

no.

AA_ 03-29-2010 10:57 AM

changes:
-----------

* fix: cronjob (too much unnecessary data service requests / incorrect evaluation of the last update timestamp)
* fix: season display (Norwegian Tippeligaen: 2010/2011 instead of 2010)
* added: menu-icon norway (needed for Tippeligaen)
* translated team names in team-list (team manager)
* minor improvements


oh. this update is sponsored and motivated by ... drum-roll ... tavarish :D

Sancipa 03-29-2010 12:21 PM

im still waiting the bigger updates AA :D

btw, thanks for the update

AA_ 03-29-2010 12:29 PM

this update is very important and strongly recommended!

nikosb 03-29-2010 01:38 PM

thanks for the update !!

Delilahs 03-29-2010 01:41 PM

AA_

Would it be possible in forum blocks to auto change the League that is being shown? so it changes every 30 minutes on forum block?

glen290 03-29-2010 03:03 PM

probably a silly question, but when i update, I wont lose any data in there will I ?
And how do i upgrade, just upload new files and re import the xml file ?

Delilahs 03-29-2010 03:38 PM

Glen, just upload all the files and re-import the xml file and tick the allow overwrite option.

works a dream and you lose no data

tavarish 03-29-2010 03:39 PM

update worked like a dream :)

vbgser 03-29-2010 08:32 PM

its a great addon, thank you,
it wil be great if you add the Algerian national league, hier is an exemple:
http://www.fifa.com/associations/ass...e/results.html

AA_ 04-02-2010 07:48 AM

1.4.5 english SHA1 Checksum: f611017b15074ea4c54cd23037e52edc1b2d0e74
1.4.5 german SHA1 Checksum: 96bc3381cedc9d7464075d8d249e8e7c164a97da

Tip: Use the SHA1 checksum shown to verify file integrity.

changes
----------
* fix: sorting does not work (overall ranking, sort columns)
* fix: right-to-left bug (league headers with league icons)
* fix: line breaks in league descriptions
* many (extensive) design changes / corrections
* minor improvements

nikosb 04-02-2010 08:16 AM

thanks AA

willy888 04-02-2010 08:36 AM

Great mod

Sancipa 04-02-2010 11:59 AM

updated :D

Delilahs 04-02-2010 03:01 PM

AA_

When we display 'Total Rankings' can you do it so we can select that the current month is the default list?

cheer. ;)

AA_ 04-02-2010 05:10 PM

Quote:

Originally Posted by Delilahs (Post 2014684)
AA_

When we display 'Total Rankings' can you do it so we can select that the current month is the default list?

cheer. ;)

find in vbsoccer.php:

PHP Code:

$ymlimit  $dt->format('Y-m-t 23:59:59'); 

add this below:

PHP Code:

if (empty($vbulletin->GPC['year'])
    AND empty(
$vbulletin->GPC['month']))
{
    
$vbulletin->GPC['month'] = $dt->format('n');


btw: good idea :)

AA_ 04-02-2010 07:16 PM

1 Attachment(s)
quickfix: incomplete page title (included in next update (> 1.4.5))

step 1:

find in vbsoccer.php:

PHP Code:

$templater->register('HTML'$HTML); 

below add:

PHP Code:

$templater->register('headtitle'strip_tags($headtitle)); 


step 2:

find in template 'vbsoccer_shell'

HTML Code:

<title>{vb:rawphrase vbsoccer} - {vb:raw vboptions.bbtitle}</title>
replace with:

HTML Code:

<title>{vb:rawphrase vbsoccer} - {vb:raw headtitle} - {vb:raw vboptions.bbtitle}</title>

done :)

BiZiMDiYaR 04-02-2010 07:35 PM

Hi,

Ok, this should be a silly question.. but why am I not seeing the download link ? So strange, as it happend the first time also, but then it suddenly showed.

p.s. yes I am registered and yes I have license :) It says like below :)

Download Now

No Files Uploaded.

AA_ 04-02-2010 07:45 PM

Quote:

Originally Posted by BiZiMDiYaR (Post 2014795)
Hi,

Ok, this should be a silly question.. but why am I not seeing the download link ? So strange, as it happend the first time also, but then it suddenly showed.

p.s. yes I am registered and yes I have license :) It says like below :)

Download Now

No Files Uploaded.

this is a error in this forum: https://vborg.vbsupport.ru/showthread.php?t=239597
I can not upload files in the thread.

The downloads can be found here: https://vborg.vbsupport.ru/showpost....&postcount=309


// edit: now I was able to upload files in first post

Delilahs 04-02-2010 08:33 PM

All done and works a treat, Cheers AA_ :)

Quote:

Originally Posted by AA_ (Post 2014735)
find in vbsoccer.php:

PHP Code:

$ymlimit  $dt->format('Y-m-t 23:59:59'); 

add this below:

PHP Code:

if (empty($vbulletin->GPC['year'])
    AND empty(
$vbulletin->GPC['month']))
{
    
$vbulletin->GPC['month'] = $dt->format('n');


btw: good idea :)


Bacon Butty 04-03-2010 08:35 AM

Guys the World Cup seems to have vanished from the 'Add Leagues'?

It was there Yesterday...

Other than that, Looks great. Rated 5 stars and voted in mod of the month.

AA_ 04-03-2010 08:48 AM

Quote:

Originally Posted by Bacon Butty (Post 2015047)
Guys the World Cup seems to have vanished from the 'Add Leagues'?

It was there Yesterday...

Other than that, Looks great. Rated 5 stars and voted in mod of the month.

world cup = "FIFA WM 2010"


All times are GMT. The time now is 10:58 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.02552 seconds
  • Memory Usage 1,845KB
  • 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
  • (2)bbcode_html_printable
  • (8)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete