The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
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 |
#82
|
||||
|
||||
![]()
I really hope a new version to fix these bug and enhance this modification more would come out , it is really nice mod if it get enhanced :3
|
#83
|
|||
|
|||
![]()
Great mod, my suggestion is adding a feature that allows users to use image link, not images in categories, to send as a gift
Thanks |
#84
|
||||
|
||||
![]() Quote:
Go to upload/includes/xml/bitfield_gifts and cpnav_gifts Change this line in both documents. <navgroups product="MYLs1_gifts"> to <navgroups product="myls1_gifts"> Then over write via FTP. When I did this all worked fine. (Me waits on gift) LOL Edit: Thanks for this mod BTW. How can I disable the "Send yourself a gift" |
#85
|
|||
|
|||
![]() Quote:
![]() I have also come across an interesting feature: When I add "$blocks[gifts]" to the MEMBERINFO template the profile tabs are broken and do not display |
#86
|
||||
|
||||
![]()
This works the best! It does not break this way!
Code:
</div> $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> |
#87
|
|||
|
|||
![]()
Have mine working with my custom profile layout!
|
#88
|
||||
|
||||
![]()
any idea any one if it will be fixed to work with table prefix
|
#89
|
||||
|
||||
![]()
EvilJohn thanx for helping other members :up: and glad that you got it working fine.
I dont know when we will be able to fix the table prefix, hopefully soon. To disable the send yourself a gift just edit the gifts template on the memberinfo templates menu. Look for the letters send yourself a gift and delete them witht he url that is wrapping them. |
#90
|
|||
|
|||
![]()
last problem i can't figure out.
List of Gifts admin side will show this error Code:
Database error in vBulletin 3.7.3: Invalid SQL: SELECT gift_type.gifttypeid, gift_type.title, gift_type.description, gift_type.image, gift_type.active, gift_type.categoryid, gift_categories.title AS categorytitle FROM prefix_gift_type LEFT JOIN prefix_gift_categories AS gift_categories ON gift_type.categoryid = gift_categories.categoryid ORDER BY categoryid DESC; MySQL Error : Unknown column 'gift_type.gifttypeid' in 'field list' Error Number : 1054 |
#91
|
||||
|
||||
![]() Quote:
Thanks! ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|