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)

xxalexkimxx 09-15-2008 11:11 PM

hahah can i have my money back lol? jk

EvilJohn 09-16-2008 03:54 AM

Quote:

Originally Posted by dartho (Post 1622601)
To fix this, open gifts.php in your forum root and search for
Code:

                $pm->set_recipients($recipient['username'], $do);
and replace with
Code:

                $pm->set_recipients(html_entity_decode($recipient['username']), $doit);

I also modified it an integrated with vbookie so members buy the gifts as opposed to just give them out for free. Probably easy to do this with any other cash system which has a column off the user table.


Thank you sir! Works perfect. :)

MissKalunji 09-16-2008 04:10 AM

Quote:

Originally Posted by dartho (Post 1622601)
To fix this, open gifts.php in your forum root and search for
Code:

                $pm->set_recipients($recipient['username'], $do);
and replace with
Code:

                $pm->set_recipients(html_entity_decode($recipient['username']), $doit);

I also modified it an integrated with vbookie so members buy the gifts as opposed to just give them out for free. Probably easy to do this with any other cash system which has a column off the user table.

may i ask how?

MissKalunji 09-16-2008 04:29 AM

Quote:

Originally Posted by simonhind (Post 1622509)
this does not work for 3.7.3, it messes with the tabs after you place the
$blocks[gifts] in

please can this be sorted out for this version this mod should otherwise be put ino the graveyard until it is sorted

If you want it in the "block" a simple plugin would do

Quote:

Originally Posted by christian8a (Post 1622554)
It should be put on top of the tabs man, somebody already said that. Is not intended to be inside the tabs anyway

you should perhaps edit your "instructions.txt" cause that's what it says.

EvilJohn 09-16-2008 05:36 AM

Quote:

Originally Posted by MissKalunji (Post 1623153)
If you want it in the "block" a simple plugin would do



you should perhaps edit your "instructions.txt" cause that's what it says.

You have to understand this mod was intended to be an add on.
See here:
https://vborg.vbsupport.ru/showthrea...ighlight=gifts

ssandgirls 09-16-2008 06:18 AM

The link for demo in the initial post has taken me to a car forum....

Where could I see a demo of this mod?

Many thanks

dartho 09-16-2008 08:13 AM

the car forum had a link in the opening block:

http://www.myls1.com/images/misc/icons/profile.gif Profile (Demo)

Click Demo to see ...

DS MrSinister 09-16-2008 01:56 PM

can someone else test this to see if i fix the problem of table prefix..

MissKalunji 09-16-2008 02:08 PM

Quote:

Originally Posted by EvilJohn (Post 1623173)
You have to understand this mod was intended to be an add on.
See here:
https://vborg.vbsupport.ru/showthrea...ighlight=gifts

oh i know :) i'm just saying adding the instruction IF you're not using the style that's all

Veer 09-16-2008 06:55 PM

Quote:

Originally Posted by DS MrSinister (Post 1623365)
can someone else test this to see if i fix the problem of table prefix..

Yes, its working fine with table prefix database.

Good Job buddy :)

Veer 09-16-2008 07:30 PM

Look at the screen shot bellow, its highlighting some areas of gifts page template, it should be fixed and more clean just like default vb templates, thanks.

Chadi 09-16-2008 09:40 PM

I'm not understanding the lack of changelog. How are we to know what the changes are on the new updates? Please consider proving changelogs.

TNCclubman 09-16-2008 10:57 PM

whats worse is I dont know if I downloaded the latest version... it always says gifts 1.0 but changes have been made and its been re-uploaded

christian8a 09-16-2008 11:07 PM

Quote:

Originally Posted by chadi (Post 1623676)
I'm not understanding the lack of changelog. How are we to know what the changes are on the new updates? Please consider proving changelogs.

When I update something you will know what I did, when somebody else adds something or helps fixing a problem please read what was it about or ask them, I dont support that man, sorry.

