travelvice
Forum Replies Created
-
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Failed: "Create a real management page"Howdy – I wish that was the case. I’m running a fresh install on 3.1.3 MutiSite on localhost and this plugin + ‘Proper Network Activation’ are the only two active when tested. :\
It’s not a show stopper for my dev work, but I suppose I should let you know that I’m having the issue.
I’ll go ahead and close this thread as I think we’ve no where to proceed from here diagnostically and I know you’re a busy guy.
Cheers
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Failed: "Create a real management page"Alas, that’s a negative — same result, Camu.
Forum: Plugins
In reply to: [TagPages] [Plugin: TagPages] meta data in headerCheers!
Forum: Fixing WordPress
In reply to: How does WordPress determine which unapproved comments are mine?Howdy, actually I was more interested in the cookie that WP sets in wp-comments-post.php and then evaluates when wp_list_comments is run.
I was actually hoping to leverage some of that comparison code to see if I could create something similar to the $comment->comment_approved value that could be used outside of the comments loop.
No worries though.
Forum: Networking WordPress
In reply to: Add Site Links to Admin Sidebar?add_submenu_page
it shall be. Thanks much for the brain power on this — extremely helpful narrowing down exactly what needs to be done.Forum: Networking WordPress
In reply to: Add Site Links to Admin Sidebar?I hadn’t looked at that little fella yet. Certainly nicer…
but. BUT. (hehe)
I would still rather go the menu route instead of the bar. Sounds like a plugin it is.EDIT: I wonder if this will fit the bill: https://www.ads-software.com/extend/plugins/admin-menu-editor/
Forum: Networking WordPress
In reply to: Add Site Links to Admin Sidebar?@ipstenu – that would be correct, sir! Admin only… my hope would be across all the admin dashboards, not just the network admin. :\
Forum: Networking WordPress
In reply to: Add Site Links to Admin Sidebar?Alas, I do not. On a netbook as I travel, and screen real estate is a premium. ??
I’m having the same problem. Would like to know if there’s an escape character that I can use so that I can place this in there:
after = wrap each in <div class="video-clip">
Great to hear!
Yep, that’s the ticket.
Added to my location of choice:
<?php if (function_exists('subscribe_reloaded_show')) subscribe_reloaded_show(); ?>
This line commented out in the plugin (or else it will still hook and display twice):
//add_action('comment_form', 'subscribe_reloaded_show');
Thanks Camu — must’ve skimmed right over that one. Will let you know how it turns out! Thank you
Forum: Plugins
In reply to: how to display comment reply-button after every comment in 2 levels threads?So, this is pretty neat.
Building off of what MarcDK has created…If you’d like the reply form to drop in below the last child instead of popping up to the top parent comment, as well as change “Reply” to “Reply to this thread”, try this:
var lastchild = $(this).parent().parent().children('.children').children(":last"); var lastchildattr = $(this).parent().parent().children('.children').children(":last").children().attr("id"); var targetdiv = $(this).parent().parent().children('.children').children(":last").children().children('.reply'); var continuethread = $(this).html().replace(/comment\-(\d+)/g, lastchildattr).replace('>Reply<', '>Reply to this thread<'); $(targetdiv).replaceWith('<div class=\"reply\">' + continuethread + '</div>');
It looks totally absurd, but this is how it would be done using the TwentyTen theme, which has a commenting nest like so:
<ol class="commentlist"> <li class="depth-1" id="li-comment-1"> <div id="comment-1"> (all that comment's data and divs) </div> <ul class='children'> <li class="depth-2" id="li-comment-2"> <div id="comment-2"> (all that comment's data and divs) </div> </li> </ul> </li> </ol>
Because
comment_reply_link
is a little silly in that it will dump empty divs where the reply link should go, we can take advantage of this and replace it for the last child.Remember, this is only for comments with one level of threading (depth 2).
Forum: Plugins
In reply to: how to display comment reply-button after every comment in 2 levels threads?Very interesting!
Hozyali – If you’re still around, don’t use this code block below (as it goes about things in the wrong way), but just for example purposes:
<head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('.commentlist > li > div .reply').each(function() { var reply = this; var lastchild = $(this).parent().parent().children('.children').children(":last"); $(reply).clone().appendTo(lastchild); }); }); </script> </head>
Note, as is, this will still jump the form all the way back up to the parent comment when the cloned reply button is clicked (and the comment-reply.js is active).
Forum: Fixing WordPress
In reply to: Displaying Post Date with next_post() or previous_post()?Indeed!
Yeah, you’d still have to use build a lot of it out: …the link (
get_permalink($previous-post->ID)
), convert the date, a sanitized post title for the anchor tag (if desired).I do like how I can keep all this in a variable though, for use again on the same page without querying all over again.
Thanks for your thoughts!