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)

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


All times are GMT. The time now is 03:17 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.01110 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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