PDA

View Full Version : Add-On Releases - Cute PostMan Notification Mod


YankForum
07-22-2012, 10:00 PM
Hello
This is my secind mod in here , hope you like it. I was doing it for myself but i thought maybe it's a use to all of you guys too.

Note: I dont have vbulletin 4 , but i changed the code according to vb4 manual , hope it works , if not just let me know and i will fix it , i need your feedback at this point .

1
What this hack do ?
when a private message is received or a visitor message or a friend request or a social group invitation a cute and kind post man comes to the screen and informs the user , with a link to the section he must visit.

1
Installation Guide :

1- upload "new-mail-notification.gif" to your forum/images/misc/ folder
2- Import the product

DONE

additionally you can turn this hack ON/OFF and disable copyright (not recommended) in vbulletin options page.
1
Version History & Updates
Release 1.0: first release while tested on 3.8.4 perfectly
Release 1.1: small bug FIXED
Release 1.2: mod name in settinggroup was blank. FIXED

1

https://vborg.vbsupport.ru/attachment.php?attachmentid=140050&stc=1&d=1343082384

https://vborg.vbsupport.ru/attachment.php?attachmentid=140051&stc=1&d=1343082384

1

Note: you can edit the look of postman or do whatever you want to it , by editing template 'postman' in your templates.

faisaly.com
07-23-2012, 10:27 PM
not working...

YankForum
07-23-2012, 10:33 PM
ok i will download a vb4 package and test it , then i come back

ProFifaLeagues
07-23-2012, 10:34 PM
Installed all Fine shows in Admin cp on 4.2 latest patch level but nothing on getting Pms.Hope that helps m8

faisaly.com
07-23-2012, 10:40 PM
using vb4.2.0 pl2 the image does not appear on the forum when a new pm is sent(unread) using vb4.2.0 the settings/options for the .xml shows in options and is clickable... so basically the image isn't showing on the forum until the code is fixed...

YankForum
07-24-2012, 01:04 AM
tnx Faisaly and ProfifaLeagues for bug reporting. had a small incompatibility with vb4 and FIXED.
tested on vb4.2.0 , worked fine.

orangegold
07-24-2012, 01:27 AM
This is a really cute idea :)

rated 5 stars!

faisaly.com
07-24-2012, 01:53 AM
yes nice it is working now but i cant see the title of the mod in options, Shows only a blank space but I can click the blank space and see the options... strange!

New Joe
07-24-2012, 02:02 AM
yes nice it is working now but i cant see the title of the mod in options, Shows only a blank space but I can click the blank space and see the options... strange!

Same here

New Joe
07-24-2012, 02:08 AM
Also, the image is in the right hand corner, but it doesn't show fully, anyway to bring it more in vision , it need lifting up more to the left.

faisaly.com
07-24-2012, 02:33 AM
New Joe you can edit the image or use a different image and edit the position of the image however you want...

I will attach an example image...

Reycer
07-24-2012, 02:54 AM
Received this when installed. Error went away after uninstall

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1419) : eval()'d code on line 140

faisaly.com
07-24-2012, 03:04 AM
No errors here, might be conflicting with another mod you have installed... try the mod alone by itself with the other mods off...

abdobasha2004
07-24-2012, 04:01 AM
nice ...... :)

YankForum
07-24-2012, 07:12 AM
yes nice it is working now but i cant see the title of the mod in options, Shows only a blank space but I can click the blank space and see the options... strange!

haha small problem , forgot to define the name FIXED in version 1.2
tnx for reporting

YankForum
07-24-2012, 07:15 AM
Also, the image is in the right hand corner, but it doesn't show fully, anyway to bring it more in vision , it need lifting up more to the left.

edit template 'postman' and change the css according to your taste (change right: Xpx;bottom:Ypx;)

YankForum
07-24-2012, 07:17 AM
Received this when installed. Error went away after uninstall

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1419) : eval()'d code on line 140

weird as there is no array_merge in version 1.2 anymore

qpurser
07-24-2012, 09:36 AM
Thanks.
Nice job. Works now.

Just a couple thoughts:
Probably will have to change the image to a transparent gif as we all have different color for our forums and the white background doesn't work for everybody.

After importing (and overwriting the old one) the new XML I have now 2 postman settings under options in my adminCP.

YankForum
07-24-2012, 09:51 AM
Thanks.
Nice job. Works now.

Just a couple thoughts:
Probably will have to change the image to a transparent gif as we all have different color for our forums and the white background doesn't work for everybody.

After importing (and overwriting the old one) the new XML I have now 2 postman settings under options in my adminCP.

this forum regenerated the postman image , i attached it as zip file , the image is having transparent background
and about that duplication just uninstall and then install it again . hope the duplication goes away for you.

