vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Viewing Website Within A Module (https://vborg.vbsupport.ru/showthread.php?t=172572)

SuthernKumfort 03-09-2008 11:44 PM

Viewing Website Within A Module
 
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/showthrea...ght=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/TF2...itiveClan.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 [DATE]1205122855[/DATE] at [TIME]1205122855[/TIME] ---------------

As far as I can see you need to edit the Custom Template
Code:

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

Quote:

Originally Posted by SuthernKumfort (Post 1461143)
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/TF2...itiveClan.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

Quote:

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


All times are GMT. The time now is 02:25 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.00993 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete