Jump to content
DevFuse Forums

How do you remove the register and login buttons from the (M34) Guest Message 2.0.0 hook?


sinders

Recommended Posts

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 by sinders
Link to comment
Share on other sites

  • Management

Sure.

                    <div class='ipsPad right'><a href='{parse url="app=core&module=global&section=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&section=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&section=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&section=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&section=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>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...