toastdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] Unable to edit 'Your Account' page textI did some snooping on github and it looks like someone has committed a patch for this, but I don’t think it’s has been merged to a stable release as of yet.
The temporary fix I am using is simply commenting out
do_action( 'wpsc_user_profile_section_' . $current_tab );
and using if statements to pull in the right templates:<?php if($current_tab == 'purchase_history'){ include('wpsc-account-purchase-history.php'); } if($current_tab == 'edit_profile'){ include('wpsc-account-edit-profile.php'); } ?>
The download section requires a bit of extra code, which can be found in
wpsc-theme/functions/wpsc-user_log_functions.php
on line 760Forum: Plugins
In reply to: [WP eCommerce] Unable to edit 'Your Account' page textAble to edit the
wpsc-user-log.php
template, but thewpsc-account-edit-profile.php
andwpsc-account-purchase-history.php
template files are stilling be pulled from the/wpsc-theme/
folder, rather than the copied ones.Think it might have something to do with the
do_action( 'wpsc_user_profile_section_' . $current_tab );
functionEdit: Upon further inspection, the
do_action( 'wpsc_user_profile_section_' . $current_tab );
does seem to be the culprit. The functions it references inwpsc-user_log_functions.php
contain includes which specifically reference thewpsc-theme
folder – they don’t check to see if you have copied them to your own theme folder.Forum: Plugins
In reply to: [WP eCommerce] Unable to edit 'Your Account' page textSame issue here – any luck @shubhamk ?
Forum: Plugins
In reply to: [WP Custom Fields Search] Pagination removing space in query<?php global $wp_query, $wp_rewrite; $wp_query->query_vars['paged'] > 1 ? $current = $wp_query->query_vars['paged'] : $current = 1; $pagination = array( 'base' => @add_query_arg('paged','%#%'), 'format' => '', 'total' => $wp_query->max_num_pages, 'current' => $current, 'show_all' => true, 'type' => 'plain' ); if( $wp_rewrite->using_permalinks() ) $pagination['base'] = get_bloginfo('url') . '/page/%#%/'; $cq = $_GET['s']; $sq = str_replace(" ", "+", $cq); if( !empty($wp_query->query_vars['s']) ) $pagination['add_args'] = array( 's' => $sq); echo paginate_links( $pagination ); ?>
Ok guys I have got it working so try what I did:
– Do no specify a MySQL Charset in either Joomla or WP options (leave blank)
– Uncheck ‘Do codepage conversion’Give that a whirl.
Also having the same problem with the blank posts. Everything is being pulled in perfectly except for the actual post content. i.e ‘jos_content’ ‘fulltext’ is not being pulled into ‘wp_posts’ ‘post_content’
WP: 3.1.2
Joomla2WP: 1.5.2