bushtool
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Solution to hide Emails and IP’s from “Contributors”I’ve done citeewurkor’s hack below. It works fine but whenever a change is made to a profile, I receive the following error:
Warning: Cannot modify header information – headers already sent by (output started at /home/d4v/public_html/wp-admin/menu.php:67) in /home/d4v/public_html/wp-includes/pluggable-functions.php on line 272.
Thanks for any help you can give me.
citeewurkor’s hack:
I’ve come up with a slight modification that will solve this problem.First go get the very excellent plugin “Role Manager”.
Follow the instructions there to install the plugin. Be sure on your plugins page after activation the plugin version is 1.3. I had problems getting earlier versions to work.
Ok, now go to Users/Roles in your dashboard.
Scroll down to the “Contributor” section.
Make sure that “edit posts” is checked with a green check mark. Make sure that “read” also is checked with a green check mark. Now change the userlevel to 0.Concurrently you will need to slightly modify the menu.php file in your admin folder.
First backup menu.php in case you need to revert back.
In menu.php find the following line:
$submenu[‘edit.php’][5] = array(__(‘Posts’), ‘edit_posts’, ‘edit.php’);
Change it to this:
$submenu[‘edit.php’][5] = array(__(‘Posts’), 1, ‘edit.php’);Now find the following line:
$submenu[‘edit.php’][20] = array(__(‘Comments’), ‘edit_posts’, ‘edit-comments.php’);
Change it to this:
$submenu[‘edit.php’][20] = array(__(‘Comments’), 1, ‘edit-comments.php’);
Save the file and upload it to your admin folder.What this does.
Now users you have given the ability to write posts, but NOT post them will be able to do so. The “manage” button in their dashboard will be disabled and will return a page that says “you do not have sufficient privileges to access this page.”
This will protect the email addresses and IP addresses from being shown.
There is probably a better way to accomplish this, but it has worked for me and I hope this helps someone.By the way, you can use the new plugin Role Manager to create new roles and implement the same capabilities.
As far as I can tell, this doesn’t affect any other roles.This is my first attempt at a hack, so forgive me if it’s really ugly!
Forum: Fixing WordPress
In reply to: comment email addresseswhen I edit the menu.php file, it works to stop users from seeing the email addresses of commentors but I get a header, pluggable error when editing user data.
Can anyone help me out of this quandry?
Forum: Fixing WordPress
In reply to: comment email addressesOK, I found a fix to this in a support thread by hacking the menu.php file and not allowing access to the “manage” menu below a certain security level. Not a great fix since it hacks a core file but I guess I can live with it.
Forum: Fixing WordPress
In reply to: formatting disappears when clicking home page in IE onlyproblem resolved itself for now anyway.
Perhaps a server issue that was corrected?
Forum: Fixing WordPress
In reply to: formatting disappears when clicking home page in IE onlyThanks for your reply.
First of all I didn’t change anything with regard to syle.css versus style.php.
All I did was load the tiga theme (1832) and customize it using the admin “tigerator”.
You have touched on the fix, but I am still confused. When I do as you say, the css formatting reverts back to the original theme 1832/tiga that is being used with the exception of using a background header image which I tested out using the theme tigerator.
This theme has a “tigerator that allows you to input the css without knowing css.
If I do as you recommend, it fixes the problem but the tigerator no longers allows me to customize the css.
So I am caught between using the formatting I want by means of the tigerator with the resulting problem in ie6 or using your fix without knowing how to change the formatting back to how it shows using the tigerator.
Hope this is clear.
Forum: Fixing WordPress
In reply to: space between menubar links in headeri figured this out through trial and error
Forum: Fixing WordPress
In reply to: space between menubar links in headerit’s working now
Forum: Fixing WordPress
In reply to: Sidebar link to static homepage – problemsWhen I do the above, my website crashes with the above error and I have to reinstall wordpress to get back to normal. What am I doing wrong?
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/d4v/public_html/wp-includes/template-functions-post.php:570) in /home/d4v/public_html/wp-content/plugins/wordspew/wordspew.php on line 35
Forum: Fixing WordPress
In reply to: admin plugins.php page won’t loadI removed a plugin that I think was messed up because it was installed after my backup that was restored. Then I replaced the admin.php, olugins.php and plugin-editor.php files with the original wordpress files.
This seems to have fixed the problem. Thanks for pointing me in the right direction.
Forum: Fixing WordPress
In reply to: admin plugins.php page won’t loadI am running 2.0.4, new install 2 weeks ago.
there is no index.php in plugibns folder and all files/directories are plugins
not sure how to to re-upload the wp-admin/ directory.
I’ve already restored the backup and restored the php database
Forum: Fixing WordPress
In reply to: admin plugins.php page won’t loadnow the admin does not load at all
I’m frustrated
website is https://www.democracyforvancouver.org
I noticed that the plugin tab in admin was loading slowly and sometimes failing before the following disaster:
I pasted the hack listed on calendar 3.0 (https://blog.firetree.net/2006/01/31/eventcalendar-303) plugin to wordpress wp-includes/classes.php
to try to get event calendar to work.that caused the website to fail to load with a database error.
I backed up the database 3 days ago and the website 4 days ago so I uploaded the site backup and the database backup through php admin.
Everything seemed ok at that point but the plugin tab in admin still would not load.
just tried again, the admin just loaded ok but the plugin tab still will not load.
also noticed now when I save a post, it saves ok but I get a blank white screen after the save
confused in Vancouver (help very appreciated as you can tell php, css, html etc. is all rather new to me)