Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2020, 07:20 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-29-2020, 09:35 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 02-29-2020, 10:38 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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.
Reply With Quote
  #4  
Old 02-29-2020, 11:01 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st link fixed.
Reply With Quote
  #5  
Old 02-29-2020, 11:09 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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
Reply With Quote
  #6  
Old 02-29-2020, 11:16 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use easy pages then.
Reply With Quote
  #7  
Old 02-29-2020, 05:59 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-02-2020, 08:18 PM
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Location: Earth
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alfuzzy View Post
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 View Post
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.
Attached Images
File Type: jpg step1and2.jpg (39.8 KB, 0 views)
File Type: jpg step3and4.jpg (41.2 KB, 0 views)
File Type: jpg step5-results.jpg (62.3 KB, 0 views)
Attached Files
File Type: php privacy.php (1.6 KB, 1 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07544 seconds
  • Memory Usage 2,261KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (4)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete