(12-13-2017, 04:12 PM)rocketfoot Wrote: [ -> ] (12-13-2017, 03:34 PM)WallBB Wrote: [ -> ] (12-13-2017, 03:25 PM)rocketfoot Wrote: [ -> ]Thanks! Working great so far! Another idea popped into my head...I would like to make username at top right, be a dropdown containing profile, user cp, admin cp, mod cp, etc. Next to it another dropdown with new posts and todays posts. I think this would be a cool part of the sticky header!
Should I use the same dropdown demo to do this is is there something else at play I should know about?
Same dropdown should work fine
I'm missing something...can't get it to work.
Here is what I modified so far:
Code:
<span class="float_left mobile_hide">
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">{$mybb->user['username']}</a>
<div class="dropdown-content">
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}"><i class="fa fa-user-circle-o" aria-hidden="true"></i> Profile</a>
<a href="{$mybb->settings['bburl']}/usercp.php"><i class="fa fa-filter" style="color: #b0d4e3;"></i> UserCP</a>
<a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><i class="fa fa-power-off" style="color: #c1eca5;"></i> Logout</a>
{$modcplink}
{$admincplink}
</div>
</li>
</span>
All I get is my username with hover effect, LOL
Haha
I am quite sure that you have added this in wrong place, can you share the complete template via PM.
Please don't post it here.
Thanks and Regards
WallBB
(12-13-2017, 05:42 PM)WallBB Wrote: [ -> ] (12-13-2017, 04:12 PM)rocketfoot Wrote: [ -> ] (12-13-2017, 03:34 PM)WallBB Wrote: [ -> ] (12-13-2017, 03:25 PM)rocketfoot Wrote: [ -> ]Thanks! Working great so far! Another idea popped into my head...I would like to make username at top right, be a dropdown containing profile, user cp, admin cp, mod cp, etc. Next to it another dropdown with new posts and todays posts. I think this would be a cool part of the sticky header!
Should I use the same dropdown demo to do this is is there something else at play I should know about?
Same dropdown should work fine
I'm missing something...can't get it to work.
Here is what I modified so far:
Code:
<span class="float_left mobile_hide">
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">{$mybb->user['username']}</a>
<div class="dropdown-content">
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}"><i class="fa fa-user-circle-o" aria-hidden="true"></i> Profile</a>
<a href="{$mybb->settings['bburl']}/usercp.php"><i class="fa fa-filter" style="color: #b0d4e3;"></i> UserCP</a>
<a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><i class="fa fa-power-off" style="color: #c1eca5;"></i> Logout</a>
{$modcplink}
{$admincplink}
</div>
</li>
</span>
All I get is my username with hover effect, LOL
Haha
I am quite sure that you have added this in wrong place, can you share the complete template via PM.
Please don't post it here.
Thanks and Regards
WallBB
PM Sent...let me know when you have a chance to look.
Closing this now, discussions via PM