| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| Flexible Form Script Extension: Restrict Groups | |
|---|---|
| Tweet Topic Started: Jul 7 2012, 05:46 PM (1,871 Views) | |
| Cory | Jul 7 2012, 05:46 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Code Name: Flexible Form Script Extension: Restrict Groups What the code does: This code works with Reid's Flexible Form Script and will allow you to restrict user groups from sending in applications. How to use the code: Change Group ID as necessary. The Group ID can be retrieved via the page source (look for 'gid'), or via the member list by selecting a group from the 'Displaying' drop down menu, the &group= number found in the address bar is the Group ID. How to install the code: Below the Flexible Form Script code:
Edited by Cory, Dec 13 2013, 12:02 AM.
|
![]() |
|
| Replies: | |
|---|---|
| Cory | Dec 6 2016, 03:11 AM Post #16 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have run into this issue so many times and I always forget how 'not equals to' works, being when there is multiple entries, it will cancel out the other entry. Try this instead:
|
![]() |
|
| mawarm | Dec 6 2016, 04:58 PM Post #17 |
|
Member
![]() ![]() ![]() ![]()
|
With that code it doesn't seem to work for any group at all, regardless of how many I put there. Any other suggestions? By the way, with this code if I change it to "!=" instead, all of the groups that I've put there don't work but it does for all others, so it should make sense for it to work with them if it's "===" I suppose...weird. Edited by mawarm, Dec 7 2016, 01:59 PM.
|
![]() |
|
| Cory | Dec 12 2016, 05:21 PM Post #18 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This should work:
|
![]() |
|
| mawarm | Dec 14 2016, 02:01 PM Post #19 |
|
Member
![]() ![]() ![]() ![]()
|
Thank you, it's working for all inserted groups now. With this another small problem arose though, the separate error message for guests stopped working.
|
![]() |
|
| Cory | Dec 16 2016, 01:13 AM Post #20 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this instead for both codes:
|
![]() |
|
| mawarm | Dec 17 2016, 11:55 AM Post #21 |
|
Member
![]() ![]() ![]() ![]()
|
It's all fine and dandy now, thank you very much!
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
4:29 AM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



4:29 AM Jul 11