Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: QuForm breaks site #15073
    nickharambee
    Participant

    Hi Ally

    Thanks for getting back to me. There was one fatal error in the error log:

    Fatal error: Class ‘EEH_Template’ not found in /home/admin/domains/opendialogueapproach.co.uk/public_html/wp-content/plugins/eea-people-addon/public/template_hooks.php on line 66

    So I disabled this plugin and QuForm started working again. So it would appear that the conflict is between QuForm and Event Espresso 4 People Add on Plugin. How do I go about sorting this?

    Nick

    in reply to: Conflict with Event Espresso Plugin #12139
    nickharambee
    Participant

    Thanks Ally. I have emailed the plugins to you.

    With best wishes,

    Nick

    in reply to: Duplicating a group #12071
    nickharambee
    Participant

    Thanks for the swift response Ally. Glad to hear this feature is coming, but not looking forward to all the manual adding of elements! It’s not just the elements, but also the options/styling on the individual elements that I would like to be able to duplicate.

    All the best,

    Nick

    nickharambee
    Participant

    Thanks Ally. I can see from the post you linked to that you are planning to implement placeholders in the next update. Do you have a rough ETA for this, as I don’t need to implement this urgently and if it’s coming fairly soon I will wait for the integration.

    Best Wishes,

    Nick

    nickharambee
    Participant

    Great!

    By just using:

    $value = array(
    'text' => iphorm_get_wp_uploads_url() . '/' . $result['path'] . $filename,
    'fullPath' => $fullPath
    );

    I just get the URL and nothing else which I can then use to build a hyperlink when creating the table on my page.

    Thanks again for walking me through this Ally. QuForm is a great product, and with a service to match.

    nickharambee
    Participant

    Thanks again Ally. I will look in to issue 1 further. I feel confident that I will be able to sort this out.

    Regarding issue 2 though, I am still a little confused. The code you are suggesting I use I already have in place, i.e.:


    $value = array(
    'url' => iphorm_get_wp_uploads_url() . '/' . $result['path'] . $filename,
    'text' => 'View file',
    'fullPath' => $fullPath
    );

    This generates an entry in the following format: View File (URL) – which doesn’t work as a hyperlink. I attach a screenshot of an example entry.

    Nick

    Attachments:
    You must be logged in to view attached files.
    nickharambee
    Participant

    Hi Ally,

    That’s a very helpful response. Thanks. The upload path is now set just as I’d like it, and I amended the function for renaming the uploaded file so that the file is named in the form {year}_{month}_{day}. There are a couple of outstanding issues though:

    1. If two files have the same name then your script appends 1_ , 2_, etc to the start of the filename. So that I can identify my files easily by date, I would like the numbers to be appended to the end of the filename, i.e. filename_1, filename_2, etc. I can see where the renaming is handled in your script (lines 1013-1024), but because the extension is included in $filename it isn’t straight forward to change this. What would be the simplest way of achieving the desired filenames?

    2. For Item 2 above, I wasn’t just wanting the text of the filename to change to ‘View File’. What I was wanting is simply the text ‘View File’ which would be a hyperlink to the URL of the file (i.e. when clicked the uploaded file would be seen on a webpage). So either I need your script to just return the URL (without the space and brackets which are currently included in $fullPath), and I can wrap this in <a href='[url]'>View File</a> when constructing the table, or your script could be adapted to generate the HTML and enter it into the table (probably the more straight forward method).

    I hope this is clear, and thanks again for your help.

    Nick

    in reply to: Files not uploading to server #2752
    nickharambee
    Participant

    Thanks. It looks like the ‘replace’ code from above is what I already have (I am using version 1.3.5).

    I am happy not to use the flash uploader for now – there doesn’t seem to be any particular advantage to doing so.

    in reply to: Files not uploading to server #2746
    nickharambee
    Participant

    Thanks for your prompt response Ally. Disabling the flash uploader fixed the issue. Should I just keep it disabled, or is there something I can do to get it working?

Viewing 9 posts - 1 through 9 (of 9 total)
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy