elbuzzard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_links_list sort problemI had the same problem.
I found that under the admin panel, the links sort order for the default cateogry was set to random by default. Check it out and see if that helps.
Forum: Fixing WordPress
In reply to: eventCalendar2 plugin problem (sorta)It seems that the instructions for hacking the wp-blog-header.php file are only good for version 1.2 of WP.
I checked the author’s site, and it states he is no longer providing support for the mod.
If anyone who is familiar with both versions 1.2 and 1.5 could identify where the hack would go in the new versions, it would be much appreciated.
The current instructions (1.2) read:
To hack wp-blog-header.php, add these two lines after line 229: (Don't
forget to replace X with your event category ID.)***************
*** 427,432 ****
--- 427,434 ----
$now = gmdate('Y-m-d H:i:59');if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
+ $get_event_calendar_hack=True;
+ if ((empty($cat) || $cat != 'X') && (strlen($m)<8) && ($day=='') && (empty($p) || ($p == 'all'))) # !! Replace X !!
if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
$where .= " AND post_date_gmt <= '$now'";
}With the hack in place, future posts are shown if you ask for their specific
date (click on a calendar day) OR if you ask for the events category.Unfortunately, line 229 looks nothing like this in 1.5. Line 196 is closer:
if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
if ( get_settings('gzipcompression') )
gzip_compression();
}, but my experimentation has failed so far. Anyone have a solution for this problem?