![]() |
I want to put the small login box that is on the right side inside the navbar on an external page.
I have tried using your script but it just uses the whole navbar with the variable $navbar there is no way to extract it from the $navbar because it just prints the whole navbar at ones. Here is a screenshot of what I would like to extract: https://vborg.vbsupport.ru/ |
Will this work on version 3.0x ?
|
Quote:
Code:
define('VBN','307'); |
@Mimoun: To get part of the navbar, like in the attached picture, see the attached ZIP file.
|
Thank you very much Calorie I will try it out right now.
|
I have tried the script on my test forum and it works there is only 1 problem.
When I check my forum it shows the small login box 2 times. Is it possible to get the small login box on an external page without including it in the navbar template? Thanks again for making the script. |
@Mimoun: Try the example2.php file by itself. In the example2 script, do you see only one small login box?
|
Yes in the example2.php I see only one login box but on my forum I have the whole navbar + the small login box:
Here is a screenshot: http://www.freewebsitetemplates.com/...per/navbar.gif |
@Mimoun: Looks like $navbar is printed twice, once before and once after the eregi_replace. Check the template for two $navbar variables.
|
Sorry I misunderstood the readme file I placed the whole code in my navbar.
I checked the source code and understand now how you did it. You just get the whole navbar and strip down everything except the small login box part very clever. Could it be possible to place the small login box part in a new template and call the template loginbox so you can give it his own style without damaging the loginbox in the navbar? Thanks for your help. |
All times are GMT. The time now is 04:21 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:
|