Doodlebee
Forum Replies Created
-
Yes, that’s why I indicated that I was using this code on the author.php file. The queried object on the author.php file is the author ID. If you’re using it on a post, then you need to grab the author ID of the post. (if it’s on a category listing page, then you have to get the author ID from within the Loop so the correct ID is passed.) There’s several methods of getting the author ID.
I had the same issue too – no other plugins installed. I fixed it though. Basically, in the template file (wherever you’re putting the avatar to display) you need to add this to the top of the file (or wherever, as long as it’s before the
get_avatarcall):<?php global $wp_query; $cu = $wp_query->get_queried_object(); $id = $cu->ID; ?>Which will grab the author ID of the queried author (I’m putting this in the author.php file). Then wherever you put in the avatar:
<?php echo get_avatar( $id, $size = '120' ); ?>Works a treat!
Yeah, it’s pretty much what you said – I just needed to disable it from search when I set up the custom post type. I did quite a bit of testing, and it’s working just fine now. Absolutely does not show up in search. (I haven’t released it yet, though, because there’s a bunch of other stuff I’m trying to work in as well. Nothing like being late!) I’m almost done though – I leave for vacation this weekend, so I’m trying to get it fixed up and pushed out before I leave.
Thanks again for letting me know! 🙂
Forum: Plugins
In reply to: [Back End Instructions] Add tab to all pages in edit modeSorry – I *just* saw this. When people post to ask me questions about the plugin, they usually put it in the topic name – when they do, i emails me the questions. otherwise you have to rely on when I have time to come and check 🙂
So if I’m reading this correctly, you’re getting the instruction to show up on a particular post (with an ID) but you want it to show up on all posts? This is actually covered in the readme file. (to be specific, item #4, “Page Name” section describes how to do this in detail. Specifially here: “copy everything after the last “/” but before the “?” (in this example: “post-new.php”) and paste it into this field”) So using the URL you gave as an example, this:
post.php?post=28&action=editWill cause the instruction to show up only when you are editing a post with the ID of 28. If you want it to show up when you’re editing ANY post, you just have to enter in:
post.phpForum: Plugins
In reply to: [Maintenance Mode] Error after upgrade to 3.2I got this error as well when I upgraded a site to WP 3.2, and now the Maintenance Mode plugin doesn’t work at all – even when activated and set to show a splash page. It does nothing.
(Figured I’d pipe in, since you’re not the only one this happened to!)
Here’s a temporary solution for your search results page: at the beginning of the Loop, where it says “
while(have_posts()) : the_post();“, put the following in under it:if($post->post_type == 'instructions') continue;This will look at the post type of each result, and if it’s an instruction, it won’t pull it into the search results.
This is temporary though – there are issues that could crop up, mainly with pagination (because if you have your results set to 10 before pagination, and you have 11 results – one of them being an instruction – it’ll *display* the proper 10 results, but show there’s a page 2, which will either result in a 404 or the same plage displayed again.)
but that’s a temporary fix that should get you through “in the meantime” while I sort out how to interfere in the query.
Actually, now that I’m in here messing around – you *are* supposed to add “index.php” to the instruction – otherwise it’ll show it on ALL pages in the back end.
Perhaps using a keyword (like “dashboard”) instead would work. Then it’ll be sure to only show it on the dashboard of the admin area – seems like it would be more stable.
In MU (or “network” or whatever it’s called now! LOL), though, I don’t know what that would be – if it’s “super admin” or something. I’ll have to look into that.
Thanks for this – I didn’t even think about this when I wrote the plugin. I’m getting ready to release the next version – I’ll address this in it.
Okay, awesome.
I’m working on the next release, which (hopefully – if my schedule lets up enough) will coincide with the official 3.2 release. I’ll double-check this. Personally, I haven’t tested the plugin in the “multi-site” version of WordPress, I’ve just had reports that it works there. But if I have time to get it up and running, I’ll give it a test there and see if I can’t find anything 🙂
Thanks for letting me know!
Have you tried deactivating your theme (revert to default) and deactivating plugins, and then reactivating one by one to see if there’s a conflict?
I just checked on WordPress 3.1.3 with BEI v. 0.8 – default theme, no other plugins installed – on two different servers. Direct from admin area, or coming in from the admin bar on the front page – either way, the instructions tab shows up just fine.
If you’ve deactivated/reactivated items and still see no conflict, then what version of BEI are you running?
Forum: Plugins
In reply to: [Plugin: Events Manager] Messing with navigationWhat an odd thing. Turms out it *was* my theme. in my page.php file, I had the loop set to ignore the “while” portion – something I’ve done for a very long time on the page template (because you’re only pulling one single post, there’s really no need for “while”). However, as soon as I put the “while” part back in, the names of the links popped back into place.
Bizarre.
Oh, I see! You want to add the instruction directly into the media-upload.php file.
No, the plugin can’t do that (interesting idea, though, I’ll have to look into it.) The media-upload.php file is set to pull information from the *parent* page (so it can associate itself to the post you’re on). The variables for the instructions are not passed, because the coe for the popup window isn’t set to grab them and pass the info to the popup, therefor it won’t show.
I’d have to do some custom scripting to force the media-upload.php file to recognize newly-passed variables and plop them into the popup.
Like I said, interesting idea though. I’m currently updating/testing the plugin for WP 3.2 – I may toy with this idea a bit for the next release. (No guarantees though – I already had a big to-do list, but I’ll see if I can’t work it in.)
Forum: Plugins
In reply to: [Back End Instructions] Incompability with "Ozh admin menu".Actually, it’s been tested with Adminimize. (I even recommended using it in earlier versions.) I know it works with that plugin as far as not creating conflicts go. The most recent version of Back End Instructions, however, removed the *need* for it with this plugin – by popular request.
As for Ozh’s dropdown menu, it may be popular (as Ozh’s stuff is, naturally) but not everyone uses it (In fact, this is the first time I’ve ever heard of it.) So again, I *did* take into account possibilities, and I did provide a method to work around them.
Glad you’re going to use my stylesheet to work around it, and glad you like the plugin 🙂
Forum: Plugins
In reply to: [Back End Instructions] Problem with Social plugins.I’m sorry – I don’t quite understand?
Is the plugin not working? Does it work when you turn off the social plugin? Is it that you’re just seeing the social Icons in the back end of your site within my instructions? (If so, use the stylesheet to hide it – that’s what it’s there for.)
I’m not 100% clear on what the issue is, so if you can clarify, I’d appreciate it.
Forum: Plugins
In reply to: [Back End Instructions] Incompability with "Ozh admin menu".Yes, but you have access to the stylesheet. The stylesheet provides *default* settings. if you are wanting to change the look/position of where it appears, then create a stylesheet in your theme folder, and put it where you want/make it look how you want it to look. (The readme file tells you how to do it.)
No, I don’t “take into account other plugins” – there’s *thousands*. There’s no possible way I could check them all. But I *have* taken into account such possibilities – and provided a method of getting around stuff like this that other plugins put in.