sinders Posted August 25, 2014 Report Share Posted August 25, 2014 (edited) Hello. How do you remove the register and login button parts from the (M34) Guest Message 2.0.0 hook so they are not there anymore when installing the hook? I found out how to do it before but I can't remember now where I found the modification information for this. Thank you in advance for help. Edited August 25, 2014 by sinders Quote Link to comment Share on other sites More sharing options...
Management Michael Posted August 26, 2014 Management Report Share Posted August 26, 2014 You can remove it manually from the Guest Message template bit. Open ACP > Look & Feel Tab > select skin > Global Templates > guestMessage. Quote Link to comment Share on other sites More sharing options...
sinders Posted August 26, 2014 Author Report Share Posted August 26, 2014 (edited) Thanks Michael for responding. Could you please post the code part in the template that you are supposed to remove? Thank you for your assistants. Edited August 26, 2014 by sinders Quote Link to comment Share on other sites More sharing options...
Management Michael Posted August 27, 2014 Management Report Share Posted August 27, 2014 Sure. <div class='ipsPad right'><a href='{parse url="app=core&module=global§ion=login" base="public"}' title='{$this->lang->words['sign_in']}' id='sign_in_gm' class='ipsButton_secondary'>{$this->lang->words['sign_in']}</a> <span class='services'> <if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')"> <a href='{parse url="app=core&module=global§ion=login&serviceClick=facebook" base="public"}'>{parse replacement="lim_facebook"}</a> </if> <if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')"> <a href='{parse url="app=core&module=global§ion=login&serviceClick=twitter" base="public"}'>{parse replacement="lim_twitter"}</a> </if> <if test="limWindows:|:IPSLib::loginMethod_enabled('live')"> <a href='{parse url="app=core&module=global§ion=login&do=process&use_live=1&auth_key={$this->member->form_hash}" base="public"}'>{parse replacement="lim_windows"}</a> </if> </span> <br /><br /><a href="{parse url="app=core&module=global§ion=register" base="public"}" title='{$this->lang->words['register']}' id='register_link' class='ipsButton_secondary'>{$this->lang->words['register']}</a> <script type='text/javascript'> if( $('sign_in_gm') ){ $('sign_in_gm').on('click', ipb.global.inlineSignin); } </script> </div> Quote Link to comment Share on other sites More sharing options...
sinders Posted August 27, 2014 Author Report Share Posted August 27, 2014 Thanks a lot Michael. :) Michael 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.