vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to embed an outside website into CMS (https://vborg.vbsupport.ru/showthread.php?t=238140)

DFW Auto Club 03-13-2010 12:19 AM

How to embed an outside website into CMS
 
I've seen this done on other websites just not sure where to start. I'm trying to embed a website with a totally different domain into a CMS section with full navigation functionality. Possible?

donottumbledry 03-14-2010 12:33 PM

You would probably have to use an iframe. If you want to do it inside a template then either modiy and existing one or create your own.

Second option is to perhaps enable HTML in the CMS side of your website. This is very dangerous though and I would only enable HTML for yourself only. Ensure your account password is strong though as you don't want someone hacking your account and inserting malicious code into your CMS.

Anways... enough of teaching granny to suck eggs :o

Once HTML is enabled you can insert an iframe directly into the CMS content as you wish.

I would however advise strong caution as any links that are clicked in the external website could easily 'break' your site. Any hyperlink with the target attribute set to "top" or "parent" would instantly meant the URL executing in the main browser window rather than the iframe and therefore moving your visitors away from your vbulletin website and just onto the website linked to in the iframe.

Hope that helps.

rootsxrocks 06-23-2011 05:47 PM

Quote:

Originally Posted by donottumbledry (Post 2003382)
You would probably have to use an iframe. If you want to do it inside a template then either modiy and existing one or create your own.

Second option is to perhaps enable HTML in the CMS side of your website. This is very dangerous though and I would only enable HTML for yourself only. Ensure your account password is strong though as you don't want someone hacking your account and inserting malicious code into your CMS.

Anways... enough of teaching granny to suck eggs :o

Once HTML is enabled you can insert an iframe directly into the CMS content as you wish.

I would however advise strong caution as any links that are clicked in the external website could easily 'break' your site. Any hyperlink with the target attribute set to "top" or "parent" would instantly meant the URL executing in the main browser window rather than the iframe and therefore moving your visitors away from your vbulletin website and just onto the website linked to in the iframe.

Hope that helps.

Yep that happened to me when I tried to do a favor for a new local site, he purposly changed the code to do this and since will never be "trusted again"


All times are GMT. The time now is 03:52 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.01025 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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