DS MrSinister 09-17-2008 12:07 AM

Quote:

Originally Posted by Pehchaan (Post 1623569)
Yes, its working fine with table prefix database.

Good Job buddy :)

Thanks!

apiasto 09-17-2008 12:13 AM

Quote:

Originally Posted by Pehchaan (Post 1623591)
Look at the screen shot bellow, its highlighting some areas of gifts page template, it should be fixed and more clean just like default vb templates, thanks.

you lucky atleast you got this much lol

DS MrSinister 09-17-2008 12:23 AM

Quote:

Originally Posted by apiasto (Post 1623786)
you lucky atleast you got this much lol


If you are using table prefix go here..

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

apiasto 09-17-2008 11:22 AM

Quote:

Originally Posted by DS MrSinister (Post 1623791)
If you are using table prefix go here..

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

it is working fine,thnx.you are the man:up:

Chadi 09-17-2008 04:38 PM

Quote:

Originally Posted by christian8a (Post 1623742)
When I update something you will know what I did, when somebody else adds something or helps fixing a problem please read what was it about or ask them, I dont support that man, sorry.

This does not make sense. How should I know what you did, or anyone here know for that matter? Even your version number has not changed at all. What's the big deal in providing a changelog like every other modder on this forum? I don't quite understand, but your choice.

TNCclubman 09-17-2008 07:53 PM

The universal way to let us know what you did would be to for example put "Gifts 1.01" right on top of the page...

Its said 1.00 since the begining and you've uploaded 'fixed' versions several times already...

Thats why I have no idea if I have the latest version downloaded or not...

DS MrSinister 09-17-2008 08:06 PM

Quote:

Originally Posted by apiasto (Post 1624030)
it is working fine,thnx.you are the man:up:

your very welcome....

TNCclubman 09-18-2008 03:49 AM

can we get this mod to display a block with 'new' gifts on everyone's profile when they log in when a new gift is created? Or some other way to let people know when a new gift is made? maybe a pm?

________________________________________

nevermind, I'll just get a sticky post made in the forum that I'll constantly update with a new post when a new gift is launched...

MissKalunji 09-18-2008 09:49 PM

Here's One Template that you are missing (when there is no gift in a category) i've added it. for those who care


gifts_add_no_gifts
Quote:

<td width="$width" class="alt1" align="center" valign="bottom">
<span><b>
There Is Currently no Gift In This Category
</b></span><br /></td>

Second There was about 5 templates uncached i dont remember each but here's the full list (so far) you can add the ones you are missing to the products.

Gifts Memberlist Cache
Quote:

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

Daisyboo 09-19-2008 08:39 PM

Quote:

Originally Posted by DS MrSinister (Post 1623791)
If you are using table prefix go here..

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

Thank you!! Works fine for me *yay*

DS MrSinister 09-19-2008 08:47 PM

Quote:

Originally Posted by Daisyboo (Post 1625888)
Thank you!! Works fine for me *yay*

Your Welcome!

carlosacgj 09-19-2008 10:06 PM

what change on this new vercion?

christian8a 09-19-2008 11:27 PM

Quote:

Originally Posted by carlosacgj (Post 1625926)
what change on this new vercion?

Only if you are using a Table Prefix, now you are able to install it. No major changes to it except for a fix.

Moyses 09-20-2008 01:47 AM

I have a question: (see the screenshot) how can I get that in my forums? :erm::confused: so this addon is not included? :erm: (I'm talking about postbits)

Daisyboo 09-20-2008 08:19 AM

How can I change the wording in the pm that members get?
Thanks :)

DS MrSinister 09-20-2008 12:13 PM

Quote:

Originally Posted by Daisyboo (Post 1626180)
How can I change the wording in the pm that members get?
Thanks :)

Need to edit the gifts_pm_template...

Daisyboo 09-20-2008 02:23 PM

Thank you!

RedeemedWarrior 09-21-2008 11:53 AM

Quote:

