martin_hoegh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Alternating comment colourshi again,
I’ve looked through your comments page source, and I can see that the class mycomments is generated by the script, which means the plugin is actually working.
But there is a conflict between your alternating background script and the mycomments plugin, which means that your commentlist li ends up looking like this:
<li class="" id="comment-17" class='mycomments'>
or
<li class="alt" id="comment-17" class='mycomments'>
To solve this problem I would advice you to modify the plugin by changing:
if (($the_name == $your_name) && ($the_url == $your_url)) {
echo "class="mycomments'";to
if (($the_name == $your_name) && ($the_url == $your_url)) {
echo "style='background: url(/path/to/background/bg.gif) no-repeat top right'";But then another problem probably arises since you are now defining the css background both locally in the li-tag and globally (in your stylesheet).
This basically means that you can’t use the alternation effect on the background, while also changing the background with the my-comments plugin. But you can change other elements such as the border – as I do in my blog.
Alternatively you should look here.
Forum: Themes and Templates
In reply to: Alternating comment coloursJinsan,
I wrote the plugin (my-comments)., and as far as I can see you got it working (?).
I, my self, use the plugin with wp1.5, and I have no problems using it with alternating comments. You might notice the changing border color on the comments in my blog which is generated from a different script than my-comments – while my-comments inserts a cartoonified face in the top right corner of comments written by me (yes, I have Gravatar-support enabled, but I don’t have a gravatar myself).
This solution is rather discreet, but I found that using both alternating backgrounds and my-comments (or our-comments) would lead to a confusing amount of background colors displayed in the comments section – thus making the blog a usability nightmare.
Forum: Plugins
In reply to: New plugin: My-commentsHi David,
as you state yourself, the problem relates to your css.
I have looked through your style sheet, and I think you can solve the problem by changing:
.mycomment
to
ol#commentlist li.mycomment
Let me know if it works ??Forum: Plugins
In reply to: WP Backup/Restore new versionBetter late than never:
LL, the 1.1 version of the hack works perfectly. I really appreciate your work.
Now, maybe, I’ll dare an upgrade ??Forum: Fixing WordPress
In reply to: Question about the titlepodz: I also had the idea that it had to do with mod_rewrite. I have mod_rewrite enabled with the classic
/archives/%year%/%monthnum%/%day%/%postname%/
, but I had no idea where to make the changes. I have also been looking at the wp_title function in template-functions.php, but not being a php-wizard…
chuckg: I think you misunderstood my post, maybe because I didn’t explain well enough. I wan’t to change whats displayed within the title-tag<title>
, so the output when a month is selected in the archives, will be:
blogname | 2004 | February
and not
blogname | 2004 | 2Forum: Plugins
In reply to: WP Backup/Restore new versionWill do! – and thanks again ??
Forum: Plugins
In reply to: WP Backup/Restore new versionThanks for the tip!
I changed the permissions to chmod 777 for the backup-folder – and now I get a 404, when I try to access the *.sql-file – simply because no file is generated…!
Any ideas?Forum: Plugins
In reply to: WP Backup/Restore new versionDummie query:
Everything seems to be working just fine . I’m told that the backup was succesful and that I can download the file from my backup-folder. But there is no *.sql file in the folder – most likely because I have to assign write permisson the backup-folder!
But how do I do that?Forum: Fixing WordPress
In reply to: Getting Rid of BulletsHi,
try adding:
list-style-type: none;
to
ul.post-categories
in
wp-layout.css
that should do the trick…