Forum Replies Created

Viewing 6 replies - 31 through 36 (of 36 total)
  • One 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 screen

    Direct 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!

    Another 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!

    Ok.. 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!!

    This 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!!

    Very useful… my site is for a ‘closed’ community and this would sort out a lot of issues!

    I’m having the same headache! The mail address in Options > General has no effect… keeping getting [email protected]

Viewing 6 replies - 31 through 36 (of 36 total)