Jump to content

WebCMS

Clients
  • Posts

    333
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Forums

Events

Store

Gallery

Posts posted by WebCMS

  1. 23 minutes ago, Jim M said:

    Did anyone with access delete the block or content? That would likely be the only explanation because you were already on the latest release yesterday when that backup was taken.

    No, the widget is intact from the beginning. If it got deleted, I would guess its associated data in the cms_pages_widget_areas would be deleted as well but the data is there.

  2. 1 hour ago, Jim M said:

    Are you stating if you edit the Guest Signup Widget, there is no text there? Were you using this block prior? It will only have text if you filled it out.

    This is separate to your Newsletter signup widget as that was a language string, whereas this is a setting you need to fill out.

    I see the filled-in text in our last backup taken on June 8 in cms_page_widget_areas table but it shows empty in the frontend.

  3. 42 minutes ago, Jim M said:

    Are you stating if you edit the Guest Signup Widget, there is no text there? Were you using this block prior? It will only have text if you filled it out.

    This is separate to your Newsletter signup widget as that was a language string, whereas this is a setting you need to fill out.

    Yes, we were using the widget from the beginning and it was displaying for guests our custom text that we filled it out until the last version. After updating to the latest, the above issue manifests.

  4. 8 hours ago, sound said:

    you could use the 'add similar event' feature baked in the event feature  for any annual event repeat

    one click, change the date , all done

     

    for public holidays you could import a ics calendar with them on

    eg https://holidays.kayaposoft.com/

    For a handful of events like the dozen US Holidays, this may be practicable.

    However, I'm talking about literally hundreds of events every year that can have different dates each year because the cultural calendars don't sync with the Gregorian calendar.

  5. Recurring events should be enhanced to be edited/saved with different dates for each year. This will allow us to just change the dates of some events for any year without having to create them from scratch laboriously which can also save a history of recurring events for each year with different dates for past/future reference. If I'm not mistaken, it overwrites the date of a recurring event when we modify its date for any year.

    For instance, if I create a list of events for the entire year in 2024, I should be able to edit some of their dates in 2025 while keeping the dates of 2024 events intact. In 2026, I would see recurring events for 2025 which I can edit some of their dates to create a new set of events for 2026 that become recurring events for 2027.

    This is the highly expected behavior even for US Calendars and this enhancement would add more muscle to the Events module and make it more powerful.

    ChatGPT says...

    Do holidays fall on the same day every year?

    No, not all holidays are on the same day every year. The dates of holidays can vary depending on the type of calendar used and the legislation of the state or country where the holiday is celebrated:

    United States federal holidays

    Some federal holidays, like New Year's Day, fall on the same day every year, while others, like Thanksgiving, are always on a specific day of the week. For example, Thanksgiving is always on a Thursday, while five other holidays are always on a Monday. If a federal holiday falls on a weekend, federal employees usually observe it on the closest weekday. For example, if Independence Day falls on a Saturday, it's observed on the Friday before.

    State holidays

    State governments decide the dates of holidays, and they can agree on the same date as a federal holiday, like Thanksgiving.

    Holidays based on other calendars

    Holidays based on calendars that use both the moon and seasons, like the Hebrew calendar, can change dates every year due to an 11-day shift between the two types of calendars. Holidays based on calendars that use only the moon, like the Islamic calendar, can also change dates on the Gregorian calendar because the two calendars are not in sync.

  6. On 6/4/2024 at 2:13 PM, Jim M said:

    You indeed do have a customized language pack and are out of date with releases which includes a security patch. I would recommend removing any customizations to this and upgrade to the latest release.

    Could contain: Text

    It's just some display values of some language strings modified in the default language pack but no new language packs are installed.

    The site is not updated to the latest version 4.7.17 yet but that should not break existing version (this is my point).

    "block_newsletter_signup" is not even found in lang strings to remove customizations. Could be a new lang key in 4.7.17.

    Could contain: File, Webpage

  7. 4 hours ago, teraßyte said:

    Hmm, wait. Are you saying Google can't index any pages starting from 2 because they all have the sortby value in them (which is not there by default)?

    Yes. These are used by apps/plugins but blocked in the robots and hence crawling issues -

    sortby=, tab=, do, /*?&controller=embed

    4 hours ago, teraßyte said:

    If that's the case I can add a check to exclude adding it if a bot/search engine is viewing the topic, but I'm not sure if Google would then complain that your site is showing different content compared to guests. Since they're not indexing any sortby links it should be fine, though. 🤔

    I'm not sure what Google would or not do. Things like this altering the behavior dynamically has almost always resulted in heartache while dealing with Google as far as I know.

    Any other graceful solution? Like using a different parameter name to bypass the default name in robots?

  8. 4 minutes ago, teraßyte said:

    My plugin simply changes the default sortby value from votes to date when there is none specified in the URL/request. Everything else is then handed to the framework to handle behind the scenes. There's nothing I can really change with it. 🤷‍♂️

    sortby is blocked by default robots.txt which was reported by GA as a crawling issue.

  9. 4 hours ago, Matt said:

    Thanks, so I'll go through some of the links you're having issues with:

    /movies/movie/27-the-international/?do=addMovie&type=movie&movieid=1101123

    Obviously you don't want Google to index submission forms, that's a waste of the crawl budget, the default do= rule will stop that from happening.

    /movies/movie/27-the-international/?do=getMovieDataMovieView&type=posters
    /movies/movie/27-the-international/?do=getMovieDataMovieView&type=images
    /movies/movie/13-migration/?do=getMovieDataMovieView&type=cast
    /movies/movie/13-migration/?do=getMovieDataMovieView&type=crew

    The issue at the heart of this problem is that you have unique content without unique URLs. In an ideal world, you would have unique URLs such as: /movies/movie/13-migration/cast/ and /movies/movie/13-migration/crew/ which would stop the problem as Google would see them as unique pages. The issue is caused by those tabbed pages having a canonical URL of the main page, eg:

    <link rel="canonical" href="https://www.telugus.com/movies/movie/35-ride-on-%E9%BE%99%E9%A9%AC%E7%B2%BE%E7%A5%9E/" />

    /articles/true-horror-the-cannibalistic-tragedy-of-the-donner-party/?tab=reviews
    /topic/517-how-sloths-survive-thrive-as-nature%E2%80%99s-couch-potato-60-minutes/?sortby=date /topic/437-stackoverflow%E2%80%99s-shockingly-simple-architecture/?sortby=votes
    /topic/613-work-visas-in-europe/?sortby=date

    The sort by URLs should not be indexed. These are faceted pages which Google is not keen on and can waste crawl budget. 

    You said that this is a custom app? If so, direct the developer to this topic and ask them to add some FURL rules in /data/furl.json so that those tabbed pages have a unique URL fixing the duplication issue, and canonical issue.

    @teraßyte

    @Adriano Faria

  10. 18 minutes ago, Matt said:

    It's hard for me to get a foothold into the issue without seeing the site, can you link it here, or DM it if you want to keep it private.

    I'm sure there's an easy solution. A mix of better robots.txt and perhaps getting some canonical links added will fix most of that.

    https://www.telugus.com

    We would rather prefer to use the default robots.txt provided by the software as it is most optimal. Resolving it at the software, apps/plugins level would resolve the issue for ALL clients using the default robots.txt instead of tweaking a custom robots.txt for each client who use apps/plugins.

  11. The default robots.txt on IC cloud is disallowing these -

    # Block faceted pages and 301 redirect pages
    Disallow: /*?sortby=
    Disallow: /*?filter=
    Disallow: /*?tab=
    Disallow: /*?do=
    Disallow: /*ref=
    Disallow: /*?forumId*
    Disallow: /*?&controller=embed


    After installing 2 below plugins, Google Analytics started reporting errors and 9K pages on our fairly new site got unindexed and traffic dwindled drastically:

    Pages Comments/Reviews Tab Order By @Adriano Faria


    (TB) Sort Questions Forums by Date By @teraßyte


    We also used the Movies app too that resulted in 5K similar errors ("Duplicate without user-selected canonical", etc) for the already added movies. Here are a few sample errors:

    /movies/movie/27-the-international/?do=addMovie&type=movie&movieid=1101123
    /movies/movie/27-the-international/?do=getMovieDataMovieView&type=posters
    /movies/movie/27-the-international/?do=getMovieDataMovieView&type=images
    /movies/movie/13-migration/?do=getMovieDataMovieView&type=cast
    /movies/movie/13-migration/?do=getMovieDataMovieView&type=crew
    /movies/movie/13-migration/?tab=watchers
    /movies/movie/13-migration/?tab=reviews
    /movies/movie/13-migration/?tab=comments
    /movies/movie/13-migration/?do=getMovieDataMovieView&type=videos
    /articles/youtube-keyboard-shortcuts-r74/?tab=comments
    /articles/true-horror-the-cannibalistic-tragedy-of-the-donner-party/?tab=reviews
    /topic/517-how-sloths-survive-thrive-as-nature%E2%80%99s-couch-potato-60-minutes/?sortby=date
    /topic/437-stackoverflow%E2%80%99s-shockingly-simple-architecture/?sortby=votes
    /topic/613-work-visas-in-europe/?sortby=date
    /events/event/194-salaar/?do=embed
    /events/submit/?do=submit&id=19&y=2024&m=05&d=01&view=day


    To overcome the errors, we switched to custom robots.txt and commented the below lines -

    # Block faceted pages and 301 redirect pages
    #Disallow: /*?sortby=
    Disallow: /*?filter=
    #Disallow: /*?tab=
    #Disallow: /*?do=
    Disallow: /*ref=
    Disallow: /*?forumId*
    #Disallow: /*?&controller=embed

    The above opened a can of worms with more errors as it exposed other areas in the application to be indexed that are not supposed to be indexed. So we had to disable the 2 required plugins for now and reverted to use the default robots.txt (it would take weeks/months for Google to reindex the pages back).

    Both the plugins are free and work as expected and no issues.

    The plugins and app above need to use the commented parameters in the robots.txt (sortby, tab, do, embed) but cannot use the default parameters as they are disallowed in the robots.txt for a reason. The better approach is to use some other parameters like sortby2, tab2, etc. for plugins/apps in the frontend and reuse the same sortby, tab... parameters in the backend.

    The most graceful solution to these issues is to incorporate the logic of the 2 plugins above into IC software as these are sane, expected behaviors so please add these to your roadmap.

    I'm posting these issues here so the devs could coordinate with the IC team in figuring out alternate parameter names for apps/plugins to bypass the conditions in robots.txt (not sure who would decide alternate parameter names).

  12. On 5/29/2024 at 10:11 AM, Marc Stridgen said:

    Moderation is management of the front end of your site. Administration is management from the back end of your site. From your description there, it works exactly as forums do. Clubs are a front end item, that are created by members (including managing that club). Moderators can manage that front end content if they are given the permission. In the same way, forums are created in the back end and created by administrators. Other administrators can manage them, provided they are given the permission.

    I can understand users who created clubs can have management privileges. But moderators who did not create the clubs, will they still have front-end management privileges like "Delete This Forum" after turning off "Has leader privileges in all clubs" switch?

    The label for the switch is a bit ambiguous and may need some hints on what it precisely does.

  13. 4 hours ago, Marc Stridgen said:

    It would remove all their permission to do things in clubs. There isn't really any way around that.

    So there is no way to let moderators moderate club content without giving them management access? Why doesn't it work as expected similar to forums? And admin is the only one who can moderate clubs this way?

  14. Is there a setting to restrict moderators from managing clubs?

    Especially the destructive menu items under the Manage Club dropdown button like Edit Club Settings, Delete Forum, etc.

    I've created a restricted Moderators group but cannot find a related setting to restrict these permissions.

  15. 16 minutes ago, Omri Amos said:

    I guess you have a custom theme and you need to find the right selector for your comments.

     

    We don't have any 3rd party custom themes.

    Just created a few themes provided by the system custom.css template (colors using just CSS).

  16. On 1/27/2022 at 9:26 AM, Marc Stridgen said:

    You now need to request it, looking at their new documentation. Go to "App review" on the left, and select "permissions and features". Search for oembed read

    They don't have oEmbed read anymore under "Permissions and Features".

    Please advise...

  17. 41 minutes ago, Omri Amos said:

    But this workaround does work, fortunately, in the meantime. 

    just add it to the globalTemplate right before the </body>...

    I added this before the </body> in globalTemplate

    <script>
    document.querySelectorAll('div[data-role="commentContent"]').forEach(div => {
        div.querySelectorAll('*').forEach(element => {
            element.style.backgroundColor = '';
            element.style.color = '';
        });
    });
    </script>

    But it pastes with background color and text color as-is with no sanitization.

    I saved the pasted text in the editor and reloaded the page and it still displays the text with background color and text color as-is.

    (I tried copy/pasting text from light theme to dark theme and vice-versa).

    Then I tried with the '.cke_wysiwyg_div.cke_reset.cke_enable_context_menu.cke_editable.cke_editable_themed.cke_contents_ltr' and 'div#cke_1_contents' selectors and found no change in behavior.

    I checked the page source and the code is there.

    I checked the Console tab and there are no errors.

    Any ideas how to make this work?

  18. Is it possible to add a custom button for <video> tag for mp4 files from a URL? All it needs is -

    <video autoplay data-video-embed="" loop muted playsinline preload="auto" src="https://www.apple.com/newsroom/videos/fraud-prevention-illustration/large_2x.mp4" style="width: 100%"> &nbsp; </video>

    It would need an input dialog to accept the src URL. How to implement the input dialog for the custom button? How to use {option} and {content} for src and URL? Using the following definition, will the user be required to enter both "src" string and URL string for option and content tags?

    <video autoplay data-video-embed="" loop muted playsinline preload="auto" {option}="{content}" style="width: 100%"> &nbsp; </video>

    NOTE: autoplay works only when muted is used for optimal bandwidth usage.

    https://www.gumlet.com/learn/how-to-autoplay-html-video

  19. Is it possible to add a custom button for <video> tag for mp4 files from a URL? All it needs is -

    <video autoplay data-video-embed="" loop muted playsinline preload="auto" src="https://www.apple.com/newsroom/videos/fraud-prevention-illustration/large_2x.mp4" style="width: 100%"> &nbsp; </video>

    It would need an input dialog to accept the src URL. How to implement the input dialog for the custom button? How to use {option} and {content} for src and URL?

    NOTE: autoplay works only when muted is used for optimal bandwidth usage.

    https://www.gumlet.com/learn/how-to-autoplay-html-video

  20. 6 hours ago, 13. said:

    It's quite a bad approach and should never be used in any reputable software. Unwanted styles/tags should always be stripped immediately when text is pasted into the editor, long before the message is sent to the database, not on the template side as it happens in this example.

    This code is a temporary and ineffective workaround, not a solution.

    Agree. It would support paste as well as copy functionality to paste into any editor. Apparently, that is what v5 is doing.

    For the time being in v4, what is the template name @Randy Calvert @Omri Amos @Sonya* @SeNioR- ?? I see a bunch of comment and post templates and it isn't clear which one it is.

×
×
  • Create New...