vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   B.B. posting options (https://vborg.vbsupport.ru/showthread.php?t=91579)

Avi_Goldstein 07-03-2005 08:43 PM

B.B. posting options
 
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


All times are GMT. The time now is 10:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00992 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete