Forum Replies Created

Viewing 15 replies - 31 through 45 (of 49 total)
  • Thread Starter madbirdesign

    (@madbirdesign2)

    Thank you! There were no IP addresses listed on the locked list. I think what happened was that I tried to log in with credentials from another account, and I see that I had “Instantly Lockout Invalid Usernames” checked ON in WP Security > User Login.

    I appreciate your help – thanks again.

    Thread Starter madbirdesign

    (@madbirdesign2)

    Hello & I appreciate your reply!

    The site doesn’t have regular traffic, since it’s just online in maintenance mode for client review right now. I can try again when the site is live.

    I installed WP-Cron Events, and I don’t see errors, but here is some info:
    Hook Name: updraft_backup_resume
    Arguments: [2,”6e0e6788ff45″]
    Next Run: 2016-09-07 21:41:26 (4 minutes 8 seconds)
    Recurrence: Non-repeating

    Thread Starter madbirdesign

    (@madbirdesign2)

    Here is a link – thank you for taking a look!
    https://www.dropbox.com/s/c7vu134se8e01s2/log.5b62d83037f9.txt?dl=0

    Thread Starter madbirdesign

    (@madbirdesign2)

    Hello and thanks!

    I gave it a try on this page, and the document opens as described. However, some code still shows at the bottom of the open document. Take a look and let me know if I missed something.

    https://madbirdesign.com/woodland-2/view-doc/

    The sidebar positioning is way “off” – that might be a problem or conflict with the theme I am using (Avada).

    Thread Starter madbirdesign

    (@madbirdesign2)

    David, this exchange has been so helpful – thank you! I am getting close to a solution.

    I have updated the widget code on the test page >>
    https://madbirdesign.com/woodland-2/about/

    Which then takes the user to this page >>
    https://madbirdesign.com/woodland-2/view-doc/

    My preference would be to have a way for the user to go directly to the PDF, rather than the extra steps of clicking the Get Document button, and then clicking the PDF icon.

    If that isn’t possible, then using PDF Embedder (plugin) seems like a good option. Do I change this code to incorporate the pdf-embedder?

    [mla_gallery]
    ids="{+template:{+request:mla_dropdown+}|{+request:mla_dropdown_R+}|{+request:mla_dropdown_A+}|999999+}"
    post_parent=all
    post_mime_type=application/pdf
    size=icon link=file mla_target="_blank"
    mla_caption="{+title+}"
    mla_viewer=false
    [/mla_gallery]
    Thread Starter madbirdesign

    (@madbirdesign2)

    Thanks – it’s getting closer! I updated the code, which you can see in action here:

    https://madbirdesign.com/woodland-2/about/

    It’s in the sidebar under “Meeting Materials”.

    The user process now is
    1. Select the document from the dropdown menus
    2. Click “Get Documents” button
    3. Page reloads, and a PDF icon appears under the dropdown area
    4. Click on icon to open the PDF document

    I haven’t been able to successfully open the MLA attachments in a new window. Can you clarify this last point?

    Of course, this last shortcode should be moved out of the widget and into a separate post/page so the PDF document gallery and/or documents open in a separate window, as I suggested in my earlier post.

    Here is my code:

    <form id="mla-text-form" action="." method="post" class="row">
    <strong>Agendas</strong>
    [mla_gallery attachment_category='agendas' post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery][/mla_gallery]
    
    <strong>Regular Meeting Minutes</strong>
    [mla_gallery attachment_category='regular-meeting-minutes' post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery dropdown_name=mla_dropdown_R][/mla_gallery]
    
    <strong>Special Meeting Minutes</strong>
    [mla_gallery attachment_category='special-meeting-minutes' post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery dropdown_name=mla_dropdown_A mla_onchange='onchange="return this.form.submit()"'][/mla_gallery]
    
    <input id="text-form-submit" name="text_form_submit" type="submit" value="Get Document" />
    </form>
    
    [mla_gallery]
    ids="{+template:{+request:mla_dropdown+}|{+request:mla_dropdown_R+}|{+request:mla_dropdown_A+}|999999+}"
    post_parent=all
    post_mime_type=application/pdf
    size=icon link=file
    mla_caption="{+title+}"
    mla_viewer=false
    [/mla_gallery]

    Am I missing anything?

    So appreciate your assistance!

    Thread Starter madbirdesign

    (@madbirdesign2)

    Thank you David. It seems like this last bit of code is the part that is having trouble – when I remove it, I can see the dropdown menus for all 3 sections, with a “Filter” button underneath. (View on https://madbirdesign.com/woodland-2/about/)

    [mla_gallery]
    ids=”{+template:{+request:mla_dropdown+}|{+request:mla_dropdown_R+}|{+request:mla_dropdown_A+}|999999+}”
    post_parent=all
    post_mime_type=application/pdf
    size=icon link=file
    mla_caption=”{+title+}”
    mla_viewer=false
    [/mla_gallery]

    Thread Starter madbirdesign

    (@madbirdesign2)

    Hi David,

    I have posted a link to a working sidebar widget here:

    https://madbirdesign.com/woodland-2/about/

    In the sidebar, under Meeting Materials, I have used Collapse-O-Matic (as you suggested earlier). That seems to work okay, except I can’t get the PDFs to open in a new window (target=”_blank”). I read in another post that this might be due to a conflict with the Avada theme.

    I’ll paste in my widget html code:

    Collapse-O-Matic + Media Library Assistant

    [expand title=”AGENDAS” trigclass=”awesomearrows”]
    [mla_gallery attachment_category=’agendas’ post_mime_type=’application/pdf’ link=’file’ meta_key=”Display Date” orderby=”meta_value” order=”DESC” numberposts=5 mla_target=”_blank” columns=1 mla_style=pdf-list][/expand]

    [expand title=”REGULAR MEETING MINUTES” trigclass=”awesomearrows”]
    [mla_gallery attachment_category=’regular-meeting-minutes’ post_mime_type=application/pdf link=file meta_key=”Display Date” orderby=”meta_value” order=”DESC” numberposts=5 mla_target=”_blank” columns=1 mla_style=pdf-list][/expand]

    [expand title=”SPECIAL MEETING MINUTES” trigclass=”awesomearrows”]
    [mla_gallery attachment_category=’special-meeting-minutes’ post_mime_type=application/pdf link=file meta_key=”Display Date” orderby=”meta_value” order=”DESC” numberposts=5 mla_target=”_blank” columns=1 mla_style=pdf-list][/expand]

    <i class=”fa fa-arrow-circle-right” aria-hidden=”true” style=”padding-right: 10px; color: #0074D9;”></i>Meeting Materials Archive

    In the next section – Meeting Materials (dropdown) – I have added the code you generously provided above. I’ll paste in my widget html code:

    Media Library Assistant with custom dropdown gallery

    <form id=”mla-text-form” action=”.” method=”post” class=”row”>
    Agendas
    [mla_gallery attachment_category=’agendas’ post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery]

    Regular Meeting Minutes
    [mla_gallery attachment_category=’regular-meeting-minutes’ post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery dropdown_name=mla_dropdown_R]

    Special Meeting Minutes
    [mla_gallery attachment_category=’special-meeting-minutes’ post_mime_type=application/pdf orderby=date order=desc mla_markup=dropdown-gallery dropdown_name=mla_dropdown_A mla_onchange=’onchange=”return this.form.submit()”‘]

    <input id=”text-form-submit” name=”text_form_submit” type=”submit” value=”Filter” />
    </form>

    [mla_gallery]
    ids=”{+template:{+request:mla_dropdown+}|{+request:mla_dropdown_R+}|{+request:mla_dropdown_A+}|999999+}”
    post_parent=all
    post_mime_type=application/pdf
    size=icon link=file
    mla_caption=”{+title+}”
    mla_viewer=false
    [/mla_gallery]

    If you have any other suggestions to make this work, I’ll be very appreciative. Thanks again for providing such excellent support on your plugin.

    Thread Starter madbirdesign

    (@madbirdesign2)

    Wow, this is amazing — you have truly gone above and beyond!

    I have made these changes on my localhost temp server. I am getting an error message:
    ERROR: Invalid mla_gallery tax_query = ‘Regular’

    Any ideas?

    I’ll upload it with a link so you can see the widgets in action.

    To answer your question, ideally I would like the user to select a PDF document from the list, and it would open immediately in a new window (target=”_blank”). An example of what I’m trying to do is in the sidebar of this page, under Meeting Minutes: https://www.portcw.com/index.php/about/commission/

    Thread Starter madbirdesign

    (@madbirdesign2)

    THANK YOU for your prompt reply and sending these links!

    I was also experimenting with the [mla_term_list] code, which creates a nice drop-down list, but I couldn’t figure out how to display the correct PDF files.

    I’d love to learn more about creating a dropdown control for a gallery – if you have any examples, please let me know.

    My goal is to create a widget that looks like this:
    https://madbirdesign.com/woodland/dropdown-example.png

    The user can select the PDF file they want from the dropdown lists.

    Thread Starter madbirdesign

    (@madbirdesign2)

    Note: The errors stop if I set debug mode to false in wp-config:

    define(‘WP_DEBUG’, false);

    Got it – thank you!

    I am getting the same error, with PHP Version 5.6.23
    Thank you!

    Thread Starter madbirdesign

    (@madbirdesign2)

    Ah! I think I finally found the right code to adjust:

    .ui-tabs-nav li { float: none !important; }
    .ui-tabs-panel.ui-widget-content { display: block !important; }

    Thanks again for the plugin and the link.

    Thread Starter madbirdesign

    (@madbirdesign2)

    Thank you – I have tried that, but only the active tab will show on the printed version – the other 2 tabs are hidden from view.

    .wplistings-single-listing .ui-tabs .ui-tabs-hide { display:block !important; opacity: 1 !important; visibility: visible !important; }

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