The MU forums have moved to WordPress.org

Custom CSS Plugins for Wordpress MU (44 posts)

  1. nonegiven
    Member
    Posted 15 years ago #

    Yeah ... 'userthemes revisited' is another joke plugin that offers a "Matrix" style mock hacker scare instead of an useful and instructive admin notices.

  2. "Self-comparison detected.
    Initiating infinite loop eschewal protocol.
    Self destruct in... 3 ... 2 ... 1"
  3. and Jason's Circumciser is incompatible with 2.6.2 ... cant even load the headers. Do not even go there. It is dated 2006.

    Thanks ... but I have wasted too much time on this. Been there and done that.

    Do you have any idea why my server might show a 404 page instead of the css?

    What say your rizapn?

  • Ovidiu
    Member
    Posted 15 years ago #

    Yeah ... 'userthemes revisited' is another joke plugin that offers a "Matrix" style mock hacker scare instead of an useful and instructive admin notices.
    # "Self-comparison detected.
    Initiating infinite loop eschewal protocol.
    Self destruct in... 3 ... 2 ... 1"

    and Jason's Circumciser is incompatible with 2.6.2 ... cant even load the headers. Do not even go there. It is dated 2006.

    I don't understand how you can come here with this attitude.
    userthemes does work. It requires some work, but it does work.
    Jason's Customciser does work as well - at least the version I am using with wpmu 2.6.2 does. try this one: http://pastebin.com/f4ce9cdb9

    And what do you mean by wasting time? Its your choice to use wpmu and what about the other people's time you wasted here with your postings? Have you thought about that?

    Do you have any idea why my server might show a 404 page instead of the css?

    Thats exactly the problem nobody can diagnose but you: try this:
    - copy the file http://csstest.vegan.jp/files/themes/animecat_style.css to http://csstest.vegan.jp/wp-content/themes/animecat/ and see if you can open it
    - rename the file http://csstest.vegan.jp/files/themes/animecat_style.css to http://csstest.vegan.jp/files/themes/animecat_style.txt and see if you can open it in a browser

  • rizapn
    Member
    Posted 15 years ago #

    Also try my latest plugin here : Header Insert Plugin ...

    Hope there is somebody else need that kind of plugin, otherwise ... I'm just wasting my time :p)

  • andrea_r
    Moderator
    Posted 15 years ago #

    Yep.

    Custom Header options already exist in wordpress AND MU, you just have to make sure it's coded in the theme itself.

  • rizapn
    Member
    Posted 15 years ago #

    @andrea_r: I build that (Header Insert Plugin) to eliminate the needed to edit theme, so we still can use all available themes with no modification.

  • VentureMaker
    Member
    Posted 15 years ago #

    I think andrea tried to tell that Custom Header option that is currently built into WPMU allows users to use their own options for a theme, not edit a theme.

    Theme files remain intact, users can set their custom options (to be used in their blog only).

  • andrea_r
    Moderator
    Posted 15 years ago #

    Exactly what venture maker said - rizpan, you're reinventing the wheel. :)

    Sign up at wp.com. Pick a theme and then check out the menu called "Custom header option" under the Design tab. All you have to do to get that is add a few lines of code to a theme - and some already have it.

    http://wordpress.org/extend/themes/tags/custom-header

    A lot of themes have options pages too.
    http://wordpress.org/extend/themes/tags/options
    http://wordpress.org/extend/themes/tags/options-page

  • rizapn
    Member
    Posted 15 years ago #

    @andrea: from you reply ... "All you have to do to get that is add a few lines of code to a theme - and some already have it." ... that is the reason :p) Not all have it right? Let say, I really like theme A, theme B, and theme C, and all of theme has no [Custom Header] option. I have to modify them right? :p)

    I can also add any HTML code in the header part. I see that some of theme are adsense ready, but also not all. Using this plugin, I can insert my own adsense code.

  • andrea_r
    Moderator
    Posted 15 years ago #

    Yes, you the *site admin* modifies the functions.php file for the theme, and then ALL users can each upload their own header. ;)

  • rizapn
    Member
    Posted 15 years ago #

    In my plugin, I (or anybody else), of course as *site admin* :p), ONLY need to put ONE code, and ALL theme for ALL users will be affected :p) ... that is the difference.

    It (the plugin) may be usefull, if we have, let say, for extreme case (:p), have 100+ different theme with NO custom header option, AND need to put a very similar code inside them. OR, the code is not accomodate by the custom header itself.

  • andrea_r
    Moderator
    Posted 15 years ago #

    *sigh*

    We are saying essentially the same thing.

    My point was, why build something to do an action that is handled already?

    In this thread, I was talking about the exact same thing.

    The OP wanted to know how each user can have their own custom header. the answer is - pick a theme that has that option already built in, or add it to an exiting theme. We're talking maybe 20 lines of code here, mostly copy/paste, that's it. And the end result is user friendly & secure.

  • rizapn
    Member
    Posted 15 years ago #

    OK, let us close this case ... :p)

    * Like written in the wordpress.org footer, "CODE IS POETRY" and poetry is about feeling and taste ...

  • nonegiven
    Member
    Posted 15 years ago #

    I think you are off beam andrea_r, aren't you?

    Personally, I was not trying to change a header but an image in the body ... and I like the idea of being able to control other elements of the css from one single theme. I think rizapn has a good idea here, which is why I am persisting.

    I can't believe that WPmu has been built so that it cant ... surely it not necessary to hand make 50 near identical themes just for a couple of lines of code!?!

    Thanks

    Ovid,

    I am a great believer in doing things properly and sticking to form. After years of this stuff, I just get tired of when folks don't comment out their work, accept standard form and include readme etc. (And don't start me on ccs files that are spread over page and pages ...). I spend half like tidying up others work just so I can. We are all running to stay alive. The lack of such are just like tripwires in our way.

    The mock Matrix stuff is an WP Easter Egg apparently ...

    http://hotbiscuits.wordpress.com/2008/07/13/amazing-wordpress-easter-egg/

  • realsol
    Member
    Posted 15 years ago #

    I wrote a plugin that works for me. I needed:

    • I wanted a custom stylesheet I could put in the blogs upload directory and only have used if it existed, otherwise no customizations would be shown.
    • I wanted the option to also put a custom stylesheet in a different directory to keep users of the blog for accidentally messing it up or deleting it.
    • I needed this plugin to insert the custom stylesheet into the head below where my theme stylesheet was inserted, thus making it an alternate or child stylesheet, allowing me to change only the elements I wanted to rather than creating a whole stylesheet from scratch. This takes away the hassle of having to make sure my custom theme worked in all versions of WordPress. I leave it up to the theme developers.
    • I didn't want to have to edit the theme itself, if possible. This way, as theme developers came up with new versions, I wouldn't have a hard time updating the individual themes.
    • I also wanted to be able to use the custom stylesheet to change the default graphic and other elements of the login.php file (user login screen).

    If you could use it you can get more info on my site: http://rdgriffin.com/wordpress. In fact, my theme on my site is Tarski that is using a custom stylesheet. Didn't have to edit the theme!

  • 1 2

    About this Topic