Forum Replies Created

Viewing 15 replies - 46 through 60 (of 113 total)
  • PS Read your tale, almost died from laughing… Thx for the funny reading! You’ve got talent at telling stories, believe me! ๐Ÿ™‚

    PPS I guess, you might now want to mark this thread as ‘resolved’ ๐Ÿ™‚

    DH told me how to restore my MySQL and then reverted me back to WP 2.1. I then upgraded to 2.2 and everything appears ok

    Look, if you reverted to 2.1 (both wordpress files and MySQL backup), and after that you have upgraded to 2.2, then everything is OK! Definetely and completely OK, so stop worrying! ๐Ÿ™‚

    Forum: Fixing WordPress
    In reply to: Uploads directory.

    ? ๐Ÿ™

    That would work, yes, what you suggest, but would it work also for the feeds for every one post and every one comments thread WP automatically generates?…

    URLs indexed by google like:
    http://www.domain.com/wordpress/2007/01/15/title-of-post/feed/

    ???

    No problems, Ant,

    It was my pleasure to be able to put my modest two cents into the solving of your trouble! ๐Ÿ™‚

    I’m glad things are going back to normal with your website!

    BTW, I hope, after DreamHost restored your MySQL database, you upgraded after that first using your previous version of the website (the 2.1.x-forgot-the-number)?

    I mean, if your MySQL is a few days old, it means, it’s the database from 2.1.x, right? Then you must use the wordpress files from 2.1.x, too. After you restore the website to ‘how-it-was-before-2.2-upgrade’, then you can safely upgrade to 2.2, and everything will be perfect after that:)

    Anyway, I believe this is how you did it together with DreamHost:)

    If you need any more help, feel free to ask at the WP forums again:)

    You’re welcome!

    I’m glad my 0.01% ability to read PHP scripts helped in this case ๐Ÿ˜‰

    It’s OK:)

    Here I found good tips from you, doodlebee, which I might explore, too, that’s the important thing:)))

    Thank you, that’s an advice I may try myself, too, one of these days!

    Cheers! ๐Ÿ™‚

    PS wp-includes/js/quicktags.js ๐Ÿ˜‰

    Nice post! ๐Ÿ™‚ Glad you fixed things up! ๐Ÿ™‚

    (You may want to mark the thread as [resolved] now;-)

    @doodlebee:

    Good advice! I guess, you can even create custom buttons for aligning images left and right, the buttons will assign classes to the images, and then you can style the classes as you wish them to be styled:)

    It’ll involve some work, but could do the trick pretty nicely, I think:)

    You should add the class manually, yes, because WP can’t do it automatically for you (unless you ‘hack’ it or create some plugin for this purpose, of course;-)

    If you can live with that (manual adding of the left/right classes), then it’s ok for you, and you’ll have your nicely floated left/or right images (and custom paddings) both in wp-admin and in the blog itself:)

    At least, this is how I’d do it… if not having access to a special plugin or something of the sort:)

    OK, maybe can be done (maybe not), send URL please to a post at your blog with two images, one with left and one with right alignment ๐Ÿ™‚

    Also, why don’t you use classes instead? It’ll be much easier for you:)

    Here’s a CSS excerpt from the default theme:

    /*	Using 'class="alignright"' on an image will (who would've
    	thought?!) align the image to the right. And using 'class="centered',
    	will of course center the image. This is much better than using
    	align="center", being much more futureproof (and valid) */
    
    img.centered {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	}
    
    img.alignright {
    	padding: 4px;
    	margin: 0 0 2px 7px;
    	display: inline;
    	}
    
    img.alignleft {
    	padding: 4px;
    	margin: 0 7px 2px 0;
    	display: inline;
    	}
    
    .alignright {
    	float: right;
    	}
    
    .alignleft {
    	float: left
    	}

    Using standard classes like these ones will give you the flexibility of aligning images left / or right, with custom padding, both in the WP admin area editor and in your theme (whatever theme that is).

    You’ll just need to copy the above styles (or similar styles from your theme) to the admin CSS file, and this’ll do the trick:)

    Hope this helps, report back later, so we can know what happened:)

    If you do not see any other options in your profile in wp-admin, maybe there are files missing?…

    Anyway, let’s make one thing at a time.

    Yes, to install WP manually is not a big hassle, you just need one MySQL database (data you must have: name-of-database/user/password/host), you need to upload then the WordPress files to the server, and you can install WP after that, running the WP install.php script:)

    Yes, there are tutorials on that, use Google, or use the WordPress ‘DOCS’ link on top, you can read a lot on this here at wordpress.org! ๐Ÿ™‚

    The database can be backuped easily, too, I use a plug-in for that (I’m too lazy to do it from the PHPMyAdmin, I guess;-), here’s a link:
    http://skippy.net/wordpress-plugins-discontinued
    http://ilfilosofo.com/blog/wp-db-backup
    …the author discontinued support for his WordPress Database Backup plugin (wp-db-backup), but read on, apparently there’s a new home for this plugin now:)

    (I still use slightly older version, works for me, in WP 2.2, too:-)

    Regarding K2, yes, if it conflicts with WP 2.2, simply don’t use it (for now), use default theme:)

    Hope this helps, crossing fingers that you can have your blog back soon intact, after that – we’ll see ๐Ÿ™‚

    Meanwhile, read as much as you can – how to backup WP files and MySQL, how to install it, how to make a safe upgrade, etc. ๐Ÿ™‚

    Here at WP forums also there are lots of people who’d like to help and give some of their time for that purpose:)

    Cheers!

    PS OK, after a quick test, here’s what I came up with:

    <?php
    if ( is_user_logged_in() ) {
      echo "(Put your stuff here! Like,
      (I would set up the link list here - no problems...)";
      }
    ?>

    You can modify it at your own ease, to suit your needs. I know this is not the best way to implement it, but it works. I checked, logged in and logged out, the “if” statement worked OK.

    Try it! ๐Ÿ™‚

    My $ 0.02 ๐Ÿ™‚

    It’s a bit of code with which some PHP developer can help you… I’d search for something in the code which will be like “If user logged in, then…”, then would re-use this bit of code to make your little bit of magic work ๐Ÿ™‚

    Use trial and error ๐Ÿ™‚ I am not so proficient in PHP as to help you easily… I’m afraid :-/

Viewing 15 replies - 46 through 60 (of 113 total)