vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I add a tab for custom content? (https://vborg.vbsupport.ru/showthread.php?t=313697)

K4GAP 08-15-2014 06:04 PM

I tried to show the page just on the Article page and it works but, with the side bar it's to wide. Without the side bar it would be ok.

I simply chose "Create static page" from the drop down menu and added the page by calling for the page I had the iframe code in. This is the page within the iframe code. It scales down as it is not a fixed width so it blends nicely.

Have I included to much or not enough info?

Lynne 08-15-2014 06:55 PM

You cannot link to some page with html/php and get it to show 'within' a vbulletin layout unless you use the method I linked you to.

If you want to put the html into a Static Page, but you don't want any widgets on the page, create a new Section and create a Grid, then Layout from that Grid, that is 100% wide and has no widgets on it.

K4GAP 08-15-2014 09:42 PM

Thanks Lynne
I'll see what I can do.

Ba'al 08-17-2014 06:16 AM

Quote:

Originally Posted by K4GAP (Post 2511382)
Lynne the problem is when I create a navtab and link it to the custom page, it opens in a new window. I want it to open within the framework of vbulletin.

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

thetechgenius 08-17-2014 06:36 PM

1 Attachment(s)
If you want your custom page to show within your vB style, let me know, I created some custom code, and a custom templates for just this. And I can even make it work with "Who's Online". So when a user is veiwing your custom page, he/she will show up on "Who's Online" saying they are Viewing/Using your custom page.

And you can make multiple custom pages and templates for other custom pages.

PM Me, and I will give you the code, and the instructions on how to do it. I can also give you a Demo, because I did this on my forum.


Here is a Demo, its my DMCA Policy (Digital Media Copyright Act.) page.
https://thetechgenius.net/dmca.php

I have 2 other custom pages also, but you can only view the content of the other pages if you are Signed in.

Edit: I attached a screenshot to show you that the page works with "Who's Online".

cellarius 08-17-2014 06:45 PM

And how is that method different or superior to Lynne's time proven tutorial?


All times are GMT. The time now is 09:14 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.01030 seconds
  • Memory Usage 1,727KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete