Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Just as a note here on how this was finally resolved for me:

    I was using a theme that I found to be including its own bbpress-functions.php. In there was a duplicate inclusion of topic.js which was conflicting with the one in the plugin files themselves.

    Removing the inclusion from the theme’s bbpress-functions.php solved the problem.

    After today, and doing some more work on the site I was experiencing the difficulty with in the first place, I find that the issue is now recurring for me.

    A little digging around has revealed these posts:

    https://bbpress.trac.www.ads-software.com/ticket/2302

    and

    https://bbpress.org/forums/topic/enqueue-ajax-script-in-buddypress-groups-forum/

    So, it appears that the issue is a known one within bbPress and is resolved on upgrading to 2.4.

    I will attempt to upgrade to 2.4 tomorrow from the repository and let you know how I get on.

    Best,
    Iain

    Hi,

    I also experienced this issue recently. In my case, it happened that I had included fitVids.js in my theme and then uploaded a plugin which also included it. Commenting out the line in my functions.php where I had enqueued the fitVids script then resolved the issue, and the buttons worked as they should.

    I’d suggest going through and disabling plugins one at a time in your theme to see if any of these are causing the conflict here, and also commenting out any additional scripts you are enqueueing in your functions.php one by one to try and isolate the issue. You may also be calling scripts in your header.php so try disabling/re-enabling them too.

    Hope this helps in some way

    Best,
    Iain

    Thread Starter keepitnang

    (@keepitnang)

    Hi Penter,

    I ended up using a plugin to achieve the result I wanted, customising the output of WP-Ecommerce to show only what I wanted on the invoice. Plugin as follows:

    https://www.split-moon.com/wp-e-commerce/plugins/wp-e-commerce-pdf-invoices/

    Worked well for me so if you choose to use this option and need some help setting up just let me know and I’ll let you know how I did it ??

    Thread Starter keepitnang

    (@keepitnang)

    Thanks so much for the useful links Lee. I’d been trying to find my own articles on achieving this, but the ones you have suggested are certainly a little more concise and easy to understand than the ones I had found to date ??

    Thread Starter keepitnang

    (@keepitnang)

    Sorry Lee – using the example of the Product Descriptions field being missing from the ‘Orders’ .csv was probably not the best example I could have used to illustrate what I’m trying to achieve here. My bad. Using the ‘Order Lines’ export does indeed give me most of what I need, but I am wondering if it would be possible to pull in data to a templated invoice that would display something along the lines of

    [Customer Details]
    [Item No.1] – [Item No.1 Price inc. VAT]
    [Item No.2] – {Item No.2 Price inc. VAT]
    and so on down to
    [Order Items Total ex. VAT]
    [Order Shipping Total ex. VAT]
    [Total VAT on Items and Shipping]
    [Complete Total inc. VAT]

    At the moment the .csv lists all order items on separate lines, but is there a relatively simple way in which I could group order items by the order ID, and export by ID to the template? Forgive my ignorance if this can already be achieved, but this is exactly what I am after.

    Thanks again in advance for your help.

    Thread Starter keepitnang

    (@keepitnang)

    Hi Lee – What I’m after, in layman’s terms, is the facility whereby someone here can click the ‘Go’ button within the admin interface and have a single .csv generated which incorporates fields from both ‘Orders’ and ‘Order Lines’. I was hoping to use your plugin as a basis to try and do this rather than trying to re-invent the wheel, but would you suggest having to write some alternate code in this instance or can your plugin as you see it be customised to allow me to achieve what I’m after?

    Thanks for your help with this.

    Thread Starter keepitnang

    (@keepitnang)

    Hi Lee – Thanks for the swift response.

    What I have been charged with is creating export functionality that exports only a single .csv file that contains exactly all of the fields I mentioned above so that the file can be directly mail-merged with our existing invoice template. Something like this kind of thing –

    Office Example Template

    So, for example, as far as I am aware, if I export all the Orders I will not see Product Description on the resulting .csv output. Effectively we are just trying to automate the sales process (or get as close to full automation of the process as we can). Are you able to give me any advice as to how I could at least begin to amalgamate the 2 export functions? As I’m just starting out really I’d appreciate the chance to be able to learn something from a plugin such as yours, but I really have no idea of where to start as a jumping-off point.

    Thread Starter keepitnang

    (@keepitnang)

    Thanks for the heads-up on that change – very useful. Unfortunately I have 40 entries to display per page, so I think I will stick with the hardcoded solution just for the time being. The update is certainly providing some handy extended functionality to an already excellent plugin though ??

    Thread Starter keepitnang

    (@keepitnang)

    Thanks so much for your reply. The simpler solution as regards styling the list item is certainly the better option in this case ?? However, with regard to the Haiku plugin, I note that the HTML generated by this includes unique ID references for each feed item, for example

    <div id="player-container1" class="player-container">
     <div id="player-container2" class="player-container">

    and so on. On this basis I hardcoded the player shortcode into hungryfeed.php using

    echo do_shortcode('[haiku url="' . $enclosure_link . '"]');

    Possibly not the most graceful of solutions, but it works for me. If you have any other suggestions I would welcome them though.

    Thanks again for your help on this.

Viewing 10 replies - 1 through 10 (of 10 total)