qpurser
07-24-2012, 10:10 AM
this forum regenerated the postman image , i attached it as zip file , the image is having transparent background
and about that duplication just uninstall and then install it again . hope the duplication goes away for you.

Thanks.
That worked. Just had to uninstall the old version.

Mr_Running
07-24-2012, 10:47 AM
edit template 'postman' and change the css according to your taste (change right: Xpx;bottom:Ypx;)

Current: Negative
position:fixed;bottom:-40px;z-index

Recommend Default be changed: Positive
position:fixed;bottom: 40px;z-index

YankForum
07-24-2012, 11:36 AM
glad to hear it worked finally qpuser , Tnx for all your great feed back
Mr_Running I just wanted to hide postman's shoes off the screen but you are free to change it to whatever you like to match your needs and interests.

also please click install if you liked it so others can find out about this mod too. this way you show me your support and encourage me for future addons PLUS you'll notified instantly for new updates

LgsOfChampions
07-25-2012, 04:52 PM
Love the idea...**Installed**

I know ppl can do this and I also know I can't, however maybe in the next update if there is one have a bubble come out of his mouth and says "You've Got Mail!"

only reason I suggest this is cause some ppl like noobies etc. won't know what the heck that is lol. my 2 cents

faisaly.com
07-25-2012, 05:54 PM
Find a .gif image that does that and go with it...

YankForum
07-25-2012, 06:18 PM
it's all possible as faisal said you can edit template postman and make any changes you want. but in original mod i wanted it to be small , if i put a bubble text then it takes lots of space and it might be annoying for some users. plus if the noob user drags mous over the image he will see the popup text.

zakonline
07-31-2012, 07:48 AM
Works Perfect!!! Thanks :) .. This is So cute...

Justinphx
07-31-2012, 09:28 AM
Works just fine on 4.1.12. My member love it and even started a post on it to come up for a name for him. It is an excellent way for members to know they have a PM that is friendly.

wildheart
07-31-2012, 10:59 AM
Love it thanks a lot.

I would just like to know how I can change the time that the pic stays on the screen? It stays even after I have clicked on several pages. Thanks.

YankForum
07-31-2012, 12:26 PM
Love it thanks a lot.

I would just like to know how I can change the time that the pic stays on the screen? It stays even after I have clicked on several pages. Thanks.

the pat postman keeps asking you to check your unread messages ( or visitore messgaes , friend rquests . . . ) untill you check all of them . he's a responsible post man , you can't ignore him

YOODA230
07-31-2012, 02:40 PM
Nice One Thanx

Poppet
08-02-2012, 12:22 AM
Works a treat, think it's great :)

Big Engine
08-15-2012, 07:59 PM
My posters like it, thanks.

justicechick
12-10-2012, 10:36 PM
<i>Absolutely love it. Works great in 4.2</i>

smirkley
12-11-2012, 01:42 AM
In the middle of some major upgrades so not installing yet,....but,...

I ABSALUTELY COMMEND THE AUTHOR for a PROPER way to include their copyright notice.
Such a nice breath of fresh air to not see the footer loaded up with all kinds of mandentory links and credits if it is the users choice not to. Kudos to you!!
(when I get a chance I will try it and if I like it like everyone else, will most certainly donate)

dizzynation
01-25-2013, 07:58 PM
Works great on 4.2 pl3

tanzeelniazi
02-19-2013, 02:00 PM
Working Perfect Thanks man

addamroy
02-20-2013, 01:33 AM
Pretty awesome! Just waiting anxiously for my members to post a thread about him...

Ba'al
02-20-2013, 06:44 PM
The members at our Forum love this, they weren't to keen on the postman, they thought he looked something like some kids show so we made our own and replaced the original.

Here is what ours looks like.
https://vborg.vbsupport.ru/external/2013/03/45.png

Jester1423
02-20-2013, 07:32 PM
Its been a huge hit on our site as well. I changed the image but the rest of the Mod works great. Thanks!!!!

Morrus
03-08-2013, 09:23 PM
I ABSALUTELY COMMEND THE AUTHOR for a PROPER way to include their copyright notice.

I looked up irony in a dictionary. It showed me a picture of a mod designer requiring copyright notices on his products which use the BBC's images.

YankForum
03-08-2013, 09:47 PM
The members at our Forum love this, they weren't to keen on the postman, they thought he looked something like some kids show so we made our own and replaced the original.

Here is what ours looks like.
https://vborg.vbsupport.ru/external/2013/03/45.png

would you please share this cute image you got instead of our regular postman ?
i appreciate if its posssible and if it's not copyright protected
or at least give me a hint how to look for this on google
tnx

