The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MyLs1 Gifts ( Send gifts or drinks! ) Details »» | |||||||||||||||||||||||||||
MyLs1 Gifts ( Send gifts or drinks! )
Developer Last Online: Nov 2023
MyLs1.com Gifts ( Facebook Style )
This is a product that will allow members to send gifts to each other, The way Facebook does This 1.0.2 Update just replace the gift.php file on the root directory. This product was for sale before but now is finally released for free. Brought to you by Myls1.com :up: - MyLs1 Gifts Version 1.0.2 Demo Corvette Site: http://www.eicorvette.com Chevrolet corvette forums, ZR1, Stingray, C6, Z06, C5, C4, C3, C2, C1 - photos and more! - All the credit goes to Cole2026 he is the designer/coder of this product. Very recomended person to work with :up: - Special thanx to DS MrSinister for fixing the Table Prefix Issue. #################### INSTALL #################### 1- Upload files to their respective folders: admincp / gifts.php images / gifts includes / xml / bitfield_gifts cpnav_gifts root directory / gifts.php 2- Import product: MyLs1_Gifts.xml 3- Memberinfo Template edit, find: <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> Add this before the <div id="profile_tabs">: $blocks[gifts] So it will look like this--> $blocks[gifts] <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> 4- Style manager: Add this to Additional CSS Definitions .explanation { background-color:#FFFFCC; padding:3px; } #################### HOW TO USE #################### --- How to set --- Set your settings on the admin cp Add gifts as follows: example: - Name of the gift: Beer - Description of gift: Budweiser - Choose category: drinks - enter url ( images / gifts / drinks / budweiser.gif ) Provided are 2 folders, one for drinks and one for love There are few drinks in a .gif format and some roses in a .gif format, but you will have to add your own gifts / icons --- /How to set --- --- How to use --- On the members profile there will be the block called gifts There are 2 links, Give a gift and View all. When they click on Give a gift, it will take them to a page where the categories are. Click on the categorie, check the gift to send, add messages and Give. --- /How to use --- Instructions provided on zip file. The following is extra: #################### GIFT COUNT ON POSTBIT #################### To display gifts count on postbit's: Add new plugin Hook Location: showthread_postbit_create Title: Gifts in Postbit Legacy Execution Order: 5 Plugin PHP Code: PHP Code:
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 #################### /GIFT COUNT ON POSTBIT #################### Enjoy! Show Your Support
|
Comments |
#292
|
|||
|
|||
I put the code of the GIFTS template in the member info template and now i see the tables there, but the code is not connected with the id of the user. If anybody can help me, please...
EDIT: Could be the problem that i have in vplaza another gifts?? |
#293
|
||||
|
||||
Sorry man, I dont know how will it work on any version prior to 3.7.x There should be a way though but I dont know how
|
#294
|
|||
|
|||
Quote:
I put a cap of my problem: As you can see in the second one is incomplete. I cant connect there the user id with the data. I put another code in a link on postbit and it worked, but there i cant do it. Here is the code that i put in member info: Code:
$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $userinfo[username]'s Gifts</title> </head> <body> <table class="alt1" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder alt1"> <thead> <tr> <td class="tcat" colspan="$vboptions[gifts_perrow]">$username's $vbphrase[gifts]</td> </tr> <if condition="$userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->bf_ugp_forumpermissions['canpostnew']"> <tr> <td class="alt2 smallfont" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send gift to $username</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a> </tr> <else /> <tr> <td class="alt2 smallfont" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send yourself a gift</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a></td> </tr> </if> </thead> <tbody> <tr><td colspan="4" class="tborder" style="padding:1px"></td></tr> $gifts_bit <tr><td colspan="4" class="tborder" style="padding:1px"></td></tr> <if condition="$userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->bf_ugp_forumpermissions['canpostnew']"> <tr> <td class="alt2 smallfont" align="right" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send gift to $username</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a> </tr> <else /> <tr> <td class="alt2 smallfont" align="right" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send yourself a gift</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a></td> </tr> </if> <tr><td colspan="4" class="tborder" style="padding:1px"></td></tr> </tbody> </table> <if condition="$page_navigation"><div style="margin-top:4px">$page_navigation</div></if> <br /> <if condition="$userinfo[userid] == $vbulletin->userinfo[userid]"> <form action="gifts.php" method="get"> <table cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" class="tborder" border="0" width="100%"> <thead> <tr> <td class="tcat" colspan="4">Display Options</td> </tr> </thead> <tbody> <tr> <td class="alt1"> <div class="smallfont"> Sort By: <select name="sort"> <option value="sender"<if condition="$sort=='sender'"> select="selected"</if>>Giver</option> <option value="dateline"<if condition="$sort=='dateline'"> selected="selected"</if>>Date/Time</option> <option value="catid"<if condition="$sort=='catid'"> selected="selected"</if>>Category</option> </select> </div> </td> <td colspan="2" rowspan="2"class="alt1"><div class="smallfont">Amount of Items Perpage: <input type="text" class="bginput" name="pp" size="6" value="$perpage" /></div></td> <td rowspan="2" class="alt1"><input type="submit" value="Show Media" class="button" /></td> </tr> <tr> <td class="alt1"> <div class="smallfont"> Sort Order: <select name="order"> <option value="ASC" <if condition="$order=='ASC'"> selected="selected"</if>>Ascending</option> <option value="DESC"<if condition="$order=='DESC'"> selected="selected"</if>>Descending</option> </select> </div> </td> </tr> </table> </form> </if> </body> </html> |
#295
|
|||
|
|||
Another important question:
Is any form to integrate this with a cash system or to put a limit of gifts? Because users can make flood if arent limits... |
#296
|
|||
|
|||
I'm getting this code in PM's!
Quote:
|
#297
|
|||
|
|||
Hi, christian8a,
When it will be updated for vB 3.8, any plan? |
#298
|
||||
|
||||
It works fine on 3.8.x no bugs reported but Im still waiting for the coder to get this updated.
|
#299
|
||||
|
||||
Anyone try sending a gift to someone that has 'no private messages' set in their options?
I thought it crashed my server... |
#300
|
|||
|
|||
Hello Christain,
THank you for this mode. I'm a newbie and I'm pretty sure I did everything right but I cannot get the followiing to show up in my ACP? Can someone help? Thank so much Gabby Set your settings on the admin cp Add gifts as follows: example: - Name of the gift: Beer - Description of gift: Budweiser - Choose category: drinks - enter url ( images / gifts / drinks / budweiser.gif ) |
#301
|
|||
|
|||
Can anyone help me with this? Thanks so much
Gabby |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|