jscooper
Forum Replies Created
-
Hi Muhammed,
Here’s a test file I made:
https://staff.kingarch.com/wp-content/uploads/2026/03/test.pdf
I see that the Protected Link is different (with the added _pda) but I’m still able to access the uploaded file at the original path via direct link.
Thanks so much.
Forum: Plugins
In reply to: [Prevent Files / Folders Access] Not working in NGINXActually, it looks like the setting page doesn’t work. I check nginx as the server, get the config code popup when I hit Save but when I close the popup the setting reverts back to Apache.
Found a workaround. the <P> tag was forcing it back to the themes formatting, regardless of the formatting set in the editor. Once i removed those and just used <br/> between lines, it worked.
Thanks,
Jeff
Forum: Themes and Templates
In reply to: Twentysixteen Hiding Bottom Menu on MobileSorry, no I don’t have a static front page and know nothing about them except they exist. Are you sure it uses footer.php though, and not some other file, since it’s static?
Think I have it. I took this code from events.php
get_bookings_url(); ?>”><?php esc_html_e(“Bookings”,’events-manager’); ?>
and replace this in bookings.php
with it.
Now my question is: what’s the proper way to override this? I modified the actual php file in events-manager/templates/forms (after making a backup of course). Should I just make a similar path under my theme and put my changed bookings.php file in there? Other files explicitly say to do it this way, but there’s no such comments in bookings.php so I’m guessing the file(s) that call it may not find it there.
Thanks,
Jeff
OK, I think I went down a rabbit hole. I ended up uninstalling/reinstalling it and it seems to be working ok now. I will probably just tweak the php for generating the events list (the one with the + and extra column) to clean it up later, but the functionality is there. Thanks.
Hi Again,
I think I may see where I may be confusing things. It seems that whatever code is generated for the page specified under other pages->Edit events page does not follow the formatting as specified in the formatting tab (that I modified as above). After editing a page, the user is presented with a list of events, but it’s formatted differently (five columns, the 2nd having a small + for duplicating the event, the last being blank). I don’t like this look and would like users to, rather than be presented with this page, simply get a “success” message like when they submit a new event. I would like the users to use the event editing form, and tried to do this manually using the event_form shortcake with an event= criteria, but it didn’t work (example: [event_form event=123]). I was generating the shortcode with php so I could grab the eventID from the url querystring of the page and had the link to it replace the #_EDITEVENTLINK placeholder.
Example: Edit Event
I would then have this code on the page where I have the edit form:
<?php
$eventID = $_GET[‘e’];
echo do_shortcode(‘[event_form event=’.$eventID.’]’);
?>Again, I may be way overcomplicating things, but in short I want the event lists to be formatted as specified in the Formatting tab, EVERYWHERE, but still be able to use the built-in event editing form to edit events. And somehow add a delete button somewhere.
Thanks,
Jeff
Forum: Plugins
In reply to: [Frontier Restrict Media] Cannot Add Media To Post After ActivatingLooks like it was a problem/corruption with my test user account. After I deleted and recreated it, it’s working as expected. Thanks.
Scrap that; my goof. I was using the author’s ID, not the user’s.
Yes, delete_events is enabled.
Some more info, if helpful: I did customize the code that list users’ events on the Formatting tab.
<tr>
<td>
#_EVENTDATES
#_EVENTTIMES
</td>
<td>
#_EVENTLINK
{has_location}
<i>#_LOCATIONNAME</i>{/has_location}#_EDITEVENTLINK
</td>
</tr>The #_EVENTLINK and the #_EDITEVENTLINK work fine. Should there be some sort of #delete_event placeholder here? The actual edit page is whatever is rendered by the plugin on the page specified in Pages > Other Pages > Edit Events Page, so I see no way to specify what’s included on it.
Thanks,
Jeff
5.6.4.
Front end. I have a page defined as the “Edit Events Page” so people can edit their events. Whatever page is rendered there has the Event Form (name, when, where, description, categories, etc) and at the bottom is a large “Update Event” button. I’m not sure if deleting an event should happen there or elsewhere, but in either case I could not find any documentation on what page or shortcode or function should help me show the users a “Delete Event” button.
Thanks,
Forum: Themes and Templates
In reply to: Twentysixteen Hiding Bottom Menu on MobileJust found it. I was trying too hard. Just deleted the block
if ( has_nav_menu( 'primary' ) ) :
…
end ifin my child class’s footer.php.
Another (possibly related?) issue on the back-end Events Categories page. When I enter a category name and click “Add New Event Category” the page doesn’t refresh, so the new category does not appear in the list. However, if I refresh the page manually, it shows up.
I am also having this issue. twentysixteen theme. Page goes blank whenever I click Save Settings; the settings ARE saved though. I just need to hit Back on my browser to bring the page back.