Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Tutorial Form Manager Bug FIX
Author Message
Conor Calby
Posting Freak


Posts: 946
Joined: Jan 2010
Reputation: 15
Post: #1
Form Manager Bug FIX
Hello,

There is still many people using an older version of Form Manager (I don't think this bug still exists in the latest version) and need help fixing it.

The Problem:
Registered members/Guests get a 'No Permissions' error when trying to fill out a form when you have set the minimum posts required to '0'.

The Fix
The fix to this is fairly easy, just open
Code:
../forms.php
(Its the root file)

On the 88th line you will see
PHP Code:
if ($mybb->user['postnum'] <= $form['required_posts']) 
Replace that with
PHP Code:
if ($mybb->user['postnum'] < $form['required_posts']) 
(In other words, remove the = (equals sign) but leave the rest.

Save it and re-upload it and the bug is solved.

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
02-20-2011, 05:20 AM
NNT_
Junior Member


Posts: 21
Joined: Dec 2010
Reputation: 0
Post: #2
RE: Form Manager Bug FIX
Already knew this.....
02-20-2011, 05:42 PM
Conor Calby
Posting Freak


Posts: 946
Joined: Jan 2010
Reputation: 15
Post: #3
RE: Form Manager Bug FIX
(02-20-2011 05:42 PM)NNT_ Wrote:  Already knew this.....

Its for those who didn't know ^_^

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
02-21-2011, 03:13 AM
1master1
Member


Posts: 88
Joined: Aug 2010
Reputation: 0
Post: #4
RE: Form Manager Bug FIX
thanks for the fix.
02-24-2011, 06:01 AM
devil61
Junior Member


Posts: 5
Joined: Apr 2011
Reputation: 0
Post: #5
RE: Form Manager Bug FIX
It works with version 1.4 and the MyBB 1.6?
04-25-2011, 05:06 PM
fma965
Member


Posts: 78
Joined: Jul 2011
Reputation: 0
Post: #6
RE: Form Manager Bug FIX
thanks
08-01-2011, 05:51 AM
Xavart
Junior Member


Posts: 12
Joined: Aug 2011
Reputation: 0
Post: #7
RE: Form Manager Bug FIX
thanks
09-27-2011, 11:08 PM
tortoise
Junior Member


Posts: 6
Joined: Sep 2011
Reputation: 0
Post: #8
RE: Form Manager Bug FIX
Thanks for the info¡¡

Best Regards
09-29-2011, 04:20 PM
Defcon
Junior Member


Posts: 3
Joined: Oct 2011
Reputation: 0
Post: #9
RE: Form Manager Bug FIX
Already knew this fix, but thanks anyway!
10-05-2011, 12:13 AM
Jasonsj
Junior Member


Posts: 11
Joined: Jan 2012
Reputation: 0
Post: #10
RE: Form Manager Bug FIX
He Updated it... But it still isn't fixed...
01-27-2012, 02:04 PM
 




User(s) browsing this thread: