PDA

View Full Version : B.B. posting options


Avi_Goldstein
07-03-2005, 08:43 PM
I am interested to place on my Website a Paid Bulletin Board where subscribed users can post their forms.
1) NOW I WANT TO LIMIT a user to ONE POST PER SUBSCRIPTION period [so a tutor, looking for students or a person, selling a car, can post only one ad per his/her subscription].
2) ALSO, I want the posting [user's ad] to be AUTOMATICALLY DELETED from the B.B. once his/her subscription ends...

I was told that I will require hacks to do these thinks... Can anyone, please, provide me with more info before I buy the product ?

Thank You

Xenon
07-03-2005, 09:07 PM
yep, both things are doable and aren't that much work.

1) would require just one or two additional lines
2) also not much more than 5 lines :)

Avi_Goldstein
07-04-2005, 12:21 AM
Can You be a bit more specific. I know some HTML and have used MySQL [a lot] before, but I am new to PHP. I have learned some basics, but I do not master it yet. Besides, even if I would know PHP well, do I have to go through all their code [it is open source, right] to find where to add the lines You mentioned....?

Thank You for Your help,

Avi

Marco van Herwaarden
07-04-2005, 07:06 AM
To start with vBulletin is not Open Source. It is in a readable format, but not open source, which is something complete different.

If you would be as a programmer want to make changes to a product that is new to you, you would always first have to learn how a product is build. We have however a very active and helpfull community here, who could advise you on the changes to make.

If you can't make them yourself you can always request (payed or free) help.

I am sorry but i can't give you any code examples in a Pre-Sales forum, but we are looking forward to guide you more once you made your purchase.

Avi_Goldstein
07-08-2005, 04:15 PM
Marco, thanks for Your reply. I have bought the VBulletin, downloaded it, set-up config.php and uploaded it all [with impex] onto my server... Before running the installation [install.php] I would like to come back to my questions about changing the code so, that my paid users can leave one AD per their subscription period [this AD they can modify and edit any time they want] and that their AD will be removed once their subscription ends...

Thank You very much,

Avraham Goldstein

Marco van Herwaarden
07-08-2005, 08:59 PM
This you can arrange with Paid Subscription and a hack that limit the number of posts in a period for a usergroup. I think you will find a few different hacks of that type here on the forums.

Sorry but i don't have time myself to look them up now, but i am sure that if you can't find them yourself, another member cab assist you in finding them.

Avi_Goldstein
07-10-2005, 05:03 AM
OK, I was able to run the INSTALL now. Thanks and please disregard my previous quick reply...

Avi_Goldstein
08-02-2005, 06:53 PM
I was able to write a hack which restricts the maximal amount of new Threads per Forum per User. In it I am modeling Kalls' hack for maximal New Threads per Day... Kall says to introduce new Phrases:

New Phrases
__________________________________________________ __

Type: Front-End Error Messages
VarName: no_new_thread_permission
Text: You may only start $nzbmaxnewthread[number] threads every $nzbmaxnewtime[time] hours. Please try again later.

Type: Front-End Error Messages
VarName: no_new_post_permission
Text: You may only make $nzbmaxnewpost[number] replies every $nzbmaxnewposttime[time] hours. Please try again later.

Type: GLOBAL
VarName: nzb_max_threads
Text: Maximum New Threads

Type: GLOBAL
VarName: nzb_max_posts
Text: Maximum Replies

__________________________________________________ __

How does one introduce new Phrases in VB ?

Thank You,

Avi

Gio~Logist
08-02-2005, 08:30 PM
Languages & Phrases >> Phrase Manager >> Add New Phrase