PDA

View Full Version : Mini Mods - Custom Soccer Livescore Page


Adam21
26 Dec 2007, 16:56
This will put a soccer livescore page in your site.The livescores updates are provided for free by 7m.cn and works with 3.7b3 and below! :)

Goals notifications are instantaneous and there's a huge selection of matches for you to choose from.Here's the demo link:
http://free.7m.cn:8070/demo.aspx?encode=en

Installation time: Less than 3minutes
File Uploads: 1
Files Edits: None
Template Edits: 1

Step 1
In your Admincp,go to your Style Manager,select the style where you wish to display the livescore page,then click Add New Template

Step 2
Copy and paste inside all the contents of the livescore template.txt attached inside the folder below into this new template.

Name this new template livescore

(Optional)Step 3
To have a link in your navbar to this new livescore page,

In your Admincp,Style Manager,Edit Templates

Find in template navbar:
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>

Add the following below:
<td class="vbmenu_control"><a href="livescore.php$session[sessionurl_q]">Livescore</a></td>

To have this link in your vBookie main page,in your vBookie templates,add the above inside the vbookie_header template with the rest of the links

Step 4
Upload the file livescore.php to your forum root directory

To customise Ads,banners and so on in the livescore Body,please read the below link for more info
http://free.7m.cn:8070/apply_en.aspx

That will be all!Enjoy!:)

Magnumutz
26 Dec 2007, 16:59
VERY good hack, but you GOT to add the Romanian league there !

Adam21
26 Dec 2007, 17:08
VERY good hack, but you GOT to add the Romanian league there !

It only displays today's/tomorrow matches and the updates are provided by the free script.

Magnumutz
26 Dec 2007, 17:18
I see... soo, when the Romanian league will resume, it'll start showing those matches as well, huh?

Adam21
27 Dec 2007, 09:56
I see... soo, when the Romanian league will resume, it'll start showing those matches as well, huh?

Yes,that is correct.:)

Magnumutz
27 Dec 2007, 18:10
Great man, thanks !!
*Installed*

Bounce
27 Dec 2007, 20:48
:up: *installs*

st1905
04 Jan 2008, 13:18
Installed and its awesome.

Lombardo
07 Jan 2008, 13:16
can you select the leagues that it shows?

and also can you give me an idea of what template to add this too?

Lombardo
07 Jan 2008, 15:03
I uploaded the php file and created a new template and put the button in the navbar but when i press that it takes me to a blank page....can someone help please...

Adam21
23 Jan 2008, 07:57
I uploaded the php file and created a new template and put the button in the navbar but when i press that it takes me to a blank page....can someone help please...

its either your .htaccess file in your root or the link u click was invalid(pointed to a no file location)

UltraFanatics
15 Feb 2008, 20:05
can you select the leagues that it shows?


Anyone?

7lanet
22 Feb 2008, 04:10
thanks

UltraFanatics
27 Feb 2008, 18:26
Anyone?

Can you select the leagues that it shows?

AndrewC1971
29 Feb 2008, 18:52
any way of changing the time to UK GMT

sebsta
05 Jun 2008, 05:27
How would I get the navbar to still show?

DW, worked it out. Had to add '$navbar' to the template.

jpfdeuce
05 Jun 2008, 18:58
This is a FANTASTIC Mod -- but... Well, can it be modded for scores of other sports? meaning the North American sport leagues (MLB, the NFL, the NHL, NBA, etc?

jpfdeuce
05 Jun 2008, 19:39
OK, just to note, I tried installing this (just for a test) on my forums. I am on 3.7.1 and I am receiving only a blank page when I visit forums/livescore.php

edit" Working now.

wrestlepower
06 Jun 2008, 16:31
i realise the scores are coming in from another site, and as such are possibly outside of the control of the mod author. Still, it would be extremely beneficial to have the matches showing in GMT or the user's local time. Also, again down to the outside content, but it isn't showing the Euro2008 matches starting tomorrow, which is the main reason for me installing it.

Edit: Just realised it's showing as unsupported. Guess i'll just have to uninstall.

socalrico
06 Jun 2008, 17:37
Thanks! Works great!

jpfdeuce
06 Jun 2008, 18:42
i realise the scores are coming in from another site, and as such are possibly outside of the control of the mod author. Still, it would be extremely beneficial to have the matches showing in GMT or the user's local time. Also, again down to the outside content, but it isn't showing the Euro2008 matches starting tomorrow, which is the main reason for me installing it.

Edit: Just realised it's showing as unsupported. Guess i'll just have to uninstall.

For the sake of sayign so, the URL provided with the isntall info at the top of the mod post lets you customize the page that shows up with time zone and URL and such.

Even without it, it can be added via the script in the livescore template.

oBEAVISo
08 Jun 2008, 09:25
All i am getting is a blank white page at forums/livescore.php

Any ideas?

Also, even though the english premiership is not on at the moment will premiership games show once the new season gets underway?

cesar829
12 Jun 2008, 19:08
I didn't have no problem with the installation and it works great. But my top and nav bars are not there when I'm in livescore.php

Adam21
12 Jun 2008, 22:52
I didn't have no problem with the installation and it works great. But my top and nav bars are not there when I'm in livescore.php

Just add $navbar at the top or anywhere in the template you put the livescore codes.

tme_power
14 Jun 2008, 04:32
I want show Ero-2008 only
Help me

cesar829
15 Jun 2008, 01:14
:up:Just add $navbar at the top or anywhere in the template you put the livescore codes.

It worked. Thank you...:)

honcho
20 Nov 2008, 19:58
OK, just to note, I tried installing this (just for a test) on my forums. I am on 3.7.1 and I am receiving only a blank page when I visit forums/livescore.php

edit" Working now.

in only getting this white page how did you fix this please

rob01
21 Nov 2008, 00:09
i only get this error 非常抱歉,页面遇到问题,无法正常显示,请刷新重试
in your website.. it says i should try again, but still dosnt work :(

great mod for chinese websites xD

xie xie


edited: nvm it works now

cheers

honcho
26 Nov 2008, 12:45
in only getting this white page how did you fix this please

anyone got a idea on how to fix this please

Adam21
27 Nov 2008, 09:34
anyone got a idea on how to fix this please

u can give me your site url so that i can took a look.and also may i see your livescore.php file pls?

honcho
19 Dec 2008, 10:14
all sorted now thanx to coder many thanx and nominated as this is a tiptop hack bro

taffy056
21 Dec 2008, 19:22
how do you get this to popup in a separate page please?

Thanks

momo2
21 Dec 2008, 20:23
I did everything right, but i get blank page.. php uploaded to root made a new tamplate for my fav skin, also added a navr bar but no luck !!!

Kimberley
08 Jan 2009, 11:51
Everything works fine its just its not in english is there a way to make it show up in english?

geevest.com
01 Mar 2009, 18:13
its work for vb 3.8.1 version?

mgcom
24 Oct 2009, 15:53
it works in 3.8

great hack thanks

ProFifaLeagues
25 Oct 2009, 22:16
working fine in 3.8.4 thanks

columbonet
30 Jan 2010, 22:36
Any plans to update this for 4.0?

chrisbeau
03 Feb 2010, 23:32
Is the english premier league on it, its very hard to find if it is.

mgcom
20 Apr 2010, 16:39
Any plans to update this for 4.0?

yeah would be nice

ProFifaLeagues
24 Apr 2010, 20:54
Be great to have it on 4.3