vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Incorporate Existing Header & Footer into New Website Page (https://vborg.vbsupport.ru/showthread.php?t=327862)

alfuzzy 02-28-2020 07:20 PM

Incorporate Existing Header & Footer into New Website Page
 
Need some big time help...hopefully I can explain things properly.

What I'm doing is putting together a Privacy Policy for my vB4 website. I have a privacypolicy.html file completed...and what I would like to do is take this privacypolicy.html document and incorporate it with the websites current header and custom footer...so the completed "Privacy Policy" page looks & feels like the rest of the website (with the same header & custom footer).

I'm not really sure how to do this. I'm tried some various things (trial & error)...but not having much luck.

Can anyone please explain how I would go about doing this?

Thanks:)

snakes1100 02-29-2020 09:35 AM

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

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

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

Little searching helps.

alfuzzy 02-29-2020 10:38 AM

Quote:

Originally Posted by snakes1100 (Post 2602212)
Little searching helps.

Thanks for the links snakes1100.

None of the links confirms if the mods work with vB 4.2.5. The first link is from 2004...and I'm not sure it would work with vB4 at all.

snakes1100 02-29-2020 11:01 AM

1st link fixed.

alfuzzy 02-29-2020 11:09 AM

Quote:

Originally Posted by snakes1100 (Post 2602214)
1st link fixed.

Thanks. I did find the "4th" link after reading threw the 3 original links.:)

Looks like the process of creating your own vB page is still a bit more complex than I may be able to handle (still not enough step-by-step details for me to figure it out). Lol

Guess I wil have to go with my "Plan B"...and duplicate the "look" of my vB4 pages with html & CSS.

Thanks

snakes1100 02-29-2020 11:16 AM

Use easy pages then.

alfuzzy 02-29-2020 05:59 PM

I noticed in my vB AdminCp>>Style Manager...there's a template called "Generic_Shell".

I don't know if this is a template that comes with a standard install of vB4...or if someone in the past made it for quick template making.

Here's the code that's in the "Generic_Shell" template:

{vb:stylevar htmldoctype}
<html xmlns="//www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="//www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>

{vb:raw headinclude}
<title>{vb:raw pagetitle}</title>

<vb:if condition="$includecss">
<vb:if condition="$vboptions['storecssasfile']">
<vb:each from="includecss" value="file">
{vb:cssfile {vb:raw file}}
</vb:each>
<vb:else />
{vb:cssfile {vb:raw includecss}}
</vb:if>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

{vb:raw HTML}

{vb:raw footer}

</body>
</html>

Is this something I could use to make a new pages on my vB site...or is there a lot more to it?

Thanks

PinkMilk 03-02-2020 08:18 PM

1 Attachment(s)
Quote:

Originally Posted by alfuzzy (Post 2602223)
I noticed in my vB AdminCp>>Style Manager...there's a template called "Generic_Shell".

I don't know if this is a template that comes with a standard install of vB4...or if someone in the past made it for quick template making.
.
.

Is this something I could use to make a new pages on my vB site...or is there a lot more to it?

Thanks

That code is basically from part 2 of the 1st link [HOW TO - vB4] Create your own vBulletin page but yes it is a basic generic starter template.


Quote:

Originally Posted by alfuzzy (Post 2602215)
Looks like the process of creating your own vB page is still a bit more complex than I may be able to handle (still not enough step-by-step details for me to figure it out). Lol

Check out the images I've uploaded for a visual how to.

I've also created a privacy.php file for you, no need to edit just download and upload to your root folder I.E where your index.php file resides.

Once this is done goto

Settings > Options > Site Name / URL / Contact Details

Scroll down to "Privacy Statement URL" and enter privacy.php and save.

Now you should see a Privacy Statement link in your footer.


All times are GMT. The time now is 11:24 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.00966 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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