Forum Replies Created

Viewing 12 replies - 46 through 57 (of 57 total)
  • Forum: Fixing WordPress
    In reply to: Comments Help

    This is not the default behavior of WordPress…. You’d have to hack into the core to change it.

    In wp-includes/comment-functions.php, find:

    function get_comment_author_link() {
    global $comment;
    $url = get_comment_author_url();
    $author = get_comment_author();

    if ( empty( $url ) )
    $return = $author;
    else
    $return = "<a href='$url' rel='external nofollow'>$author</a>";
    return apply_filters('get_comment_author_link', $return);
    }

    Change the return line to:
    $return = "<a href='$url' rel='external' target='_blank'>$author</a>";

    Note that the target attribute is not valid XHTML 1.0 Strict, but its up to you if you care about that.

    If you do a search on these forums, there are a number of threads on “Error 12.”

    Basically, you need to call your host and have them sort out the MySQL server.

    Some users have reported success by using “Repair Tables” in PHPMyAdmin.

    Did you see:
    https://www.unknowngenius.com/blog/wordpress/spam-karma/false-positives/
    ?

    Sproke, no that’s not meant to happen – if it deleted 0 entries, that means the blacklist was empty… hence the spam coming through. Are you sure everything is installed correctly?

    As for your friends, are they AOL users? Or other users behind a proxy? This will cause the secret code embedded in the comment form to be incorrect upon submission, leading to comment deletion. The other problem is that your friends could be on a Realtime Blacklist server, such as SpamHaus. Turn off the RBL check in your options.

    Spam Karma 2 has whitelisting options (i.e. automatically approving your friends) but SK1.20 does not.

    ??

    Hmm the standard:

    <li><h2><?php _e('Categories'); ?></h2>
    <ul><?php wp_list_cats('sort_column=name&hide_empty=0&optioncount=1'); ?>
    </ul>
    </li>

    seems to work for me…

    Forum: Plugins
    In reply to: Gamerz wp-email and 1.5
    emt036

    (@emt036)

    Ok, let’s try that again…

    <a href=\"https://www.subaquasternalrubs.com/index.php?p=$p\">

    Forum: Plugins
    In reply to: Gamerz wp-email and 1.5
    emt036

    (@emt036)

    Hmm, probably because you don’t use “nice” .htaccess permalinks ??

    Try

    instead.

    Not sure if you need the extra backslashes (\) in there, so you can try it with and without and see what works.

    Forum: Plugins
    In reply to: Moblog??
    emt036

    (@emt036)

    but I just remembered you need a cronjob for that too… So no go, sorry ??

    Forum: Plugins
    In reply to: Moblog??
    emt036

    (@emt036)

    You could use an SMS-to-email gateway to send the SMS via email to your secret mail-posting address, and post by mail as usual…

    Forum: Plugins
    In reply to: Gamerz wp-email and 1.5
    emt036

    (@emt036)

    Yup, I got it fixed in 1.5, and made it look prettier too by integrating the default “Kubrick” theme header, sidebar and footer.

    Now I don’t know anything about coding, I just hacked stuff together until it worked. So it works perfectly fine, but if anyone wants to make the code prettier, they are more than welcome to ??

    You can get the source here:
    https://www.subaquasternalrubs.com/wp-email.phps

    Note that there are two spots in the code where you will have to change my URL to yours, as well as enter in your own mail server data…

    Let me know how it goes…

    As far as I know, it is not possible via WordPress. You will have to “hack” into your MySQL database.

    Using PHPMyAdmin or similar, browse to your wp_users table, then just change the login name of user #1.

    What seemed to work for me is unchecking the “newly registered users can post” box and in wp-admin/menu.php, change the user levels to what suits your needs. As an example:

    $menu[0] = array(__('Dashboard'), 0, 'index.php');
    $menu[5] = array(__('Write'), 5, 'post.php');
    $menu[10] = array(__('Manage'), 5, 'edit.php');
    $menu[20] = array(__('Links'), 5, 'link-manager.php');
    $menu[25] = array(__('Presentation'), 8, 'themes.php');
    $menu[30] = array(__('Plugins'), 8, 'plugins.php');
    $menu[35] = array(__('Users'), 0, 'profile.php');
    $menu[40] = array(__('Options'), 6, 'options-general.php');

    if ( get_option('use_fileupload') )
    $menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');

    $submenu['post.php'][5] = array(__('Write Post'), 5, 'post.php');
    $submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php');

    $submenu['edit.php'][5] = array(__('Posts'), 5, 'edit.php');
    $submenu['edit.php'][10] = array(__('Pages'), 5, 'edit-pages.php');
    $submenu['edit.php'][15] = array(__('Categories'), 5, 'categories.php');
    $submenu['edit.php'][20] = array(__('Comments'), 5, 'edit-comments.php');
    $awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'");
    $submenu['edit.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), $awaiting_mod), 5, 'moderation.php');
    $submenu['edit.php'][30] = array(__('Files'), 8, 'templates.php');

    $submenu['link-manager.php'][5] = array(__('Manage Links'), 5, 'link-manager.php');
    $submenu['link-manager.php'][10] = array(__('Add Link'), 5, 'link-add.php');
    $submenu['link-manager.php'][15] = array(__('Link Categories'), 5, 'link-categories.php');
    $submenu['link-manager.php'][20] = array(__('Import Links'), 5, 'link-import.php');

    $submenu['profile.php'][5] = array(__('Your Profile'), 0, 'profile.php');
    $submenu['profile.php'][10] = array(__('Authors & Users'), 5, 'users.php');

    $submenu['options-general.php'][5] = array(__('General'), 6, 'options-general.php');
    $submenu['options-general.php'][10] = array(__('Writing'), 6, 'options-writing.php');
    $submenu['options-general.php'][15] = array(__('Reading'), 6, 'options-reading.php');
    $submenu['options-general.php'][20] = array(__('Discussion'), 6, 'options-discussion.php');
    $submenu['options-general.php'][25] = array(__('Permalinks'), 6, 'options-permalink.php');
    $submenu['options-general.php'][30] = array(__('Miscellaneous'), 6, 'options-misc.php');

    $submenu['plugins.php'][5] = array(__('Plugins'), 8, 'plugins.php');
    $submenu['plugins.php'][10] = array(__('Plugin Editor'), 8, 'plugin-editor.php');

    $submenu['themes.php'][5] = array(__('Themes'), 8, 'themes.php');
    $submenu['themes.php'][10] = array(__('Theme Editor'), 8, 'theme-editor.php');

Viewing 12 replies - 46 through 57 (of 57 total)