Jump to content

Disable Plugin, Custom code block stops working!


Go to solution Solved by EmpireKicking,

Recommended Posts

Hello, I was just about to remove and or disable one of the plugins that is not needed anymore, however didn't even know that one of my custom blocks was even link to it Xd

https://invisioncommunity.com/files/file/8980-group-colors-on-user-links/

So here is the preview of that block

Could contain: Text, Blackboard, Computer Hardware, Electronics, Hardware

As it says you log in or once you log in go to the What's new page. simple 🙂 

But, As soon as I disable "Group Colors on User Links" that custom coding block stops working and gives out errors 😞 

Here is the code:

<h3 class="ipsType_reset ipsWidget_title">Register Or Login</h3>	
{{if \IPS\Member::loggedIn()->member_id }}
	<div class="rm_SideAction">
      <p>Welcome back, <strong>{member="name"}</strong>!</p>
        {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'search' ) )}}
		  <a href="https://www.baysidegamers.com/discover/" class='ipsButton ipsButton_medium ipsButton_primary'>
            What's New
          </a>  
		{{endif}}
	</div>
{{else}}
	<div class="rm_SideAction">
		<p>Want to join this community?</p>
  		{{if \IPS\Settings::i()->allow_reg}}
      <a href="https://baysidegamers.com/index.php?/register/" id='elRegisterButton'  class='ipsButton ipsButton_medium ipsButton_primary'> 
				{lang="sign_up"}        
			</a>
		{{endif}}
	</div>
{{endif}}

 

Resolved it.. I mean I can't work it out ahhahahaha

 

 

Link to comment
Share on other sites

Check CSS, nothing there

/* Custom sidebar (Register Or Login) Background */
.rm_SideAction {
	background-color: #305266;
	padding: 20px 60px 30px;
	color: #FFF;
	text-align: center;
	background-image: url(https://baysidegamers.com/storageimages/Club.png);
	background-position: right;
	background-repeat: repeat;
	background-size: scale;
}

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...