MyBB-Plugins Forums
[request] buy access forum module - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: MyPlaza Turbo (http://forums.mybb-plugins.com/Forum-MyPlaza-Turbo)
+----- Forum: Requests (http://forums.mybb-plugins.com/Forum-Requests--15)
+----- Thread: [request] buy access forum module (/Thread-request-buy-access-forum-module)

Pages: 1 2


[request] buy access forum module - Andrew - 09-08-2009

hi pirata nervo and mod devs.. can i request for a module which buy access to a certain forum? i tried making one but no luck on what function use.. Smile

im not good in making module.. thanks


RE: [request] buy access forum module - Diogo Parrinha - 09-08-2009

this has been requested already


RE: [request] buy access forum module - Glas - 09-08-2009

just make a item expensive
and that item choose to pm the user
linking to a thread where they muse post
once then the people who posted and have the item
must get the access
that you must give manually

that's what i do


RE: [request] buy access forum module - Diogo Parrinha - 09-08-2009

Not sure how I'd do it though.
Module options:
Forum ID's seperated by a comma
User Groups to restrict (user groups that must pay to access), set to 'all' (without quotes) to make it so all groups have to pay to access.
Duration (in seconds. Can be blank if it has no limit) (after the number of seconds has passed, the user will have to buy the item again)

Item: Buy access to forum
Description: Buy access to forums: "forum 1", "forum 2", "forum 3" (this is just an example) (the forum names are retreived from the database)

New column in the users table called 'accessforum'
If the value of the new field is 1, the user has paid and has access to the forums set in the module options
Otherwise if the value of the new field is 0, the user must pay in order to access it.

Seems easy to do, I'll make it today I guess


RE: [request] buy access forum module - Andrew - 09-09-2009

cool.. thanks Nervo.. look forward on this.. this will be a good release to on you myplaza module list.. Smile


RE: [request] buy access forum module - Diogo Parrinha - 09-10-2009

Ok, just to let you know that I'm almost done with it.


RE: [request] buy access forum module - Andrew - 09-10-2009

can you direct me to the thread discussion of this plugin? Smile thanks P.Nervo.. Smile


RE: [request] buy access forum module - Diogo Parrinha - 09-10-2009

Hmm, is there one?


RE: [request] buy access forum module - Andrew - 09-10-2009

(09-10-2009, 01:04 AM)Pirata Nervo Wrote: Ok, just to let you know that I'm almost done with it.

as you said in here.. Smile when will you gonna release it? Tongue


RE: [request] buy access forum module - Diogo Parrinha - 09-10-2009

I don't know, been busy lately. However, I've started it and the activation (insert settings, create tables, add hooks), deactivation, language loading and language variables are done.
It won't use any items, instead it will work like the Pay to Download module. But instead of prompting the user to pay when downloading anything, it prompts the user to pay when the user tries to view one of the forums set in the options, view a thread which is part of one of the forums set in the options, send a thread which is part of one of the forums set in the options and that's it I guess.
(archive will also be blocked)