Title: Contemplative Computing's Replies - page 3 | WordPress.org

---

# Contemplative Computing

  [  ](https://wordpress.org/support/users/contemplative-computing/)

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

 Search replies:

## Forum Replies Created

Viewing 13 replies - 31 through 43 (of 43 total)

[←](https://wordpress.org/support/users/contemplative-computing/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/contemplative-computing/replies/?output_format=md)
[2](https://wordpress.org/support/users/contemplative-computing/replies/page/2/?output_format=md)
3

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Restrict Categories] Warning:](https://wordpress.org/support/topic/warning-21/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/warning-21/#post-3550846)
 * I commented out the problem clause and everything seems to be working okay for
   now. Will look out for an update.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Restrict Categories] Warning:](https://wordpress.org/support/topic/warning-21/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/warning-21/#post-3550843)
 * Same here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Output as Dropdown?](https://wordpress.org/support/topic/output-as-dropdown/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/output-as-dropdown/#post-3542374)
 * I got it! Created a template following the instructions in “other notes”
 * Here’s what it looks like:
 *     ```
       <?php
       /*
       Plugin Name: List Category Posts - Template
       Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
       Description: Template file for List Category Post Plugin for WordPress which is used by plugin by argument template=value.php
       Version: 0.9
       Author: Radek Uldrych & Fernando Briano
       Author URI: http://picandocodigo.net http://radoviny.net
       */
   
       /* Copyright 2009  Radek Uldrych  (email : verex@centrum.cz), Fernando Briano (http://picandocodigo.net)
   
       This program is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published by
       the Free Software Foundation; either version 3 of the License, or
       any later version.
   
       This program is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       GNU General Public License for more details.
   
       You should have received a copy of the GNU General Public License
       along with this program; if not, write to the Free Software
       Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       */
   
       /**
        * The format for templates changed since version 0.17.
        * Since this code is included inside CatListDisplayer, $this refers to
        * the instance of CatListDisplayer that called this file.
        */
   
       /* This is the string which will gather all the information.*/
       $lcp_display_output = '';
   
       // Show category link:
       $lcp_display_output .= $this->get_category_link('strong');
   
       $lcp_display_output .= '<form name="this.form">';
   
       //Add 'starting' tag. Here, I'm using an unordered list (ul) as an example:
       $lcp_display_output .= '<select name="URL" onchange="window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value">';
   
       /**
        * Posts loop.
        * The code here will be executed for every post in the category.
        * As you can see, the different options are being called from functions on the
        * $this variable which is a CatListDisplayer.
        *
        * The CatListDisplayer has a function for each field we want to show.
        * So you'll see get_excerpt, get_thumbnail, etc.
        * You can now pass an html tag as a parameter. This tag will sorround the info
        * you want to display. You can also assign a specific CSS class to each field.
        */
   
       foreach ($this->catlist->get_categories_posts() as $single):
           //Start a List Item for each post:
   
           $permalink .= get_permalink($single->ID);
   
           $lcp_display_output .= '<option value="' .$permalink. '">';
   
           //Show the title and link to the post:
           $lcp_display_output .= $this->get_post_title($single);
   
           //Show comments:
           $lcp_display_output .= $this->get_comments($single);
   
           //Show date:
           $lcp_display_output .= ' ' . $this->get_date($single);
   
           //Show author
           $lcp_display_output .= $this->get_author($single);
   
           //Custom fields:
           $lcp_display_output .= $this->get_custom_fields($this->params['customfield_display'], $single->ID);
   
           //Post Thumbnail
           $lcp_display_output .= $this->get_thumbnail($single);
   
           /**
            * Post content - Example of how to use tag and class parameters:
            * This will produce:<p class="lcp_content">The content</p>
            */
           $lcp_display_output .= $this->get_content($single, 'p', 'lcp_content');
   
           /**
            * Post content - Example of how to use tag and class parameters:
            * This will produce:<div class="lcp_excerpt">The content</div>
            */
           $lcp_display_output .= $this->get_excerpt($single, 'div', 'lcp_excerpt');
   
           //Close li tag
           $lcp_display_output .= '</option>';
       endforeach;
   
       $lcp_display_output .= '</select>';
       $lcp_display_output .= '</form>';
       $this->lcp_output = $lcp_display_output;
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe to Comments] Fixed lots of deprecated calls](https://wordpress.org/support/topic/fixed-lots-of-deprecated-calls/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fixed-lots-of-deprecated-calls/#post-3345455)
 * Also there appears to be no way for the post author to subscribe to their own
   post? This is frustrating. 🙁
 * I know there’s a global setting for this but we have tons of authors and tons
   of comments. Not all of them want to receive the emails.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe to Comments] Fixed lots of deprecated calls](https://wordpress.org/support/topic/fixed-lots-of-deprecated-calls/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fixed-lots-of-deprecated-calls/#post-3345454)
 * Looks good for the most part but I’m getting this at the top of the manager page:
 * Warning: Illegal string offset ‘manager’ in /home/madinam/public_html/wp-content/
   plugins/subscribe-to-comments/subscribe-to-comments.php on line 304
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Collapse-O-Matic] [Plugin: jQuery Collapse-O-Matic] Roll your own Elements ideas](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-roll-your-own-elements-ideas/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-roll-your-own-elements-ideas/page/2/#post-2552640)
 * Very quickly answered my own question. Just appended “-1” “-2” etc. to the end
   of the div IDs in subsequent calls for posts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Collapse-O-Matic] [Plugin: jQuery Collapse-O-Matic] Roll your own Elements ideas](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-roll-your-own-elements-ideas/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-roll-your-own-elements-ideas/page/2/#post-2552639)
 * Regarding listing posts… Any ideas about how to deal with a page where some posts
   are called multiple times? This seems to break the jquery because the same ID
   is showing up in multiple places. After the first instance, a repeat post will
   not expand properly. I’d greatly appreciate some help with this.
 * Thanks for the excellent plugin!
 * -Matthew
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] [Plugin: Theme My Login] Can't adjust settings in WordPress 3.3](https://wordpress.org/support/topic/plugin-theme-my-login-cant-adjust-settings-in-wordpress-33/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-theme-my-login-cant-adjust-settings-in-wordpress-33/#post-2452864)
 * Ah. I understand that notion, although it does not match my experience. There
   also seem to be other people experiencing the issue.
 * Oh well, I found another plugin that does almost as good a job. Thanks for responding
   here Jeff!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] [Plugin: Theme My Login] Can't adjust settings in WordPress 3.3](https://wordpress.org/support/topic/plugin-theme-my-login-cant-adjust-settings-in-wordpress-33/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-theme-my-login-cant-adjust-settings-in-wordpress-33/#post-2452857)
 * Jeff why do you think many people suddenly have the same problem? It was working
   fine for me and then immediately stopped working when I upgraded.
 * What I’m hearing from you is that perhaps another plugin I was previously using
   didn’t conflict with Theme My Login under 3.2.1, but does conflict under 3.3.
   Is that correct?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Survey And Quiz Tool] [Plugin: WP Survey And Quiz Tool] Two major problems with PDF certs](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-two-major-problems-with-pdf-certs/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-two-major-problems-with-pdf-certs/#post-2459945)
 * Fixed issue #1 by editting pdf.php for the first part to look like this:
 * Needed to fix up the way $quizDetails was being called and worked on.
 *     ```
       $quizDetails = $wpdb->get_row(
       						$wpdb->prepare("SELECT * FROM <code>&quot;.WPSQT_TABLE_QUIZ_SURVEYS.&quot;</code> WHERE id = %d", array($_GET['quizid'])),
       						ARRAY_A);
   
       	$quizDetails['settings'] = unserialize($quizDetails['settings']);
   
       	$resultDetails = $wpdb->get_row(
       						$wpdb->prepare("SELECT * FROM <code>&quot;.WPSQT_TABLE_RESULTS.&quot;</code> WHERE id = %d", array($_GET['id'])),
       						ARRAY_A	);
   
       	$resultDetails['person'] = unserialize($resultDetails['person']);
       	$resultDetails['sections'] = unserialize($resultDetails['sections']);
   
       	$personName = ( isset($resultDetails['person']['name']) && !empty($resultDetails['person']['name']) ) ? $resultDetails['person']['name'] : 'Anonymous';
       	$timestamp = strtotime($resultDetails['timestamp']);
   
       	$pdfTemplate = $quizDetails['settings']['pdf_template'];
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Survey And Quiz Tool] [Plugin: WP Survey And Quiz Tool] Two major problems with PDF certs](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-two-major-problems-with-pdf-certs/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-two-major-problems-with-pdf-certs/#post-2459891)
 * > Joel Meador
   >  DEC 20, 2011 | 02:10PM EST Looks like the escaping being done 
   > is overly escape-y. Basically every element attribute is being escaped an extra
   > time. So I’m seeing <style type=\”text/css\”> instead of <style type=”text/
   > css”>
   > xxxx
   >  DocRaptor Support
 * Confirmed this in my own install. Clicking “Save Quiz” (wut) on the main “options
   page” causes the code to come back wrong, with extra backslashes and other oddities
   all around.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Survey And Quiz Tool] [Plugin: WP Survey And Quiz Tool] Additional custom field for PDF certification](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-additional-custom-field-for-pdf-certification/)
 *  Thread Starter [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-additional-custom-field-for-pdf-certification/#post-2443404)
 * Thanks! Figured it out on my own using pretty much exactly what you described.
 * Very happy with the cimy extra field plugin, which has great documentation about
   how to pull the value for its additional fields.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Quotes Collection] Excellent Plugin. Can I show Random from specific Tag or similar?](https://wordpress.org/support/topic/plugin-quotes-collection-excellent-plugin-can-i-show-random-from-specific-tag-or-similar/)
 *  [Contemplative Computing](https://wordpress.org/support/users/contemplative-computing/)
 * (@contemplative-computing)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-quotes-collection-excellent-plugin-can-i-show-random-from-specific-tag-or-similar/#post-1299533)
 * I am having this exact same question. I would like to display a random quote 
   of a particular tag using the shortcode. Implementing the php code to do this
   in the page template is not working because this content is being drawn into 
   another script that needs the output in the “content” section.
 * This is an option when using the base php script but in the shortcode options
   there is only “|tags” and “|random”. Is there any way to do both?

Viewing 13 replies - 31 through 43 (of 43 total)

[←](https://wordpress.org/support/users/contemplative-computing/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/contemplative-computing/replies/?output_format=md)
[2](https://wordpress.org/support/users/contemplative-computing/replies/page/2/?output_format=md)
3