Title: telittleone's Replies | WordPress.org

---

# telittleone

  [  ](https://wordpress.org/support/users/telittleone/)

 *   [Profile](https://wordpress.org/support/users/telittleone/)
 *   [Topics Started](https://wordpress.org/support/users/telittleone/topics/)
 *   [Replies Created](https://wordpress.org/support/users/telittleone/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/telittleone/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/telittleone/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/telittleone/engagements/)
 *   [Favorites](https://wordpress.org/support/users/telittleone/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Gallery Polls?](https://wordpress.org/support/topic/gallery-polls/)
 *  Thread Starter [telittleone](https://wordpress.org/support/users/telittleone/)
 * (@telittleone)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/gallery-polls/#post-2789196)
 * Resolved. Sorry for the double post.
 * [EDIT]
    Actually, triple post 😐
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Gallery Polls?](https://wordpress.org/support/topic/gallery-polls/)
 *  Thread Starter [telittleone](https://wordpress.org/support/users/telittleone/)
 * (@telittleone)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/gallery-polls/#post-2789195)
 * Nevermind. I got it working.
    My hack requires the following plugins: WP PHP 
   widget: [http://wordpress.org/extend/plugins/wp-php-widget/](http://wordpress.org/extend/plugins/wp-php-widget/)
   WP-Polls: [http://wordpress.org/extend/plugins/wp-polls/](http://wordpress.org/extend/plugins/wp-polls/)
   and NextGEN Gallery: [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)
 * Install and activate all three plugins. Each poll must have the same id as a 
   corresponding image.
 * Then, add a widget using “WP PHP widget” and paste in the following code:
 *     ```
       <?php $pid = $_GET['pid']; ?>
       <?php if($pid == '') $pid = '1'; ?>
       <?php if (function_exists('vote_poll') && !in_pollarchive()): ?>
           <li>
               <h3 style="text-align:center;">Polls</h3>
               <ul>
                   <li><?php get_poll($pid);?></li>
               </ul>
               <?php display_polls_archive_link(); ?>
           </li>
       <?php endif; ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Email submission plugin?](https://wordpress.org/support/topic/email-submission-plugin/)
 *  Thread Starter [telittleone](https://wordpress.org/support/users/telittleone/)
 * (@telittleone)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/email-submission-plugin/#post-1455456)
 * Maybe as a better description, is there a plugin that can generate multiple opt-
   in lists, save them to the server at the end of the day, and then delete the 
   lists?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need to remove link to Profile from Post page](https://wordpress.org/support/topic/need-to-remove-link-to-profile-from-post-page/)
 *  [telittleone](https://wordpress.org/support/users/telittleone/)
 * (@telittleone)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/need-to-remove-link-to-profile-from-post-page/#post-866710)
 * rkyle2, The code that you posted **does** work. You are putting it in the wrong
   file. The file, profile.php simply points to user-edit.php
 * The user-edit.php contains the real code, and is where the code-snippet you posted
   is supposed to go.
 * Directions to install:
 * 1. Take a fresh copy of user-edit.php and open it up in dreamweaver.
 * 2. Search for the phrase: `default:
    $profileuser = get_user_to_edit($user_id);
 * if ( !current_user_can(‘edit_user’, $user_id) )
    wp_die(__(‘You do not have permission
   to edit this user.’));
 * include (‘admin-header.php’);
    ?>`
 * 3. After that phrase, add `<?php
    if (‘profile.php’ == basename($_SERVER[‘SCRIPT_NAME’])&&!
   current_user_can(‘edit_users’) ) wp_die(__(‘You are not allowed to edit.’)); ?
   >`
 * 4. Save the document, and close dreamweaver.
 * 5. Back up the original user-edit.php located on the server
 * 6. Upload the edited user-edit.php
 * 7. Test it. Administrators will still be able to edit their profile.
 * 8. If it doesn’t work, try these steps over again with another fresh copy of 
   user-edit.php
 * 9. If it works, rejoice!!

Viewing 4 replies - 1 through 4 (of 4 total)