Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 01-03-2009, 08:00 AM
Dannyboy1 Dannyboy1 is offline
 
Join Date: Aug 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I achieve this with Vbulletin

Hi, I need to ask how could I achieve the following with Vbulletin:

I have a website where different products are reviewed; it is an affiliate website, but all products listed are sponsored, I mean the product owners are submitting them for review and once they pay some small "activation" fee their products get listed; if the fee is not paid the products remain not visible on the website.
So I want to add a vbulletin forum to this website, where every single product has a dedicated folder. I want everything to be automated though. Here is how the process works:

step 1 - product owner submits productA for approval
step 2 - I review it and approve it; once I approve it an e-mail is sent to owners e-mail address that contains username and password for the website, he logs in and pays the fee; once it is done the product is getting listed automatically and shows on the website - in this step though I want that a folder for productA is created in Vbulletin once I approve it and remains invisible until the payment is confirmed automatically trough the payment interface; once the payment goes trough another welcome e-mail is sent to the product owner that will contain some welcome text and the link to his folder as well, if possible also a dedicated forum username for him too; in the same time after the payment is confirmed the folder goes from invisible to visible state.

Is that possible at all with Vbulletin and if you don't ming can you point me to which files I should modify to achieve this?

Thank you very much in advance for your help.
Reply With Quote
  #2  
Old 01-03-2009, 08:05 PM
GameWizard's Avatar
GameWizard GameWizard is offline
 
Join Date: Apr 2004
Location: Vancouver, BC
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well there is no modifcation that does exactly what you seek to achieve. However, you can be creative and create your own system.

For example, you can have them register first. Then use the form hack to submit their product. It would send the product information into a thread awaiting moderation. Once approved, you would guide the user to subscription area of your website, they pay the subscription and they enter a special usergroup and their thread activates in the forum ready for review.

That's about as creative as you can get, and initially it wouldn't be automated, but you can definitely create hacks or modify existing ones to allow this to work.
Reply With Quote
  #3  
Old 01-04-2009, 08:08 AM
Dannyboy1 Dannyboy1 is offline
 
Join Date: Aug 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your suggestions.

Well, I am a good developer, but I am really not very experienced with vbulletin, its structure and its modifications; could you please point me to which ones I am about to use in this situation, besides the form hack, I will modify them to make them as automated as possible while my goal really is to achieve 100% automation; if not it will be easier for me to develop my own forum (not as classy as vbulletin ofc).

As per your suggestion, do you think it will work like that:

step 1 - product owner submits productA for approval
step 2 - I review it and approve it; once I approve it a username/password is assigned to product owner and same username/password are written to vbulletin database; product data is autofilled in the form hack and thread is created that will be awaiting moderation as you suggested; so far I think that will be easy
step 3 - now product owner comes to my website, logs in, pays the activation fee and once I get the confirmation call from the payment system (PayPal for example) the product gets listed; now what worries me here is how will the product thread auto activate on the forum? Which vbulletin files should I look into for that?

I guess there will be some value that represents the status of the thread - awaiting moderation or active or etc. - where exactly can I find this value in vbulletin? Will it work if it is getting automatically changed after I receive the call from PayPal about successfull payment?

Also - will it be possible to auto-stick threads (for example if product owner pays additional fee) and where can I change that?

Thank you in advance for your suggestions.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:31 PM.


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.04876 seconds
  • Memory Usage 2,174KB
  • 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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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