Archive for the 'PHP' Category
Using multiple categories in EventCalendar3 for WordPress (update 1)
1 Comment Published by sosuke June 11th, 2006 in WordPress, PHP, Portfoliowp-includes/classes.php line 679-702, for the Events listed outside of the Event category
PLAIN TEXT
PHP:
if (mysql2date('U', $this->posts[0]->post_date_gmt)> mysql2date('U', $now)) { //it's future dated
$this->is_preview = true;
/* DIRTY FUTURE-POSTS HACK FOR EC3 */
if (function_exists('ec3_get_calendar')) {
global $ec3;
$ec3_post_0_is_event = intval($wpdb->get_var(
[...]
Using multiple categories in EventCalendar3 for WordPress
0 Comments Published by sosuke June 11th, 2006 in WordPress, PHP, PortfolioSo I read at a few points that EventCalendar 3.1 was on its way, but I decided to start mangling some code to get multiple event categories to work!
Open eventcalendar3.php near line 525;
PLAIN TEXT
PHP:
// Which posts are we interested in?
if($ec3->show_only_events)
{
// Category ID number for event posts.
$where_post = "category_id IN ('$ec3->event_category','14')";
}
I changed $where_post to add [...]
Future post searching for WordPress
2 Comments Published by sosuke June 7th, 2006 in WordPress, PHP, PortfolioI am setting up a new WordPress blog, 2.0.3, for another site. This site is using EventCalendar 3.0 and will have future scheduled posts that represent events. However WordPress doesn't have this option built in from what I can see and a quick search yielded no results.
I did a few searches and finally opened up [...]
Search
About
You are currently browsing the Sosuke weblog archives for the 'PHP' category.
Longer entries are truncated. Click the headline of try you wish to read it in its entirety.
Latest
- Weddingtracker launched!
- New Portfolio Site Launch!
- De-constructing Malicious Flash
- worldofwarcraft.com front and back-end analysis
- Flashforward Roundup
- Using multiple categories in EventCalendar3 for WordPress (update 1)
- Using multiple categories in EventCalendar3 for WordPress
- Future post searching for WordPress
- Tool - 10,000 Days Pre-Release Listening Party
- On the subject of job searches.
Archives
Categories
- Flash (4)
- PHP (3)
- Portfolio (6)
- Random (1)
- The Hunt (1)
- Uncategorized (1)
- Website Analysis (4)
- Websites (1)
- WordPress (3)