Jump to content

Recommended Posts

Howdy Everyone,

Here's a free little tool for your cPanel/VistaPanel. It's written in JS and currently maintained under the MIT License. This didn't waste much of my time, so no need for any compliments. This script was inspired by VistaPanel Customizations.

Features

  • Change the Title
  • Change the Protocol
  • Change the Logo
  • Change the Theme (Kudos to VPThemes for the CDN and Themes, obviously)
  • Add your own Credits (#93dbba9)
  • Organized Code
  • Clean Setup usage

Usage

Apply this code anywhere

const AlterVP = {
    title: "AlterVP - cPanel",
    logo: "logo.png",
    ssl: 1,
    theme: "dark",
    credits: {
    	desc: "AlterCP",
    	logo: "small-logo.png"
    }
};

Apply this code to bottom

<script src="//rawgit.com/xpde/AlterVP/master/altervp.js"></script>

Source

Suggestions? Reply below.

Thanks,

@xpde

Edited by xpde
Added Credits
Link to post
Share on other sites
3 hours ago, xpde said:

Howdy Everyone,

Here's a free little tool for your cPanel/VistaPanel. It's written in JS and currently maintained under the MIT License. This didn't waste much of my time, so no need for any compliments. This script was inspired by VistaPanel Customizations.

Features

  • Change the Title
  • Change the Protocol (Latest)
  • Change the Logo
  • Change the Theme (Kudos to VPThemes for the CDN and Themes, obviously)
  • Organized Code
  • Clean Setup usage

Usage

Apply this code anywhere


let AlterVP = {
	title: "",
	ssl: 1,
	logo: "",
	theme: ""
}

Apply this code to bottom


<script src="//rawgit.com/xpde/AlterVP/master/altervp.js"></script>

Source

Suggestions? Reply below.

Thanks,

@xpde

Thank you very much @xpdeĀ for this tool.

However, now with that, we will need to change some themes and edit the file and rename it from panel.css to styles.css (this exists only for the Lightspace theme, so no need to alter your code, we will alter ours).

Keep in mind that Normal Themes (not Lightspace and Lite) will not work due to @xpde's script not searching for an icon_spritemap.css.

If you could do that, keeping in mind that console errors will be generated for lite and lightspace themes due to not having an icon_spritemap.css file (but the themes will load without problem), it would be nice.

Link to post
Share on other sites
9 hours ago, PCTipsGR said:

Keep in mind that Normal Themes (not Lightspace and Lite) will not work due to @xpde's script not searching for an icon_spritemap.css.

If you could do that, keeping in mind that console errors will be generated for lite and lightspace themes due to not having an icon_spritemap.css file (but the themes will load without problem), it would be nice.

Added (8c291b4) - Thanks for telling me that. I don't ever use VPThemes because I have a passion for designing. However, I don't release my panel designs.

Link to post
Share on other sites
  • 2 weeks later...

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...