vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Facebook Gifts Modification - Paid Gifts (https://vborg.vbsupport.ru/showthread.php?t=216650)

Cole2026 06-19-2009 10:00 PM

Facebook Gifts Modification - Paid Gifts
 
1 Attachment(s)
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.

Sweeks 06-20-2009 08:25 PM

Excellent! Has the mass uploading of gifts been added to this as that would top off this mod nicely, also I would like to request that a welcome gift on user registration to be added :D Great work!
________
CUMSHOT MOUTH

Cole2026 06-20-2009 09:14 PM

The mass add feature is already in production for the second beta, and I'll add the welcome gift option to the list.

Hasann 06-20-2009 09:26 PM

I'll wait the stable Gold version of this hack nice mod tought

TNCclubman 06-20-2009 09:30 PM

Its about time. Cant wait for it to be stable and ready for a live board!!!

awesome!

DobieGillis? 06-20-2009 09:47 PM

this screwed up vbcredits for me. I can't add credits through vbcredits, only through your system/ Meh!

Cole2026 06-20-2009 09:54 PM

Quote:

Originally Posted by DobieGillis? (Post 1833626)
this screwed up vbcredits for me. I can't add credits through vbcredits, only through your system/ Meh!


This may be because both systems use common variables. I'll add the option to use vbcredits or my system in the next version, and I will fix this issue.

DobieGillis? 06-20-2009 09:57 PM

Quote:

Originally Posted by Cole2026 (Post 1833629)
This may be because both systems use common variables. I'll add the option to use vbcredits or my system in the next version, and I will fix this issue.

thanks mate! Appreciate it!

merk_aus 06-21-2009 04:06 AM

like the idea but will wait for it not to mess with vbcredits

Cole2026 06-21-2009 04:27 AM

Quote:

Originally Posted by merk_aus (Post 1833777)
like the idea but will wait for it not to mess with vbcredits

Yeah, I'll have that fixed in a day or two.

ShawneyJ 06-21-2009 04:50 AM

Quote:

Originally Posted by Cole2026 (Post 1833782)
Yeah, I'll have that fixed in a day or two.

sweet cant wait ;) thx

Veer 06-21-2009 06:49 AM

Nice mod.

I'm using MyLs1 Gifts and I will wait for the upgrade support, because I don't wanna lose old gifts and data.

popular 06-21-2009 09:35 AM

need some kinda credit system could u make it work like say per 100 posts a user could send 1 gift free without the paypal?

Cole2026 06-21-2009 02:22 PM

Quote:

Originally Posted by popular (Post 1833896)
need some kinda credit system could u make it work like say per 100 posts a user could send 1 gift free without the paypal?

I'm not going to get complex with my credits system; however, I will implement vBCredits compatibility.

pein87 06-21-2009 05:38 PM

Thanks installed cant wait for the gold.

saviola8x 06-21-2009 07:53 PM

Thanks for you and thanks for mod.

Stevie Night 06-22-2009 05:05 PM

Installed, but I get this message when trying to access gifts.php

Steve, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Darkwaltz4 06-22-2009 05:14 PM

For those of you with vBCredits, but want this hack's functionality:

100% free you can use vBCommerce and the Icon itemtype from my site, which does exactly this and more. Link in sig or PM me for details.

saviola8x 06-22-2009 05:53 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1834928)
For those of you with vBCredits, but want this hack's functionality:

100% free you can use vBCommerce and the Icon itemtype from my site, which does exactly this and more. Link in sig or PM me for details.

i want it. Share for me. Thank so much

Chadi 06-22-2009 06:05 PM

Quote:

Originally Posted by Cole2026 (Post 1833603)
The mass add feature is already in production for the second beta, and I'll add the welcome gift option to the list.

Thanks for this mod.

Just curious, when can we expect the mass add feature to be implemented?

Please add ability to sort categories as well. Better yet, ajax implementation would rock :)

trancetopia 06-22-2009 07:56 PM

Thanks for this.... i'd like to make a little request if I may.

Can an option be added to disable the giving of gifts so this can be used just as a credit system which my users can use to buy credits via paypal only?

I run a photography community and I want to use this for a new photo challenge feature but the only part of it I need is the credit buying piece....

If not, no worries.. anyone else know if of any other mods that will do just the above... allow members to pay for credits.. all I need is credit integer value in the db so I can integrate with my own photo challenge system.

Thanks.

Chadi 06-22-2009 11:25 PM

I noticed there is no way to disable the credit system.

Am I missing something?

Cole2026 06-23-2009 03:05 PM

Quote:

Originally Posted by Stevie Night (Post 1834921)
Installed, but I get this message when trying to access gifts.php

Steve, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

You have to configure usergroup permissions for each usergroup. Sorry about that, I did not outline that in the directions.

Quote:

Originally Posted by Chadi (Post 1834979)
Thanks for this mod.

Just curious, when can we expect the mass add feature to be implemented?

Please add ability to sort categories as well. Better yet, ajax implementation would rock :)

Okay, noted. This will be ready for a future release (hopefully the next one).

Quote:

Originally Posted by trancetopia (Post 1835076)
Thanks for this.... i'd like to make a little request if I may.

Can an option be added to disable the giving of gifts so this can be used just as a credit system which my users can use to buy credits via paypal only?

I run a photography community and I want to use this for a new photo challenge feature but the only part of it I need is the credit buying piece....

If not, no worries.. anyone else know if of any other mods that will do just the above... allow members to pay for credits.. all I need is credit integer value in the db so I can integrate with my own photo challenge system.

Thanks.

Certainly. Marked for future release.

Quote:

Originally Posted by Chadi (Post 1835211)
I noticed there is no way to disable the credit system.

Am I missing something?

Yeah, you can't (yet). This is code nearly directly from a client, so the system is setup just for that client's needs. This first release was moreover for a technology preview so that everyone knew that this project was not dead. This will be in there for sure in the next release.

The next release should be released by the end of the week, just so everyone has an idea.

TNCclubman 06-23-2009 03:45 PM

I can see this as mod of the month once all these cool ideas are implemented.

Thanks Cole!!!!

TNCclubman 06-23-2009 03:46 PM

Can I suggest members get

1 free gift every 100 posts.
1 free gift every 100 photos uploaded to their albums.
1 free gift on their birthday.

(option to turn these 2 on and off in the admin cp)

Cole2026 06-23-2009 06:26 PM

Quote:

Originally Posted by TNCclubman (Post 1835682)
Can I suggest members get

1 free gift every 100 posts.
1 free gift every 100 photos uploaded to their albums.
1 free gift on their birthday.

(option to turn these 2 on and off in the admin cp)

Certainly, albeit it will be one credit every 100 posts instead, so to speak, since credits are the primary way of buying gifts.

trancetopia 06-24-2009 08:45 AM

Quote:

Originally Posted by Cole2026 (Post 1835651)
Certainly. Marked for future release.

Fantastic, i'll start to integrate this in with my photo challenge system right now. Thank you so much for taking on my request, it's extremelly appreciated.

SSG.D 06-24-2009 12:27 PM

Great mod and thank you for your work.:D

You may view the mod here: http://www.masterofwar.net/forums


Click on the user name PHOENIX profile to see how it's displayed. (thats me) lol

Some notes:

Even though I uploaded everything in it's place. I had to use the add new gift function so the mod would see the gifts that originally came with the mod.

For those that have dark forums be prepared to edit your gifts in photo shop so you don't have the white background.

On pm notification: A image of the gift is not displayed, just the name of the gift.

When performing mass credit to user groups the credits are not deducted as gifts are sent. Unless I missed a setting which is most likely the issue :o

This is a fantastic start for a great mod addition.... Again thank you so much for your work!!!!:up:

As I make gifts I will help make them available to help pay this forward:)

TNCclubman 06-24-2009 12:59 PM

Quote:

Originally Posted by Cole2026 (Post 1835813)
Certainly, albeit it will be one credit every 100 posts instead, so to speak, since credits are the primary way of buying gifts.

