monitor
Forum Replies Created
-
Forum: Plugins
In reply to: [Cart66 Lite :: WordPress Ecommerce] cart66 session not startedHave you tried switcing to PHP sessions in “Session Management ” in the cart66 debug’s tab? Cart66 does not work with ANY cache plugin, such as DB Cache Reloaded Fix etc..etc.
Forum: Plugins
In reply to: [Grid Products] Example of full short-codeAnd btw, you should paste that shortcode on a new PAGE, so that that new page would display all the post from shoes
Forum: Plugins
In reply to: [Grid Products] Example of full short-codeSeb Syd,
Are you planning to have a lot of products? as in hundreds or thousands?
If not just go to “Products” on the side bar, and add a new product the same way you would have when you went to Post >> Add new.Then give it a category, “shoes” for example.
The shortcode would be [cat=”shoes”]If you dont know the category slugs (names), search for it in the backend.
Forum: Plugins
In reply to: [Grid Products] Example of full short-codeI’ve figured out why it does not work. Technically it works, but only if you use cart66 and add products their way via their new “Products” sidebar in the back-end. This makes the post type
‘post_type’ => ‘grid_products’,99% of the people add cart66 products the normal way via posts, and using the default wordpress post_type.
So this plugin will be handy for someone who just installed cart66.
Forum: Plugins
In reply to: [Grid Products] Example of full short-codeI’ve tried them all, nothing works.
Hi,
I had to figure it out by myself. When you add the variations to the “Option Group 2: , but the “Option Group 1:” is empty then you get this error.
This was fine untill the latest update which requires Option 1: to be filled in. I had 1000 products already only filled in with Option 2: and was not going to change it all manually. So you can run this in your sql (just backup before)
update ‘wp_cart66_products’ set ‘options_1’ = ‘options_2’
and then to clear out options 2 for duplicates run this:
UPDATE ‘wp_cart66_products’ SET ‘options_2’ = ”
Forum: Plugins
In reply to: [Pinterest "Pin It" Button] Award points if someone pinnedI think it would probably be within this code? But i would like it to fire once someone acctually shared it, and not just click the pin button, since they can just close the window and still get the points
//User selects image (default) //$pib_options['button_style'] == 'user_selects_image' (or blank) else { //Fire off Pinterest's pinmarklet.js wp_enqueue_script( 'pin-it-button-user-selects-image', PIB_JS_URL . 'pin-it-button-user-selects-image.js', array( 'jquery' ) ); //User selects image AND use Custom image button if ( (bool)$pib_options['use_custom_img_btn'] ) { //Do nothing } //User selects image AND use Stock button else { //Do nothing } }
Hi Tessa,
I have tested on your site and it seems to be working fine.
This usually happen when u have a Caching plugin installed.
Cart66 does not work with any caching enabled on your site. Disable the caching plugins and try againForum: Plugins
In reply to: [WP Tiles] [Plugin: WP Tiles] Plugin can't be activated: Fatal errorsame here
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /wp-content/plugins/wp-tiles/wp-tiles-admin.php on line 242
Sorry to have caused an alert. Today it works great upon activation. Must have been something with my theme.
Forum: Fixing WordPress
In reply to: Get the current category linkthanks gerardbm!!!! spent days looking for a solution.
Thanks!
Your modifications work and i can see it being created in the database.
The only problem i think is with the code$yw = date('W')-1 > 0 ? date('Y') . date('W')-1 : date('Y')-1 . '52';
Whenever that is present, no post are returned, the moment i remove it, posts are returned (but without the date functions ofcourse).
Can you please double check that code? And did i put it in the right location? Line 3 of my code before the query.
I also have to end your code
'meta_key' => '_count-views_week-' . $yw;
with a comma, and not a ; because the next line has more code.I already feel guilty for taking up your day, but i have no more hair left.
I saw what you meant before. I checked my database and i see:
meta_key
_count-views_week-201237
meta_value
5
Wouldn’t there be so many meta keys created for each date?
Is it possible to make one meta key, “week” , and then each week your plugin can clear that value, but leaves the “all” and other values. This way you only have one meta key for week, and each week its fresh, giving u exactly what u wanted, per week views.Now you must manually add the week number to your template file. If it can be dynamic automatic then it would be nice.