Editing Usergroup Restriction for Shops
Hi there! I was wondering what files I'd have to edit the usergroup restriction for shops... with v.1.3.2. I'm trying to copy that piece of code, but I can't find it. Thanks.
Edit: Sorry, I was unclear. I wanted to add a piece of code that would only allow users of a certain faction to enter. I was planning to edit the part of code that only allows certain usergroups into certain shops, but I simply can't find it. XP |
I think that's an ACP or a PHPMyAdmin thing.
|
Re
I'm trying to use that code to make a new one.. but I'll check there. ^.^
|
Still need! Sorry, I've been procrastinating with this project!
|
Well the shop permission for Mys v1.3.x is not set for usergroups, but rather for each individual users if you enable user-based access. To make it for usergroups, you need to create a new field/column in table prefix.groups called 'canshop', and play around it.
|
Ah, I see in that case, do you know how to add this to the shop code? I've tried comparing the user's faction to the shop's faction in this file, but the page just breaks. O.o:
PHP Code:
|
All times are GMT -5. The time now is 02:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.