Forum Replies Created

Viewing 15 replies - 1 through 15 (of 81 total)
  • geraintp

    (@geraintp)

    Thanks for the temp fix but unfortunate the latest update 1.36.1 to this plugin breaks the work around too :(.

    you have to use an old version of the plugin if you still want to use turnsile on the checkout of your woocom site without bricking the checkout..

    What you want/need has very little to do with this plugin, you should be looking to woocommerce for that, their are probably several VAT reporting plugins for it, i’m sure woothemes even sell one.

    this plugins stores very little data, and what it does is just metadata added to the woocommerce orders. e.g.

    ‘_bewpi_formatted_invoice_number’ = XXX-0001-2016 etc..
    ‘_bewpi_invoice_number’ = 1
    ‘_bewpi_invoice_year’ = 2016
    ‘_bewpi_invoice_date’ = 20-08-2016

    you just want the first and last, plus all the other data stored in the order.. id look for a woocommerce reporting plugin that lets you add custom meta fields, job done.

    The short answer is you can’t without editing the plugin, it’s hardcoded to set the invoice date to the current date/time every time the pdf is generated.

    Even if you’ve added the ‘_bewpi_invoice_date’ metadata etc.. to the order the plugin overwrites it with the current date and time when it generates an invoice.

    Ive got the same problem as i’m trying to import over a 1000 orders and re generated the invoices. 🙁 even after mapping the correct metadata for all the _bewpi_ options it all gets overwritten.

    If you’re interested in digging into the code and fudging it yourself, line 154 of abstract-bewpi-invoice.php is where it happens.

    return (!empty($date_format)) ? date_i18n($date_format, current_time('timestamp')) : date_i18n("d-m-Y", current_time('timestamp'));

    If you want to overload invoice no’s their all set at line 330,

    $this->number = $this->get_next_invoice_number();
    $this->formatted_number = $this->get_formatted_number();
    $this->filename = $this->formatted_number . '.pdf';
    $this->year = date_i18n('Y', current_time('timestamp'));
    $this->full_path = BEWPI_INVOICES_DIR . (string)$this->year . '/' . $this->filename;
    
    // update invoice data in db
    update_post_meta($this->order->id, '_bewpi_formatted_invoice_number', $this->formatted_number);
    update_post_meta($this->order->id, '_bewpi_invoice_number', $this->number);
    update_post_meta($this->order->id, '_bewpi_invoice_year', $this->year);
    $this->date = $this->get_formatted_invoice_date();
    update_post_meta($this->order->id, '_bewpi_invoice_date', $this->date);

    Ive got round this my creating my own BEWPI_Inoice child class and overloading the save() function and get_formatted_invoice_date() for the purpose of my import, its not perfect but it works.

    Yes, it could be bent and moulded into that kind of workflow.

    but emphasis on the bent, wordpress mu, works with subdomains as described, and it built to support people registering and creating their own sites just like wordpress.com becuase thats what it was build for wordpress.com.

    where you going to hit a wall (some actually work) is controlling who’s allowed to register and create a site and limiting them to one site each, i’m guessing that you don’t want just anybody to come along and register a site unlike wp.com

    Secondly each user will have a complete wordpress install with admin rights to it, so you’re going to have to lock that down, so that they can only do what you want them to within their own micro site. MU has some functionality to do that and you can do a lot more with a bespoke theme but you’re probably going to have to write a custom plugin to tailor it to your exact needs.

    Both are possible and several website i can think of do exactly that, but neither are tasks for a novice, if you’re not intimately familiar with theme development, plugin development and the wordpress code base my advice would be to seek professional help.

    hay

    if you want to keep the site hosted at wp.com it will cost you $13 a year see:

    http://en.support.wordpress.com/domains/
    http://en.support.wordpress.com/domains/map-existing-domain/

    and basically once you’ve pointed your domain names at wordpress follow instuctions above map existing domain

    go to
    https://absolutelyeverythingalmost.wordpress.com/wp-admin/paid-upgrades.php?page=domains

    and add your domain / buy the upgrade

    the short answer is no.

    each site stores it content separately. the only thing thats shared is user accounts/login and profile, everything else it completely ring fenced separate db tabled separate folders in the uploads folder.

    on top of that wc products are a custom content type within each respective wordpress multisite.

    In a theme or plugin you can switch blogs temporally to show content from another if you want but i’m guessing thats not what your looking for.

    You need to look for maybe a syncing plugin for woo commerce tho i’m guessing it doesn’t exist and that even if it did it would be temperamental if not down right dangerous.

    Or look at making/building an importer that automatically adds a product too all the sites simultaneously but thats something i’m sure you’d have to fabricate and build from scratch.

    You shouldn’t get a different website unless your webserver is miss configured.

    when you configure a webserver http and https are actually two completely different sites to be configured. usually you configure theme both to show the same content (folder) unless otherwise required.

    Usually when you don’t have a ssl cert, you configure the https site to show a 404 i.e. the ssl site doesn’t exist..

    I just looked at both sites.. http and https and their the same site, but some of the content (stylesheets, js) has dropped out so they do look differently but the content is the same.

    This could have been what your hosting company meant but didn’t explain clearly, i.e. some of the content isn’t loading properly because there is not ssl certificate.

    if its a premium theme …. contact the people who made it …. and sold it to you.

    No idea.

    • cant see it – you didn’t include a link and like most people i’m not telepathic
    • commercial themes aren’t publicly available – so again i cant see it, i have no idea what menus or interfaces they’ve added and what there supposed to do and neither will anybody else here so when you say
      I have my site set to MASTHEAD LAYOUT : Logo in Menu

      I have literarily have no idea what you mean..

    Sorry i’m not trying to berate you but if your waiting for help from this forum its not going to come unless you post more details and even then were not the people in the best position to help you..

    whether you choose subdir or subdomain it just gives you slightly different code to paste into your wp-config file, it could be it wasn’t giving you the option because it checked and their was already a folder their…

    you need to ensure your config has:

    define('SUBDOMAIN_INSTALL', false);

    in it. thats the main switch for wordpress on how to deal with multi sites.. you’ll also have to look at the .htaccess file and see what its doing, as thats where all the rewriting of the virtual sub directories happens, once you’ve made the change to a sub directory in your wp-config go back into the network admin section of the site and setup and it should probably prompt you with a load of text to add to your .htaccess file.

    Sound like the permission are wrong on your host .. i.e. wordpress cant make changes or add folders on the server.

    see
    http://codex.wordpress.org/Changing_File_Permissions

    and
    http://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress

    also you could try contacting your web host to see if they’ll let you know what permissions you need to set.

    Are you using this comments plugin or just wordpress’s default comments mechanism?

    if your using the default mechanism you need to got to settings and discussion and set the defaults for comments on posts.

    secondly for any old posts, go to view all posts check the posts you need to update and select bulk edit,

    then turn on comments and save.. as opposed to going though each posts one my one to turn on comments.

    note.. if you have turn off comments in x days… in the discussion settings and the posts are older that x days they’ll get shut straight off again the next time the house cleaning action runs in wordpress..

    contact your host, its probably a problem with their website or cpanel, wordpress shouldnt care their are hythens in your domain name, its a valid character for a domain name.

    WordPress dose enforce a character policy for usernames however….

    P.S. chrome has a nasty habit of caching 301 and 302 redirects, so if you host used one to divert traffic whilst you were between sites/deleted the site, it could be that the browser is remembering the redirect and following it instead of reloading the new… page again try shift refreshing the page or deleting your history etc..

    can be really trick to get rid of.

    Probably DNS propagation or an issue at your domain registars DNS server.

    Ive just open it in chome, safari, firefox and opera without issues, web browsers some time cache dns request to same time on page loads, it could be you just need to wait or shift reload the page in the browsers not getting the correct page. it may be they’ve cached the ip address of the holding page when you first bought the domain. also sometime routers also cache dns request… 🙂

    whenever you change where a domain points it can take 24hr-48hr for the change to spread propagate everywhere.

    By the looks of it you’ve only halfway set up
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    So wordpress is a bit confused… and looking for the theme in the wrong folders.. it’s also why you cant login…

    You need to copy the index.php from /wp/ to the above folder. in it you need to change the line
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );
    to
    require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );

    you need to move your wp-config.php file from the wp folder up one level to where you just put the copy of the index.php

    in your wp-config.php you need to add the lined (best probably just after your db config options)

    define('WP_SITEURL', 'http://www.moneyminders.in/wp');
    define('WP_HOME', ' http://www.moneyminders.in');

    which will overload the values stored in the db that should get you back into your website and the homepage loading.

    You will also have to sort out the .htaccess file but once you can get back in visiting the permalinks section in the admin area should re generate it so long as wp has write access to the directory you should be ok

Viewing 15 replies - 1 through 15 (of 81 total)