parasew
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: What is forcing my sidebar down in IE?solution: hacking the default css
i was adding the following line to the WordPress Default Theme
overflow:hidden
so the new #content looks like
#content {
font-size: 1.2em;
overflow:hidden;
}
see the results:
https://www.browsercam.com/public.aspx?proj_id=245092g’day,
parasewForum: Fixing WordPress
In reply to: What is forcing my sidebar down in IE?strange, just tested with the WPMU theme, there everything seems to be ok..
https://www.browsercam.com/public.aspx?proj_id=245086did the theme get updated, or is this just a problem with content being to big as stated above?
Forum: Fixing WordPress
In reply to: What is forcing my sidebar down in IE?seems like the searchbox is not the problem — i started a second job without a searchbar, but still the same problem: the sidebar-contents are aligned to the bottom of the page in internet explorer.
https://www.browsercam.com/public.aspx?proj_id=245083Forum: Fixing WordPress
In reply to: What is forcing my sidebar down in IE?hi all, same problem here with the default template from wordpress 1.5.2
is there any fix for that?
i started a browsercam-job to show you the problems in internet explorer
https://www.browsercam.com/public.aspx?proj_id=245081
(see pictures 37-48)Forum: Plugins
In reply to: RSS linklist plugin dissappeared from the web?ok looks like dev.wp-plugins.org is down. any ideas when it will be up again?
Forum: Fixing WordPress
In reply to: default page template broken and weird behaviour in 1.5.1.3thanks for your reply, the problem were some queries i made before, that overwrote the main page.php loop query. the problems are all outlined in the wordpress codex
https://codex.www.ads-software.com/the_loopthanks for your answer anyway Kafkaesqui!
Forum: Fixing WordPress
In reply to: how to save the pages/results in multiple queries?i solved the problems with output buffering, see https://wiki.www.ads-software.com/?pagename=HowTo%2FUseTemplatesInAnyDirectory for some more information
for my special case with the previous/next links, the following code would work:
<?php global $searchnavigation;
ob_start(); ?>
<div class="search_navigation">
<div class="alignleft_search"><?php posts_nav_link('','','??? Previous Entries') ?></div>
<div class="alignright_search"><?php posts_nav_link('','Next Entries ???','') ?></div>
</div>
<?php $searchnavigation = ob_get_contents();
ob_end_clean();for later use you would just
print($searchnavigation);
Forum: Plugins
In reply to: user levels and equality issues: plugin or hack?i found a solution which i wanted to post here if anyone has the same needs:
edit wp-includes/functions-post.php and change line 353 from
|| ($author_data->user_level > $post_author_data->user_level)
to
|| ($author_data->user_level >= $post_author_data->user_level)
this makes postings editable for users of the same levels.
Forum: Plugins
In reply to: user levels and equality issues: plugin or hack?yes, i read that too on the wp-hackers list; is there any other way to change user levels besides switching to unstable-cvs version of wordpress? or is there any semi-stable previous version?
i posted a more modified version on https://parasew.com/hacks
the added feature is if the string is shorter than the length argument, it stays untouched.
have fun!i made a hack to the previous_post() and to the next_post(), maybe this is a nice feature to put in the next release version, as it is fully backwards compatible.
in template-functions-links.php replace the following two functions
function previous_post
function next_post
function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='', $limit, $more_string) {if ( empty($in_same_cat) || 'no' == $in_same_cat )
$in_same_cat = false;
else
$in_same_cat = true;$post = get_previous_post($in_same_cat, $excluded_categories);
if(! $post) {
return;
}if ((isset($limit)) && ($limit >0)) {
$s_post=substr($post->post_title,0,$limit);
if (isset($more_string)) $s_post.=$more_string;
}
else {$s_post=$post->post_title;}$string = '<a>ID).'">'.$previous;
if ($title == 'yes') {
$string .= apply_filters('the_title', $s_post, $post);
}
$string .= '</a>';
$format = str_replace('%', $string, $format);
echo $format;
}// Deprecated. Use next_post_link().
function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='', $limit, $more_string) {if ( empty($in_same_cat) || 'no' == $in_same_cat )
$in_same_cat = false;
else
$in_same_cat = true;$post = get_next_post($in_same_cat, $excluded_categories);
if(! $post) {
return;
}if ((isset($limit)) && ($limit >0)) {
$s_post=substr($post->post_title,0,$limit);
if (isset($more_string)) $s_post.=$more_string;
}
else {$s_post=$post->post_title;}$string = '<a>ID).'">'.$next;
if ($title=='yes') {
$string .= apply_filters('the_title', $s_post, $nextpost);
}
$string .= '</a>';
$format = str_replace('%', $string, $format);
echo $format;
}the functions are called like this:
previous_post('??? %','','yes','','','',8,'(...)');
next_post(' % ???','','yes','','','',9,'(...)');
the number (7th argument) indicates the length after which the output should be cropped. (optional)
the 8th argument is the text to put after the cropping.useful? i think so!
Forum: Fixing WordPress
In reply to: help on apache url rewriting rulesplease, need some examples on how you ppl from the forum use mod_rewrite url redirecting. especially for “ultimate tag warrior” but also for other purposes!
thanks a lotForum: Plugins
In reply to: eventcalendar2 or alternativeseventcalendar2 does work super, you just have to read the documentation and also other posts on this topic.
there is a plugin for future posts
https://www.figby.com/archives/2005/04/12/wordpress-15-plug-in-view-future-posts/also read the following posting for more information
https://www.ads-software.com/support/topic/33468Forum: Plugins
In reply to: anyone interested in making extcalendar2 a plugin?there is a plugin like this, you might want to take a look at eventcalendar2
https://codex.www.ads-software.com/Plugins/EventCalendar2Forum: Fixing WordPress
In reply to: change behaviour of WP 1.5 the_excerpt() and removing linebeaksthe_excerpt() is always outputting
<p>
tags around the text. any idea if this behaviour can be changed? does one have to hack the sources or is there any other way too?