![]() |
Puttin a login in the Header
Hey everyone I have tryed puttin $logincode in the header and it fails to show up! I have searched this board and nothing :(
I need to know how to put $logincode in the header, so it ACTULAY shows up thnx all |
Do this:
Templates ---> Expand all ---> Forum Home Page Templates ---> Expand ----> Forumhome (click "edit" or "change original") Now just play around and decide where you want to logincode to go. Since you wanted it in your header, I would suggest putting in your "welcome panel" depending on what your's looks like, but either way, just play around with that template until you find exactly where you want to put it... |
I think he means the header template, not just the forumhome.
It would probably require a phpinclude mod to make the login code useable in the header template. |
cheers vladdy, not exactly tho ;)
Tony, could you please be more detailed on that.. and WHAT is a phpinclude mod? is it hardcoding it in php? |
Well my logincode is up in my header but I don't have it coded into phpinclude...
|
hmm, mine refusus to show
|
What variable are you placing in the template, kamu?
|
$logincode.. lemme double check that..
$logincode yes.. thats whats in there also i moved it to different places in the templates (header) and no difference |
Well I don't know much about this but AFAIK filburt release mod about this. Maybe can help u bit, just trying to help. :)
http://www.vbulletintemplates.com/mo...?threadid=1729 |
It doesn't add the login code, though.
|
hmm... I wonder why it doesnt want to show up...
|
Quote:
|
Quote:
|
i found something but its been deleted
http://www.vbulletin.com/forum/showt...t=login+header is this heading the right way? |
If you've ever made a hack then you get the drift of how templates work. The important thing is that not all variables are available in the global scope. For example, $logincode might only be set in index.php.
|
It would involve either a php file mod or a phpinclude mod to get them working specifically in other templates. :)
|
Quote:
|
found it in vB.org
should have looked there first, thanx to all for your help! resource: https://vborg.vbsupport.ru/showthrea...472#post313472 for future.. um people who have problems like me :) |
Yes well, people usually do them for you. Or just request it if not done. It's not very hard as so many were made.
|
Give a man a fish...etc. ;)`
|
He'll probably do them for you as they're quite simple for him if not already done in phpinclude. :D
|
All times are GMT. The time now is 05: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|