converting2wp
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: User Access Manager] will not affiliate rolesThanks for the tip. I was beginning to wonder if User Access Manager worked at all, but after changing to selecting the users to have access explicitly (not a big deal in my application) it does seem to be protecting posts correctly. [I still can’t get it to work at all with files, and if anyone has another solution there I’d be grateful for a pointer.]
Forum: Fixing WordPress
In reply to: Using “the_content” in the sidebarThis code is working in the sidebar to set up a loop to show different numbers of posts from different categories on different pages’ sidebars. [Logic at the top of sidebar.php sets the variables $category, $number_to_post, and others.] The template tags, including the_content(), behave as expected in the “/* do stuff */” block.
query_posts('cat='.$category.'&showposts='.$number_to_post); while (have_posts()) { the_post(); /* do stuff */ }At the moment, I can’t reproduce the original problem with get_posts() and the_content(). Note, however, that query_posts and get_posts do have slightly different lists of legal parameters.
Forum: Fixing WordPress
In reply to: Restricting access to files as well as posts/pagesThat’s a partial solution — but since the links are apt to be stable over time and people do leave the community, I’d like to prevent access to the current version of the file even if someone knows the address.
Thanks, though!
Forum: Fixing WordPress
In reply to: Using “the_content” in the sidebarThanks!
Putting rewind_posts before or after the get_posts call didn’t help.
Your comment made me dig further and on the Codex page about the Loop, there are some examples of Multiple Loops using alternatives to get_posts: http://codex.ww.wp.xz.cn/The_Loop#Multiple_Loops
Things aren’t working yet (and it still feels like a bug in get_posts that I may report), but I’ll post here as I make progress.
Forum: Fixing WordPress
In reply to: Using “the_content” in the sidebarThe kludge does work, but I’m still wondering if anyone has a better suggestion.
Forum: Fixing WordPress
In reply to: No login details, changed webmaster. HELPOn the server, there should be a wp-config.php file with lines near the top like
1. define(‘DB_NAME’, ‘putyourdbnamehere’);
2. define(‘DB_USER’, ‘usernamehere’);
3. define(‘DB_PASSWORD’, ‘yourpasswordhere’);
4. define(‘DB_HOST’, ‘localhost’);[If those lines aren’t in the file, look for a line like
include(‘/some/path/name/somefile.php’) and find that file in your ftp files (it may not be in the WordPress directory).]
Lines 1-3 above give the database name, user name and password *for the database* that WordPress uses internally. You can use those to reset the password for the WordPress users.
If line #4 does say “localhost” then your database server is the same as your ftp server, and if you have shell access to the server, you can use the MySQL instructions in the article referenced above.
If line #4 doesn’t say “localhost” it’s likely you have phpMyAdmin access to that server and be able to follow those instructions to reset the password (and you don’t need shell access).
But unless your “blog promoter” is actually hosting the site for you (i.e. he controls the actual machine where you files live) you may be able to contact the web services provider and get some help with the above from them. But if you’re not sure how to use the admin area, you may need some additional help from someone who’s familiar with installing and configuring WordPress.
Forum: Plugins
In reply to: user access manager: uploads file not protectedMy question on the above is what’s in your .htaccess file?
Did you ever resolve this? I’m having the opposite problem.
I have a few posts with links to files in the upload directory (entered as …/wp-content/uploads/2009/10/xxx.pdf)
I install the plugin
I activate it (with the defaults which are as above but that download type is “normal”)
And then I can’t access any files from the uploads directory (*before* I’ve gone through and marked any posts or files as private). When I click a link to a file in the upload directory I get “Error 404 – Not Found”Is that how it’s supposed to work? Or am I missing some key part of the documentation?
If I turn off the file locking, the links to the files work just fine.
Forum: Plugins
In reply to: [Plugin: User Access Manager] Getting startedThis problem “went away,” but then things broke again when I tried to protect a file.
Forum: Fixing WordPress
In reply to: Using “the_content” in the sidebarThanks, though.
The only workaround I’ve come up with is to copy the HTML of the page to the excerpt, but that seems like a kludge (and I haven’t actually tested it).
Forum: Plugins
In reply to: [Plugin: User Access Manager] getfile error?I’m having the problem, too.
The problem is “Error: file not found” problem when clicking a link to a protected file (when loggged in as administrator).
I’m starting a new site and didn’t create the protected posts/files until after I installed UAM.
I’ve tried –
o Moving my uploads directory from wp/../uploads to the default “wp/wp-content/uploads and making corresponding change to
o Turning off “extra web security” on the domain hosted at Dreamhost (thinking that might affect the “safe mode” setting)
o Changing to “normal” from “fopen”I opened a new browser session to test after each change, and nothing seemed to help.
And now, I seem to have broken things so that a user other than the admin who *is* in the authorized group can no longer see a protected post, let alone the protected file. [The admin can still see the post, but still gets the “file not found”.]
I’ll go back and double check — and probably reinstall — but just thought I’d add some support to those having the problem.
http://ww.wp.xz.cn/support/topic/253361?replies=6 ended without a full discussion of how the “safe mode” might be resolved.
Forum: Fixing WordPress
In reply to: Where can I go for WordPress Help???It looks as if progress is being made on the OP’s question at http://ww.wp.xz.cn/support/topic/318025
Others with plugin recommendations or advice may want to check there.
Forum: Fixing WordPress
In reply to: Where can I go for WordPress Help???From looking at one of your questions and my experience in this forum, I don’t think either of your alternatives describe this forum.
What I think is more likely the case is that no one understands what you’re asking.
I’ve found http://www.gerv.net/hacking/how-to-ask-good-questions/ helpful when trying to craft a question that’s likely to get an answer.
Forum: Plugins
In reply to: [Plugin: User Access Manager] Getting startedI also tried going back to the default theme and installing the template.php that the docs indicate are optional for 2.8 (at least the way I read them). Same result with both of those changes.
Forum: Installing WordPress
In reply to: lost post and category links after upgrade 2.8.3Looks like you fixed it? Was still broken when I first checked but seems okay now.
Forum: Plugins
In reply to: [Plugin: My Category Order] Not working with 2.8Just a note that orderby=order and 2.8.3 are working for me –
o Deactivate plugin
o Auto upgrade to 2.8.3 (from 2.8.2)
o Delete all my_category_order files
o Install a freshly downloaded version of the plugin
o Activate
o Go to Posts > My Category Order and get message about updated taxonomyAll is well, even without widgets.