saphod
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: realTinyMCE is not definedThe “$supportsGzip = false;” thing does unfortunately NOT work for me – as none of the above tricks do.
I am using WP 2.1.3.
Had the same issue with a plugin before (see this post in this thread).
Now, I installed the “Kimili Flash Embed” plugin – and I am back to the problem. WYSIWYG-editor won’t work and I get a “realtinymce not defined” in the JavaScript console again.
The funny thing is:
IT WORKS OFFLINE (LOCAL) WITH XAMPP WITHOUT A PROBLEM!So, I guess it has something to do with the server.
But I can’t change the GZIP thing because my 2.1.3 tinymce GZIP php file looks totally different – there is no “$supportsGzip” variable…Normally, I would just use a different plugin, but damn – that Kimili plugin is great, I tested the quicktag method and got XHTML-valid flash embedding. ??
Anyone out there having a clue how to fix this?
Forum: Plugins
In reply to: Can’t clear Slickr Cache – File Permission IssueThanks for trying, anyway.
Maybe anyone else? ??Forum: Plugins
In reply to: Can’t clear Slickr Cache – File Permission IssueHi whoami,
thanks for the quick answer…
I know I am able to set the rights back through the admin site that my hoster provides. After setting them back, I am able to delete them, no problem…
But: I find this solution pretty annoying, so I thought one may change the code in the plugin so that the files are actually stored with the rights of the ftp-user. Isn’t that possible?
An interesting fact is that “Extended Live Archive” uses a cache, too, which also runs under wwwrun – but I do not get an error when I clear the cache via options… unlike Slickr…
When Slickr wants to delete cache files, why is there an error, anyway? It ought to run under wwwrun, also, shouldn’t it?
I am all confused… ??
Forum: Themes and Templates
In reply to: Sidebar list is all wrong in Internet Explorer.Well, looks like the good ol’ box-model problem to me:
https://webdesign.about.com/od/css/a/aaboxmodelhack.htmForum: Fixing WordPress
In reply to: Help Needed – Flickr/Photoblog Integration…Hi folks!
I have a really big problem integrating falbum into my own customized theme, which is a pity because I love falbum!
I am using 3 columns, so it’s a left_sidebar -> main_content -> right_sidebar thing. The sidebars are included before the main column and are using the “float” attribute.
The problem is: falbum makes massive use of the “clear” attribute which is destroying the whole layout. That way, Falbum shows thumbnails, photos etc. BELOW the two sidebars.
Does anyone have a clue?
My own template is still in designing process…
A more detailed description is here:
https://www.saphod.net/falbum-causing-trouble-with-3-columns/I have also posted this into the forum on the falbum site, but – unfortunately – I got no response yet…
Forum: Fixing WordPress
In reply to: WP 2.1 – Posting ProblemThank you very much for this fix, it works fine with my WP 2.1.3!
This was SO annoying!
??
Forum: Themes and Templates
In reply to: Changing a post’s templateYes, there is.
For a single post view, the template “single.php” is used. If there is no “single.php”, the main index template will be used instead.
You should copy the main index template “index.php”, rename it to “single.php” and erase all the php-code that is not wanted… just as simple as that. ??
Forum: Fixing WordPress
In reply to: Plugin text shown in the_excerpt() and pingbacks/trackbacksProblem solved.
As expected, it was the plugins hooking into the loop.
Manually inserting the template tags for each plugin after the_content() in the main index template did the trick.
Forum: Fixing WordPress
In reply to: Plugin text shown in the_excerpt() and pingbacks/trackbacksHmm… I just thought:
if I manually inserted the template tags provided by the plugins after the_content() call rather than let them “hook” into the loop, would that resolve the problem?Forum: Fixing WordPress
In reply to: How can I check if I am logged in?Hi lelion!
Your code works – just the way I wanted it to work!
The problem with my code was that I did not define $User_ID – you have to set it as a global variable and then use get_currentuserinfo(), as I have just found out.
Anyway, your way is less complicated, and I will use that one. Thank you very much!
Forum: Fixing WordPress
In reply to: How can I check if I am logged in?OK, I surrender… ??
Forum: Fixing WordPress
In reply to: How can I check if I am logged in?Hi…. anyone, please?
You have to change the attributes of your template file so that WordPress can actually write into it.
Normally, that would be 644 or -rw-r–r–.
Try setting it to 666 (-rw-rw-rw-)
or 777 (-rwxrwxrwx), if 666 don’t work
via
FTP
.Or: download the template file, edit it on your computer, and upload it again.
The page template is actually used to show the whole post when the title is clicked on the main weblog site, so do not change anything there.
Try to shorten the part between “while” and “endwhile” in your main index template shown in your recent post into something like this:
<?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2> <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> </div> <?php endwhile; ?>
This will leave nothing but the title and the time of the post and oughta work.
Hi godsreal!
In your Main Index Template, look for The_Loop.
In my template, it looks like this:
<?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="posttitle"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="post-info">This post was scribbled on <?php the_time('F jS, Y @ H:i:s O (T)') ?> by <?php the_author_posts_link() ?>and is filed under the category <?php the_category(', ') ?>.<?php edit_post_link('[Edit this post]', '', ''); ?> </div> <div class="entry"> <?php the_content('Continue Reading »'); ?> </div> <p class="postmetadata" style="text-align: right;"><?php comments_popup_link('Comments: <span style="font-size:12px; border:1px solid grey"> 0 </span>', 'Comments: <span style="font-size:12px; border:1px solid grey"> 1 </span>', 'Comments: <span style="font-size:12px; border:1px solid grey"> % </span>'); ?> <?php comments_template(); ?> </div> <?php endwhile; ?>
the_title() is the function for showing the title of your post. The rest is just additional info. So, it ought to work if you shorten it to this:
<?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="posttitle"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> </div> </div> <?php endwhile; ?>
Remember: this is what my template would look like. If you use a different theme, it might have a slightly different code in it.
Not quite sure if one can leave the comments_template() out… you’ll have to check. So, do not forget to make a backup! ??