PDA

View Full Version : Header/Footer Integration to Custom Website


dmm2020
06-06-2010, 03:48 AM
I have searched right and left.

I want to dynamically use the vBulletin header and footer in a custom website I am using for licensing of our software. I DO NOT want to have it as a "page within vBulletin", but the website entirely separate using just the header, navbar, and footer. Now any pointers where I can do this?

Marco van Herwaarden
06-06-2010, 08:34 AM
You will need to integrate the vBulletin functions, like global.php in order to use the vBulletin template system, which is used to display the header/footer.

dmm2020
06-06-2010, 12:25 PM
That is still french to me and I only speak english.

Is there an example of how to do it somewhere? Specifically drawing the header, nav, bottom nav, and footer over?

Marco van Herwaarden
06-06-2010, 02:06 PM
You will need to follow the instructions you did not want to follow. ;)

dmm2020
06-06-2010, 02:12 PM
What instructions? Where? That is exactly what I have been asking for and so far only got a run around. I would love to see a link where the actual how to instructions are located at.

Speysider
06-06-2010, 02:34 PM
You will need to integrate the vBulletin functions, like global.php in order to use the vBulletin template system, which is used to display the header/footer.
Don't see how that is so difficult to understand.

dmm2020
06-06-2010, 02:37 PM
global.php is a set of instructions?

That file is french to me. You are assuming that I have detailed knowledge on how this file functions.

What is so friggin hard for you guys to post an example on how that is implemented? I am new to vBulletin and do not yet understand the syntax and asking questions but getting canned responses or beat around the bush responses.

borbole
06-06-2010, 03:14 PM
global.php is a set of instructions?

That file is french to me. You are assuming that I have detailed knowledge on how this file functions.

What is so friggin hard for you guys to post an example on how that is implemented? I am new to vBulletin and do not yet understand the syntax and asking questions but getting canned responses or beat around the bush responses.

One hint, if you will want to receive support here you should drop the attitude and start show a bit more appreciation to those that make time to help you.

What Marco told you makes perfect sense, you will need to include the global.php file in order to achive what you want. And that is a very good help as it pointed you in the right direction. Now, if that wasn''t enough help for you, then you could have expressed yourself better rather than sounding irritating and ungrateful for the help Marco gave you.

You must understand that everyone that provides support here does that in their free time. And when people develop attitude then it puts them off from helping you further. At least it put me off. Even I know the answer to this I will not be telling you. Let this be a lesson in manners to you :)

dmm2020
06-06-2010, 03:35 PM
One hint, if you will want to receive support here you should drop the attitude and start show a bit more appreciation to those that make time to help you.

What Marco told you makes perfect sense, you will need to include the global.php file in order to achive what you want. And that is a very good help as it pointed you in the right direction. Now, if that wasn''t enough help for you, then you could have expressed yourself better rather than sounding irritating and ungrateful for the help Marco gave you.

You must understand that everyone that provides support here does that in their free time. And when people develop attitude then it puts them off from helping you further. At least it put me off. Even I know the answer to this I will not be telling you. Let this be a lesson in manners to you :)

The posts Marco did might make sense to someone who has extensive experience with vB to start with. That file makes absolutely no sense whatsoever as far as importing a header/footer to a custom website as written. There are NO instructions on how to do that with that file.

And when I get beat around the bush kind of responses, you know...I would rather have no response because it's no help. I was told to follow the instructions....but question I asked and see asked in several posts, not just my own, is what instructions...where are they?

I think lessons learned need to be learned by everyone starting from top down. This is supposed to be an "official" vB support forum. We as vB customers pay good money for our product license. We deserve much better support than that. Dang right I am irritated with the responses.

Marco van Herwaarden
06-06-2010, 04:07 PM
I think i misunderstood the text in your first post saying "page within vBulletin". I assumed you where talking about an article on that topic, but that you did not want to use it.

Have a look in our Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=184)section.

A good start might be:
https://vborg.vbsupport.ru/external/2010/06/11.gif https://vborg.vbsupport.ru/external/2010/10/6.gif (https://vborg.vbsupport.ru/search.php?searchid=15778111#) [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009&highlight=pages)
How To New Pages in vb style (https://vborg.vbsupport.ru/showthread.php?t=88565&highlight=pages)
Making new pages (https://vborg.vbsupport.ru/showthread.php?t=196316&highlight=pages)

dmm2020
06-06-2010, 04:28 PM
First, I do appreciate the links, but they do not answer what I want to do, but instead show how to put pages within vBulletin.

Probably better at my end to explain exactly what I am after. The website I am writing is an online software registration website that will be used to license use of our software online. I do not want it in any way shape or form to be inside vBulletin or even administered inside admincp.

The registration website will be Smarty based and use a variety of means to determine if a site is licensed or not.

All I want to do is give the website the same header, navbars, and footer that vB users, whether it be via include() or another means. I do not want to create a module or page within vBulletin at all and I think that is where confusion arises. For security reasons, we are making the license registration site for our software completely separate from vBulletin, but we still want the same look.

Hex_legend
06-06-2010, 06:09 PM
on the website, in the header file, try including /forumpath/global.php - its not tested, but global contains all the forum information so should have a bit of better luck with it that way.

Marco van Herwaarden
06-06-2010, 06:15 PM
The proces is the same. To show the vBulletin header/footer, you will need to setup the basic environment as described in those threads, include global, and out the contents of the templates. Even if you are not using any of the other function, as the template functions only work within a vBulletin environment. You might not need to use the entire example files in those threads but you will need to use the basics.