PDA

View Full Version : Mini Mods - Custom Soccer Livescore Page


Adam21
12-25-2007, 10:00 PM
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
12-26-2007, 03:59 PM
VERY good hack, but you GOT to add the Romanian league there !

Adam21
12-26-2007, 04:08 PM
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
12-26-2007, 04:18 PM
I see... soo, when the Romanian league will resume, it'll start showing those matches as well, huh?

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

Yes,that is correct.:)

Magnumutz
12-27-2007, 05:10 PM
Great man, thanks !!
*Installed*

Bounce
12-27-2007, 07:48 PM
:up: *installs*

st1905
01-04-2008, 12:18 PM
Installed and its awesome.

Lombardo
01-07-2008, 12:16 PM
can you select the leagues that it shows?

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

Lombardo
01-07-2008, 02:03 PM
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
01-23-2008, 06:57 AM
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
02-15-2008, 07:05 PM
can you select the leagues that it shows?


Anyone?

7lanet
02-22-2008, 03:10 AM
thanks

UltraFanatics
02-27-2008, 05:26 PM
Anyone?

Can you select the leagues that it shows?

AndrewC1971
02-29-2008, 05:52 PM
any way of changing the time to UK GMT

sebsta
06-05-2008, 04:27 AM
How would I get the navbar to still show?

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

jpfdeuce
06-05-2008, 05:58 PM
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
06-05-2008, 06:39 PM
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-06-2008, 03:31 PM
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-06-2008, 04:37 PM
Thanks! Works great!

jpfdeuce
06-06-2008, 05:42 PM
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
06-08-2008, 08:25 AM
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
06-12-2008, 06:08 PM
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
06-12-2008, 09:52 PM
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
06-14-2008, 03:32 AM
I want show Ero-2008 only
Help me

cesar829
06-15-2008, 12:14 AM
:up:Just add $navbar at the top or anywhere in the template you put the livescore codes.

It worked. Thank you...:)

honcho
11-20-2008, 06:58 PM
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
11-20-2008, 11:09 PM
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
11-26-2008, 11:45 AM
in only getting this white page how did you fix this please

anyone got a idea on how to fix this please

Adam21
11-27-2008, 08:34 AM
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
12-19-2008, 09:14 AM
all sorted now thanx to coder many thanx and nominated as this is a tiptop hack bro

taffy056
12-21-2008, 06:22 PM
how do you get this to popup in a separate page please?

Thanks

momo2
12-21-2008, 07:23 PM
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
01-08-2009, 10:51 AM
Everything works fine its just its not in english is there a way to make it show up in english?

geevest.com
03-01-2009, 05:13 PM
its work for vb 3.8.1 version?

mgcom
10-24-2009, 02:53 PM
it works in 3.8

great hack thanks

ProFifaLeagues
10-25-2009, 09:16 PM
working fine in 3.8.4 thanks

columbonet
01-30-2010, 09:36 PM
Any plans to update this for 4.0?

chrisbeau
02-03-2010, 10:32 PM
Is the english premier league on it, its very hard to find if it is.

mgcom
04-20-2010, 03:39 PM
Any plans to update this for 4.0?

yeah would be nice

ProFifaLeagues
04-24-2010, 07:54 PM
Be great to have it on 4.3