Jpolola
04-13-2013, 11:35 AM
Installed at vb 4.2.0 PL3 Thank you

thang28101993
04-13-2013, 02:17 PM
Perfect work! Thanks so much!

Draffi
04-19-2013, 08:47 PM
Good Work!!!

I have vbAdvanced installed, but it doesn`t show up on the starting-page (index.php), only on the forum-page (forum.php).

Have somebody an idea?

Thank you in advance!

Chadi
04-19-2013, 08:52 PM
Cool mod, where can I get characters like these though?

MaxSof
04-19-2013, 10:54 PM
Thank you!!! vb 4.2.0 PL2

Draffi
04-24-2013, 06:57 AM
BUMP:

Good Work!!!

I have vbAdvanced installed, but it doesn`t show up on the starting-page (index.php), only on the forum-page (forum.php).

Have somebody an idea?

Thank you in advance!

Jester1423
08-14-2013, 04:09 PM
I have a question. I am running this mod https://vborg.vbsupport.ru/showthread.php?t=241301

So that my Moderators will know that there are post that need attention. Is there anyway to add the postman again so they also know that a post needs moderation?

Jester1423
08-14-2013, 05:45 PM
I came up with this but doesn't seem to work

</div></a>
<else />
<if condition="$bbuserinfo[moderated]">
<a href="moderation.php" >
<div style="display:scroll;position:fixed;bottom:-14px;z-index: 100;right:-7px;" title="$vbphrase[posts_awaiting_moderation]" alt="$vbphrase[posts_awaiting_moderation]">
<img src="images/misc/finger.jpg" />
</if>

Yunus DOGU
11-07-2013, 06:41 AM
nice plugin thank you!

Mastermaik
11-11-2013, 08:00 PM
Hi,
i am sorry, does not work for me with vB 4.2.1 Patch 1.... :(

franzes80
11-11-2013, 08:50 PM
work on vb 4.2.2 thank you

bosanci28
11-11-2013, 09:08 PM
Works in 4.2.1
Thanks

Harpo
11-12-2013, 09:45 AM
Installed nice. on 4.2.2

Stratis
03-13-2016, 10:00 AM
copyright of this mod shows one of the two links to porno site
$footer .= "<span class='shade footer_copyright' align='center' style='visibility:hidden;margin-top:-20px;'><a href='http://eckip.com/v/' target='blank'>Cultural Forum</a> | <a href=http://malist.org/ target=blank>Study at Malaysian University</a></span>";

What is legal or not, to delete copyright or including porno site.

In Omnibus
03-13-2016, 11:44 AM
copyright of this mod shows one of the two links to porno site
$footer .= "<span class='shade footer_copyright' align='center' style='visibility:hidden;margin-top:-20px;'><a href='http://eckip.com/v/' target='blank'>Cultural Forum</a> | <a href=http://malist.org/ target=blank>Study at Malaysian University</a></span>";

What is legal or not, to delete copyright or including porno site.

It's legal to remove as the link is not the source of the add-on.

Stratis
03-13-2016, 12:21 PM
Sorry, it was not a question (?) but I am angry when I see things like that.
It is included in the plugin though. (malist.org)

Thanks for the answer.

Stratis
12-28-2017, 12:30 PM
I come back for this mod after those years. I had this mod disable except one plugin because when I uninstalled it I had problem with the login. Today I will try to find a solution if some one can help me. Here some info:


1) When uninstall or disable or put it in Off condition from settings I get this error:
Invalid SQL:
SELECT COUNT(*) AS num
FROM moderation AS moderation
INNER JOIN post AS post ON (moderation.primaryid = post.postid)
INNER JOIN thread AS thread ON (post.threadid = thread.threadid)
WHERE type = 'reply' AND forumid IN ( );
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5
Error Number : 1064
Script : http://MYFORUM/login.php?do=login
Referrer : https://MYFORUM/forum.php
Classname : vB_Database_MySQLi
This error comes up when some one goes to login.
https://MYFORUM/login.php?do=login
I found that from five plugins of the module when I disable this one makes the error.
Plugin name: "PostMan Notification" with Hook "global_start"
if ($vbulletin->options['postman_enable'])
{

$templater = vB_Template::create('postman');
$templater->register('vsa_regtime', $vsa_regtime);
$vsa_att_zeroposters = $templater->render();

$ad_location['global_below_navbar'] .= $vsa_att_zeroposters;
}
Any help what I can I do so not get error when uninstalling it? Thanks in advanced.


P.S If I install modification again and it is active there is no problem.


EDIT: It conflict with this mod
https://vborg.vbsupport.ru/showthread.php?t=241301
Did not find solution yet