Title: ptvguy's Replies | WordPress.org

---

# ptvguy

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 100 total)

1 [2](https://wordpress.org/support/users/ptvguy/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ptvguy/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/ptvguy/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/ptvguy/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/ptvguy/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/ptvguy/replies/page/2/?output_format=md)

 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [New Profile – EW…](https://wordpress.org/support/topic/new-profile-ew/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/new-profile-ew/#post-1201721)
 * Who had the sudden need to fix things that weren’t broken???
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Attach image to post from media library](https://wordpress.org/support/topic/attach-image-to-post-from-media-library/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/attach-image-to-post-from-media-library/#post-1099725)
 * If I write a series of posts on one subject or idea and use the same image on
   all of these posts to visually tie them together, that image will only exist 
   in the gallery of the first post in that series. I have to reupload it (the exact
   same image) in each post as a separate file to make it appear in the gallery 
   of each post. That is an unnecessary use of resources on both the server and 
   the client ends. We need a way to use the media library to attach a single image
   to as many posts or pages as we want.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [2.8 Crashed My Site!!! Using Options theme.](https://wordpress.org/support/topic/28-crashed-my-site/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/28-crashed-my-site/page/2/#post-1104046)
 * Not really the topic for this discussion, but go back to your original header.
   php file (without your recent changes) and reupload it over the current broken
   one.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: Search Everything] No searchresults with 2.8](https://wordpress.org/support/topic/plugin-search-everything-no-searchresults-with-28/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-everything-no-searchresults-with-28/page/2/#post-1105042)
 * Finally, it’s fixed. Version 6.3.1 did the trick.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Twitter for WordPress] Error in hyperlink discovery](https://wordpress.org/support/topic/plugin-twitter-for-wordpress-error-in-hyperlink-discovery/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-for-wordpress-error-in-hyperlink-discovery/#post-1143490)
 * Thanks for the fix. It works great.
 * For any beginners finding this thread and wondering how to use ramir’s fix for
   version 1.9.6 of Twitter for WordPress, open the twitter.php file and replace
   the following lines (115-119):
 *     ```
       // Props to Allen Shaw
       // match protocol://address/path/file.extension?some=variable&another=asf%
       $text = preg_replace("/\b([a-zA-Z]+:\/\/[a-z][a-z0-9\_\.\-]*[a-z]{2,6}[a-zA-Z0-9\/\*\-\?\&\%]*)\b/i","<a href=\"$1\" class=\"twitter-link\">$1</a>", $text);
       // match www.something.domain/path/file.extension?some=variable&another=asf%
       $text = preg_replace("/\b(www\.[a-z][a-z0-9\_\.\-]*[a-z]{2,6}[a-zA-Z0-9\/\*\-\?\&\%]*)\b/i","<a href=\"http://$1\" class=\"twitter-link\">$1</a>", $text);
       ```
   
 * with ramir’s code:
 *     ```
       // Props to ramir
       // turn an incomplete url beginning with www. into a complete url beginning with http://
       $text = preg_replace("/(?<!:\/\/)(www\.([a-z][a-z0-9\-]*[a-z0-9]\.)*[a-z]+(\/[a-zA-Z0-9\#\%\_\=\*\-\?\&\.]*[a-zA-Z0-9\#\%\_\=\*\-\?\&])*)/i","http://$1", $text);
       // turn complete url beginning with protocol:// into a-elements
       $text = preg_replace("/([a-zA-Z]+:\/\/([a-z][a-z0-9\-]*[a-z0-9]\.)*[a-z]+(\/[a-zA-Z0-9\#\%\_\=\*\-\?\&\.]*[a-zA-Z0-9\#\%\_\=\*\-\?\&])*)/i","<a href=\"$1\" class=\"twitter-link\">$1</a>", $text);
       // Props to Allen Shaw
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding Java Script.](https://wordpress.org/support/topic/adding-java-script/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-java-script/#post-1157386)
 * Depending on your theme and the specific placement you want, you’re probably 
   going to have to go into the PHP files themselves for this. (single.php, page.
   php, header.php, etc.) The [Snippets](http://wordpress.org/extend/plugins/snippets/)
   plugin might help you a little.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Yoast Remove](https://wordpress.org/support/topic/yoast-remove/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/yoast-remove/#post-1157212)
 * Good God, a **Yoast Toast** plugin!
 * This might have been useful back before WP offered screen options to easily (
   and non-technically, I might add) turn such feeds off. Now it just comes across
   as a needless dig. I hope that Mr. de Valk doesn’t get too upset about this and
   stop offering his plugins for free.
 * I doubt that you could ever offer a “competing” plugin considering the sheer 
   time required to not only keep it up to date constantly but deal with the incredible
   volume of support issues. That’s exactly why I don’t release my plugins or themes.
   I could never be nearly as diplomatic as he is.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding Java Script.](https://wordpress.org/support/topic/adding-java-script/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-java-script/#post-1157105)
 * You need to explain a little more about what you’re trying to do. A standard 
   Text Widget can be used to place a JavaScript element in the sidebar, but it 
   sounds like you’re talking about playing with the header.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Akismet’s Nonexistant Comments](https://wordpress.org/support/topic/akismets-nonexistant-comments/)
 *  Thread Starter [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/akismets-nonexistant-comments/#post-1146650)
 * Nothing so far.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Double Forward Slash In Images](https://wordpress.org/support/topic/double-forward-slash-in-images/)
 *  Thread Starter [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/double-forward-slash-in-images/#post-1132143)
 * Okay, I feel like an idiot. It’s fixed now. Thanks, Shane.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Nested List Problem](https://wordpress.org/support/topic/nested-list-problem/)
 *  Thread Starter [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/nested-list-problem/#post-871685)
 * I don’t have that problem anymore since 2.7.1. No sign of it in 2.8 either, but
   I have “WordPress should correct invalidly nested XHTML automatically” turned
   off now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Popularity Contest] Plugin gives error in WP 2.8](https://wordpress.org/support/topic/plugin-popularity-contest-plugin-gives-error-in-wp-28/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-popularity-contest-plugin-gives-error-in-wp-28/#post-1103949)
 * That fixed the error problems for me on activation, but I still can’t use it 
   since it now interferes with the feature gallery in the Options theme.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: Search Everything] No searchresults with 2.8](https://wordpress.org/support/topic/plugin-search-everything-no-searchresults-with-28/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-search-everything-no-searchresults-with-28/#post-1104890)
 * I just tried out version 6.2.5 and got the same problem. It all works great as
   long as I don’t turn on “Search every category name and description.”
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [2.8 Problems and Solutions (FAQ)](https://wordpress.org/support/topic/28-problems-and-solutions-faq/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/28-problems-and-solutions-faq/page/4/#post-1104881)
 * Have them restore you to a backup.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Popularity Contest] Plugin gives error in WP 2.8](https://wordpress.org/support/topic/plugin-popularity-contest-plugin-gives-error-in-wp-28/)
 *  [ptvguy](https://wordpress.org/support/users/ptvguy/)
 * (@ptvguy)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-popularity-contest-plugin-gives-error-in-wp-28/#post-1103923)
 * Go in through FTP and remove the whole plugin folder. It will automatically deactivate
   the plugin.

Viewing 15 replies - 1 through 15 (of 100 total)

1 [2](https://wordpress.org/support/users/ptvguy/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ptvguy/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/ptvguy/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/ptvguy/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/ptvguy/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/ptvguy/replies/page/2/?output_format=md)