Title: Marty's Replies | WordPress.org

---

# Marty

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/mrthrust/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mrthrust/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration] Adding Content before Account page loads](https://wordpress.org/support/topic/adding-content-before-account-page-loads/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/adding-content-before-account-page-loads/#post-17910387)
 * Think I got it… copied the file “/plugins/wp-user-frontend/templates/account.
   php”
   to “/themes/my-theme/wpuf/account.php” were any changes I make wont be updated
   after plugin updates are applied!… also allows me to add my own action hook: 
   do_action(‘wpuf_custom_account_content_before’)
 * then in my theme function file I can call & hook into that new action!
   Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration] Yoast WordPress SEO Contact Fields](https://wordpress.org/support/topic/yoast-wordpress-seo-contact-fields/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/yoast-wordpress-seo-contact-fields/#post-4127158)
 * quick and dirty would be to open the file: wpuf-dashboard.php
 * then around line 423 or so.. just after
    `<h3><?php _e( 'Author Info', 'wpuf');?
   ></h3>`
 * paste this in..
 *     ```
       <?php
       if(function_exists( get_wpseo_options )){
         //echo "<h2>Wordpress SEO Installed</h2>";
         $current_user = wp_get_current_user();
         $user_googleplus = get_the_author_meta('googleplus', $current_user->ID );
         $user_twitter = get_the_author_meta('twitter', $current_user->ID );
         $user_facebook = get_the_author_meta('facebook', $current_user->ID );
   
         echo "<h2>Social Media</h2>";
         echo '<p class="wpuf-user-name">Google: '.$user_googleplus.'</p>';
         echo '<p class="wpuf-user-name">Facebook: '.$user_facebook.'</p>';
         echo '<p class="wpuf-user-name">Twitter: '.$user_twitter.'</p>';
       }
       ?>
       ```
   
 * all it does is check to see if WPSEO options function exists
    then pulls out 
   the get_the_author_meta info, and displays it on the page, like i said quick 
   and dirty,
 * will be deleted if there’s any updates to the plugin!
 * Would be better with conditional checks around each to see if they have any values
   before echo’ing to the screen, then add icons etc..
 * Marty
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Meta plugin] [Plugin: Category Meta plugin] Meta info missing from category page](https://wordpress.org/support/topic/plugin-category-meta-plugin-meta-info-missing-from-category-page/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-meta-info-missing-from-category-page/#post-1662085)
 * cheers Eric, ill have a wee look, let you know how i get on…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Meta plugin] [Plugin: Category Meta plugin] Meta info missing from category page](https://wordpress.org/support/topic/plugin-category-meta-plugin-meta-info-missing-from-category-page/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-meta-info-missing-from-category-page/#post-1661657)
 * If I echo out the current plugin options
 * `$options = get_option("wptm_configuration");`
 * the array comes back as..
 *     ```
       Array
       (
           [cat_image] => Array
               (
                   [type] => text
                   [taxonomy] =>
               )
   
           [cat_link] => Array
               (
                   [type] => text
                   [taxonomy] =>
               )
   
           [cat_custom] => Array
               (
                   [type] => text
                   [taxonomy] =>
               )
   
       )
       ```
   
 * Are the taxonomy values ment to be set?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Loop through a specific category on single.php](https://wordpress.org/support/topic/loop-through-a-specific-category-on-singlephp/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years ago](https://wordpress.org/support/topic/loop-through-a-specific-category-on-singlephp/#post-1467838)
 * a little something what im looking for, a loop within a loop?
 * ideas? suggestions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Integration with another bot tracker plugin?](https://wordpress.org/support/topic/plugin-wp-super-cache-integration-with-another-plugin/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-integration-with-another-plugin/#post-1360576)
 * ahh, I see, so if its half on with my function utilising the ‘mfunc’ it should
   run the code? but if the user has the supercache on full then there’s no chance
   that my code will be picked up on each bot crawl?
 * cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to DROP TABLE from database](https://wordpress.org/support/topic/how-to-drop-table-from-database/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/how-to-drop-table-from-database/#post-1078375)
 * how about….
 *     ```
       function pluginUninstall() {
   
               global $wpdb;
               $table = $wpdb->prefix."your_table_name";
   
               //Delete any options thats stored also?
       	//delete_option('wp_yourplugin_version');
   
       	$wpdb->query("DROP TABLE IF EXISTS $table");
       }
       ```
   
 * than all you do is hook into wordpress when its being de-activated
 * `register_deactivation_hook( __FILE__, 'pluginUninstall' );`
 * that should clean up the database a little..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [earching for a plugin where users can posts links](https://wordpress.org/support/topic/earching-for-a-plugin-where-users-can-posts-links/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/earching-for-a-plugin-where-users-can-posts-links/#post-1360389)
 * have you searched for a comments plugin were you might be able to add fields 
   to it, not just the usual name email msg? much like cforms?
    not tried myself
   but worth a look?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [earching for a plugin where users can posts links](https://wordpress.org/support/topic/earching-for-a-plugin-where-users-can-posts-links/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/earching-for-a-plugin-where-users-can-posts-links/#post-1360376)
 * why not just use the comments of the post or page your displaying and tell them
   to post links there?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Searching For a Plugin](https://wordpress.org/support/topic/searching-for-a-plugin-2/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/searching-for-a-plugin-2/#post-1360375)
 * is the data for the zip/postcodes & people/persons, located in your wordpress
   database? or would that have to be bolted on from another location? its very 
   vague…
 * you could build a custom plugin for that, but it’s the data?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Nested loop help](https://wordpress.org/support/topic/nested-loop-help/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/nested-loop-help/#post-1348867)
 * anyone.?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Nested loop help](https://wordpress.org/support/topic/nested-loop-help/)
 *  Thread Starter [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/nested-loop-help/#post-1348699)
 * what i need is
 * ‘check for posts from category’
 * if posts
    -  loop
       end loop
 * else ( // much the same as – Sorry no posts found )
 * query from other category
    if posts
    -  loop
       end loop
 * endif
 * end first if
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Counter Strike: Source Server Status Plugin ?](https://wordpress.org/support/topic/counter-strike-source-server-status-plugin/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/counter-strike-source-server-status-plugin/#post-1019008)
 * Well, A few weeks later and its here..
 * [http://www.martin-gardner.co.uk/counterstrike-server-info-plugin-for-wordpress/](http://www.martin-gardner.co.uk/counterstrike-server-info-plugin-for-wordpress/)
 * Features
 *  * Widget Control Panel
    * Enable disable server values * Current Map image
 * If you find any bugs or have any ideas, please mail me.
 * Demo here: [http://www.homelessclan.co.uk](http://www.homelessclan.co.uk)
    on
   the right sidebar.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [WP-Forecast not working after WordPress 2.8](https://wordpress.org/support/topic/wp-forecast-not-working-after-wordpress-28/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wp-forecast-not-working-after-wordpress-28/#post-1125770)
 * same here….
 * any help out there would be great.
    the main plugin site is still using wp 2.7.1
   so there’s is still working..
 * [UDPATE]
    login to the admin section, go to your forecast options, select the
   widget your using, Go to “Preselect wordpress transfer method”, I changed mine
   from default to fsockopen,
 * that seems to be working fine now..
    [/UPDATE]
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [NextGEN Gallery Creates Huge Blank Space](https://wordpress.org/support/topic/nextgen-gallery-creates-huge-blank-space/)
 *  [Marty](https://wordpress.org/support/users/mrthrust/)
 * (@mrthrust)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-creates-huge-blank-space/#post-1154772)
 * I just recently updated my install of the NextGen Gallery,
 * while doing so, i had a vision of inspiration, for using the gallery slide show
   feature as a rotating header banner image for one of the sites ive been working
   on,
 * Created a new gallery, uploaded the banner images,
    created a new sidebar widget(‘
   header_images’), added a slide show with a fixed width and height to it, along
   with the gallery i wanted to use, and exclude all other galleries,
 * In my header.php file for the template, were the header banners used to load,
   i replaced that with the function code to check for a widget, and bobs your uncle
   ive got a rotating header, with nice image changing effects 🙂
 * the gallery idea can be seen here..
    [http://www.sew4uchaircovers.co.uk](http://www.sew4uchaircovers.co.uk)

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

1 [2](https://wordpress.org/support/users/mrthrust/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mrthrust/replies/page/2/?output_format=md)