vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Puttin a login in the Header (https://vborg.vbsupport.ru/showthread.php?t=86614)

kamu 03-17-2003 09:32 PM

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

Vladdy 03-17-2003 09:47 PM

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...

Tony G 03-18-2003 03:46 AM

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.

kamu 03-18-2003 05:53 AM

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?

Vladdy 03-18-2003 06:01 AM

Well my logincode is up in my header but I don't have it coded into phpinclude...

kamu 03-18-2003 06:08 AM

hmm, mine refusus to show

Tony G 03-18-2003 07:44 AM

What variable are you placing in the template, kamu?

kamu 03-18-2003 09:59 AM

$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

omega buster 03-18-2003 10:01 AM

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

filburt1 03-18-2003 10:14 AM

It doesn't add the login code, though.


All times are GMT. The time now is 09:25 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.01033 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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