Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Facebook Gifts Modification - Paid Gifts Details »»
Facebook Gifts Modification - Paid Gifts
Version: 1.5 Beta 1, by Cole2026 Cole2026 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.2 Rating:
Released: 06-19-2009 Last Update: Never Installs: 49
Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

Facebook Gifts for vBulletin 3.8.x

This is what I would call the next release, so to speak, of the original gifts modification released by Christian8a. I was the coder of that product, and I am releasing this next iteration of the product with several more useful features.

In addition to being able to send gifts in the same fashion as facebook, this modification has several new features, including:
  • A new custom credits system that is integrated with Paypal. You can now charge for certain gifts using paypal seamlessly.
  • Mass Gifting and Crediting -- Administrators can now send out gifts in mass quantities through the admincp. They can send them out according to usergroup. In addition, the administrator can mass credit people (credits are used to buy gifts) and edit user's credits through the administrator control panel.
  • Usergroup Specific Gifts - Administrators can now define certain gifts as available for only "select" usergroups.

This release will be considered a beta until I can get accurate reports on bugs and problems with the system. I worked on this update over a year ago for a client and am now releasing it publically. I cannot remember how much I changed the codebase since I worked on this modification for Christian8a, so I am not sure which bugs currently still exist or which don't. In addition, this version is feature incomplete. I would like to get feature requests from users in order to figure out what would be a useful addition.

I do not have any web space currently for a demo. If anyone would be so kind as to provide links to their forum that has it installed--I'll put it up here.

Installation Instructions
  1. Unzip the provided "Gifts Modification" zip file.
  2. Upload the contents of the "upload" folder to your forumroot (with the gifts.php file going into the forum root, the gifts.php in the admincp folder to your admin folder, the two xml files to the includes/xml folder, and the images/gifts folder going into its respective area)
  3. Import Product file (in the root of the zip file it is called product.xml) -- Currently I am not supporting upgrading from the old Gifts modification, so please do this at your own risk. I will not support upgrading until this comes out of beta.
  4. Configure Gifts Settings (under Gifts category in admincp, click on Gifts Settings. Be sure to include your paypal email at the bottom if you plan on using credits, or else it will not work correctly).

I will provide support for this product as I have time.

I am not responsible for any data loss or damage caused by this product. It is provided "as-is" and install at your own risk. And of course, vBulletin.Org is the only place where a download is valid. Hosting this product at any other website is strictly prohibited without explicit permission from me. In addition, you are only permitted to use this product if you have a valid vBulletin license (which goes without saying).

Thanks, and have fun!
DO NOT INSTALL IF YOU USE VBCREDITS - There is a huge compatibility issue regarding common field names in the user table.

Download Now

File Type: zip Gifts Modification.zip (43.9 KB, 352 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-18-2009, 09:26 AM
DeanoUK DeanoUK is offline
 
Join Date: Sep 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alternatively, I've added it under the User's name on the left hand of the post bit, using the postbit_profilefield template.

And added an icon too.

PHP Code:
<div class="smallfont"><img src="http://www.yourforum.com//images/gifts/gift.png" alt="Send gift" border="0"> <a href="gifts.php?$session[sessionurl]do=give&amp;r=$post[userid]">Send gift</a></div
Attached Images
File Type: png left_example.png (18.6 KB, 0 views)
Reply With Quote
  #53  
Old 07-29-2009, 07:54 PM
nightbloom's Avatar
nightbloom nightbloom is offline
 
Join Date: Mar 2008
Location: Whidbey Island, WA
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only feature I would like to see implimented is a mass gift upload, something like the way smilies are added. It is the only reason I havent switched to this version. I do NOT want to re-add 200+ gifts one at a time....
Reply With Quote
  #54  
Old 08-04-2009, 05:53 PM
DiageoLiam DiageoLiam is offline
 
Join Date: Mar 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Save DeanoUK's gift image to your buttons directory then add this to postbit/postbit_legacy right before:

<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>"

Add the code:

<a href="gifts.php?$session[sessionurl]do=give&amp;r=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/gift.png" alt="Send a gift to $post[username]" border="0"></a>
Reply With Quote
  #55  
Old 08-04-2009, 06:11 PM
DiageoLiam DiageoLiam is offline
 
Join Date: Mar 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error once I have ordered a gift for another user:

"
Fatal error: Cannot use object of type vB_DataManager_PM as array in /home/rhyy/public_html/forum/includes/class_bbcode.php(360) : eval()'d code on line 11
"

any ideas?
Reply With Quote
  #56  
Old 08-04-2009, 06:32 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's installed but there are no gifts??
Reply With Quote
  #57  
Old 08-04-2009, 10:22 PM
DiageoLiam DiageoLiam is offline
 
Join Date: Mar 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am able to order gifts for myself and another administrator but for all other users (including 2 further administrators) I am receiving the following error once I have selected a gift and proceed to buy it:

Fatal error: Cannot use object of type vB_DataManager_PM as array in /home/rhyy/public_html/forum/includes/class_bbcode.php(360) : eval()'d code on line 11

I get the error on page gifts.php?do=insert

I have literally tried everything... any ideas?
Reply With Quote
  #58  
Old 08-04-2009, 10:34 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone any idea why I can't see any gifts?
Reply With Quote
  #59  
Old 08-05-2009, 08:56 AM
mondiuk mondiuk is offline
 
Join Date: Jun 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this ok, but one thing there is only one opsion it sayes Send yourself a gift
the is no option to sedn gifts to other users..

any idea..
Reply With Quote
  #60  
Old 08-05-2009, 09:04 AM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you set the permissions. It's in the usergroup permissions at the bottom
Reply With Quote
  #61  
Old 08-05-2009, 09:35 AM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

get it sorted? Wish I could get it to work. it looke like a awsome mod
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 05:13 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.07865 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete