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)

eak 07-05-2009 10:44 AM

I have one question

How to increase credit by post automaticly

TNCclubman 07-05-2009 01:22 PM

Out of curiousity. Can I just uninstall the Chris gift mod by removing the product in the admin cp, and just install this? I dont mind losing all the old gift assignements and starting over. (never removed a product before)

crustymusic99 07-07-2009 06:07 AM

Quote:

I would like to get feature requests
Intergrate this with Vbexperience's credits system and it is perfect for me :D

DeanoUK 07-13-2009 07:43 PM

Lovely system thanks, only options I really want are

1) Ability to credit single user accounts - people have donated already via a standard donation system and I'd like them to be credited accordingly

2) Post bit gifts info, similar to Yet Another Award System

Many thanks

Vinyljunky 07-14-2009 11:32 AM

I'd love to use this :D but I need VBCredit support :)

Any chance of making it compatible, please please :D

Frank Sinatra 07-15-2009 06:08 AM

Thanksss works great!
regards,

DeanoUK 07-18-2009 08:42 AM

1 Attachment(s)
I've added a very simple 'give credit to single userID', but it's so simple I doubt you'll want it, it's just a change to the mass credit system but with a single user ID.

I did notice a tiny language bug, when giving a gift:

"Please select a gift categorie on the left."

'categorie' should be 'category'.

Anyway here's the changes.

1) Add phrase giftcp_userscredit for each language you use, English is: "Credit User".
2) Upload attached gifts.php to \admincp\ and overwrite existing.
3) Upload attached cpnav_gifts.xml to \includes\xml

You should then be able to credit single users (using their userid). It's the bottom option on the Gifts admincp nav bar.

DeanoUK 07-18-2009 08:46 AM

By the way, it's installed on UK Cigar Forums: http://www.ukcigarforums.com

DeanoUK 07-18-2009 08:51 AM

1 Attachment(s)
Two major additions I'd like if possible.

1) A post-bit display very much like how the Yet Another Awards System works, with the addition of icons for each image for the post-bit (see attached screen shot) - though I'd like it possibly to appear on the left under the username!

2) A link in the user's post-bit to Gift them as opposed to having to go into their profile.

I think both of these features will ensure the system gets used.

DeanoUK 07-18-2009 09:08 AM

1 Attachment(s)
For option 2) above you can put a link via editing the postbit and adding:

PHP Code:

<div><a href="gifts.php?$session[sessionurl]do=give&amp;r=$post[userid]">Send gift</a></div

This will give you a 'Send gift' link.

I know these things are simple, but it doesn't hurt to share and save you a further 30 seconds!

DeanoUK 07-18-2009 09:26 AM

1 Attachment(s)
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


nightbloom 07-29-2009 07:54 PM

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....

DiageoLiam 08-04-2009 05:53 PM

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>

DiageoLiam 08-04-2009 06:11 PM

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?

matthewhotdude 08-04-2009 06:32 PM

It's installed but there are no gifts??

DiageoLiam 08-04-2009 10:22 PM

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?

matthewhotdude 08-04-2009 10:34 PM

Anyone any idea why I can't see any gifts?

mondiuk 08-05-2009 08:56 AM

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..

matthewhotdude 08-05-2009 09:04 AM

Have you set the permissions. It's in the usergroup permissions at the bottom

matthewhotdude 08-05-2009 09:35 AM

get it sorted? Wish I could get it to work. it looke like a awsome mod

matthewhotdude 08-05-2009 02:56 PM

Got it sorted. The gifts show up in the user cp. but in the PM that gets sent to the person you recieves the gift it's just a red x

??

mondiuk 08-05-2009 09:50 PM

oh man is workin grate thank's.. i managed to setet all up and allso translated all in my lunguage, the users loved..

thank's milion times

mondiuk 08-05-2009 09:52 PM

is there any way to upload many gifts on the same time in stead of one..

i mean like avatars you apload them to images directory then you conwert them from admincp

webgroup 08-10-2009 03:25 AM

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT user.* FROM vbnewuser WHERE usergroupid = 6;

MySQL Error : Unknown table 'user'
Error Number : 1051
Request Date : Monday, August 10th 2009 @ 12:11:21 AM
Error Date : Monday, August 10th 2009 @ 12:11:22 AM
Script : http://www.mysite.net/foruml/admincp...processcredits
Referrer : http://www.mysite.net/forum/admincp/...?do=masscredit


The script is looking for table 'user" which don't exists, I use a prefix for my vbulletin tables.

How can I fix this?

webgroup 08-13-2009 07:00 PM

nobody??

matthewhotdude 08-13-2009 07:24 PM

Would have been a awsome mod if it had been supported

webgroup 08-16-2009 02:32 AM

bumpy bumpy

klaush 09-23-2009 09:16 PM

Same here...


Quote:

Originally Posted by webgroup (Post 1864336)
Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT user.* FROM vbnewuser WHERE usergroupid = 6;

MySQL Error : Unknown table 'user'
Error Number : 1051
Request Date : Monday, August 10th 2009 @ 12:11:21 AM
Error Date : Monday, August 10th 2009 @ 12:11:22 AM
Script : http://www.mysite.net/foruml/admincp...processcredits
Referrer : http://www.mysite.net/forum/admincp/...?do=masscredit


The script is looking for table 'user" which don't exists, I use a prefix for my vbulletin tables.

How can I fix this?


klaush 09-23-2009 09:35 PM

Disable the "Advanced BBCode Permisisions"; that should fix it.

Quote:

Originally Posted by DiageoLiam (Post 1861365)
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?


DS MrSinister 09-24-2009 12:19 AM

1 Attachment(s)
Quote:

Originally Posted by webgroup (Post 1864336)
Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT user.* FROM vbnewuser WHERE usergroupid = 6;

MySQL Error : Unknown table 'user'
Error Number : 1051
Request Date : Monday, August 10th 2009 @ 12:11:21 AM
Error Date : Monday, August 10th 2009 @ 12:11:22 AM
Script : http://www.mysite.net/foruml/admincp...processcredits
Referrer : http://www.mysite.net/forum/admincp/...?do=masscredit


The script is looking for table 'user" which don't exists, I use a prefix for my vbulletin tables.

How can I fix this?

download the attachment and place it in the admincp folder.

klaush 09-24-2009 06:12 AM

You made my day! Thanks!

Quote:

Originally Posted by DS MrSinister (Post 1889700)
download the attachment and place it in the admincp folder.


DS MrSinister 09-24-2009 08:32 PM

Quote:

Originally Posted by klaush (Post 1889802)
You made my day! Thanks!

your very welcome...

TNCclubman 10-21-2009 06:53 PM

is this still in beta stage or can we upload this over our old christian 'gifts' mod.

should one uninstall that one, then import this one?

I dont mind losing all the old gifts, havent used that mod since I went from 3.7 to 3.8...

Julie 10-22-2009 02:00 PM

1 Attachment(s)
Quote:

Originally Posted by DeanoUK (Post 1851028)
I did notice a tiny language bug, when giving a gift:

"Please select a gift categorie on the left."

'categorie' should be 'category'.

If anyone is wondering where they can change this language bug, go into

Style manager, select edit templates from your style(s), scroll down the list to Gift Templates, expand that list, open gifts_add_category_select.

Edit: On fresh install, what is it that sets up the inital credits? I looked through my database user table, and found that 7 totally random users have totally random values of credits :S

Edit 2: When editing a user in the admin panel, the credits field/box has attached itself to another 'box'. I have the Quick Account Switch mod installed, and Credits has attached itself to that. See the screenshot attached... Not a biggie, just a small FYI :)

Julie 10-22-2009 02:49 PM

<i>Edited because I'm not sure if what I wrote (SQL) is valid anymore!</i>

great kitten 08-31-2011 04:02 AM

and works by% 100 and you can put some caption of image, thanks


All times are GMT. The time now is 03:30 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.03369 seconds
  • Memory Usage 1,818KB
  • 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_php_printable
  • (7)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
  • (36)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