Forum Replies Created

Viewing 15 replies - 31 through 45 (of 55 total)
  • Forum: Plugins
    In reply to: [Jigoshop] 1.9.3.1 Tax Bug
    Thread Starter KarlEngstrom

    (@karlengstrom)

    @megawebmaster, email sent, thanks

    Forum: Plugins
    In reply to: [Jigoshop] 1.9.3.1 Tax Bug
    Thread Starter KarlEngstrom

    (@karlengstrom)

    Disabling all plugins except Jigoshop doesn’t affect the tax bug.

    A difference between the old tax class & the new is the absence of the “end” in the syntax of the control structure. Example:

    1.9.3.1

    public static function get_taxes_as_array($taxes_as_string, $tax_divisor = -1){
    		$tax_classes = array();
    
    		if($taxes_as_string){
    			$taxes = explode('|', $taxes_as_string);
    
    			foreach($taxes as $tax){
    				@list($tax_class, $tax_info) = explode(':', $tax);
    				if($tax_info !== null){
    					$tax_info = explode(',', $tax_info);
    					foreach($tax_info as $info){
    						$value = explode('^', $info);
    						if(in_array($value[0], array('rate', 'display', 'compound'))){
    							$tax_classes[$tax_class][$value[0]] = (sizeof($value) > 1 ? ($value[0] == 'compound' && $value[1] == null ? false : $value[1]) : ($value[0] == 'compound' ? false : ''));
    						} else {
    							$tax_classes[$tax_class][$value[0]] = (sizeof($value) > 1 ? ($tax_divisor > 0 ? $value[1] / $tax_divisor : $value[1]) : '');
    						}
    					}
    				}
    			}
    		}
    
    		return $tax_classes;
    	}

    1.8.1

    public static function get_taxes_as_array($taxes_as_string, $tax_divisor = -1) {
    
            $tax_classes = array();
    
            if ($taxes_as_string) :
    
                $taxes = explode('|', $taxes_as_string);
    
                foreach ($taxes as $tax) :
    
                    $tax_class = explode(':', $tax);
                    if (isset($tax_class[1])) :
                        $tax_info = explode(',', $tax_class[1]);
                        if (isset($tax_class[0])) :
                            foreach ($tax_info as $info) :
                                if (isset($info)) :
                                    $key_value = explode('^', $info);
                                    if ($key_value[0] == 'rate' || $key_value[0] == 'display' || $key_value[0] == 'compound') :
                                        $tax_classes[$tax_class[0]][$key_value[0]] = (sizeof($key_value) > 1 ? ($key_value[0] == 'compound' && $key_value[1] == null ? false : $key_value[1]) : ($key_value[0] == 'compound' ? false : ''));
                                    else :
                                        $tax_classes[$tax_class[0]][$key_value[0]] = (sizeof($key_value) > 1 ? ($tax_divisor > 0 ? $key_value[1] / $tax_divisor : $key_value[1]) : '');
                                    endif;
                                endif;
                            endforeach;
                        endif;
                    endif;
    
                endforeach;
    
            endif;
    
            return $tax_classes;
        }

    That is throughout the file on every function. I’m just a php hack, not sure how relevant that is. But in my mind that could be taxing all states?

    Thanks
    Karl

    Forum: Plugins
    In reply to: [Jigoshop] 1.9.3.1 Tax Bug
    Thread Starter KarlEngstrom

    (@karlengstrom)

    About the only modded files I’m currently running are
    jigoshop_template_actions.php where I change add_action to remove_action for the jigoshop_sidebar
    and
    Atahualpa’s footer.php
    if (!isset($bfa_ata))
    to
    if ((!isset($bfa_ata)) or (class_exists('jigoshop')) )
    both for layout control.

    I’m just now getting back into troubleshooting, the site’s been working on the old tax class for now.

    More later

    Forum: Plugins
    In reply to: [Jigoshop] 1.9.3.1 Tax Bug
    Thread Starter KarlEngstrom

    (@karlengstrom)

    Yes, it is restricted to U.S. only with United States – Texas as base country/region.

    I’ll be troubleshooting later, deactivating the ton of plugins & debugging, and post back here later. If I hit a wall I’ll certainly create an admin account for you.

    Thanks
    Karl

    Forum: Plugins
    In reply to: [Jigoshop] 1.9.3.1 Tax Bug
    Thread Starter KarlEngstrom

    (@karlengstrom)

    Sure

    ### Begin System Info ###
    
    	Multi-site:               No
    
    	SITE_URL:                 https://www.hagstornadobait.com
    	HOME_URL:                 https://www.hagstornadobait.com
    
    	Jigoshop Version:         1.9.3.1
    	WordPress Version:        3.9.1
    
    	Platform:                 Windows
    	Browser Name:             Chrome
    	Browser Version:          34.0.1847.137
    	User Agent String:        Mozilla/5.0 (Windows NT 6.1) App
                                      leWebKit/537.36 (KHTML, like Gec
                                      ko) Chrome/34.0.1847.137 Safari/
                                      537.36
    
    	PHP Version:              5.4.22
    	MySQL Version:            5.1.73
    	Web Server Info:          Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    
    	PHP Memory Limit:         256M
    	PHP Post Max Size:        100MB
    	PHP Upload Max File Size: 100MB
    
    	WP_DEBUG:                 Disabled
    
    	WP Table Prefix:          Length: 3 Status: Acceptable
    
    	Show On Front:            page
    	Page On Front:            8
    	Page For Posts:           0
    
    	Session:                  Enabled
    	Session Name:             PHPSESSID
    	Cookie Path:              /
    	Save Path:                /tmp
    	Use Cookies:              On
    	Use Only Cookies:         On
    
    	WordPress Memory Limit:   256MB
    	WP_DEBUG:                 Off
    	DISPLAY ERRORS:           N/A
    	FSOCKOPEN:                Your server supports fsockopen.
    
    	ACTIVE PLUGINS:
    
    	AdRotate: 3.9.13
    	Author Category: 0.8
    	BulletProof Security: .50.1
    	CCS-HTTPS: 1.0.0
    	Custom Meta Widget: 1.4.6
    	Email Users: 4.6.7
    	Fast Secure Contact Form: 4.0.19
    	Jigoshop: 1.9.3.1
    	NextGEN Gallery by Photocrati: 2.0.65
    	Ninja Pages, Categories, and Tags: 1.3.2
    	Premium Shipping for Jigoshop: 1.3.1
    	Regenerate Thumbnails: 2.2.4
    	Shadowbox JS: 3.0.3.10.2
    	Simple Page Ordering: 2.2
    	Store Locator Plus: 4.1.18
    	Theme My Login: 6.3.9
    	TinyMCE Advanced: 4.0.2
    	WordPress SEO: 1.5.3.2
    
    	CURRENT THEME:
    
    	Atahualpa: 3.7.15
    
    	### End System Info ###

    Screenshots emailed

    Thread Starter KarlEngstrom

    (@karlengstrom)

    Take a look in speakup-email-petitions/includes, should be there. If not, update or download a fresh version of SpeakUp.

    HTH
    Karl

    Not that I know of. I’m pretty new to this plugin. I may join the project as a contributor if I can find the time though.

    The main thing is you got the info delivered to show intent!

    I’m working on a fisheries type project as well, the local ramp here is a mess! Great minds think alike ??
    https://www.anglersmedia.com/trash-hwy-19-ramp-petition/

    Don’t know if you got this taken care of but wouldn’t downloading the CSV file from the Signatures tab work?

    Thread Starter KarlEngstrom

    (@karlengstrom)

    I’ve just confirmed it works with the suggested SMTP plugin, WP-Mail-SMTP.
    WP 3.8
    SpeakUp! Email Petitions 2.4.2
    WP-Mail-SMTP 0.9.4

    I usually use Excel or similar spreadsheet program from that kind of thing. If you don’t have Excel you can get Open Office & use Calc, their spreadsheet program. Using those, your comment field should be separated already.

    Karl

    Hi Folks-

    Check the shortcode options here & see if that helps do what you are looking for.

    https://www.ads-software.com/plugins/speakup-email-petitions/other_notes/

    HTH
    Karl

    Thread Starter KarlEngstrom

    (@karlengstrom)

    Yup, latest version has the uploads/slp directory. Moved files there & so far so good! Thanks for the great plugin!

    Thread Starter KarlEngstrom

    (@karlengstrom)

    I’ll be setting up another test site for this, I’d love to see WPEC become stable & reliable! Thanks Andrew

    Thread Starter KarlEngstrom

    (@karlengstrom)

    I think this was related to another issue I had in the .htaccess file. Never mind :-s

    Thread Starter KarlEngstrom

    (@karlengstrom)

    I found what was apprently the issue, and not with WPHTTPS at all.
    Jigoshop had writen to my .htaccess file and somewhere along the lines I developed DOS CRLF characters in it, like so:

    ^M
    #Rewrite jigoshop Checkout to https^M
    RewriteCond %{HTTPS} off^M
    RewriteCond %{REQUEST_URI} /checkout/^M
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]^M
    ^M
    #traffic to https://, except /checkout^M
    RewriteCond %{HTTPS} on^M
    RewriteCond %{REQUEST_URI} !(/checkout/)^M
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]^M

    It was screwing up a myriad of things ??
    I removed all that junk from the htaccess file & all is good.

Viewing 15 replies - 31 through 45 (of 55 total)