Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter gauss256

    (@gauss256)

    That’s a possibility but doesn’t quite fit my use case of having an option to bulk subscribe. But we’ll see what’s important to people as I roll this out.

    Anyway, lots of good functionality available with your plugin. Thanks for the quick feedback!

    Thread Starter gauss256

    (@gauss256)

    The opt-out add-on looks like a more elegant solution than what I did. ??

    However, I’d like my users to be opted-out by default. Is that possible with the add-on?

    Thread Starter gauss256

    (@gauss256)

    I wrote a blog post for how I did the profile-role management. It is here.

    It’s kind of long and kind of terse at the same time. All comments are welcome!

    Thread Starter gauss256

    (@gauss256)

    Thanks for the override explanation. I get it now.

    Let me ask this, in case I get ambitious about it someday. Suppose I wanted to give users who are bulk-subscribed the ability to opt out on on a per-forum or per-topic basis. Does that sound like an afternoon’s programming work based on the current API or is it more like a complete rewrite of the plugin? It feels like the latter to me, but maybe I’m missing something. ??

    I’ll post my code for doing the profile-role management in a separate message.

    Thread Starter gauss256

    (@gauss256)

    That makes sense, thanks!

    Thread Starter gauss256

    (@gauss256)

    I’m always a little leery of making changes to core files.

    Yeah, I hated doing that. Your suggestion is much better. Thanks!

    Thread Starter gauss256

    (@gauss256)

    Here is a more specific question/request. If I edit the file .../src/Tribe/JSON_LD/Abstract.php and comment out the code

    if ( ! empty( $data ) ) {
        $html[] = '<script type="application/ld+json">';
        $html[] = str_replace( '\/', '/', json_encode( $data ) );
        $html[] = '</script>';
    }

    then I can continue to use JavaScript as I have in the past.

    My question is: is there any harm in commenting out that code? It puts HTML into the page that doesn’t seem to get used anywhere.

    And if there is no harm in commenting it out, could that code just be omitted in future releases?

    Thread Starter gauss256

    (@gauss256)

    Is there anything more we can do for you on this topic?

    My current solution is not very good. I’d really like to know if there is a way to use JavaScript to display the organizer’s email.

    And if not, I’d like to put that forward as a feature request to the dev team.

    Thread Starter gauss256

    (@gauss256)

    I just tried the screen reader ChromeVox on the solution I described above. It was able to read the address correctly.

    I agree that the visually impaired need to be accommodated. But if screen readers work and copy-and-paste works, it seems like we have the best of all worlds.

    The current wisdom is actually that you should just give up on protecting email addresses from harvesters and trap spam at the email client level. (Gmail, for example, does a fine job.)

    But in my case the client is paranoid about spambots so I’m trying to satisfy them while keeping the site as usable as possible for everyone. I’m just wishing I could get a little more flexibility from Tribe to do so.

    Thread Starter gauss256

    (@gauss256)

    @geoffgraham: The built-in antispambot technique was shown in 2008 to be pretty weak. No doubt the spambots have gotten even better since then.

    @esmi: It depends how you do the obfuscation. If you can copy the address from the page, it would be OK for most users, wouldn’t it?

    For now, rather than use antispambot, I’ve implemented the “display:none” technique

    $eparts = explode("@", $email);
    $ename = $eparts[0];
    $ehost = $eparts[1];
    return $ename . '<span style="display:none">do not harvest me</span>@' . $ehost;

    This also requires me to defeat the esc_html( $email ) in organizer.php.

    Thread Starter gauss256

    (@gauss256)

    I wrote a test program in Python and it also only sees one photo.

    I think the problem is that the photo contributors are new Flickr members. According to the Flickr docs it takes a few days (and an upload of at least 5 public photos) for their photos to become visible in the group.

    I was just about to post the same question: how do I customize the title of my events calendar page?

    And similarly, how do I customize the breadcrumbs on my events calendar page?

    https://veva.ca/upcoming-events/

    On that page, you will see the page title is “VEVA ISLANDS Monthly Roundup & Meeting”, which is the title of the event last entered. I’d like it to be “Upcoming Events”.

    The breadcrumbs field says “Home” but I’d like it to be “Home / News / Upcoming Events”

    I am using WordPress 3.9.2 and the theme is Avada 3.5.3.

Viewing 12 replies - 1 through 12 (of 12 total)