FrancescoRizzi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: codex.www.remarpro.com showing 504 bad gateway redirectSweet, thanks @exiles_return
Forum: Fixing WordPress
In reply to: codex.www.remarpro.com showing 504 bad gateway redirect(anyone got a mirror by chance? I was looking for the instructions on how to have WP in a non-root directory controlling the root ie: this topic on the Codex: Giving_WordPress_Its_Own_Directory )
Forum: Fixing WordPress
In reply to: codex.www.remarpro.com showing 504 bad gateway redirectlittle *bump – mostly to ask: anyone knows if there’s a page or twitter account worth following to see if/when anyone on the team has an ETA on the codex coming back to life?
Forum: Fixing WordPress
In reply to: Can't Delete CommentsThis page (once you’re logged in as an administrator)
/wp-admin/edit-comments.phpusually shows a checkbox next to each comment for me.
If not, I guess you may have to clear the database table directly (wp_comments table I believe – I would check with the codex bu the codex site seems down at the moment)
HTH
Forum: Fixing WordPress
In reply to: codex.www.remarpro.com showing 504 bad gateway redirectNo clue, but I can confirm I’m seeing the same error for the last.. hmm 1 hour or so.
I hope it’s a temporary issueForum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Not working in 3.0.2hey mlombaard. Sorry if I didn’t answer yesterday. Saw your questions come through as email but they were not displaye don the forum yet.
I just sent you a reply – but for anyone else who may be reading this, yes:
1. add the function to your theme’s functions.php
2. call the function from the theme template file, where you want those links to appear:
<?php echo FRDF_LoginRegisterLogoutAdmin(); ?>Other notes:
~ changing theme files like this means a theme update may throw your changes away: consider creating a child theme or your own theme
~ There’s i18n weaved in that function. If you want to retain that ability, please don’t use FRDF_TEXTDOMAIN as the text domain argument passed to _x (you probably want to use your own theme’s text domain in its place)HTH
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Not working in 3.0.2Here’s a function from one of my themes that should do what mlombaard was asking for (although it doesn’t interact with RPR)
Sorry for the length of it, but it has i18n weaved in.
HTH,
FRif ( ! function_exists( 'FRDF_LoginRegisterLogoutAdmin' ) ): function FRDF_LoginRegisterLogoutAdmin() { $full = ''; if(is_user_logged_in()) { $full = sprintf( _x('<a href="%1$s" title="%2$s">%3$s</a> or <a href="%4$s" title="%5$s">%6$s</a>', 'FRDF Format for Admin/Logout links', FRDF_TEXTDOMAIN), admin_url(), _x('Enter the Administrative area', 'FRDF Title for Link to Admin area', FRDF_TEXTDOMAIN), _x('Admin Area', 'FRDF Text for Link to Admin area', FRDF_TEXTDOMAIN), wp_logout_url(), _x('Logout', 'FRDF Title for Link to Logout', FRDF_TEXTDOMAIN), _x('Logout', 'FRDF Text for Link to Logout', FRDF_TEXTDOMAIN) ); } else { $full = sprintf(_x('<a href="%1$s" title="%2$s">%3$s</a> or <a href="%4$s" title="%5$s">%6$s</a>', 'FRDF Format for Login/Register message', FRDF_TEXTDOMAIN), wp_login_url(), _x('Login', 'FRDF Login Link Title', FRDF_TEXTDOMAIN), _x('Login', 'FRDF Login Link Text', FRDF_TEXTDOMAIN), site_url('wp-login.php?action=register', 'login'), _x('Create New Account', 'FRDF Register Link Title', FRDF_TEXTDOMAIN), _x('Register', 'FRDF Register Link Text', FRDF_TEXTDOMAIN) ); } return $full; } endif;
Forum: Fixing WordPress
In reply to: WP 3.0.4 doesn't recognize need to update to 3.1Manual update, as documented here
in the Codex did work for me… still curious about my questions above for future reference – thanksForum: Fixing WordPress
In reply to: Skipping the leaf?I realized in my original post I was erroneously using get_the_category to retrieve the category – should have been get_category instead.
Anyways, my current solution below for anyone else who may need this – still interested to see if there was a built-in solution to my situation so I’m leaving this open for now
if ( ! function_exists( 'FRD_CategoryAscendants' ) ): function FRD_CategoryAscendants($leafID, $skipLeaf = false) { $visited = array(); $categories = array(); $current = get_category($leafID); if(!empty($current)) { $visited[] = $current->ID; if(!$skipLeaf) { $categories[] = $current; } while($current->parent) { $parent = get_category($current->parent); if(!in_array($parent->term_id, $visited)) { $categories[] = $parent; $visited[] = $parent->term_id; } $current=$parent; } $categories = array_reverse($categories); } return $categories; } endif;
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Not working in 3.0.2Hey mlombaard, I think I encountered the same error at one point.
Have you tried checking the options at the bottom of the RPR configuration screen?Gosh I wish I remember their name or had an installed RPR handy… really, they are the last two on the page and they talk about “URL file-access” iirc.
I think that solved the issue for meForum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] with Multisiteradiok, thanks for the info!
I’ll mark as resolved as, in fact, you have answered my question.
Please, don’t consider this a high-priority feature on our behalf – we’re debating whether we need multisite anyway.
Thanks again!+1 for this request – I had made myself a note to hack it via jQuery after page load, but it’s great to see you’re looking at making this configurable! Thanks in advance
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Not working in 3.0.2Curious, because I didn’t encounter errors with 3.0.2 (yet). What issue are you experiencing ?
Forum: Networking WordPress
In reply to: wp_register errorsSweet! Will look – thanks for the tip!
Forum: Networking WordPress
In reply to: wp_register errorsAnd it is no longer mu. You’re running multisite or a network (network will be way more prominent in 3.1). If you say MU most people assume pre-2.9.2.
So… just link to the signup page.Hey Andrea, thanks for the reply – and the clarification (been struggling with the MU vs multisite terminology since 3.0).
Anyway, so… the recommended approach is to add a link to the signup page on my own instead of using wp_register?
I’ll try that and see if Register Plus Redux still kicks in that way.
See, part of the problem is that we need to have a few extra fields on sign-up, like mailing address, membership level, etc. Register Plus Redux allowed all that easily – but if in multisite there’s a preferred alternative, I can change direction quickly.Thanks again – I appreciate the help