![]() |
Quote:
|
Quote:
is there a way to show the gifts, each one on the postbit? can you give me a code i can make this happen please? i really need them to show on postbit_legacy thanks!!! |
Found a minor bug:
If PM inbox of the gift recipient is full the gift will fail, having looked at the code it seems that this was thought about but not implemented correctly: Original Code (gifts.php) Code:
// Force the PM through Code:
// Force the PM through EDIT 1: Also, although it would be great to show gift count in postbit the suggestion made is a really bad idea, especially if you have a busy forum. If you use this hack it will increase your SQL query calls dramatically as an additional query will be made for every member that has posted in a thread every time that thread page is displayed. EDIT 2: Just spotted that one of the templates is not being cached: Original Code (gifts.php): Code:
// pre-cache templates used by all actions Updated Code (gifts.php): Code:
// pre-cache templates used by all actions |
Thanks for the tips Mr Eyes! :D
Chris, you might want to adjust and reupload that gifts.php file for future folks using this mod. |
^ It won open the link when you click on My Gifts with that fix
|
Christian, which fix causes that? I just noticed that error message myself.
Is it the $do and $doit, one? Should we do the other fix for the cache though? |
Quote:
Which one of the two fixes? The template or the PM permissions? Also whats the error you see? EDIT 1: If it is the template fix it might be the comma that needs to be added after 'gifts_list_row_break'. Although I made it bold it wasn't immediately obvious it needed adding, so I have changed the post to mark the changes in red. |
Quote:
|
Yea now it worked fine.. What about that issue of the Postbit Gift count?
What do you mean, needs to be corrected or it will be an issue for busy forums? |
Chris, what do we have to do to upgrade? Just overwrite the gifts.php file?
|
All times are GMT. The time now is 01:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|