vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - MyLs1 Gifts ( Send gifts or drinks! ) (https://vborg.vbsupport.ru/showthread.php?t=189788)

MissKalunji 09-23-2008 01:57 AM

^^ Thank You

edit :
Do you have any idea how to optimize the code? cause it's adding 14 queries to showthread

TNCclubman 09-24-2008 02:09 AM

when we upgrade vbulletin, does the gift module have to be re-installed? whats the procedure...

sorry just bought vbulletin

compact123 09-26-2008 12:33 AM

Super be mod. Thanx sir.

DS MrSinister 09-26-2008 11:21 AM

this product file contains the missing template called gifts_add_no_gifts . thanks to MissKalunji . i also added that you don't need to make any template edits. it will add memberinfo edit and the postbit edit..

feel free to add it to the main zip file..

Vinyljunky 09-26-2008 12:54 PM

Can we charge VBCredits for the gifts?

Thanks

VJ

TNCclubman 09-26-2008 12:54 PM

Is it possible to add a feature to this?

Like limit the amount of gifts to a set number, once that amount of people download it, it becomes unavailable?

Like limited amount 1,000 total of a given gift?

2nd feature,

Limit the giving of gifts to 1 every 100 posts... tie it to posts...

Vinyljunky 09-26-2008 01:36 PM

Quote:

Originally Posted by TNCclubman (Post 1630898)
Is it possible to add a feature to this?

Like limit the amount of gifts to a set number, once that amount of people download it, it becomes unavailable?

Like limited amount 1,000 total of a given gift?

2nd feature,

Limit the giving of gifts to 1 every 100 posts... tie it to posts...

I like those ideas:up: We could do that if we could charge VBCredits for each gift :o

TNCclubman 09-27-2008 01:52 PM

This is definitely my favorite mod and our members love it! Hopefully Christian keeps coming out with new features to it.

Vinyljunky 10-02-2008 11:23 AM

<font size="3">FEATURE REQUEST</font>
Can this be made to use VBCredits? what I mean is charge for buying/sending gifts

Thanks

VJ...

christian8a 10-03-2008 05:56 AM

Quote:

Originally Posted by TNCclubman (Post 1631624)
This is definitely my favorite mod and our members love it! Hopefully Christian keeps coming out with new features to it.

We will man ;)

I dont know what is vbcredits or how it works, but this product itself can be upgraded and allowing members to buy gifts, hopefully soon we will add that feature.

TNCclubman 10-03-2008 07:53 PM

maybe tie it to 'reputation' that comes with vbulletin by default...

hrk 10-04-2008 05:40 AM

i cant get this working.

pls guide. when i click the send gift. it give me the permission errors. tks

DS MrSinister 10-04-2008 12:35 PM

sounds like you did not set the user permissions.. i would double check the each user group and make sure you have them set correctly.

hrk 10-05-2008 01:47 PM

Quote:

Originally Posted by DS MrSinister (Post 1637109)
sounds like you did not set the user permissions.. i would double check the each user group and make sure you have them set correctly.

thank you.:)

solboy 10-05-2008 11:49 PM

works great on vb 3.7.3. Only need a mass import feature now.

christian8a 10-07-2008 06:53 AM

Quote:

Originally Posted by solboy (Post 1638194)
works great on vb 3.7.3. Only need a mass import feature now.

Mass import is needed, hopefully soon we can get that done

Sweeks 10-07-2008 06:37 PM

How about an automatic gift from x member (probably admin) upon registration ;) keep this updated our members love it. Thank you very much!
________
Universal health warehouse

Forum Lover 10-07-2008 06:57 PM

Tagged at this moment and waiting most eagerly to see the update to lcik "Installed". :)

TNCclubman 10-07-2008 07:06 PM

Quote:

Originally Posted by solboy (Post 1638194)
works great on vb 3.7.3. Only need a mass import feature now.

mass import of what?

Sweeks 10-07-2008 11:13 PM

PHP Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
 
    
SELECT COUNT(*) 
    
FROM gifts AS gifts 
    WHERE recipientid 
=;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number  
1064
Request Date  
TuesdayOctober 7th 2008 07:06:47 PM
Error Date    
TuesdayOctober 7th 2008 07:06:47 PM 

Please help fix this. It is showing when a member clicks another page like next page.

Thank you if you can help me
________
T350

Sweeks 10-07-2008 11:23 PM

Ive turned off the system temporarily until the db error is able to be fixed. Please help. Thanks
________
VAPOR AIR ONE

christian8a 10-08-2008 02:49 AM

I havent seen that problem before, have you tried reinstalling it?

Sweeks 10-08-2008 08:09 AM

