Jump to content
×
×
  • Create New...

5 Screenshots

About This File

Gifts addon modified for 3.5. 

No need any edits on the code. Just upload gifts folder in /addons folder and install it.

Enjoy!

Big thanks to Boomcoding for his help.


What's New in Version 02/24/21 01:35 PM   See changelog

Released

Edited file; (1) : gifts/files/gifts.php

Added: 

appAvMenu('roomstaff', 'gift gifts_icon', 'Send gift', 'loadGiftPanelSuccessfully(this);');

Fixed a bug with users who are moderators or room administrators who cannot send gifts.
You can only replace one file that is located in gifts/files/gifts.php

  • Like 9
  • Thanks 6

User Feedback

Recommended Comments

It didn't work for me, I installed the plugin, but I can't access its settings from the panel and also in the chat the plugin appears but it doesn't work

Link to comment
Share on other sites
  • OWNER
2 hours ago, al-satifi said:

It didn't work for me, I installed the plugin, but I can't access its settings from the panel and also in the chat the plugin appears but it doesn't work

Hi, i will check it what is wrong.

  • Thanks 1
Link to comment
Share on other sites
  • OWNER

Problem is that you have code that use same function name as mine. So gift call error. 

in php you cannot have 2 function same name it do not overwrite like js. 

  • Thanks 1
Link to comment
Share on other sites

Hello Sir Brannik, I had a problem, just installing it. The page layout has changed and all features have disappeared except for the blank page as shown in the image
 

تنزيل (3).png

Link to comment
Share on other sites
  • OWNER
1 hour ago, MOD said:

Hello Sir Brannik, I had a problem, just installing it. The page layout has changed and all features have disappeared except for the blank page as shown in the image
 

تنزيل (3).png

Check your functuon_2.php file in system folder for this. If you found same function - remove it.

function giftContent($gift, $from, $to) {
	$content = '<font color="green"><font color="red"><b>' . $from . '</font></b> send ' . $gift . ' on <font color="red"><b>' . $to . '</b></font>!</font>';
	return $content;
}
Link to comment
Share on other sites
1 hour ago, Brayan Plaza said:

Thank you very much and can I suggest a slider to go up and down to see all of the gifts? Apparently the last gifts on the list do not appear complete

 

Screenshot_1.png

and I have translated the gifts into Spanish but they still appear in English 

Screenshot_2.png

Edited by Brayan Plaza
Link to comment
Share on other sites
  • OWNER
On 10/27/2020 at 5:53 AM, Brayan Plaza said:

and I have translated the gifts into Spanish but they still appear in English 

Screenshot_2.png

Edit in addons/gifts/system/addons_function.php

Link to comment
Share on other sites

I told you about this error earlier and it still removes the same error plus another small error

 

screenshot-t-bye.net-2020.11.23-21_54_00.png

screenshot-t-bye.net-2020_11.23-21_54_00.png.803ca66bdefff1f5783b82e21fb9c7b4.png

screenshot-t-bye.net-2020.11.23-21_56_53.png

Edited by MOD
Link to comment
Share on other sites
  • OWNER
29 minutes ago, MOD said:

I told you about this error earlier and it still removes the same error plus another small error

 

screenshot-t-bye.net-2020.11.23-21_54_00.png

screenshot-t-bye.net-2020_11.23-21_54_00.png.803ca66bdefff1f5783b82e21fb9c7b4.png

screenshot-t-bye.net-2020.11.23-21_56_53.png

This error is not from my code, so check with yourself. Also this is only for 3.5-3.6

Link to comment
Share on other sites
On 11/23/2020 at 10:26 PM, brannik said:

This error is not from my code, so check with yourself. Also this is only for 3.5-3.

 Yes, it is true. The cause of the problem is the version of the chat that is working now after upgrading to 3.6

Link to comment
Share on other sites

I found a bit of a weird glitch. I am using the PM only version.

When a user is elevated to room mod, admin or owner (boom levels 4, 5, 6), they can only PM a gift to an owner (11), admin (10/9) or mod (8) while they are in the room they are modding. Once they go back to User or VIP (1 or 2) in another room, everything goes back to normal. I can't seem to see the part of the code that controls this or determine what variable controls.

Edited by NYStallion
Link to comment
Share on other sites
  • OWNER
On 2/4/2021 at 4:18 PM, NYStallion said:

I found a bit of a weird glitch. I am using the PM only version.

When a user is elevated to room mod, admin or owner (boom levels 4, 5, 6), they can only PM a gift to an owner (11), admin (10/9) or mod (8) while they are in the room they are modding. Once they go back to User or VIP (1 or 2) in another room, everything goes back to normal. I can't seem to see the part of the code that controls this or determine what variable controls.

HI,

room level have nothing to do with system level.

Link to comment
Share on other sites

I don't know the variable used in your addon, just the result. If you are a room mod and modding in the room, you can not send the gift to user or VIP. If you are outside of the room, you can. It's likely just a math calculation. Room mod, admin, owner do get a 4, 5,6 level via the "user role" when they enter the room they are modding. I am not sure how that plays into the "user_rank" variable, but it elevates them somehow when they enter a room. That's likely what is causing the glitch.

Link to comment
Share on other sites
37 minutes ago, NYStallion said:

I don't know the variable used in your addon, just the result. If you are a room mod and modding in the room, you can not send the gift to user or VIP. If you are outside of the room, you can. It's likely just a math calculation. Room mod, admin, owner do get a 4, 5,6 level via the "user role" when they enter the room they are modding. I am not sure how that plays into the "user_rank" variable, but it elevates them somehow when they enter a room. That's likely what is causing the glitch.

here is the fix for that :

imagen.png

Link to comment
Share on other sites
10 minutes ago, BlackCorsair said:

here is the fix for that :

imagen.png

Thank you BlackCorsair. That worked perfectly, as always!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Important Information

Terms of Use