Advertisement:

Author Topic: Post Limit  (Read 11544 times)

Offline KittyGalore

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 60
    • Big Brother TV Backup
Re: Post Limit
« Reply #20 on: January 06, 2020, 05:21:40 PM »
Make sure you have this file: Subs-PostLimit.php  on your Sources folder, if not, download the mod, extract it and upload that file.
I had the mod uninstalled but i tried it again and all the files are there i tried on my main forum and test forum and the mod works fine but when i post in a topic as a guest i get the error however the post does post but the message appears and doesn't let me know if it posted or not i press back or the home button to goes back.

The first error shows from my previous post

8: Undefined property: PostLimit::$_dbApply Filter: Only show the errors from this fileFile: /****/****/public_html/Sources/PostLimit.php

This is the line from the PostLimit.php file for line 75

Code: [Select]
$this->_db->params($this->_paramsAll, $this->_data);
and another error in the same file.

Apply Filter: Only show the error messages of this URLhttp://***********/TestForum/index.php?action=post2;start=0;board=3Apply Filter: Only show the errors with the same message8: Undefined index: id_boardsApply Filter: Only show the errors from this fileFile: /*****/********/public_html/TestForum/Sources/PostLimit.php
Line: 132

Code: [Select]
return $result = $this->getValue($this->_rows['id_boards']);
Guests can see the board and reply in it fine when the mod is uninstalled. I even gave guests the permission to set post limits on members and the same error occurs.

The integration hooks report does show some errors from the mod when installed.
SMF Curve 2.0x

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,699
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Post Limit
« Reply #21 on: January 08, 2020, 11:16:45 AM »
Thank you for the detailed explanation. It seems this is indeed a bug. I didn't took into account guest been able to post. Will look into that.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline KittyGalore

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 60
    • Big Brother TV Backup
Re: Post Limit
« Reply #22 on: January 08, 2020, 11:52:26 AM »
Thank you for the detailed explanation. It seems this is indeed a bug. I didn't took into account guest been able to post. Will look into that.
Thank you hope you find the solution for the guests.
SMF Curve 2.0x