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...


All times are GMT. The time now is 06:44 AM.

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.00998 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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