Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    216

    Cool ThemeMod Theme Changer

    I have just finished a script I call ThemeMod. It allows the client to change their theme to any one that the host decides to allow. I believe I have fully secured this, and it works with only one small flaw. This flaw would be present in any script that changes the RS= value, not just mine. dgbaker described this problem:
    ...sometimes the browser had to be refreshed a couple of times to notice the change. By closing the browser you clear the login and URL so when user logs back in it always goes to the correct theme path.
    Usually it works perfectly for me, but the framed themes mess with it a little.
    Normally I would give a script like this away for free, but this is way to complex for that. Anyone interested please contact me, I will let you install it for free. If you decide to keep it, we can discuss pricing. I wish a few people will contact me just to test its security.

    Features:
    Does not require putting the root password in a textfile- encrypted or not
    root can change anyone's theme from the command line
    You can fully customize the theme change page for each theme
    It comes with an nifty autoinstaller that automatically detects what themes are installed and copies the theme files into their directories.
    Users can change their theme from either the skin or shell

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge rvskin's Avatar
    Join Date
    Feb 2003
    Posts
    397

    Default

    As I know cpanel has some kind of cache of RS value, this is make sense because every call to images inside the theme will don't need to looking for RS value again. I've tried to force user logout and login again, but it's not work. I know it have to have someway to clear RS value, but still not able to find one. If you have a chance looking into /usr/local/cpanel/cpaneld.
    RVSkin, a great experience for you, resellers and clients!
    http://www.RVSkin.com - The Most Intelligent Cpanel Skin, 23 Languages included.
    http://www.RVSiteBuilder.com - Website Builder for Hosting Provider.
    http://www.cPanelLicense.com - External cPanel License.

  3. #3
    Member marius's Avatar
    Join Date
    Jun 2002
    Location
    Bucharest
    Posts
    158

    Default

    rbmatt any chance in providing us a little how to ? i've been searching for a way to lete users change between 3 themes for days now and .. no luck.
    Marius

  4. #4
    Member
    Join Date
    Oct 2002
    Posts
    216

    Default

    I've scrapped this project because of the caching and security implications you have to beware of for such a simple task.

  5. #5
    Member marius's Avatar
    Join Date
    Jun 2002
    Location
    Bucharest
    Posts
    158

    Default

    so there is no way to have this option enabled for our users?
    all i wanna change is the css style. 3 themes means 3 css styles.
    Marius

  6. #6
    Member
    Join Date
    Oct 2002
    Posts
    216

    Default

    If you just want to change CSS style but keep the same "files" thats pretty easy to do, depending on how your themes are setup.
    If each file loads the .css by direct filename, this will require editing every file- or writing a script to do it. cPanel allows you to set variables, so you can call $variable.css

    Another solution would actually be to create a new folder called /themes/ and within that folder just put all three themes. Then users could select which one they want and have all 3 available.

  7. #7
    Member marius's Avatar
    Join Date
    Jun 2002
    Location
    Bucharest
    Posts
    158

    Default

    thanks rbmatt.

    do you know where i can find a how to regardin the variables? or.. where shoud i look for such things?
    Marius

  8. #8
    Member Roy@ENHOST's Avatar
    Join Date
    Mar 2002
    Location
    Los Angeles California
    Posts
    495

    Default

    Actually there is a CSS changer that stores a user's preference using a cookie.
    That might just work for you if all you want to do is change the CSS file.
    = = = = = = = = = = = = = = = = = =
    Cpanel XP Evolution (Add DOZENS of functions to your Cpanel NOW!!!) - 21 Languages, User Friendly Interface, Feature Enabled, Highly Customizable, Create Popup Once window, Language Aware, Flash Tutorials, Theme Changer,Integration with Modernbill,WHM AutoPilot,ClientExec,LPanel&WHOISCart

Similar Threads & Tags
Similar threads

  1. Theme Changer
    By akala in forum Themes and Branding
    Replies: 12
    Last Post: 11-28-2009, 09:46 PM
  2. theme changer - turn back clock
    By 4now in forum Themes and Branding
    Replies: 5
    Last Post: 10-26-2006, 02:04 PM
  3. Theme Changer/Switcher
    By HH-Steven in forum Themes and Branding
    Replies: 3
    Last Post: 10-24-2006, 03:01 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube