vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Custom Soccer Livescore Page (https://vborg.vbsupport.ru/showthread.php?t=166168)

Adam21 12-25-2007 10:00 PM

Custom Soccer Livescore Page
 
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:
Code:

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

<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

Quote:

Originally Posted by Magnumutz (Post 1409513)
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

Quote:

Originally Posted by Magnumutz (Post 1409524)
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

Quote:

Originally Posted by Lombardo (Post 1417147)
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

Quote:

Originally Posted by Lombardo (Post 1417097)
can you select the leagues that it shows?

Anyone?

7lanet 02-22-2008 03:10 AM

thanks

UltraFanatics 02-27-2008 05:26 PM

Quote:

Originally Posted by UltraFanatics (Post 1443931)
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

Quote:

Originally Posted by wrestlepower (Post 1542399)
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

Quote:

Originally Posted by cesar829 (Post 1547847)
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:
Quote:

Originally Posted by Adam21 (Post 1547990)
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

Quote:

Originally Posted by jpfdeuce (Post 1541726)
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

Quote:

Originally Posted by honcho (Post 1669541)
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

Quote:

Originally Posted by honcho (Post 1673287)
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

Quote:

Originally Posted by columbonet (Post 1970811)
Any plans to update this for 4.0?

yeah would be nice


All times are GMT. The time now is 05:02 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.02825 seconds
  • Memory Usage 1,815KB
  • 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_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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