The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there,
I am using a site-wide header.ssi file on all pages of my site, including at the top of my vBulletin forum - this header.ssi contains my site logo and global site nav, and also a "Sign Up" link that leads to the vBulletin Sign Up page (/forums/register.php). Question: Is is possible to hide the global "Sign Up" link in my header.ssi file after a user has logged into vBulletin using CSS or javascript or something??? The reason being, it is confusing to display this Sign Up link to users who are already signed up! ![]() Thanks! |
#2
|
||||
|
||||
![]()
As it is a Server Side Include, and not PHP that cannot be done. Unless you have two files, one with and one without the link, then use PHP to select which file to include. Then, you might as well convert the whole thing to PHP.
|
#3
|
|||
|
|||
![]()
I doubt this will work, but its a start:
PHP Code:
|
#4
|
||||
|
||||
![]()
He's using a server side include file (SSI) so PHP will not work in them.
|
#5
|
|||
|
|||
![]()
Hi Dismounted, actually I have my server setup to parse PHP inside of .html pages too... so I can run PHP code inside my SSI files without issues.
The .ssi in the filename is just he naming convention I've always used... but it could also be header.php just the same. --------------- Added [DATE]1192480701[/DATE] at [TIME]1192480701[/TIME] --------------- Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|