3stripe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Examples of wordpress as CMSI’d agree with that. Maybe keep the php files from the theme, but delete all of the css… if you’re up for the challenge…
Forum: Fixing WordPress
In reply to: Examples of wordpress as CMSI have one… but it’s not public yet 😉
Have also used WP as a News CMS on a Flash site at http://www.thirdeyedesign.co.uk/
Forum: Plugins
In reply to: Plugins used Plugin questionYou would need to edit the code at http://www.andrewsw.com/text/pluginsUsedPlugin.txt, at the line where it adds the link…
Most people know how to open links in a new tab/window if they want to though?
Forum: Plugins
In reply to: Forum Integration with WordPressmadonnafl… try posting a request for this at http://lussumo.com/community/discussion/1833/integration-with-wordpress/ as well 😉
lots of people want to integrate vanilla/wordpress, but no-one has done it… yet…
Forum: Plugins
In reply to: Vanilla forum integrationThanks!
Forum: Plugins
In reply to: Vanilla forum integrationHas anyone made any progress with this yet? If so please post a message on the Vanilla forums and watch out for me there!
🙂
Forum: Plugins
In reply to: Lussumo Vanilla Web ForumVanilla 1.0 is now available (and it’s a beautiful forum to behold) from http://getvanilla.com/
So… we need a kind and knowledgeable soul to build a WordPress plugin that integrates nicely with Vanilla’s login system.
Can you help?
Ideally I guess, WordPress and Vanilla would share logins, so that you only need to sign up once…
Vanilla is very well put together behind the scenes (see http://lussumo.com/docs/doku.php?id=vanilla:development:delegation&s=people for example), so it shouldn’t be too hard if you know your PHP. See or ask at http://lussumo.com/community/ if you need more info on Vanilla!
Forum: Fixing WordPress
In reply to: Complex loop question (Show child pages of page on 2 columns)Fixed 🙂
if ($postcount == $size/2) {
echo('</div>');
echo('<div id="rightcol">');
}
$postcount++;
}Forum: Fixing WordPress
In reply to: Complex loop question (Show child pages of page on 2 columns)In fact, I’m using some new code now, which {nearly} works… but the if statement at the end to detect the halfway point in the loop is not working…
$parent_title = $page->post_title;
// See if there are any subpages of this page
$subpages = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_parent = '$parent_id'");
if( $subpages > 0 ) {
// Grab the HTML formatted list of subpages
$junk .= wp_list_pages("child_of=$parent_id&depth=$depth&sort_column=menu_order&echo=".(!$return)."&title_li=0");
//Break them into an array of individual lines
$lines = explode("n", $junk);
$postcount = 0;
echo('<div id="leftcol">');
// Step through the lines and ...
foreach ($lines as $value) {
echo $postcount;
// Isolate just the post-slug-title
$temp = explode("/\" title=\"", $value);
$temptwo = explode("/", $temp[0]);
$size = count($temptwo)-1;
$getme = trim($temptwo[$size]);
$name_or_id = "post_name = '$getme' AND";
// Here we grab post data from the database
$post = $wpdb->get_row("SELECT * FROM $table WHERE $name_or_id post_date <= '$now' AND ($query_suffix) ORDER BY post_date DESC LIMIT 1");
// Display the image from the custom meta field
$currentpostid = $post->ID;
$postmeta = get_post_meta($currentpostid, 'prepic', true);
echo("<img class='mugshot' src='".$blogurl."http://www.e-tv-interactive.com/new/".$postmeta."' />");
// And grab and display the actual title while we are in the neighborhood
$grab = explode("\"", $temp[1]);
echo("<h3>$grab[0]</h3>");
// And echo the post content
echo("<p>");
echo($post->post_content);
echo("</p>");
echo("n");
// Once we are halfway through the child pages, start the second column
if ($postcount == $size/2) {
echo('</div>');
echo('<div id="rightcol">');
$postcount++;
}
}
echo('</div>');
}Any ideas much appreciated 🙂
Forum: Fixing WordPress
In reply to: Two Column Content?I’d love to see this plugin as well. I’ve used a similarly convoluted method, and it’s not good for clients!
I also think it’s very restrictive only having 1 column available, especially with multil column css layouts just around the corner
Forum: Fixing WordPress
In reply to: Images specified in Custom FieldsI’m still really interested in this. I don’t have time to make my own thumnails for all posts (especially with other folk adding posts themselves as well)… it needs to be automated….
Forum: Plugins
In reply to: Forum Integration with WordPressVanilla is now up for download at http://getvanilla.com/ (check out the screencasts)
Forum: Fixing WordPress
In reply to: how to turn off e mail notification of blog author commentsD’oh. Couldn’t find that before. Cheers!
Forum: Fixing WordPress
In reply to: how to turn off e mail notification of blog author commentsMe too. In fact I don’t mind the email asking for approval, but why another one straight after that? I know it’s been approved cos I check the box to do it 🙂
Forum: Themes and Templates
In reply to: ‘More’ functionality not working correctlyThat is a great tip Matt, I spent ages looking in the codex but it’s not there I don’t think!