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)

solboy 12-21-2008 04:04 PM

Can you tell me what is causing this error message being sent to me from my forum?

Quote:

SELECT COUNT(*) FROM gifts AS gifts WHERE recipientid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Request Date : Sunday, December 21st 2008 @ 01:00:39 PM
Error Date : Sunday, December 21st 2008 @ 01:00:39 PM
Script : http://mywebsite.com/showthread.php?p=304327
Referrer :
IP Address : **.**.**.***
Username : Unregistered
Classname : vB_Database
MySQL Version :

MissKalunji 12-22-2008 03:56 PM

i wonder the same thing

rob01 12-24-2008 10:20 PM

for all users of this mod you should do this

first open - Gifts Memberlist Cache (inside your plugin section)

and add this: $globaltemplates[] = 'gifts_list_member_nogifts';

so it should look like this :

$globaltemplates[] = 'memberinfo_block_gifts';
$globaltemplates[] = 'gifts_list_row_start';
$globaltemplates[] = 'gifts_members_list_bit';
$globaltemplates[] = 'gifts_list_row_break';
$globaltemplates[] = 'gifts_list_member_nogifts';

GlamRockTalk 12-25-2008 01:51 AM

rob01,

Any particular reason we have to add this line? What does it do? Remember, you're dealing with some beginners here in some cases :)

MissKalunji 12-25-2008 09:02 PM

it will cache it which means less queries and less wasted server loads

GlamRockTalk 12-26-2008 03:42 AM

Thanks rob01 and MissKalunji :D

amish_irish 01-02-2009 03:25 PM

Quote:

Originally Posted by solboy (Post 1690418)
Can you tell me what is causing this error message being sent to me from my forum?

I am getting the same error. Would love a fix. It seems that it isn't passing the userID to the query

edytwinky 01-05-2009 02:16 PM

Is there any plan to modify this to work with vbucks or icash or some points mod?

TNCclubman 01-08-2009 08:05 PM

Will this gifts mod work on vB 3.8?

acast 01-10-2009 04:32 AM

Hi friends, i am working in 3.6.6, the product works perfect, its great, but i have one problem. I dont have this code in my memberinfo:

<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>

So if i only put this:
$blocks[gifts]

I cant see anything in the member profile, also if i put all the code. Anybody knows what i have to put in my memberinfo template to see the gifts in member profiles?

Thanks if anybody can help me.


All times are GMT. The time now is 11:02 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.01260 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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