Fatal error: Cannot use object of type vB_DataManager_PM as array in ********/forums/includes/class_bbcode.php(344) : eval()'d code on line 29
only happens when trying to gift new members or non staff

Chadi 09-22-2008 12:40 PM

This mod is completely a waste of time to be honest.

No changelog - instead the author says

Quote:

Originally Posted by christian8a (Post 1623742)
When I update something you will know what I did, when somebody else adds something or helps fixing a problem please read what was it about or ask them, I dont support that man, sorry.

Absolutely amazing. Somehow, miraculously we'll know the changes.

Plugin still shows version 0.6 instead of 1.01

Impossible to import / add multiple images at once. Do you sit there adding one image at a time then?

Sorry, but its not worth the time.

With the author's lack of changelog and carefulness, this mod may do more damage than good in the long run.

MissKalunji 09-22-2008 03:12 PM

Quote:

Originally Posted by chadi (Post 1627705)
This mod is completely a waste of time to be honest.

No changelog - instead the author says



Absolutely amazing. Somehow, miraculously we'll know the changes.

Plugin still shows version 0.6 instead of 1.01

Impossible to import / add multiple images at once. Do you sit there adding one image at a time then?

Sorry, but its not worth the time.

With the author's lack of changelog and carefulness, this mod may do more damage than good in the long run.

He gave you a SAMPLE you make it what you want....test it out add whatever you want etc....a lot of mod don't come all prepared and ready...you can even hire people to add things that you want so i wouldn't call it a "waste" a time i rarely update mods cause i usually mod them so much that it's more work to upgrade then to leave it.

and if someone wants they can make a changelog themselves....and share it with others. He did mention in the FIRST thread what he changed along the versions

TNCclubman 09-22-2008 04:43 PM

This is hardly a waste of time. It really is amazing. I and all my members love it. Who cares if you upload 1 at a time. You only have to do it once, and the odd time when a new gift is added.

Keep up the great work Chris!

christian8a 09-22-2008 08:22 PM

Quote:

Originally Posted by chadi (Post 1627705)
This mod is completely a waste of time to be honest.

No changelog - instead the author says



Absolutely amazing. Somehow, miraculously we'll know the changes.

Plugin still shows version 0.6 instead of 1.01

Impossible to import / add multiple images at once. Do you sit there adding one image at a time then?

Sorry, but its not worth the time.

With the author's lack of changelog and carefulness, this mod may do more damage than good in the long run.


Then man, DONT USE IT !!!!! , simple, but dont come here and write crap about everything.


Quote:

Originally Posted by TNCclubman (Post 1627855)
This is hardly a waste of time. It really is amazing. I and all my members love it. Who cares if you upload 1 at a time. You only have to do it once, and the odd time when a new gift is added.

Keep up the great work Chris!

Thanx man, really appreciated.

TNCclubman 09-22-2008 08:40 PM

Dont worry about, I personally bought vbulletin last week just to get this mod and your facebook pro theme.

You my friend, are the man!

MissKalunji 09-22-2008 11:42 PM

Quote:

Originally Posted by christian8a (Post 1627998)
Then man, DONT USE IT !!!!! , simple, but dont come here and write crap about everything.




Thanx man, really appreciated.

oh and thank you as well

speaking do you have any idea how to show the amount of gifts in postbit?

christian8a 09-23-2008 01:26 AM

Quote:

Originally Posted by MissKalunji (Post 1628093)
oh and thank you as well

speaking do you have any idea how to show the amount of gifts in postbit?

Yea man, add new plugin

Hook Location: showthread_postbit_create
Title: Gifts in Postbit Legacy
Execution Order: 5
Plugin PHP Code:
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

inciarco 09-23-2008 01:56 AM

This Mod is a Great Gift, Thank You Very Much for Sharing it. :up::up:

My Best Regards.

:)


All times are GMT. The time now is 09:48 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.01736 seconds
  • Memory Usage 1,847KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (27)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