Hi All can some body help me out please ,i'm converting/ripping a skin atm and it's my first proper one and more of a self teach project ,I'm trying to learn what to do correctly but have found myself stuck with trying to add a custom logged in and logged out area to the header bar could someone please show me exactly where i should be placing this in the global template please maybe with this added in place and linked back via pastebin if possible please,It's the last piece to finish the skin would be ideal to have some help if i may
Question
hermit101
Hi All can some body help me out please ,i'm converting/ripping a skin atm and it's my first proper one and more of a self teach project ,I'm trying to learn what to do correctly but have found myself stuck with trying to add a custom logged in and logged out area to the header bar could someone please show me exactly where i should be placing this in the global template please maybe with this added in place and linked back via pastebin if possible please,It's the last piece to finish the skin would be ideal to have some help if i may
Logged In
<div class="logged_in_bar member-side-left"> <div class="avatar"> <span></span> <img src='{$this->memberData['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_mini photo' /> </div> <div class="info"> <p> Welcome back, <font color="#e9ac35"> {$this->memberData['members_display_name']} </font> ! </p> <div class="coints"> <span id="gold_c"> <if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0"> <a data-clicklaunch="getInboxList" href='{parse url="app=members&module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'> <div></div> </a> {$this->memberData['msg_count_new']}, </if> </span> <span id="silver_c"> <a data-clicklaunch="getNotificationsList" href="{parse url="app=core&module=usercp&area=notificationlog" base="public"}" title="{$this->lang->words['notifications_at_the_top']}"> <div></div> </a> {$this->memberData['notification_cnt']} </if> </span> </div> <ul id='admin_bar' class='ipsList_inline left'> <if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']"> <li> <a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a> </li> </if> <li><a href="{parse url="app=core&module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link_title']}'>{$this->lang->words['gbl_modcp_link']}</a></li> <if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0"> <li class='active'> <a href="{parse url="app=core&module=reports&do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a> </li> </if> </ul> </if> <!-- <div class="vote-now-ico"><a href="#"><span id="ic… --> </div> <ul class="acc-menu"> <li> <a id="acc-panel" <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> <span></span> <p></p> </a> </li> <li class="not-voted-yet-effect"> <div></div> </li> <li> <a id="vote" href="#"> <span></span> <p></p> </a> </li> <li> <a id="buy-coins" href="#"> <span></span> <p></p> </a> </li> <li> <a id="store" href="#"> <span></span> <p></p> </a> </li> <li> <a id="logout" href="{parse url="app=core&module=global&section=login&do=logout&k={$this->member->form_hash}"> <span></span> <p></p> </a> </li> </ul> </div></div>logged out
Edited by hermit101Link to comment
Share on other sites
2 answers to this question
Recommended Posts