jump to navigation

MySQL, MyPHPAdmin, CSS Helps Needed
April 28, 2006

Posted by Dan Edelen in : Technical

Functions : Trackback, Print This Post Print This Post , E-Mail This Post E-Mail This Post

I promise I’m in my last week of messing around with the blog before I start posting real content.

If any of you have experience with any of the items in the title, I could use your help:

It’s at times like this that I wish that Apple made blogging and web software.Thanks in advance!

Technorati Tags: , ,

Share/Save/Bookmark



No tag for this post.

Related posts:

RSS feed | Trackback URI

15 Comments »

Comment by dcypl
2006-04-28 05:41:52

There is a CSS viewer that renders the source code really nicely. It’s a firefox extension just check the bug list at the bottom of the page…

http://www.lifehacker.com/soft.....102764.php

Another good extension is here, the web developers extension:

http://www.lifehacker.com/soft.....102764.php

These two bits should make life easier!

Keep me updated!

 
Comment by salguod
2006-04-28 13:10:02

With so many fanatical users out there, I suspect there’s a good summary of the WP CSS out there. There’s one for Moveable Type, there’s got to be one for WP.

I use the IE based Maxthon and there’s a similar plug in for it. I haven’t used either so I can’t tell you which is better. I also don’t have it installed at work, so I can’t tell you what it is.

CSS takes a bunch to wrap your head around, at least it did for me. I’ve got a better understanding now, mostly by banging my head on it until I got it. One thing that got me is how the classes and id’s (still don’t know the difference) add to and subtract from each other, they don’t completely replace each other. In other words, if you have text in class A that defines the font as Ariel and bold, and then within that class designation add a section of class B that changes the font to Veranda, it will still be bold. That’s because it’s inside both A and B. and the only thing B changes is the font, not the style of the font.

I probably butchered that explanation, but that’s how I understand it.

 
Comment by salguod
2006-04-28 13:13:24

BTW - I like the new look, but on my wide 1600 x 1200 monitor at work your background image isn’t wide enough.

 
Comment by Dan
2006-04-28 14:02:41
salguod,

I thought no one would possibly be using a monitor at that resolution! The background is 1280×960. I tried it at 1600×1200 and it took too long to load. So it was overkill for the people who run at 1024×768 and 1280×960—which I thought was probably 99% of people out there. Oh well.

Unless there is some way to get the background to scale, I don’t know what else to do. I could put the 1600×1200 version in there, but it will show more of the mountains than I want, too.

Any ideas?

 
Comment by Bill
2006-04-28 17:43:48

Dan

Regarding your post names: Yes, it’s possible. I’d suggest this:

1. run the following SQL: “select ID, post_name from wp_posts” - I’m doing this from memory so I’m not sure I have those columns correct, but you get the idea - we need the post ID and the current name extracted.

2. In phpMySql you can export the results of a query to a CSV file.

3. Load the CSV file in Excel

4. In a third column, type the name you really want (my understanding is you are trying to change the post name, correct? I may not have that right - let me know).

5. Email the spreadsheet to me (my email is on the comment)

6. I’ll email you back a MySql update statement that will replace the original post names with your new post name.

7. Run that MySql statement in phpMyAdmin and you’re in like flynn.

Just an offer. Let me know if you want me to help out and I will

 
Comment by Bill
2006-04-28 17:45:10

Also - if you’re not sure how to do step 2 I can walk you through that as well. Just email me.

 
Comment by Dan
2006-04-28 18:01:15
Bill,

I’ll do that this weekend.

What’s to know about making a MySQL update statement?

Man, there’s times I wish Apple made blogging software!

 
Comment by Dan
2006-04-28 19:02:30
Dcypl,

Unfortunately, that extension crashes Firefox when I attempt to do the one thing I need more than anything else—manage colors.

Thank you, nonetheless. I see its value for other purposes, too.

 
Comment by Bill
2006-04-29 15:26:22

Thanks Dan - I’ll await the email

Basically, I create a spreadsheet and use a formula to create the SQL. I will send you back the spreadsheet I create, to teach a man to fish rather than giving him one, etc . . . :-)

 
Comment by salguod
2006-04-29 19:51:45

Dan,

My home laptop is a 1680 x 1050 widescreen. What can I say, I like to get as much on screen as possible. Of course, now more and more blogs are fixed width, so get a lot of empty space on the edges.

I’m not familiar with how to use the ‘background’ function with in the [head] section. Can you center it? That would help. Then, make the background a blue that compliments the sky and you’ll be good, or at least better.

It would be great if you could split the image in two and align the right half to the right and the left half to the left, but I suspect that’s not possible.

 
Comment by Travis Seitler
2006-05-01 13:57:22

salguod (and Dan),

If you wanted to center the background image, you could set the applicable line of CSS to this:

background: url( images/csbgd.jpg ) no-repeat fixed bottom center;

It’s just a matter of changing “left” to “center” in there.

 
Comment by Oengus Moonbones
2006-05-02 20:59:55

Snazzy web site … too bad it takes over 2 minutes to load up for those of us who can’t afford to pay through the nose for a high-speed Internet connection.

Comment by Dan Edelen
2006-05-02 21:18:19
Oengus,

I’ve got a 2-way satellite connection which is between DSL and cable in download speed and about five times the speed of dial-up on the upload. Satellite has latency issues, though, which means that I have great download speeds on a solid 50MB file, but if it’s 50MB of 1000 tiny files, it’s not quite as great because the satellite has to relay those calls for more data every single time and going through space isn’t the same as going through a cable.

That said, this site loads up way faster than the Blogger site! Unfortunately, the bottlenecks are identical: calling Joe Carter’s Evangelical Links through Blogrolling, calling Truth Laid Bear’s Ecosystem data (which now works again), and calling the Amazon images for the books.

I got rid of my own Blogrolling link, so that’s a tad faster than before. The “Kingdom Links” are all in the Wordpress MySQL database so the call stays on this domain.

I’ve considered moving some things to another page. I still haven’t filled out my About tab above, but I might add another tab to handle all the stuff that’s slowing down this page. We’ll see.

Don’t know what else to do. I already got a complaint from a couple users who say my 1200×960 backdrop is too small for their 1600×1200 monitors. (I had no idea anyone ran their Web browsers full screen past 1024×768 res. Not sure I understand that, but…oh well!) I had the larger graphic up there, but it was 70k. The smaller one is 41k and even that has a few artifacts. I try to keep my images around 10k as much as possible, but a few break that in GIMP, no matter how much compression I try.

I hear you, but I can’t believe I’m worse than anyone else!

 
 
Comment by Bill
2006-05-05 08:05:38

Hey Dan,

I never heard from you, so I’m assuming you got the renames done on your own? Just checking - I hope I didn’t miss an email in there somewhere.

Cool looking site!

 
Comment by michael h
2006-05-09 10:42:06

Fwiw, I find this semi-transparent content background really hard to read. Making it a solid color would improve readability 110%…

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.