ejm
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Editing sidebarIt just occurred to me that this might be a question about 1.5… but I see you have beat me to the punch, Kafkaesqui.
Forum: Themes and Templates
In reply to: Editing sidebarIf it is the actual side bar contents that you want to edit, look for
<div id="menu">on index.php and/or go to yoursite/wordpressfolder/wp-admin/ to add or subtract links.This page may help as well
http://codex.wordpress.org/Main_PageIf it is the style that you are wanting to edit, take a look at this page:
http://www.tamba2.org.uk/wordpress/graphicalcss/Hope that helps.
Forum: Fixing WordPress
In reply to: Open link from popup comment in the main windowsThere might be a way with php but I’m not familiar enough with the workings of php to know how that is done. Anyone else?
Forum: Fixing WordPress
In reply to: Open link from popup comment in the main windowsI’m not absolutely positive about this, but I think it will work. Give it a shot:
<a href="http://domainname.com/page.html" onclick="var w=window.open(this,'main'); w.focus(); return false;">link from popup window to open in main window</a>Forum: Themes and Templates
In reply to: Blockquote alignmentI’m not sure what
right: 25px;
is doing in the “blockquote div” specs. Did you have a position defined at some point? But I’m guessing you want the closed quotes image to go on the bottom right? “right” was missing from the css.
And to get that image to appear, you may have to define the height. Obviously you don’t want the blockquote height to be flexible. So maybe put the right closing quote image in its own div.
Here’s what might work:
blockquote, blockquote p {
background: #388 url("quote-l.gif") left top no-repeat;
text-indent: 0px;
margin-bottom: 12px;
margin-top: -1px;
padding: 20px;
padding-top:50px;
color: #fff;
width:60%;
}blockquote div {
background: transparent url("quote-r.gif") bottom right no-repeat;
padding: 4px 3px 4px 3px;
margin-top:20px;
height:40px;
/*right: 25px;*/
}[...]
<blockquote>Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
<div> </div></blockquote>
Of course, you’ll want to play with the margins and the heights to match your images.
Hope that helps.
This site may also be of use:
http://www.htmlhelp.com/reference/css/Forum: Themes and Templates
In reply to: buttons disappearingI’m not quite sure from your description exactly where your gifs folder is. If it is outside of your wordpress folder, you might try
../gifs/image.gifto call up the button
or
http://$HTTP_HOST/gifs/image.gifor perhaps
$_SERVER["DOCUMENT_ROOT"] . "/gifs/image.gif"Hope that made sense.
Forum: Fixing WordPress
In reply to: comments textarea goes wideOr you could add a special style that only IE will read:
In your stylesheet, look for:
#commentform textarea {
width: 100%;
}And below it, add
*html #commentform textarea {
width: 600px;
}Or whatever pixel width works for you on IE – I just chose an arbitrary number. This style spec will only be read by IE (at least I believe this is true)
Forum: Fixing WordPress
In reply to: “error in your SQL syntax” when using lostpasswordMany thanks, eamono. I’m glad you posted the link to the bug report; I wasn’t sure if I was supposed to change “users” or “$wpdb” or “$wpdb->users”….
Just to clarify for other php neophytes like me who are reading this:
in wp-login.php, search for
UPDATE $wpdb->users SETon line 115 and change it to:
UPDATE $tableusers SETForum: Fixing WordPress
In reply to: owner comments problemThat works perfectly now! Many thanks, Kafkaesqui.
Forum: Fixing WordPress
In reply to: “error in your SQL syntax” when using lostpasswordI too am running wordpress 1.2.2 and logged off and could not login again. I got this message:
Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET user_pass = MD5('4345a3') WHERE user_login = 'admin'' at li]
UPDATE SET user_pass = MD5('4345a3') WHERE user_login = 'admin'Many thanks to you macmanx, for pointing to http://tamba2.org.uk/wordpress/phpmyadmin/
I have now managed to change my login from phpmyadmin.
But now that that is accomplished, how do I fix the incorrect syntax? I am an absolute neophyte with this php stuff so please feel free to spell it all out.
Thank you.
Forum: Fixing WordPress
In reply to: owner comments problemYes, indeed, it is vs.1.2.2. Hmmm. It is still not doing what I had hoped – which is to fill in the window as me.
The fields are not populated by the code, since that would have to exist (along with some modifications) in the wp-comments.php file to do it. The above simply assures that a logged-in user will have his or her comment posted under their login info.
reference:
http://wordpress.org/support/topic.php?id=21704#post-125718What modifications would I have to make to wp-comments.php?
(Sorry that this is going back and forth and about not noticing the thread that addresses this. It’s always a problem when one doesn’t know what keywords to use until after one knows some of the answer)
Forum: Fixing WordPress
In reply to: owner comments problemThank you. That does look like it might do the trick… however, (sadly still in my obtuse mode, it seems) where exactly is the code supposed to go?
(again, edit it into wp-comments-post.php, somewhere after $comment_author is assigned):
I do not see any reference to $comment_author in wp-comments-post.php.
references:
http://wordpress.org/support/topic.php?id=21704#post-123687
http://wordpress.org/support/topic.php?id=21364#post-121465Forum: Fixing WordPress
In reply to: Custom FieldsYou’re very welcome, Sproke. Glad it is working for you!
Here is another site that is specifically about styling WordPress:
http://www.tamba2.org.uk/wordpress/graphicalcss/Forum: Fixing WordPress
In reply to: Custom FieldsI believe this is a css thing rather than php. Here’s what to do:
First, make a copy of wp-layout.css (just in case this doesn’t work) and set it aside in another folder. Now open wp-layout.css in a text editor (notepad) and look for
.meta li, ul.post-meta li {
display: inline;
}Change it to:
.meta li {
display: inline;
}ul.post-meta li {
display: block;
}Then upload the edited file to your wordpress folder. I hope that works!
For more about css and stylesheets, here are some good references:
http://www.meyerweb.com/eric/css/
http://www.htmlhelp.com/reference/css/Forum: Fixing WordPress
In reply to: RSS Feed ProblemsMany thanks, funkdub. That has fixed wp-rss2 and wp-commentsrss2.php on my wordpress blog.
Unfortunately, the fix did not work for wp-rss so I have removed wp-rss from the meta links on the blog.
Is this cause for concern? Are there some feeds that need wp-rss rather than wp-rss2?