Commentpress
Forum Replies Created
-
Forum: Plugins
In reply to: [CommentPress Core] How to reconfigure HeaderHi Gabrielle,
To resize the header will be complex and a lot of work on account of the way the theme layout functions. If you are really set on doing so, then you should make a child theme and work on that – there are no back-end options for doing this. I would recommend adapting your graphics to the layout as it stands unless you are technically proficient.
The logo can be uploaded by choosing the “Customize” option in the admin bar or back-end menu system.
Looking at your site, I suspect that BuddyPress is not installed in a particularly robust way. You might want to look at that before turning your attention to the way that CommentPress works.
Best regards,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Explorer 8 and 9Hi Rani,
Could you be more specific about what doesn’t work for you?
My test installs look (and work) fine in IE8 and IE9 on Win7.Cheers,
ChristianForum: Plugins
In reply to: [CommentPress Core] Re-skinning or Re-templatingHi jabcka,
No, that’s not possible at present. A previous solution has been to use multisite and install CommentPress on a sub-blog. You may be able to cunningly switch theme for a particular post, but I can’t say how that would pan out.
Cheers,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Re-skinning or Re-templatingHi Roland,
(1) your YouTube videos work just fine here. Perhaps there’s something about your computer that prevents them from playing?
(2) Sorry, but I’ve no idea. If you do come across a plugin that does these things, I can make sure CommentPress is compatible with it.
(3) You can find the base translation file in the plugin directory
languages/commentpress-core.pot. Unfortunately, there is no Spanish translation file – but any contribution towards one would be gratefully received.Best wishes from snowy England!
Forum: Plugins
In reply to: [CommentPress Core] Applying CommentPress to Existing & Syndicated PostsUnfortunately that’s unlikely to work, Martha.
wp_autopis applied by WordPress to content on display viathe_contentandthe_excerptfilters, unless you specify otherwise. What you need to ensure is that the raw post/page markup is valid HTML – or produces valid HTML when filtered bywp_autop. Depending on your sources, this may need the intervention of a human, since it is notoriously difficult to correct code programmatically. GIGO, as they say.As a general rule, what CommentPress looks for are simply the
<p>,<ul>and<ol>tags in the content if it is in auto-parsing mode. But as you’ve discovered, you can also use<!--commentblock-->quicktags to arbitrarily sub-divide content. Either way, the content is parsed by CommentPress after WordPress has filtered it. A bit of trial-and-error should get you closer to what you’re after.Cheers,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Applying CommentPress to Existing & Syndicated PostsHi Martha,
It looks like whatever it is that does the syndication is not creating properly formatted post content. The specific URL you posted has an ordered list wrapped in a paragraph tag, for example. And none of the subsequent paragraphs are actually being wrapped in
<p>tags (this is whatwp_autop()does) which is why CommentPress cannot identify them.When I create a new post with your markup, I too see that WordPress fails to wrap subsequent paragraphs in
<p>tags. But when I remove the<p>tags that enclose the<ol>, everything then seems to work as expected. Bear in mind that because you are using<!--commentblock-->quicktags in the content, the individual paragraphs cannot be commented on – only the “blocks” that those tags demarcate.On other pages, I notice that your basic paragraph text is being wrapped in
<div>tags, which CommentPress does not parse as something that can be commented on. If you remove those, you may find that all’s well.I’d suggest debugging the syndication code so that it inserts valid markup in the first place – otherwise WordPress (let alone CommentPress) will struggle with it.
Best wishes,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Basic install on brand new WP install brokenClosing, presume solved.
Forum: Plugins
In reply to: [CommentPress Core] Applying CommentPress to Existing & Syndicated PostsThought I’d quickly add that, in short, any styling of post content – ie anything not done by
wp_autop()– will most likely break parsing of content. This should be more robust in the next update, FWIW, but I know that doesn’t help you much right now.Forum: Plugins
In reply to: [CommentPress Core] Applying CommentPress to Existing & Syndicated Posts@mburtis – can you post a link? If you’d prefer, you can email it to me directly at cpdev@futureofthebook.org
Cheers,
Christian
Forum: Plugins
In reply to: [Networks for WordPress] Warnings when WP_DEBUG enabledCan I recommend using an amended version of deploy.sh for beautifully trouble-free updates to the WP plugin directory? Original script by Dean Clatworthy if you want to fork it yourself.
Forum: Plugins
In reply to: [Networks for WordPress] Warnings when WP_DEBUG enabledThanks! Forked…
Forum: Plugins
In reply to: [CommentPress Core] Re-skinning or Re-templating@doclalor: this was initially how CommentPress worked – or tried to work. It used to create a Javascript-generated comment box from the markup of the “host” theme. Unfortunately, it became unviable because of the variety of markup in different themes. And because the JS-only approach made it impossible to comply with accessibility guidelines. I think Digress.it (which forked from CommentPress way back when) still works this way, though I’m not sure how actively maintained it is.
I can understand that you’d like a “CommentPress-ified” section to your site, but the only solution I can think of right now would be to use Multisite, where your theme is applied to the main site and CommentPress is enabled on a subsite where you want its functionality. You could then use the Theme Customizer to give CommentPress a similar colour scheme and graphic identity to your main site.
Cheers,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Re-skinning or Re-templatingBTW, you may need to include some of the sidebar markup structure, or else the javascript could throw errors.
I’ll think about ways of making this easier in the future.
Cheers,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Re-skinning or Re-templatingIf you download the child theme on GitHub, it does that for you. Have a look at the
functions.phpfile to see how it’s done. Amend to suit your needs.As for replacing the sidebar on a specific page or pages, you can copy
sidebar.phpfrom the default theme into your child theme and add your conditional logic at the top of the file. Along the lines of:global $post; // for some post ID if ( $post->ID == 'some post id' ) { // include your custom sidebar - point to wherever you put it include( get_stylesheet_directory() . '/assets/templates/your_custom_sidebar.php' ); // kick out of the rest of the file return; }Hope that helps,
Christian
Forum: Plugins
In reply to: [CommentPress Core] Possible to use Disqus?A recent project required
<!--nextpage-->to work with CommentPress Core running in a Multisite BuddyPress Groupblog environment, so I’m confident you shouldn’t have any problems if you use that technique.Glad to hear that FB Connect works as expected!
I can appreciate that commenter reputation-gathering is appealing – I’d be interested in how you proceed and the results you get. I’m happy to refine integration with any plugins that you recommend.
Enjoy Paris, if not the conference 😉
Cheers,
Christian