opaz59
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: a quick php/html question..I used the first one and it seems to work perfectly. I thank you.
Forum: Fixing WordPress
In reply to: a quick php/html question..ah see what you mean lol.
Forum: Fixing WordPress
In reply to: a quick php/html question..good plan. i’ve done as you suggest. cheers
Forum: Fixing WordPress
In reply to: a quick php/html question..Forum: Fixing WordPress
In reply to: a quick php/html question..nah – it doesnt like that. the whole code segment is:
<?php
}if ( $recentposts = $wpdb->get_results(“SELECT ID, post_title, post_content FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_date_gmt < ‘$today’ ORDER BY post_date DESC LIMIT 5”) )
{
?>
<div style=”float:right;width:33%;”>
<h3><?php _e(‘Recent Posts’); echo ” »“; ?></h3>-
<?php
- ID’>”;
the_title();
echo ‘
‘.substr(strip_tags($post->post_content),0,150).’ […]
foreach ($recentposts as $post)
{
if ($post->post_title == ”)
$post->post_title = sprintf(__(‘Post #%s’), $post->ID);
echo ”‘;
}
?>Forum: Fixing WordPress
In reply to: a quick php/html question..sorry wrong category – i blame the mouse roller
Forum: Plugins
In reply to: Forum PluginXavic, in forum admin I’m getting:
WordPress database error: [You have an error in your SQL syntax near ‘ENGINE=MyISAM’ at line 13]
CREATE TABLEwp_xdforum_forums
(xf_id
int(11) NOT NULL auto_increment,xf_xg_id
int(11) NOT NULL default ‘0’,xf_position
int(11) NOT NULL default ‘0’,xf_name
varchar(150) NOT NULL default ”,xf_description
varchar(255) NOT NULL default ”,xf_status
enum(‘active’,’inactive’,’readonly’) NOT NULL default ‘active’,xf_threads
int(11) NOT NULL default ‘0’,xf_posts
int(11) NOT NULL default ‘0’,xf_views
int(11) NOT NULL default ‘0’, PRIMARY KEY (xf_id
), KEYxf_id
(xf_id
) ) ENGINE=MyISAMForum: Fixing WordPress
In reply to: Post from a different catagory at the top of the catagory pageI know what you mean! cos I want to do that too. Did you find a way?
Forum: Fixing WordPress
In reply to: Users can’t post storiesah that’ll be it – level 2. the pre-upgrade members are still at level 1.
Thanks Michael!
Forum: Plugins
In reply to: Forum Plugincouldnt quite follow the instructions for configuring xdforum.php.
Forum: Fixing WordPress
In reply to: jvisitors plugin broke after upgradesorted it, miraculously. if anyone else has the same problem:
insert
session_start();
if (!isset($_SESSION[‘JOE_VISITOR_ID’]))
$_SESSION[‘JOE_VISITOR_ID’] = md5(time());into wp settings
Forum: Fixing WordPress
In reply to: jvisitors plugin broke after upgradeactually they didnt. I didn’t really understand what I needed to do. I tried putting
<?php include(ABSPATH . ‘/jvisitors.php’); ?>
into my ‘template’ (which I assume to be another name for the ‘index.php’ file that resides in my themes/carrots folder?)
and it resulted in my uri leading straight to jvisitors.php
so…I need some kind of idiots guide
opaz
Forum: Fixing WordPress
In reply to: jvisitors plugin broke after upgradeyep, looks like they could help, cheers
opaz
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1sure thing podz
btw your upgrade instructions are excellent, thanks
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1just upgraded from 1.2 to 1.5. jvisitors is broke. someone said earlier its easily fixed by changing a couple of lines, can anyone tell me what lines to change??
cheers
mike
- ID’>”;