How to organize this?
Alright, well originally this thread was about arrays, fixed it I was being lame.
Now, for those advanced scripters, need your help. I am creating a multi-forum supported "vip mod". The purpose of this mod is to cache data from your forum such as Posts, Username, Password, Group_Id. Now, I will create a small API to manage all this. The main plugin will allow you to login using amx_login, save your info in a set_user_info. The password will be randomly encoded with an RC4 hash. You will be required to change it before even using this plugin or it will stop working.. The API will include functions such as IsUserLogedIn, GetUserPostCount, GetUserGroupId and GetUserUsername, GetPluginStatus. Now, you wont be able to grab a users password since there's complications with that. Seeing as every board has a different way to salt and hash each password, it will require some changes per forum board so this plugin must be durable. What features does this include? Well right now, this is mostly on the list of things to include in this plugin for safety measures and such.
If you have any suggestions or concerns, please address them here. I will be happy to come up with a solution. If this is going to be done for the public, I want it done right. Currently I will be supported phpBB 3.x, latest vBulletin and Invision Power Board. I need somebody to help me come up with a way to make this as dynamic as possible so other forum boards can easily be added ect.. I want a better way to manage other plugins that are utilizing this API too, so if something fails the other plugins don't sit there failing for ever.. I'm not completely sure how to go about this. I took a look at ARP but I think that's a little too advanced for something like this. I hope that I can eventually have my own board for this were people can take already public plugins (Hopefully the author) and post them in the VIP Mod section. After proving they work of course. This way people that aren't too savy with plugins can easily integrate this into their server and have a ton of options for their users such as Code:
ect.. the ides are endless for the possibilities.. Thus creating a more unified server and automating the act of purchasing admin. Currently I have something along the lines of... Code:
Thank you |
Re: How to organize this?
To make it look nicer and easier to change in the future if one of the board types get incompatible with your code and promote 3rd party board implementation development, you should have a main plugin and implement the functionality for each board in a separated one. Each plugin would have a BeginCache function and all those necessary and would register itself in the main plugin with a function like registerBoard("ipb","beginCache").
|
Re: How to organize this?
ahh great idea. I'll do that ;). Thank you :)
|
| All times are GMT -4. The time now is 13:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.