PDA

View Full Version : Viewing Website Within A Module


SuthernKumfort
03-09-2008, 11:44 PM
I have a gaming clan website. I am wanting to create a module where I can view this website within the actual module.

http://wmdgaming.hlstatsx.com/?mode=clans&game=tf

Its a statistical website. Can someone give me to code to where I can do this?

Soko

volitian
03-10-2008, 12:38 AM
Hiya matey, checkout this AJAX Plugin for CMPS, Amazing!

https://vborg.vbsupport.ru/showthread.php?t=154653&highlight=vbadvanced

SuthernKumfort
03-10-2008, 01:48 AM
OK, have it installed but cannot figure out how to get infomation from another site to shop up! here is an example of what I am wanting to do:

http://www.teamfortress2fort.com/TF2FCompetitiveClan.aspx

If you look there, the part in the middle in blue is actually information pulled from another site. How do I add that same information to ours?

volitian
03-10-2008, 03:05 AM
well if your using asp pages you should beable to load in frame, but because vb has all the info in the templates there is more linking involved.. I will look into it now for you, but im sure one of these guys or gals will know..

Was there anything about it in the readme?

--------------- Added 1205122855 at 1205122855 ---------------

As far as I can see you need to edit the Custom Template adv_portal_Tab_Block_Main and add the URLs you wish to display..

I read also that the external content needs to be on the same domain, but im sure it can be edited to open a full external url..

bobster65
03-10-2008, 01:42 PM
OK, have it installed but cannot figure out how to get infomation from another site to shop up! here is an example of what I am wanting to do:

http://www.teamfortress2fort.com/TF2FCompetitiveClan.aspx

If you look there, the part in the middle in blue is actually information pulled from another site. How do I add that same information to ours?

I released version 2 of AJAX Tabs and there is a better option for I-FRAME (which would be what you need to do since its from an external source) ..

https://vborg.vbsupport.ru/showthread.php?t=161197

(v 2.0) Apart from Ajax, an external page can also be fetched and displayed via the IFRAME element instead. This is useful for external pages that either contain JavaScript/ CSS code that doesn't run properly when fetched via Ajax, or the page is from an outside domain.

soulnothing
09-22-2009, 07:57 AM
easiest way is to use iframes

go to add module or add page select bbcode turn on only html

<iframe src ="YOUR HLSTATS URL HERE" width="100%" height="900">
<p>Your browser does not support iframes.</p>
</iframe>