Jump to content

Michael.J

Recommended Posts

(M34) Guest Message


Add a message only viewable to guests explaining the benefits of registration to guests. More information on copyright removal can be found here.

Find IP.Board 4 version here.

Keep up to date with DevFuse mod development and releases.
Posted Image Posted Image Posted Image Posted Image Posted Image


  • Submitter
  • Submitted
    06/25/2011
  • Category
  • Discussion URL
  • Support Info
    <p>Get support from discussion topic.</p>
  • Supported Versions
    IP.Board 3.3.x,IP.Board 3.4.x
Link to comment
Share on other sites

  • Replies 103
  • Created
  • Last Reply
  • 2 weeks later...
  • 3 weeks later...

Just got this installed and set up. I'm wondering if it's possible to pay for the copyright link removal from the bottom right of the box? If not, no problem. Thanks!




Send me a pm for details, I do offer copyright removal but you do need to manually remove the message, instructions can be provided if necessary.
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Open the hook.xml file included with this zip

Find:

if( !$this->settings['gm_enable'] OR $this->memberData['member_id'] )[/CODE]

Add ABOVE:

[CODE] if( ipsRegistry::$current_application != 'forums' AND ipsRegistry::$current_module != 'forums' AND ipsRegistry::$current_section != 'boards' ) { return ''; }



Save hook.xml and re-import in the manage hooks section in the acp.

Link to comment
Share on other sites

  • 2 weeks later...

I did remove them from this version but if you wanted to add some links back, here is instructions I recently gave someone else.

Open Admin CP > Look & Feel Tab > select skin > Global Templates > guestMessage.

Find:

{$this->settings['gm_message']}

Add After:

<br />


<a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}' id='sign_in_gm'>{$this->lang->words['sign_in']}</a>&nbsp;&nbsp;<a href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>


<script type='text/javascript'>

if( $('sign_in_gm') ){

    $('sign_in_gm').on('click', ipb.global.inlineSignin);

}

</script>



Save.

Link to comment
Share on other sites

  • 3 weeks later...

Open the hook.xml file included with this zip



Find:


if( !$this->settings['gm_enable'] OR $this->memberData['member_id'] )[/CODE]

Add ABOVE:

[CODE] if( ipsRegistry::$current_application != 'forums' AND ipsRegistry::$current_module != 'forums' AND ipsRegistry::$current_section != 'boards' ) { return ''; }



Save hook.xml and re-import in the manage hooks section in the acp.



How to modificate it to show message everything BUT not on main forum/gallery/blog page?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...