• Resolved Gravel

    (@g22)


    Hi, when I choose a color in the plugin options it doesn’t show up on front-end.

    I’ve been able to tweak some stuff by CSS but like the background I’m unable in CSS. I would just like to do it from the plugin options itself and remove my custom CSS.

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Clear cache

    Plugin Author Asgaros

    (@asgaros)

    Hello @g22

    In some configurations your server doesnt allow the execution of scripts other than index.php files. Please test and ensure, that the following URL on your site is generating some CSS-output:

    https://LINK-TO-YOUR-SITE/wp-content/plugins/asgaros-forum/skin/custom-color.php?color=0077cc&text-color=232323&background-color=b7bbbf

    Thread Starter Gravel

    (@g22)

    How can I try that?

    I’ve past the URL in my browser like this :

    https://antan.tv/wp-content/plugins/asgaros-forum/skin/custom-color.php?color=0077cc&text-color=232323&background-color=b7bbbf

    I’m getting a 404 error page.

    What’s the next step thanks!

    I allso have this problem. i ran the script u posted and i got this:

    #af-wrapper a,
    #af-wrapper .unread:before,
    #af-wrapper #topic-subscription,
    #af-wrapper #forum-subscription {
    	color: #0077cc !important;
    }
    #af-wrapper input[type="submit"],
    #af-wrapper .forum-menu a,
    #af-wrapper .pages a,
    #af-wrapper .title-element,
    #af-wrapper .post-author-marker {
        background-color: #0077cc !important;
    }
    #af-wrapper .title-element,
    #af-wrapper .post-author-marker,
    #af-wrapper .forum-menu a {
        border-bottom: 2px solid #0077cc !important;
    }
    #af-wrapper input[type="submit"] {
    	border: 1px solid #0077cc !important;
    }
    #af-wrapper,
    #af-wrapper .main-title {
        color: #232323 !important;
    }
    #af-wrapper .content-element,
    #af-wrapper .content-element .odd,
    #af-wrapper #statistics {
        background-color: #b7bbbf !important;
    }
    
    <!-- Hosting24 Analytics Code -->
    <script type="text/javascript" src="https://stats.hosting24.com/count.php"></script>
    <!-- End Of Analytics Code -->
    Plugin Author Asgaros

    (@asgaros)

    Hello @zetaprime82

    This is really strange! Your webhoster or something other seems to add JavaScript-includes into the generated CSS/PHP file! This is definitely not coming from my forum and breaks the entire generated CSS. You should contact your webhoster about this problem!

    Hello @g22

    Can you check via FTP if the file /wp-content/plugins/asgaros-forum/skin/custom-color.php exists? If yes, this could be maybe caused by your .htaccess file or some other kind of (SEO-)plugin which prevents you from loading files other than the index.php file directly. As also said in another topic: Please deactivate other plugins for testing purposes to find the troublemaker. ??

    Thread Starter Gravel

    (@g22)

    Hi Asgaros,

    I’ve deactivated other plugins and the issue is still occurs.

    I’ve check and the custom-color.php file is there.

    Thanks.

    Plugin Author Asgaros

    (@asgaros)

    @g22

    The thing is that your server prevents you from accessing that file directly and roots the request to wordpress instead, like when you request a page/post. Can you try to remove/rename your .htaccess file or check if you have some other kind of configuration on your webserver with is responsible for that?

    Thread Starter Gravel

    (@g22)

    Hi Asgaros,

    I’ve try renaming htaccess file but get this error on any pages I visit apart of Home and wp-admin https://prntscr.com/e93q77

    Otherwise, I can’t think of any special customizations.

    Thanks.

    Plugin Author Asgaros

    (@asgaros)

    When you rename your .htaccess file, you have to update your WordPress permalink-settings so it is generated again (just go to its settings page and press the save button). After it the links should work again.

    Thread Starter Gravel

    (@g22)

    Hi Asgaros,

    Now when I change the colors in the settings it works on the front-end.

    I’ve noticed 2 .htaccess files. One in public_html and one in wp-content.

    Is there any possible issues by the fact I just deleted them?

    *My other issue is still there (other topic).

    Thanks.

    Plugin Author Asgaros

    (@asgaros)

    It is possible that some plugins which you have used in the past put some data in the htaccess files which prevented it from working. But I am happy that now at least this problem seems to be fixed! ??

    Thread Starter Gravel

    (@g22)

    Yes and I’ve been able to make a custom CSS successfully.

    Now looks beautiful and perfectly match my theme!

    Thanks ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Unable to change colors in admin’ is closed to new replies.