not2bug
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP-Task-Manager] Functional – Suggestions for DevelopmentI’d suggest multi-site compatibility, especially since WP3.0 has it built in (assuming it’s not already in progress for version 2).
Thanks.
Forum: Plugins
In reply to: [Plugin: Fotobook] Not connecting correctly to Facebook accountI’m getting exactly the same thing.
Forum: Fixing WordPress
In reply to: IMAGES – Why are they multiplying like rabbits?Thanks!
how did you make that?, i have kinda the same problem
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] How to align center nggallery?I’d also like to know. Is there no way?
Please. ??
Forum: Fixing WordPress
In reply to: too many files in upload directories?dlawton, what plugin do you recommend?
Forum: Fixing WordPress
In reply to: IMAGES – Why are they multiplying like rabbits?Yes, indeed. Is there any way? It’s an awful waste of space!
Forum: Plugins
In reply to: Post Author PluginIf you add an option that “forces ‘at the top’ on listing” be sure to strip off any leading mixture of <br ?/?> tags, spaces, and . I used such things to add padding to my footer, for example.
On second thought, a better approach would be to have a separately configurable div that appears in lists.
But to make room for that in the admin interface, you’d probably need to combine all that you currently have into a single field with a regex/parser to swap out keywords.
Written by: {author} on {pubdate}, Last revised by: {revauthor} on {revdate}.
Sort of like a time format with YYYY-MM-DD having letters substituted into a string of arbitrary separators.
https://www.w3.org/TR/NOTE-datetimeForum: Plugins
In reply to: Post Author PluginOh, sorry tzavdesign, I missed your post above mine.
I’m on a multi-user blog, and I use your plugin so I don’t have to edit the template (which didn’t identify authors). Info at the top isn’t obtrusive if I keep it brief with a small font at the top.
<span style=’font-size: x-small’>Written by: ExampleName</span>
Previously, I used your plugin as a footer, was better than nothing.
?
Written by: ExampleNameForum: Plugins
In reply to: Post Author PluginThe bug seems to appear when there is a “hide” exception for a post or page
I wasn’t using exceptions, though those would also trigger it. Your IF line that checks for page/post isn’t returning true for the main page (aka home). Hence, author info isn’t being shown there.
See my “is_home()” fix above.
https://codex.www.ads-software.com/Conditional_TagsThe duplication bug in 0.5 was because the line that cleared $content was inside that page/post block (only coincidentally in the $author_exception != ‘on’ check). And the lines that concatenated $content_org and $content (which was identical text) always ran, everywhere, duplicating everywhere there wasn’t detected as a page/post. The only place it wasn’t duplicated was when reading a single page or post.
In 0.51, moving the concatenation inside the IF ensures the plugin only messes with content it recognizes, so no more collateral duplication.
But 0.51 <u>still isn’t showing author info on the main page.</u>
From the docs:
is_home() : When the main blog page is being displayed. This is the page which is showing the time based blog content of your site, so if you’ve set a static Page for the Front Page (see below), then this will only be true on the Page which you set as the “Posts page” in Administration – Settings – Reading.
In other words, it’s the area of a blog where you see several posts in reverse order (most recent at the top), and their content is truncated by MORE tags. It’s the area most readers initially see before clicking on a title or a “Read the rest” link to jump to a single post.
PS The add_filter() typo is in 0.51 too.
Forum: Plugins
In reply to: Post Author PluginIncidentally, there’s a harmless typo at the end, according to the wordpress plugin documentation…
add_action(‘the_content’, ‘add_author_to_post’, 20);
Should be:
add_filter(‘the_content’, ‘add_author_to_post’, 20);
The other add_action() lines are fine.https://codex.www.ads-software.com/Plugin_API
https://codex.www.ads-software.com/Plugin_API/Action_Reference
https://codex.www.ads-software.com/Plugin_API/Filter_ReferenceForum: Plugins
In reply to: Post Author PluginOops, I think I have a proper fix for both my above posts.
Regarding doubling:
Immediately after this:
– Line 115: $content_org = $content;
Insert this:
– Line 115.5: $content = “”;
No need to comment 170.Regarding the main vs single post difference:
Change Line 119:
– … || (is_single() && …
To this:
– … || ((is_single() || is_home()) && …Forum: Plugins
In reply to: Post Author PluginI’m not sure I understand what you mean by “regular site” VS. “archive”
I have a similar issue. I’m pretty sure eatenbybears means author info is only appearing when you click “Read the rest of this entry” to see the post by itself (archive aka https://{hostname}/?p=123).
But on the main page ( https://{hostname}/ ), which lists several truncated posts, no author is shown. This difference is especially apparent with version 0.5 attempting to put that at the top of posts.
Forum: Plugins
In reply to: Post Author Pluginthe 0.5 version doubled posted all of my blog posts for some reason.
In post_author.php,
Line 115: $content_org = $content;
Line 170: $content = $content_org.$content;I commented out line 170, and the doubling’s gone.
Forum: Plugins
In reply to: [Plugin: WP Minify] Validation errorProblem solved in WP Minify 0.8.0.