vince2006
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Allow only admin to change user passwordI am marking this post as resolved since the link above wil help anyone needing to stop users from accessing their profile page.
Forum: Plugins
In reply to: Changing Profile LabelsAwesome Aaron!
Thanks!
Vince
Forum: Plugins
In reply to: manipulate user profile fieldsI know this answer is late but I only saw it while searching for another answer. I use userextra / useermeta extensively and no, it cannot hid the default user fields if you are talking abou the fields that are on the aurhor’s original profile page.
In order to hide the fields, you’d need to make changes to either profile.php or user-edit.php in the wp-admin folder. I don’t know how to do that though so you may want to do a google search for that type of fix or post a new thread here about it.
Good luck!
Vince
Forum: Fixing WordPress
In reply to: Allow only admin to change user passwordBrilliant – Here’s the answer ??
Forum: Plugins
In reply to: Turn on author_posts_link if author has postsThat is exactly what I could not figure out! Thanks very much!
Thanks for the tip Michael!
Here is the resulting code for anyone that wants to do the same thing…
<?php # get author login name for auto posts button $author = get_the_author_login(); if (get_usernumposts($post->post_author)) { // your author has posts echo "<a href='/author/$author'><img src='/images/my_img.jpg' width='200' height='32' border='0' alt='My Posts'></a>"; } ?>
Forum: Plugins
In reply to: if else and the_author_aimTo explain further, I actually want that if the aim or yahoo field is filled in (in the profile) that my sidebar will output an image I have designed (one for aim and one for yahoo) that will allow the visitor to click the image button to activate the messenger programs (I do not need the code to actibate the messenger programs – I know how to do this.) _ I am just rrying to automate the sidebar so that IF a user has an AIM or Yahoo screenname that the sidebar wil then show the needed buttons for same.
Forum: Plugins
In reply to: Prevent User from changing email addressAaron, Do you know if there is a way to prevent that from occuring?
Forum: Plugins
In reply to: Prevent User from changing email addressProgresst, thanks for your reply but when I modified the code as you proposed, and then tried to save the profile info by clicking ‘Update Profile’ I get an error from WordPress stating,
“ERROR please type in an email address”
I then figured out another way to accomplish what I needed.
Look for:
<input type="text" name="email" value="<?php echo $profileuser->user_email ?>" /></label>
and change “text” to “hidden” as in:
<input type="hidden" name="email" value="<?php echo $profileuser->user_email ?>" /></label>
and to further customize it, I removed the line above it that says:
<label><?php _e('E-mail: (required)') ?>
so that no reference to email appears in the profile.
Obviously this is not something everyone will want to do but my client handles all of the authors email address info from admin using user-edit.php so that authors that are no longer employed by the company can modify their email addresses or retireve login passwords by use of the retrieve lost password feature.
Forum: Plugins
In reply to: <hr> doesn’t show any line, why?Not sure this is what you need but I have used it before:
https://www.pageresource.com/html/hr2.htmForum: Fixing WordPress
In reply to: Image – Link to Page IssueI had this issue once. Are you surte that the post or page that the thumbnail is on is PUBLISHED? If it iset to draft and then you log out, you won’t be able to see the thumbnail post / page or whatver it links to.
Forum: Themes and Templates
In reply to: wp_list_pages horizontilly in footerModifed the CSS
Forum: Plugins
In reply to: Error Photos path must have write permission for reduce originals optionSounds great… I’m changing this to resolved ??
Thanks Harknell
Forum: Plugins
In reply to: Automatic Stats Plugin Not worth the timeHave you tried the GENERALSTATS plug-in instead? It seems to be working with 2.2 if that’s what you are running.
Vince
Forum: Fixing WordPress
In reply to: WP admin panel accessRon, If this is the first time you are installing WordPress and you don’t have any content on the site, I’d get a fresh DOWNLOAD and try it again and follow the INSTALL documentation exactly.
It sounds like you have a corrupt file somewhere so deleting what’s up on the server and re-uploading a newly extracted tar or zip file should do the trick.
Since your database tables sound like they’ve already been created, you may want to create a new database, username and password for the newer install since there is no easy way to know if the current database is ok or not.
Vince
Forum: Fixing WordPress
In reply to: From Static HTML to WP (CMS)There is some great info here about Moving WordPress
So basically you could test it at yoursistersdomain.com/wordpress/ and once you’re done tesing just follow the steps from the above link and you should be able to move the wordpress files to your root folder or yoursistersdomain.com .
Vince