Jump to content

Community

DReffects2

+Clients
  • Posts

    581
  • Joined

  • Last visited

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by DReffects2

  1. Vielen Dank mein Herr! @DawPi That looks awesome. where can i get this plugin?
  2. So my community is getting flooded with spam lateley. We do allow guest comments for news and articles and we like to keep it that way since ~80% of all comments are made by guests. ReCaptcha 2 seems to be unable to prevent spam from bots so I was hoping to be able to enable the "Question and Answer Challenge" not only for registration but also for posting guest content. I propose the following features: Allow Question and Answer Challenge for guest content enable a "show random question" option for both registration and guest comments What do you guys think? 🙂
  3. So i am having all kinds of strage template related issues lately. For example: <img src='{file="$record->_record_image_thumb" extension="cms_Records"}' alt="{$record->container()->name}"> did NOT output the URL in the src="" property but instead gave a base64 encoded data stream src='data:image/webp;base64,UklGRmgIAABXRUJQVlA4IFwIAADQIACdASpaAEoAPm0uk0akIiGhK9RsMIAN I've disabled all sorts of caching within IPS, checked the templates, rebuilt stuff, etc. Also i found that if I output the URL in HTML before the <img> tag like this <p>{file="$record->_record_image_thumb" extension="cms_Records"}</p> <img src='{file="$record->_record_image_thumb" extension="cms_Records"}' alt="{$record->container()->name}"> the value in src="" would be in fact the correct URL to the /uploads directory, not some base64 encoded data. (This makes no sense at all to me...) Turns out that the Google PageSpeed apache module started to modify the html code during output somehow. I do not know if this behaviour is normal. I've disabled the PageSpeeds module for now and all my problems are gone... Can anyone verify this or suggest a different PageSpeed configuration? I am running the affected site on a Centos8 machine with Plesk 18 and Google PageSpeed is in its default configuration as provided by the Plesk extension library. I am using PHP 7.4.13 Thanks...
  4. Thanks for the link! I have to say this is unfortunately a little bit above my paygrade 😉 Is there a full list of all available methods and properties aka a full list of "variables" that can be used within templates? I recall that previous versions of the community had a full list of variables in a sidebar to the template editor. As of now I still would not know that theres the magic "_title" property if you had not told me. I've also encountered a very strange behaviour with the return value of $item->database()->_title. This if clause always returned false: DB Name: {$item->database()->_title} {{if $item->database()->_title=="Episodendatenbank"}} TRUE {{else}} FALSE {{endif}} Output: DB Name: Episodendatenbank FALSE I've changed my template with the same logic but am using $item->database()->_id - this works. But why does it not work with the string of the db-name?
  5. Hey guys, it started a few feeks ago, my site got FLODDED with Spam postings from guests and new users. I figured I should update to the latest release but the spam continues... I am allowing guest comments on articles and like to keep that since ~70% of all valid comments are from guests. Also the massive increase in spam accounts worries me. Is this something IPS is informed about? Is this a known issue with recaptcha atm? Thanks
  6. THANK YOU VERY MUCH! This works. Unfortunately I do not know why and how 😞 Where can i find a list with functions/methods for the objects?
  7. Thanks. I am unsure what you mean by id. This is not a listing template
  8. Hey Guys, so I am trying to add an if-clause to one of the templates (cms → front → global → embedRecord) and used print_r($item) to output all available information. I'd like to access the specific database-name where the record is being pulled from and can see that within the array: [recordPage:protected] ( [_data:protected] => Array ( [id] => 8 [name] => Fancy Databasename Unfortunately i do not know how to access the information directly from the template. I've tried with $item[recordPage][_data][name] but that threw an error. How can I access this information? Thanks!
  9. just found out the hard way that guests in fact cannot vote even on polls in public forums 😞 please add this!!
  10. Thank you! Please Take a look at https://www.cookiebot.com for their implementation of the cookie mechanism. This service has been approved by data privacy experts of european cities for usage on their websites.
  11. Ah 🙂 Superb! Please make sure to include it also with ALL mails sent by the community like the notification emails etc. 🙂 Stupid EU law, sorry 😞
  12. uhm... that's not the case for my community mails. Is this overridden by custom templates? I only see these headers: Return-Path: <noreply@XXXX.de> X-Original-To: d.raebiger@XXX.de Delivered-To: d.raebiger@XXX.de Received: from www.XXXX.de (XXX.XXX.pro [85.XXXX.XXXX.81]) by XX.XXXX.XXXX (Postfix) with ESMTPA id DCCF464406CD for <d.raebiger@XXX.de>; Mon, 16 Sep 2019 02:35:25 +0200 (CEST) MIME-Version: 1.0 To: d.XXXXX@XXXXX.de From: =?UTF-8?B?U2NpZmluZXdzLkRF?= <noreply@XXX.de> Subject: =?UTF-8?B?R2FzdCBoYXQgZWluZSBOZXdzbWXXXXXXN0ZWxsdCwgd2VsY2hlcyBnZW5laG1pZ3VuZ3NwZmxpY2h0aWcgaXN0?= Date: Mon, 16 Sep 2019 00:35:25 +0000 Auto-Submitted: auto-generated Precedence: list Content-Type: multipart/alternative; boundary="--==_mimepart_282da6a66bcd1cbc6a983fb982f99bbf"; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20190916003525.DCCF464406CD@XXXX.XXXX.XXX> X-PPP-Message-ID: <20190916003526.13149.85940@XXXX.XXX.XXXX> X-PPP-Vhost: XXXX.de X-EsetId: 37303XXX305568627266
  13. Hey Guys, so the european high court has ruled that all cookies that are not technically necessary are to be disabled until a user consents. There's one cookie within the IPS Suite that's a problem: the reCAPTCHA "NID" Tracking Cookie by Google. (KeyCaptcha has similar cookies...) As I cannot disable a captcha mechanism I am wonderhin how you guys handle this... Thanks 🙂
  14. As I have mentioned above, providers do unsubscribe the spam trap by hand if you can provide an unsubscribe page since they do not have to disclose the information this way, so this would help a great deal. ( A simple page with "Please enter the e-mail address you'd like to unsubscribe") The Certified Sender Alliance recommends to implement https://tools.ietf.org/html/rfc8058 into the header of the e-mail for just that reason. Header in Email List-Unsubscribe: <https://example.com/unsubscribe/opaquepart> List-Unsubscribe-Post: List-Unsubscribe=One-Click Resulting POST request POST /unsubscribe/opaquepart HTTP/1.1 Host: example.com Content-Type: application/x-www-form-urlencoded Content-Length: 26 List-Unsubscribe=One-Click This way providers and anti-spam providers like cloudflare can remove their spam traps from lists without the actual content of each e-mail. (and if you talk to them)
  15. I know but I currently have a situation where this is not applicable: Spam-Traps are being created for mailboxes that have been cancelled by users and are located either with the email providers themselves (for example outlook.com) or by anti spam lists like Cloudmark. If you send out bulk mails frequently you can take care of bounces and unsubscribe mailboxes that do not exist anymore. But if you only send out community mails lets say every 8-10 months you run into a serious problem: Bulk Mail sent on the 1st of january User communityfan@t-online.de cancels his mailaccount on january the 2nd Mailproviders and/or Spamlist like Cloudmark convert this mailbox into a spamtrap after 6 months You send your next community mail on October the 1st Spamtrap is being triggered I had this happen twice within the last few months (with a t-online mailbox and with a mailbox where the isp uses cloudmark) and there is no way to unsubscribe the user since you do not know what address is actually a spam trap. Providers like t-online and cloudmark do NOT tell you the affected account since they want to protect their spam traps, plus it would be a violation of data privacy laws. Also, cloudmark only has the header info on file, so they cannot even click the unsubscribe link or log in. I had a similar situation with a phplist powered newsletter system and t-online was kind enough to unsubscribe with the dedicated unsubscribe page after I explained the situation. I cannot do that with my community since there's no dedicated unsubscribe page. (which european law actually wants you to have...) please look at this response from cloudmark: I CAN NOT use Feed Back Loops since they are prohibited within the entire european union. (See https://postmaster.t-online.de/#t4.10 for example) Can you provide a solution for this predicament? Thanks!
  16. Hey Guys, so local law dictates that users need to be able to unsubscribe from newsletters with a simple process. Is there a feature within IPS that allows just that? I have a community with over two decades of users, many of them recieve newsletters (~1-2 times a year) but don't even know their account password so they cannot unsubscribe... Thanks 🙂
  17. your guess was right. I redid my steps and forgot about the database listing template itself. Strange though... I had this line of code in there: {{if $nextUnread !== NULL}} <div class='ipsGrid_span6 ipsType_right ipsPager_next'> <a href="{$nextUnread->url()->setQueryString( array( 'do' => 'getNewComment' ) )}" title='{lang="cms_view_next_unread_title" sprintf="$record::database()->recordWord( 1 )"}'> <span class="ipsPager_type">{lang="cms_next_unread_title" sprintf="$record::database()->recordWord( 1 )"}</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">{$nextUnread->mapped('title')}</span> </a> </div> {{endif}} I've reverted this to the original: <div class='ipsGrid_span6 ipsType_right ipsPager_next ipsPager_noDesc'> <a href="{$record->url()->setQueryString( array( 'do' => 'nextUnread' ) )}" title='{lang="cms_view_next_unread_title" sprintf="$record::database()->recordWord( 1 )"}'> <span class="ipsPager_type">{lang="cms_next_unread_title" sprintf="$record::database()->recordWord( 1 )"}</span> </a> </div> I do not quite understand why the original (from 4.3) hat the URL call with 'getNewComment' in there but I am also noticing that I do no longer get the title of the next record displayed since the {$nextUnread->mapped('title')} thingy is missing. What has changed here?
  18. Hey Guys, I've just updated from 4.3 to the latest 4.4 but unfortunately the site's now broken for logged in members. Guests can access database records with no issues but members get: Error: Call to a member function url() on boolean (0) #0 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/modules/front/database/record.php(331): IPS\Theme\class_cms_database_display_news->record(Object(IPS\cms\Records6), '\n<div data-cont...', NULL, true) #1 /var/www/vhosts/xxxx.de/httpdocs/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\database\_record->manage() #2 /var/www/vhosts/xxxx.de/httpdocs/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #3 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/sources/Databases/Dispatcher.php(347): IPS\Content\_Controller->execute() #4 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/widgets/Database.php(128): IPS\cms\Databases\_Dispatcher->run() #5 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/sources/Pages/Page.php(1283): IPS\cms\widgets\_Database->render() #6 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/sources/Pages/Page.php(2220): IPS\cms\Pages\_Page->getWidgets() #7 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/modules/front/pages/page.php(112): IPS\cms\Pages\_Page->output() #8 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #9 /var/www/vhosts/xxxx.de/httpdocs/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\pages\_page->manage() #10 /var/www/vhosts/xxxx.de/httpdocs/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #11 /var/www/vhosts/xxxx.de/httpdocs/system/Dispatcher/Dispatcher.php(152): IPS\cms\modules\front\pages\_page->execute() #12 /var/www/vhosts/xxxx.de/httpdocs/index.php(13): IPS\_Dispatcher->run() #13 {main} I've reverted all customizations and templates but still get that error... any clue what might cause this? Thanks!
  19. Hey Guys, is there a way to disable the recompression of JPEG Attachment to posts? I am sharing a lot of comparison images and of course recompressing a jpeg is kind of silly for this kind of content. Also, does IPS 4 store the original attachment or is that gone after the upload is complete? Thanks!
  20. The record image serves a different purpose in the current scenario, I will most certainly keep this in mind!
  21. Ah sweet, never thought about doing it this way. Only downside is server storage space I guess 🙂 Thanks for helping out!
  22. thank you! Is there a documentation on all the functions like this? I guess this will only work within templates though... if i upload an inline image like this one: and want to make THIS image the og:image, how would I do that?
  23. Hey Guys, so I am having a bit of a problem at the moment as I'd like to specify an image that i am using inline a certain database record as the og:image meta thingy for facebook. IPS supports to have the record image to be the og:image meta tag in the header by default, but this is not what I need right now. Unfortunately Facebook only crawls within the header for og:image meta tags so an inline meta tag is getting ignored. Do you guys have a good idea on how to approach this issue? Thanks -Daniel
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy