pokeandhopeblogger
Forum Replies Created
-
You marked it as resolved…. so “look in the database” is the only answer is it?
Just checking…. bit of a nuisance, it used to be listed in a column ??
I think I have a breakthrough.
Using the code:
[events_list region=”AB1″ scope=”1-months”]
Seems to be giving me the correct events (need to double check as I haven’t populated the region box for all locations yet in case it made no difference).
So, events_list gives events correctly
region=”AB1″ filters the correct regions
scope=”1-months” however gives me everythng up to and including 31 August. So, not “1 month”, but “until the end of next month”.Not what I want, not ideal, but seems to be working. I need to do more testing on whether all events in any one region are pulling through.
I never look at the database…. I never used to have to. I used to go to Locations and there was a column showing there with the ID in it.
I originally had a few pages set up and found the original IDs (in 2010/2011) in that way. Last week I found I couldn’t see the ID any more in a column in the list of locations in the admin panel, so simply used the code
Location 1: [events_list limit=”1″ location=”1″]
Location 2: [events_list limit=”1″ location=”2″]And did that for the first 20 manually, then did a copy/paste of 20-29 into Notepad and used Replace All to convert 20 to 30, 21 to 31 etc …. then copied/pasted those results over. Then did the same to replace 30-39 …. and then 40-49 … and when I got to location 79 and had still only found about 6 location IDs with events, I stopped doing that …. and today I thought I’d ask the question ??
As each location ID was showing events, I knew where they were based on what the event was, so then I went back in and overtyped “Location 1” with its actual name, so I could see them to be able to use them on the relevant pages/posts. It works, but is very long-winded!
Using [events_list region=”AB1″] gives me all events, all dates, for the part-postcode I entered in the region field.
Looking at the list of results, it does seem to be only showing the events in the region/postcode I chose…. but without the scope it’s showing me every future date
Or, to be clear: That code works, but I do need to limit the scope of how many it’ll show as I have some weekly clubs that meet weekly and some shows that go on for 3 months, which’d make for stupidly-long pages.
When I first installed the plugin, creating a new location didn’t auto-generate its own page. It simply existed out of sight.
So, when I started my site, I first created pages for my locations amd wrote a page all about the place. I then used the shortcode, placed in the page I’d created, to show the events at that location.
Then every time there was an event at that location I’d go in and Add Event, choose the location and it’d appear in the list.
I am not running events, or taking bookings – it’s really a simple events calendar for a town.
I used to be able to see the ID of the locations, then the plugin changed.
I went to Events, Locations and clicked to Edit.
The address bar shows:
..wp-admin/post.php?post=24200&action=edit&message=1
So what is the ID? 24200?
At the moment I have one location showing its events, using the code [events_list limit=”3″ location=”20″] as the location ID is 20, which I found by copying/pasting in every location ID to see the events it showed and so be able to work out the location ID.
Having just gone to Events, Locations, Edit for that location (ID=20), the address bar shows me:
…wp-admin/post.php?post=11157&action=editI will edit my page, which has code of [events_list location=”20″] and change it to be [events_list location=”11157″] to see what happens.
There are events at the location and when I have put location=”20″ into the shortcode it shows them. When I changed that to location=”11157″ I got a message that there are no events at the location.
I am starting to doubt I am using the same plugin, to be honest….. I am using shortcodes from here: https://wp-events-plugin.com/documentation/event-search-attributes/
Is that the same plugin? I think I’m going mad trying to work it out ??
And I just checked my plugins, I am using the plugin from https://wp-events-plugin.com/
Am I even in the right forum? I thin I am, but the name keeps changing…. ??
I’ve used the Region field in locations to input the first part of the UK postcode. My site is about one county, so about 12 postcodes. I’d hoped to use it to be able to generate a page of “Also near any one place are these other events” and by displaying events in one postcode part (typed into the region field), it’d work.
And/or: All events in the AB1 Area:
Using:
[events_list region=”AB1″ scope=”1-months”]Although the dates are showing me the next month’s events, the region=”AB1″ part isn’t working as I expected.
[events_list region=”AB1″ scope=”1-months”] gives me ALL events, without an end date.
How do I limit that by “week” or “number of days from now”?
I’m just testing that. it’s showing me all events (back as far as 2011), so I’ll try to find the “future events” option to add into the mix.
I think I’ve found the bit I need:
scope
Default Value: futureAccepted Arguments : future, past, today, tomorrow, month, next-month, 1-months, 2-months, 3-months, 6-months, 12-months, all
So I need to set scope=”1-months”
It doesn’t look like a week, or a numgber of days, is legit…. although I’ll give it a whirl.Hi, all that does is gives me a list of locations, not the IDs. I am using a shortcode of, for example:
[events_list limit=”3″ location=”3″]
This gives me the next 3 events at location ID 3.
By doing that, for every number from 1-9999 I could find out which ID numbers match the locations….
locations_list just gives me a list of locations, by name, linking through to their individual pages. I want to have, say, a post/page that says:The events at The Bus Stop are:
[events_list limit=”3″ location=”3″]
And to know that the location ID of “The Bus Stop” is number 3.
Or am I doing something fundamentally wrong?
Update: That worked, a new gallery created from scratch, with images uploaded, displayed.
So, to cut a long story short, my advice, that worked for me is:
Install the plugin then log onto your host and check/change the folder permissions of /gallery/ to be 755. The files were 644 in here, that was fine.
I then updated nextgen to 1.9.12 and created a new gallery/uploaded images – and the thumbnails weren’t coming through. I checked in File Manager and no thumbnails had been created. I went back to Gallery, Manaage Gallery, selected the new gallery and chose to Create New Thumbnails from the dropdown box – and the thumbnails did work.
So … I am happy to continue like this, creating a new set of thumbnails ‘manually’ for each gallery. This is, in my opinion, RESOLVED, as I have a system that works.
Thanks for being there when I felt all alone.
??
Uninstalled/deleted everything, started from scratch with 1.9.10 – used another/smaller google image. Still failing to display a thumbnail where I put the shortcode.
I clicked on [Show as slideshow] and that never loaded either, I just get the spinner.
I clicked where the thumbnail should be and the screen said LOADING, but nothing loaded.
I checked FTP and it has created a thumbnail, permissions 644.
So …. I thought I’d change the permissions of the whole /gallery/ folder to be 755 and that’s when I noticed that my FTP says it’s 644, yet cPanel File Manager says it’s 744. I trust the host more than my FTP software (circa 1995), so changed it to 755 in File Manager.
Returned, all excited, to my post. Refreshed the post (Ctrl F5) …. and still no thumbnail.
I then looked in File Manager again and realised that my individual gallery permissions were still 744, so changed that to 755 and changed cache to 755… and all other folders to 755.
Back to post and … THUMBNAIL!!
??
I will now try a new gallery.
Still no joy
I downloaded .10 and uploaded it to my site
Went straight to Gallery, created new gallery, uploaded one image
Went to my original post and edited the shortcode with the new gallery ID, saved updates. Viewed the post and – no thumbnail.Checked FTP, the thumbnail existed. Permissions on file are 644.
I don’t have a ton of images, I was seeing how things worked so was just starting out.
I will try v 1.9.10
Edit: Of course I downloaded the file and in the middle of uploading the .zip file my host decided to have a server outage…. nuts.
It all came back… so now uploaded and trying 1.9.10
I have now done some more “Poke and Hope” actions:
I ticked Gallery, Options, Activate Permalinks
I pressed SAVE in Settings, Permalinks
I changed the permissions on the /thumbs folder to be 755Still no change, image of google isn’t showing – and right-clicking to load the image direct from the url gives me the 403 Permission Denied error.