Jump to content

Patrick O'Keefe

Clients
  • Joined

  • Last visited

  1. Thank you for the quick reply, Jim. I appreciate it. With more digging, I think I have found a solution via application that will at least work for us for this awards season. 🙂
  2. Hey all, Our community is currently in the middle of our 23rd annual awards! We collect nominations from the community for categories like Member of the Year, and then we post those nominations as ballots that can be voted on via polls in the forums. I always hide the poll results, even after someone was voted, as I want to maintain an element of surprise. The poll results also need to be audited before they are final because we only allow members who have made a certain amount of posts by a specific date to vote, and we do not allow members to vote for themselves. So, those votes always have to be removed manually via the database. Anyway, I went to make the poll posts just now and realized that I couldn't find a way hide the poll results. It might not be there, or I might be missing something. I did some searching and came up with a member referring to a "Hide results until the poll is closed" feature, but that may have been depreciated or is otherwise not available to me. Previously, we had used software where I had installed an add-on that allowed us to do this on a per-thread basis. But I would certainly take a per-forum basis, since all of these poll threads will be in our announcements forum. I am guessing there is a way for me to take code out of the template files and block out poll results for all polls across the entire community for the couple of weeks the ballots will be up, but I thought I would ask for ideas before I did anything that drastic. 🙂 Thank you for reading and for your time! Patrick
  3.    Patrick O'Keefe reacted to a post in a topic: Banned User in Online Users List
  4. Hey all, I did some searches and came up empty, so I apologize if I missed something there (I probably did). What does it mean when a banned user is showing up in the online users list? I checked to verify they are banned, and they are (it wasn't recent). My guess is they are just seeing a message saying they are banned and can't do much else. I thought it was an admin online thing at first, but I checked logged out and can see them online, too. I'd prefer they be excluded from the online users list, but I guess I'd need some customization for that, and it's probably not worth it. 🙂 Thanks for your time! Patrick
  5. Hey folks, Long story short, for years I've been planning a migration for a now 23 year old phpBB 2 to current gen Invision. Some of that planning has involved help from Invision folks like @Matt, @Stuart Silvester, and others, for which I'm super grateful. We're actually doing it this weekend! I'm hoping we can successfully complete it. 🙂 We've been at it since Thursday, and it's looking pretty good. I ran into something that is not a blocker and I suspect is a dead end, but I wanted to ask anyway. Thanks to Stuart, we have working rewrite rules (included at the end of the post) that will correctly forward all profiles, forums, and the first page of every thread, which is awesome. But I've realized that Google has substantially indexed subsequent pages on threads. And the redirect breaks on these, obviously. For example, here is the current URL structure: https://karateforums.com/where-did-martial-arts-originate-from-vt42954.html (page 1, redirect works) https://karateforums.com/where-did-martial-arts-originate-from-vt42954-10.html (page 2, redirect broken) https://karateforums.com/where-did-martial-arts-originate-from-vt42954-20.html (page 3, redirect broken) Right now, these 3 links redirect to, respectively: https://karateforums.com/where-did-martial-arts-originate-from-vt42954.html (works!) https://karateforums.com/where-did-martial-arts-originate-from-vt42954-10.html (broken, of course) https://karateforums.com/where-did-martial-arts-originate-from-vt42954-20.html (broken) In Invision, the working links are: https://karateforums.com/where-did-martial-arts-originate-from-vt42954.html https://karateforums.com/topic/40797-where-did-martial-arts-originate-from/page/2/ https://karateforums.com/topic/40797-where-did-martial-arts-originate-from/page/3/ Where our old software added -10 for page 2, -20 for page 3, etc., Invision adds /page/2/ and /page/3/. Which is better. I don't *think* there is any way for us to save these indexed page links and properly 301 redirect them because I don't think there is any way that an internal redirect could recognize -10 and see it as page 2. So, I assume this is a lost cause. Which is not the end of the world. 🙂 But I figured there was no harm in asking the community. My assumed fallback is to see if I can use a rewrite to remove the -10, -20, -30, etc. part of the URL and redirect people to the first page of a given thread. Better than a dead link. But yeah, would love to hear ideas. I appreciate your time and consideration. Thanks. RewriteEngine On RewriteRule ^(.*)-vf([0-9]+).html viewforum.php?f=$2 [R=301,NC,L] RewriteRule ^(.*)-vt([0-9]+).html viewtopic.php?t=$2 [R=301,NC,L] RewriteRule ^member([0-9]+).html memberlist.php?u=$1 [R=301,NC,L]