Jump to content

SeNioR-

Members
  • Posts

    1,156
  • Joined

  • Days Won

    5

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by SeNioR-

  1. Yes, but it's better than no security 🤔 I already had a case (unfortunately I had no security then) that within a few minutes an automated bot added 500 answers in several topics. For now, I'm testing: public static function floodCheck() { if ( \IPS\Settings::i()->flood_control and !\IPS\Member::loggedIn()->group['g_avoid_flood'] ) { if ( \IPS\Member::loggedIn()->member_id === NULL ) { $topic = \IPS\forums\Topic::load( \IPS\Request::i()->id ); if ( time() - $topic->last_post < \IPS\Settings::i()->flood_control ) { throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack('error_flood_control', FALSE, array( 'sprintf' => array( \IPS\Settings::i()->flood_control - ( time() - $topic->last_post ) ) ) ) ); } } else { if ( time() - \IPS\Member::loggedIn()->member_last_post < \IPS\Settings::i()->flood_control ) { throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack('error_flood_control', FALSE, array( 'sprintf' => array( \IPS\Settings::i()->flood_control - ( time() - \IPS\Member::loggedIn()->member_last_post ) ) ) ) ); } } } } It's not the best solution, but it works somehow. Meanwhile, I'm trying to figure out a better way. hmm, why not cookie seems like a good idea 😉
  2. ok, I know that the last post date is not stored for Guests public static function floodCheck() { if ( \IPS\Settings::i()->flood_control and !\IPS\Member::loggedIn()->group['g_avoid_flood'] ) { if ( time() - \IPS\Member::loggedIn()->member_last_post < \IPS\Settings::i()->flood_control ) { throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack('error_flood_control', FALSE, array( 'sprintf' => array( \IPS\Settings::i()->flood_control - ( time() - \IPS\Member::loggedIn()->member_last_post ) ) ) ) ); } } } but maybe this could be based on the last post date from the core_posts table? or not? 😛
  3. Hey guys. I noticed a bug where flood protection is not working for Guests. Could someone check if I am right? flood-for-guests.mp4
  4. If we have disabled viewing of profiles by guests, the link to the badges should be removed. This is an unnecessary redirect
  5. A few phrases are missing 🤙
  6. It would be nice to add that after selecting the forum in the sidebar (Fluid view), after pressing the "Start new topic" button, the forum will be automatically selected as selected in the sidebar.
  7. a small error with secondary menu on the blog 😉 https://invisioncommunity.com/news/invision-community/spark-more-real-time-engagement-with-the-trending-content-feature-r1257/
  8. CTRL+SHIFT+U in your browser 😉
  9. Hello. Is there any way to see who has left the conversation? Sorting or filtering would be nice 🙂
  10. Yes, it has been stuck for several years.
  11. There are already several threads devoted to this topic. @Matt wrote that blocking the editing of CSS engine files is the first step towards rewriting CSS.
  12. Hi. Try to rebuild the cache.
  13. Her Community is https://www.transgenderpulse.com/forums/ From what I can see, she added a rank in place of a badge, which is why the image of the rank was squeezed so much.
  14. Check this out, it might work: Ikony Font Awesome w menu IPS Community Suite
  15. Yep, via login handlers like fb or google
  16. What about attachments in posts? It is better to overwrite the files than reinstalling the entire forum.
×
×
  • Create New...