Thats cool, just maybe in the notification pm they get when it happens if the phrase can say something like

"Congrats you've received a free $1 credit based on your forum activity so you can buy someone a gift, Enjoy!"

SnowBot 06-24-2009 09:28 PM

1 Attachment(s)
Here are some gifts for peeps to use, enjoy :)

SSG.D 06-25-2009 02:35 AM

Found the cause of no image in the PM..Wrong link to the image address... but not sure how to cure it.

In the pm after a gift is sent. the user just gets a blank image. Here is the cause:

The address is listed multiple times. Note: All the images show up just fine in the user profile pages

http://www.masterofwar.net/forums/ht.../budweiser.gif

Looking at the gift_pm_template I can't see where this would cause this.

Code:

Hey {$recipient['username']},

You have received a new gift from: /member.php?u=$senderid]{$sender}.

It is:

{$gift[title]}
$gift[description]


https://vborg.vbsupport.ru/


And {$sender} had this to say along with it,


       
Quote:

       
       
               
       
       

                       

                       
                               

                                        Originally Posted by {$sender}
                                       
                               

                               
{$message}

                       
                       

               

All the best.
$vboptions[bburl]

Can anyone help?:confused:

Cole2026 06-25-2009 03:23 AM

Quote:

Originally Posted by SSG.D (Post 1836841)
Found the cause of no image in the PM..Wrong link to the image address... but not sure how to cure it.

In the pm after a gift is sent. the user just gets a blank image. Here is the cause:

The address is listed multiple times. Note: All the images show up just fine in the user profile pages

http://www.masterofwar.net/forums/ht.../budweiser.gif

Looking at the gift_pm_template I can't see where this would cause this.

Code:

Hey {$recipient['username']},

You have received a new gift from: /member.php?u=$senderid]{$sender}.

It is:

{$gift[title]}
$gift[description]


[IMG]{$gift[image]}[/IMG]


And {$sender} had this to say along with it,



All the best.
$vboptions[bburl]

Can anyone help?:confused:

Go to your options and turn off the Prefix URL's option and see if that clears up the problem.

SSG.D 06-25-2009 01:58 PM

Quote:

Go to your options and turn off the Prefix URL's option and see if that clears up the problem.
Much thanks that did the trick:D

Feanor_87 06-28-2009 10:29 AM

Installed and no problems here! Can't wait to see all the suggestions be put into this MOD :)

By the way, how would you go about changing the Paypal link?

gamli baykus 06-28-2009 07:00 PM

thank you..but i will ask a question..Admins can not send a gift to other admin..what is the problem?

deadlySniper 06-28-2009 07:04 PM

Awesome! Thanks!

Cole2026 06-28-2009 09:17 PM

Quote:

Originally Posted by Feanor_87 (Post 1838768)
Installed and no problems here! Can't wait to see all the suggestions be put into this MOD :)

By the way, how would you go about changing the Paypal link?

The email? That is in the vBulletin Options for the Gifts modification.

Quote:

Originally Posted by gamli baykus (Post 1839052)
thank you..but i will ask a question..Admins can not send a gift to other admin..what is the problem?

Make sure you setup permissions correctly. You MUST do this after installing.

And I'm almost done with the next release.

TNCclubman 06-28-2009 09:37 PM

also, dont forget the upgrade from Chris' gift mod. Im kind of still with that version and waiting for your upgrade instructions.

Thanks!!!

CFodder 06-29-2009 09:36 AM

Great mod thanks, have marked as installed :).

And cheers for those gifts SnowBot, a nice addition to the mod.

Peacelily 07-05-2009 09:23 AM

Thanks Snowbot for the gifts!!!

Here are some from us if others would like to use them. Food, pretty stuff and pets.

http://www.zshare.net/download/622576107dc35920/


I too will be watching this for when we can upgrade from the old version.


All times are GMT. The time now is 04:39 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.01352 seconds
  • Memory Usage 1,849KB
  • 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
  • (2)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete