paxmanpwnz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: [Dippsy] [Plugin: Dippsy] Where is located the Product Folder?Why When I press button “Store” is showing me down in the menu “Thank you button” & “Cancel Button”?
That’s because these two pages are children of the default Dippsy store page. I believe you can disable showing them by changing the
depth
argument inwp_list_pages
function to 1 in your themeheader.php
file.And is when you press are with mouse over “Tienda Virtual” is my STORE
It looks fine – ie displays “Tienda Virtual” – from here (Firefox 3).
(I see you’re using a cache plugin. Prehaps it needed to refresh itself.)Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] shortcode output is always at the top of the postThanks for the report.
Will change to return in version 1.1.Forum: Plugins
In reply to: Dippsy is limited to displaying 5 products.Thanks for the report.
Will be fixed in version 1.1.Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] Price settingsThat is really weird. I guess
get_posts
ignores an argument.
A quick solution is to replace every argument of
"posts_per_page" => -1
with
"nopaging" => true
in calls to the
get_posts()
function in the file
dippsy_queries.php
.Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] Price settingsWill be fixed with the next update, version 1.1.
(For now, a simple workaround for this is to first add the file with an arbitrary price, and then set the real price and update the product.)This file gets created by Dippsy to check if the images folder is writable, for creating thumbnails of new file format types in it.
Now that you’ve mentioned it, I could’ve put it under Settings – a “Check Dippsy folders for permissions” button or similar.
Will think about it.Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] Need HelpIt should be fixed in 1.0.4.
Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] Some queriesDoes this require us to configure paypal IPN?
No, you don’t need to. The notify URL is set in the form that gets submitted to PayPal.
and can we set link expire time or number of download limit?
Yes, you can set both in Settings, under the ‘Downloads’ tab.
Note that they are set store wide, ie. NOT per product.Forum: Plugins
In reply to: [Dippsy] [Plugin: Dippsy] Need HelpThe ‘Buy now’ button uses JavaScript to work.
I’m guessing you’re using Firefox NoScript (or similar tools for other browsers), please disable it.
(Later today I will release a new version, that won’t depend on JavaScript, as this solution does not work on Chrome browser)Forum: Plugins
In reply to: Change labels in admin sectionUh, missed something. In order for above code to work, you also have to add filter for a ‘custom_menu_order’:
add_filter('custom_menu_order','order'); function order() { return true; }
Forum: Plugins
In reply to: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRINGRemove ‘ before ICL_PLUGIN_PATH.
Forum: Fixing WordPress
In reply to: plz help: I wnt 2 blog page id;it is urgentUse get_page_by_title.
Forum: Plugins
In reply to: Change labels in admin sectionWell, I’ve managed to do this by re-registering ‘Post’ type with custom labels with an init hook. Like this:
add_action('init','test_custom_post'); function test_custom_post() { $labels = array( 'name' => _x('Books', 'post type general name'), 'singular_name' => _x('Book', 'post type singular name'), 'add_new' => _x('Add New', 'book'), 'add_new_item' => __('Add New Book'), 'edit_item' => __('Edit Book'), 'new_item' => __('New Book'), 'view_item' => __('View Book'), 'search_items' => __('Search Books'), 'not_found' => __('No books found'), 'not_found_in_trash' => __('No books found in Trash'), 'parent_item_colon' => '' ); register_post_type( 'post', array( 'labels' => $labels, 'public' => true, '_builtin' => true, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => false, 'query_var' => false, 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions' ), ) ); }
To change the admin tab menu labels you have to hackishly hook to a filter in the wp-admin/post.php file:
add_filter('menu_order','change_label'); function change_label($stuff) { global $menu,$submenu; $menu[5][0]= 'Books'; $submenu['edit.php'][5][0] = 'Books'; return $stuff; }
I wouldn’t count on it though, as the register_post_type function comment for ‘_builtin’ argument clearly says ‘THIS IS FOR INTERNAL USE ONLY!’, although after a quick glance on the code looks like it just overwrites the default defined post type – at least on WP 3.0.