Title: webmaster-atrium's Replies | WordPress.org

---

# webmaster-atrium

  [  ](https://wordpress.org/support/users/webmaster-atrium/)

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Why do I have version 4.0-03e98cc](https://wordpress.org/support/topic/why-do-i-have-version-40-03e98cc/)
 *  Thread Starter [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years ago](https://wordpress.org/support/topic/why-do-i-have-version-40-03e98cc/#post-6034397)
 * Hi
 * Thanks for your quick answer.
    How can I replace the actual version in our website,
   without crashing the all website?
 * Thaldy
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Cart not working](https://wordpress.org/support/topic/cart-not-working-1/)
 *  [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cart-not-working-1/page/2/#post-5457171)
 * Hi, I just sent you some credentials to access to our website backend.
    Thank
   you in advance
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Cart not working](https://wordpress.org/support/topic/cart-not-working-1/)
 *  [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cart-not-working-1/page/2/#post-5457128)
 * Here is our issue:
 * The Following Athlete: Eric ********** has been trying to place an order on the
   site for 2 unit of Klean Isolate and 2 Klean omega and every time he this submit
   the page refreshes, and appears no order has been processed.
 * [http://www.kleanathlete.ca/](http://www.kleanathlete.ca/)
 * Thank you,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Cart not working](https://wordpress.org/support/topic/cart-not-working-1/)
 *  [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cart-not-working-1/#post-5457126)
 * [@justin](https://wordpress.org/support/users/justin/)
    Please help me also.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Cart not working](https://wordpress.org/support/topic/cart-not-working-1/)
 *  [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cart-not-working-1/#post-5457120)
 * What is the solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] Cart not working](https://wordpress.org/support/topic/cart-not-working-1/)
 *  [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cart-not-working-1/#post-5457117)
 * Hi,
 * I have the same problem in our website no purchase possible since latest update:
   [http://www.kleanathlete.ca/](http://www.kleanathlete.ca/)
 * Please help me.
    Thanks in advance
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Custom widget won't stop switching inactive](https://wordpress.org/support/topic/custom-widget-wont-stop-switching-inactive/)
 *  Thread Starter [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/custom-widget-wont-stop-switching-inactive/#post-3157316)
 * Hi again. I guess I can’t attach any file here, so i’ll just paste the pluggin’s
   code directly. I really need to get this to work (stop buggin).
 * The related widget appears on the left column on that page:
 * [http://atrium-innovations.com/en/investors/financial-documents/](http://atrium-innovations.com/en/investors/financial-documents/)
 * You’ll see there are a couple of file, starting with Annual General Meeting.
 * I really need to get this to work, so I’m posting the pluggin’s code anyway:
 * _[ Moderator Note: Please post code or markup snippets between backticks or use
   the code button. As it stands, your code may now have been permanently damaged/
   corrupted by the forum’s parser. [Or use pastebin.com instead](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       http://jfverville.com * Description: Affiche les liens rapides de Investors * Version: 0.1 * Author: JF Verville * Author URI: http://jfverville.com */ // Principal Class class Investor_Snapshot extends WP_Widget { //Widget setup. function Investor_Snapshot() { /* Widget settings. */ $widget_ops = array( 'classname' => 'investor-snapshot', 'description' => __('Widget affichant les liens rapides section investisseurs', 'investor-snapshot') );
   
           /* Widget control settings. */
           $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'investor-snapshot' );
   
           /* Create the widget. */
           $this->WP_Widget( 'investor-snapshot', __('Apercu investisseurs', 'investor-snapshot'), $widget_ops, $control_ops );
       }
       /**
        * Displays the widget settings controls on the widget panel.
        * Make use of the get_field_id() and get_field_name() function
        */
       function form( $instance ) {
           /* Set up some default widget settings: ('Label par defaut', 'Val. par defaut) */
           $defaults = array('title' => __('Titre', 'titre'));
           $instance = wp_parse_args( (array) $instance, $defaults ); ?>
           <!-- Widget Title: Text Input -->
           <?php if ( ICL_LANGUAGE_CODE == "fr"): ?>
       <p> </p>     <p> </p>   <p> </p>   <p> </p>
            <h3>DOCUMENTS</h3>
               <?php else: ?>
              <h3>DOCUMENTS</h3>
               <?php endif; ?>
       <?php
       }
       /**
        * Update the widget settings.
        */
       function update( $new_instance, $old_instance ) {
           $instance = $old_instance;
   
           /* Strip tags to remove HTML (important for text inputs). */
           $instance['title'] = strip_tags( $new_instance['title'] );
           return $instance;
       }
       /**
        * How to display the widget on the screen.
        */
       function widget( $args, $instance ) {
           extract( $args );
           // Use wp_list_pages to display parent and all child pages all generations (a tree with parent)
           $ancestors=get_post_ancestors(get_the_id());
           $parent = ($ancestors[sizeof($ancestors)-1] == "") ? get_the_id() : $ancestors[sizeof($ancestors)-1];
           $type_page = get_post_type();
           /* Our variables from the widget settings. */
           $title = apply_filters('widget_title', $instance['title'] );
           /* Before widget (defined by themes). */
           echo $before_widget;
           /* Display the widget title if one was input (before and after defined by themes). */
           if ( $title )
               echo $before_title . $title . $after_title;
           /* Start of the widget's core */
           if(ICL_LANGUAGE_CODE == "fr"){
           ?>
   
       <ul>
           <li class="lien_pdf"><a>/uploads/documents/presentations-et-evenements/AGM-2012-ATRIUM-FR.pdf" target="_blank">Assemblée annuelle des actionnaires</a>
           <li class="lien_pdf"><a>/uploads/documents/presentations-et-evenements/20120810_analyst_presentation_q2_2012.pdf" target="_blank">Présentation trimestrielle (anglais seulement)</a>
           <li class="lien_pdf"><a>/uploads/documents/presentations-et-evenements/ATR_FS12_Q2_fr_v3FINAL.pdf" target="_blank">Fiche aux investisseurs</a>
           <li class="lien_ext"><a href="http://www.atrium-innovations.com/brochure_fr/">Brochure corporative</a>
           </ul>
           <?php
           } else {
           ?>
   
       <ul>
           <li class="lien_pdf"><a>/uploads/documents/presentation-and-events/AGM-2012-ATRIUM-EN.pdf" target="_blank">Annual General Meeting</a>
            <li class="lien_pdf"><a>/uploads/documents/presentation-and-events/20120810_analyst_presentation_q2_2012.pdf" target="_blank">Quarterly Presentation</a>
           <li class="lien_pdf"><a>/uploads/documents/presentation-and-events/ATR_FS12_Q2_en_v3FINAL.pdf" target="_blank">Investor Fact Sheet</a>
           <li class="lien_pdf"><a>/uploads/documents/presentation-and-events/ATB-Investor-Presentation-August2012-Final.pdf" target="_blank">Investor Presentation</a>
           <li class="lien_ext"><a href="http://www.atrium-innovations.com/brochure_en/">Corporate Brochure</a>
           </ul>
           <?php
           }
           /* End of the widget's core */
           /* After widget (defined by themes). */
           echo $after_widget;
       }
   
       } //Add function to widgets_init that'll load our widget. add_action( 'widgets_init', 'load_Investor_Snapshot' );
   
       //Register our widget. function load_Investor_Snapshot() { register_widget( 'Investor_Snapshot' ); }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] [Plugin: Better WP Security] Cache within the plugin](https://wordpress.org/support/topic/plugin-better-wp-security-cache-within-the-plugin/)
 *  Thread Starter [webmaster-atrium](https://wordpress.org/support/users/webmaster-atrium/)
 * (@webmaster-atrium)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-cache-within-the-plugin/#post-3124899)
 * Sorry, you should read **Better WP Security** instead of **Exec-PHP**

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