Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
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 Last edited by Hwona; 08-13-2014 at 04:10 PM. |
#2
|
||||
|
||||
I think that's an ACP or a PHPMyAdmin thing.
__________________
Avatar courtesy of Doll Divine. |
#3
|
||||
|
||||
Re
I'm trying to use that code to make a new one.. but I'll check there. ^.^
|
#4
|
||||
|
||||
Still need! Sorry, I've been procrastinating with this project!
|
#5
|
||||
|
||||
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.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#6
|
||||
|
||||
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:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page that changes player's usergroup | Derpstra | Tutorials and Tips | 3 | 07-30-2020 12:27 AM |
Shops | voni | Questions and Supports | 3 | 04-22-2015 03:01 PM |
Help with shops. | Nieth | Questions and Supports | 5 | 11-26-2013 06:15 AM |
Error with usergroup changing | Infernette | Questions and Supports | 3 | 02-11-2013 10:58 PM |
Again Shops | RoconzaArt | Questions and Supports | 10 | 01-17-2011 05:32 PM |
What's New? |
What's Hot? |
What's Popular? |