Go Back   vb.org Archive > News and Announcements > vBulletin Pre-Sales Questions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2005, 08:43 PM
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-03-2005, 09:07 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 07-04-2005, 12:21 AM
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 07-04-2005, 07:06 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 07-08-2005, 04:15 PM
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 07-08-2005, 08:59 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 07-10-2005, 05:03 AM
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I was able to run the INSTALL now. Thanks and please disregard my previous quick reply...
Reply With Quote
  #8  
Old 08-02-2005, 06:53 PM
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 08-02-2005, 08:30 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Languages & Phrases >> Phrase Manager >> Add New Phrase
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:41 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.04375 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete