Sure!
Go to your admincp and add a new user profile field.
Kind: Single-Selection Radio Buttons
Title: Floating Bar
Description: Choose to hide or show the bar that floats at the bottom of the screen here.
<a id="bar" name="bar"></a> (- that part will come in handy later)
Options: Show(press enter)Hide
Field Required: Yes, Always
Editable then no, no, no.
I put it under
Options: other for display page.
The code:
Code:
<if condition="$bbuserinfo[userid]">
<if condition="$vbulletin->userinfo['fieldX'] == Hide">
<else />
<!--[if lte IE 6]>
<![endif]-->
<br /><br />
His <div> tags go here...
</if>
</if>
Several things happen there, if they choose Hide, it doesn't show anything, if its IE6 it hides, because IE6 does not display it correctly. If its show and not IE6 it adds spaces to the bottom of the footer and prints the bar. For that part to work I put it between:
and
Code:
<if condition="$show['dst_correction']">
Then all you have to do is add a link on there somewhere pointing to: profile.php?do=editoptions#bar
questions?
Quote:
Originally Posted by Shevko
Hmm Its Good
But Dnt Like Facebook
|
Huh? Was that for me?