PDA

View Full Version : vBulletin CMS Widgets - English Prem League Fantasy Football Widget


starman?
08-11-2010, 10:00 PM
This is so ridiculously easy, I don't know why it's not been done before. Basically this widget runs the mobile version of the official Barclays English Premiership Fantasy Football website in an iframe that can either sit in a CMS widget or Sidebar block. Your choice. You can change your team, view the leagues etc etc. The benefit of course is that your members don't leave your site.

1) Create an html static widget - call it whatever you want, save it and then configure it by pasting this code in;

<iframe src ="http://m.fantasy.premierleague.com/" width="98%" height="410">
<p>Your browser does not support iframes.</p>
</iframe>

2) You're done.

Note: You can change the width and height by changing their values but the ones in the code work for me.

Demo: Bottom right of sidebar. http://www.sublimeportal.com/forums/forum.php

Now, if you've thought that was easy then think about what you can do with other mobile versions of websites. The BBC comes to mind. Enjoy

ProFifaLeagues
08-12-2010, 10:13 AM
Great thanks will come in handy for our members!

starman?
08-12-2010, 03:20 PM
Apart from your members from Derby?;)

ProFifaLeagues
08-12-2010, 04:45 PM
lol cheers pal :)

What other things like this are possible mate in the i frames???

starman?
08-18-2010, 02:20 AM
For a widget like this, basically any site that has a mobile version intended for mobile phones. The graphic content is low and therefore not resource heavy and will sit easily in the iframe. Try changing the iframe src url and have a play. Here is a link (http://news.bbc.co.uk/weather/mobile/) to the BBC Mobile weather service.

ProFifaLeagues
08-18-2010, 06:48 AM
Gonna have a play around Cheers Starman!

starman?
08-18-2010, 08:47 AM
and another one for the mobile version of wikipedia (http://mobile.wikipedia.org/index.php?)

Miss Chatterbox
08-19-2010, 08:48 AM
Love this idea! Have already used it for a variety of sites! Thank you so much! :)

Oh & eBay UK is a good one: http://wap.ebay.co.uk/?aidZ=

Da-Vinci
08-23-2010, 12:13 PM
I had a problem with the Premiership iFrame because I use a dark Skin and a lot of the Fanatasy league background was transparent, so I added this to the iFrame to sort it out.

<div style="background-color:white;width:98%"><iframe src ="http://m.fantasy.premierleague.com/" width="98%" height="410">
<p>Your browser does not support iframes.</p>
</iframe>
</div>

And here's another idea for an iFrame.

http://m.facebook.com/

starman?
09-30-2010, 12:27 PM
Excellent and thanks.

Jonm
12-05-2011, 02:32 PM
great mod... working but doesn't look like yours... but it works

http://www.staffs-vw.co.uk/

Check it out folks...

starman?
12-06-2011, 04:37 AM
great mod... working but doesn't look like yours... but it works

http://www.staffs-vw.co.uk/

Check it out folks...

That's because it's a new site design from last year. Perhaps you can post a more recent image for us.

Moon Moose
10-23-2013, 10:55 AM
perfect