mickemus
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Blank home pageOne more here… i can admin the site no problem but when i view the site comes up blank. Viewing the source comes up with the same result as ‘rolla’ above.
I’ve cleared the cache on the server… no luck.
I’ve cleared the cache in my browsers (camino/safari)… no luck
I’ve optimised the DB… no luck
My gallery2 plugin (wp-gallery2.php) brings up blank screenDirect access to gallery2 is NO problem at all!
I’m using wordpress 2.0.1.
Btw.. I’ts been up and running nicely for the last few weeks!!!
HELP!
Forum: Fixing WordPress
In reply to: How to create a Dynamic Menu Title using “Title_li” in WP_LIST_PAGESAnother newbie here… I’m using the vSlider theme and this does just that.
header.php:
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?>sidebar.php
<!-- Show subpages, if available -->
<?php
if (is_page() && $post) {
$current_page = $post->ID;while($current_page) {
$page_query = $wpdb->get_row("SELECT ID, post_title, post_parent FROM $wpdb->posts WHERE ID = '$current_page'");
$current_page = $page_query->post_parent;
}$parent_id = $page_query->ID;
$parent_title = $page_query->post_title;
$test_for_child = $wpdb->get_results("SELECT * FROM $wpdb- >posts WHERE post_parent = '$parent_id'");if($test_for_child) {
?><div class="hr"></div>
<div class="sidebar">
<a href="<?php echo get_settings('siteurl') . '/' . get_page_uri($parent_id) ?>"><h2><?php echo $parent_title; ?> </h2> </a><ul>
<?php wp_list_pages('sort_column=menu_order&title_li=&child_of='. $parent_id); ?>
</ul>
</div>
<?php } } ?>The full code is available at: https://irui.ac/cool-stuff/vslider
Good luck!
Forum: Fixing WordPress
In reply to: New user registration emailOk.. some digging and searching through the hords of php files… here is the hack:
– All the settings you need are in /wp-includes/pluggable-functions.php
– Go to line 119 – wordpress@ is HARDCODED!!!
– Replace this line:
“From: wordpress@” . preg_replace(‘#^www\.#’, ”, strtolower($_SERVER[‘SERVER_NAME’])) . “\n” .
– With this line:
“From: Your nice name here <[email protected]” . “\n” .This is a HACK by a novice so if someone can help correct the code to map it towards the details in the Options / General settings this would be EXCELLENT!!
Forum: Installing WordPress
In reply to: Cannot modify header information – headers already sent byThis solved my problem. Tx. Word of caution though… tools like Adobe GoLive likes to stick meta tags (encoding info etc) at the top of the PHP files. Make sure u switch such automated ‘stupidity’ ?? OFF!
Cheers!!Forum: Requests and Feedback
In reply to: Registration Approval/ModerationVery useful… my site is for a ‘closed’ community and this would sort out a lot of issues!
Forum: Fixing WordPress
In reply to: New user registration emailI’m having the same headache! The mail address in Options > General has no effect… keeping getting [email protected]