Well I am doing another install today. I used the code you gave someone for a plugin earlier in this thread so it may be that but I didnt think of that and removed the whole add on aswell as over 200 gifts :(

I am reinstalling now and I will let you know if we get the same errors at all.

Thank you
________
Fisting Pussy

crkgb 10-08-2008 10:29 AM

What is the difference between this mod and the $35 one?

dartho 10-08-2008 11:02 AM

a $35 discount ...

Sweeks 10-10-2008 01:50 PM

Working now perfectly, make sure you remove the plugin for the postbit or fix it as that caused the DB error.

Any chance in the future people can upload their own gifts? my members want this
________
Motorcycle tires

DS MrSinister 10-11-2008 02:04 AM

J12610AFE2D3

which product file did you install?

also do you have table prefix?

solboy 10-11-2008 02:28 AM

Quote:

Originally Posted by christian8a (Post 1639130)
Mass import is needed, hopefully soon we can get that done


Yeah or a feature where members can upload their own set of gifts. That would be good also.

solboy 10-11-2008 02:29 AM

Quote:

Originally Posted by TNCclubman (Post 1639665)
mass import of what?

Gifts into the system.

Sweeks 10-11-2008 04:31 PM

Quote:

Originally Posted by DS MrSinister (Post 1642394)
J12610AFE2D3

which product file did you install?

also do you have table prefix?

I used the original product file from the coder and no I dont have a table prefix :)

I think what was causing the problem was a plugin the coder wrote earlier in this thread for the postbit display of gift count.

What it was causing was for certain pages from threads to throw up a DB error. It didnt affect all of them only a few.
________
++++stube

christian8a 10-12-2008 11:22 AM

Quote:

Originally Posted by J12610AFE2D3 (Post 1642789)
I used the original product file from the coder and no I dont have a table prefix :)

I think what was causing the problem was a plugin the coder wrote earlier in this thread for the postbit display of gift count.

What it was causing was for certain pages from threads to throw up a DB error. It didnt affect all of them only a few.

Thats weird, I never had that problem :confused:

christian8a 10-12-2008 11:52 PM

Quote:

Originally Posted by crkgb (Post 1640162)
What is the difference between this mod and the $35 one?

Free for all the members on here and with a valid vbulletin license.

DS MrSinister 10-13-2008 01:20 AM

J12610AFE2D3

see if this one any better for you ...........

https://vborg.vbsupport.ru/showpost....&postcount=164

ShawneyJ 10-13-2008 01:28 AM

Excellent, would be great for more gifts but thanks ;)

7lanet 10-18-2008 08:42 PM

please add gifts in post

$post[gifts]

put the same blocks in Memberinfo

christian8a 10-21-2008 12:07 PM

Quote:

Originally Posted by 7lanet (Post 1647921)
please add gifts in post

$post[gifts]

put the same blocks in Memberinfo

what do you mean

christian8a 10-24-2008 11:40 AM

Quote:

Originally Posted by jaycob (Post 1643760)
Excellent, would be great for more gifts but thanks ;)

Yep, soon ;)

MissKalunji 10-24-2008 06:40 PM

the memberinfo block template has a link to your website when someone isn't logged in can i remove it?

Miknan 11-04-2008 02:17 PM

This is what I get when I try to send a gift or view gifts:

Quote:

Val, 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.
No problems to this point, great mod by the way! So how do I give permissions?

Cobra-J82 11-04-2008 08:41 PM

Table Prefix is Fixed
Permissions is given from the Usergroup admincp link
More gifts can be downloaded from facebook as .png which wil give better quality images muhaha
I purchaced this hack like 2 months ago I guess
Never had a problem
but make sure if you have diferent template to include the gifts in the template images folder.

If you have problem with the $postbit

---
You have to add a new plugin to display gifts on the postbit legacy...

Hook Location: showthread_postbit_create

Title: Gifts in Postbit Legacy

Execution Order: 5

Plugin PHP Code:

$num_gifts = $db->query_first("
SELECT COUNT(*)
FROM " . TABLE_PREFIX . "gifts AS gifts
WHERE recipientid = " . $post['userid']
,DBARRAY_NUM);
$post['gifts'] = $num_gifts[0];

Plugin is active: yes

Then on the postbit where you want to display it just put

(<a href="member.php?$session[sessionurl]u=$post[userid]">$post[gifts]</a>) gifts
---

Cheers Christian love ur work
hope you can create more of facebook stuff for vb


All times are GMT. The time now is 08:49 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.02220 seconds
  • Memory Usage 1,823KB
  • 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
  • (13)bbcode_quote_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
  • (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