Jump to content

Disable Plugin, Custom code block stops working!


Go to solution Solved by EmpireKicking,

Recommended Posts

Posted

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

ย 

ย 

Posted

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;
}

ย 

  • Solution
Posted

Nevermind it's been resolved, It was an outdated theme template error and I removed the broken source and it fixed it after the site was cached via Cloudflare ๐Ÿ˜‰ย 

So now the plugin is disabled and custom block is working again ๐Ÿ™‚ย Well for now till V5 comes ahahhaha

  • Recently Browsing   0 members

    • No registered users viewing this page.
ร—
ร—
  • Create New...