Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2010, 10:33 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Programming An Online Shop For vBulletin

i would like to put together an online shop, that works together with the vbulletin software. as i have described here:

https://vborg.vbsupport.ru/showthread.php?t=234190

considering i have practically no php knowledge except for how it works, and how we used to implement hacks/mods into older vb versions.

how long would it take me to learn how to write this mod myself? and could somebody supply me with a link that would help me learn to program this mod for my vbulletin 4 forum. i think i'll find somebody else to write it for me, but i'd love to be able to edit, change, and enhance it myself later on, so i really need to step up my php knowledge. and if i can't find anybody to write it for me, i'll have no choice but to do it myself anyways.
Reply With Quote
  #2  
Old 01-26-2010, 11:27 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd personally go for doing it as a set of content types. Have a read at the blog posts on vb.com on how to write widgets and content types. You will need:

A content type to represent items in your shop; to add an item to the store you just post a new item of this type. It'll need similar things to the article type for adding a description and images, plus some custom fields such as price, quantity etc.

A widget to display the users shopping basket.

Some custom code to handle adding items to a basket, removing them editing their quantities and checking out. You should take a look at how paid subscriptions are handled; you may be able to reuse some or all of that code.

A method of notifying you of orders. This could be as simple as emailing you the order once its paid for. Or a complex admin cp to deal with it all.

I would be very tempted to try and handle the above two items by creating a second custom content type to represent an order. It would be posted automatically by checking out and only visible to admins+ The custom code for adding items to a basket could simply be actions on an order content type controller.

You may also need to override the default list controller so that you can sort things by price/ other custom fields.

This is a product I'd be interested in developing; however I've no time to do custom coding for at least 3 months.
Reply With Quote
  #3  
Old 01-26-2010, 12:12 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3 months? that's too bad, sadly i don't have that much time available for this.

but you seem to have a complete concept of this, do you honestly believe i could create something like this myself without real php knowledge simply by reading the blogs on vb.com?

thank you very much for the quick response.
Reply With Quote
  #4  
Old 01-26-2010, 06:08 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3 months is pretty much the minimum; I have two projects for uni that need to be done over the next month or two; coupled with upgrading my own site to vb4, maintaining my mods and having time to eat and sleep. So unless your budget for this runs to 5-6 figures (at this range, I could afford to hire extra programmers to assist ), any sooner than that is probably unobtainable.

The blogs on vb.com give imo a fairly idiot proof tutorial on creating content types; the item one would be fairly easy to create. Its the order content type you'll struggle with as there is a lot less code you can use for an example and a lot more you will have to write on your own. If your PHP isn't very strong; you may struggle getting your head around how everything works, It took me a whole afternoon and i'm 3/4 of my way through a masters in computer science. So you are looking at a week or two minimum. Also, theres the issue that people who are new to programming often make serious mistakes when it comes to efficiency and security, security being quite important when it comes to a shop.

My concept for this is quite well thought through, my only real concern is quite how well the content types system would handle the order content type. If i've time over the next few days I'll have a look into this a bit more for you - I'm pretty sure I could get the shopitem content type working in no time; its the checkout/order content type that'll take the time- If that turns out to be easier than I think, I may be able to supply you with some or all of the code you'll need to do this.
Reply With Quote
  #5  
Old 01-27-2010, 12:03 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

6 figures? as in 100,000? i didn't even know programmers earned that much for 1 project. that is definitely far beyond my budget's limit.

i wish there was an already existing shop software that does everything i need and could be integrated into vbulletin the way i need it to be.

anyways if you could look into it, and it turns it's easier to do than you believed, i'd appreciate the extra help. i still haven't received a single offer from any coders to take this on, or even assist me with this, except for your replies here, so i'm pretty much stranded, with no other option but to learn to code this myself. i have 2 months i guess i'll get started on it this weekend.

can you link me to a good starting point (what blogs i must read first etc)? i would truly appreciate that carnage.
Reply With Quote
  #6  
Old 01-27-2010, 11:50 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I had the time for doing this, my bid would be in the range of 2-5000 depending on the number of features and estimated time. The 5-6 figure sum I was talking about would be how much it'd take for me to get it done now as i'd have to hire a developer or two to work with me.

If your php isn't very strong I'd recomend starting here: http://uk3.php.net/manual/en/language.oop5.php read that section at least twice through. Make sure you understand it, it'll help a lot when you come to dive into code.

Second, install a development board. I'd suggest a clean copy of vb for the moment installed to a separate location. Password protect this install using .htaccess (as required by liscense agreements) Put this into debug mode ($config['misc']['debug'] =true; in config.php)

Read the following articles:
https://vborg.vbsupport.ru/showthread.php?t=228078 (and the two blogs linked at the bottom) https://vborg.vbsupport.ru/showthread.php?t=217570 https://vborg.vbsupport.ru/showthread.php?t=231525 https://vborg.vbsupport.ru/showthread.php?t=228112 Read them again. Once you are fairly sure you understand them, add your own template to the MASTER STYLE to experiment with the concepts.

If that dosn't take you most of the weekend, you probably didn't cover them in enough detail. As a bit of light reading for sunday bedtime; try these two blogs http://www.vbulletin.com/forum/entry...S-Content-Type
http://www.vbulletin.com/forum/entry...et-Programming

There are a lot more things to read up on like the $vbulletin object the $db object but i've not found good referances for them yet
Reply With Quote
  #7  
Old 01-31-2010, 04:42 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just noticed i never replied to this. thanks a lot for the helpful links. i really wish i didn't have to program it myself all by myself, as it just seems to be so much work. but i guess if i can't find anybody to do it for me by monday i'll have to get started on it myself.
Reply With Quote
  #8  
Old 02-02-2010, 09:17 AM
microlight microlight is offline
 
Join Date: Dec 2009
Location: Leeds UK
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's wrong with www.oscommerce.com ?
Reply With Quote
  #9  
Old 02-02-2010, 10:27 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No integration with vbulletin 4 for starters.
Reply With Quote
  #10  
Old 03-18-2010, 07:57 PM
Satviewers Satviewers is offline
 
Join Date: Oct 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oscommerce has been integrated here: www.itvault.com

If anyone wants to check it out.
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 11:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08378 seconds
  • Memory Usage 2,262KB
  • 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
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete