PDA

View Full Version : Private Messages Enhancements - [OzzModz] vBulletin.org Type New Private Message Identifier


ozzy47
11-05-2014, 10:00 PM
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png

This mod will allow you to show a flashing pm icon in the header, if your users have a new pm.

It is a simple installation, upload the contents of the UPLOAD folder then import the product XML, ozzmodz_newpm_notice

You can edit the options under the settings, [OzzModz] vBulletin.org Type New Private Message Identifier Settings

Complete Feature List
Option to disable the mod completely.
Option to display it before the welcome link, or after the username.Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. Some admins might like to have this to help users see when they have a new PM.

Q. There is other mods that do this, why release this one?

A. Because this one requires no template edits, just install and it is ready to go.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.0.0 (November 5, 2014)
- Initial public release.
v1.1.0 (November 14, 2014)
- Added options to display it before the welcome link, or after the username.

ozzy47
11-06-2014, 12:37 AM
Reserved.

Max Taxable
11-06-2014, 12:53 AM
Gots.

ozzy47
11-06-2014, 01:22 AM
Glad you like it, and thanks for marking as installed. :)

Marcin1
11-06-2014, 03:40 AM
Marked as installed!

ozzy47
11-06-2014, 03:43 AM
Thanks for marking as installed. :)

ForceHSS
11-06-2014, 04:08 AM
You make good mods ozzy and you love making them. I have something like this already only reason I am not installing it

john7911
11-06-2014, 05:34 AM
Thank you very much ozzy47 ;)

ozzy47
11-06-2014, 09:25 AM
You make good mods ozzy and you love making them. I have something like this already only reason I am not installing it

Thanks, is yours a template edit way?

ozzy47
11-06-2014, 09:25 AM
Thank you very much ozzy47 ;)

Not a problem, glad you like it, and thanks for marking as installed. :)

MARCO1
11-06-2014, 10:55 AM
If you are going to convert a template edit modification to an automated template editing plugin you've to ask the original author of the modification FIRST before copying all/part of it's codes.

Personally I don't have any problem if you asked me before publishing your mod, You're vBulletin.org Advisor so you're the first person who should be bound by your forum rules !!!

https://vborg.vbsupport.ru/showthread.php?p=2521542#post2521542

This modification may not be copied, reproduced or published elsewhere without author's permission.

ozzy47
11-06-2014, 10:57 AM
I did not copy any parts of the code, in your mod or any other mod. :)

MARCO1
11-06-2014, 11:23 AM
I did not copy any parts of the code, in your mod or any other mod. :)

You did NOT ? Anyway as I already told you I don't have such a problem of using some of my modifications codes, However if anyone looking to use some of my codes he needs to contact me first.

ozzy47
11-06-2014, 11:27 AM
Ok, well here is some info for you:

Permission to use image:
https://vborg.vbsupport.ru/showthread.php?t=158112

Some threads that were around before your mod:
https://vborg.vbsupport.ru/showthread.php?t=161571
https://vborg.vbsupport.ru/showthread.php?t=142948
https://vborg.vbsupport.ru/showthread.php?t=75103

And if I was to have used your code, it is reusable anyway, so I would not need permission:
https://web.archive.org/web/20090204200839/http://vbulletin.org/forum/showthread.php?t=201339

I can appreciate you wanting to protect your mods/code, but you better make sure you know what you are talking about before you accuse someone of stealing your code. :)

ForceHSS
11-06-2014, 08:04 PM
Thanks, is yours a template edit way?
plugin from dbtech does something like this

ozzy47
11-06-2014, 08:06 PM
Ahhh, yeah I did add something similar in that mod when I coded it.

Firyou
11-06-2014, 08:39 PM
Another ozzy mod to add, nice one!

ozzy47
11-06-2014, 10:16 PM
Glad you like it, and thanks for marking as installed. :)

CAG CheechDogg
11-07-2014, 04:09 AM
Nice one Ozzy !!!

ozzy47
11-07-2014, 09:53 AM
Thanks. :)

goxy63
11-08-2014, 06:27 AM
this is cool, installed nominated and rated :)

only thing I would suggest is that icon is next to notification, after nick name

ozzy47
11-08-2014, 10:41 AM
Glad you like it, and thanks for marking as installed. :)

Problem with moving it there is it sometimes breaks the layout on some sites.

gajinoz
11-10-2014, 05:11 AM
Installed, seems to work

Good one.

ozzy47
11-10-2014, 09:18 AM
Glad you like it, and thanks for marking as installed. :)

tommyxv
11-14-2014, 11:04 PM
Glad you like it, and thanks for marking as installed. :)

Problem with moving it there is it sometimes breaks the layout on some sites.

That's the only reason why I am still using the other mod with the template edit instead of this one. I have a different color background behind the top links so having it outside of that looks out of place.

I understand your reasoning though.

tommyxv
11-14-2014, 11:09 PM
Maybe it can be done with a conditional and option in the settings.. "If it screws up your style/layout" use this option instead? LOL

ozzy47
11-14-2014, 11:12 PM
It's possible, I can look into it. You might want to subscribe to this thread, in case I update the mod.

ozzy47
11-14-2014, 11:55 PM
v1.1.0 (November 14, 2014)
- Added options to display it before the welcome link, or after the username.

Max Taxable
11-15-2014, 12:04 AM
Only thing needed for upgrade is to upload xml to overwrite in ACP?

tommyxv
11-15-2014, 12:13 AM
The 3rd Ozzy Mod getting installed today! Thanks!

ozzy47
11-15-2014, 12:15 AM
Please redownload the zip, and re install the XML, I just fixed a error in it. :)

I.G.O.T.A.
12-08-2014, 01:19 PM
Thanks again!

Installed on vB 4.2.2 patch level 2 with no issues. ;)

ozzy47
12-08-2014, 01:53 PM
Excellent, glad to hear. :)

Black Snow
12-08-2014, 02:31 PM
I made this plugin a while ago on my forum before you released it ozzy. Not sure if this is more simple or not.

if($vbulletin->userinfo['pmunread']){
$find = '<li class="welcomelink">';
$replace = '<li class="welcomelink">
<a href="private.php?"><img border="0" src="images/newpm.gif" width="22" height="10"></a>';

$output = str_replace($find, $replace, $output);
}

ozzy47
12-08-2014, 09:35 PM
About the same thing, mine is a bit more involved as far as the html to make it render correctly in all browsers. :)

LLent
12-13-2014, 04:35 PM
Hey Ozzy i have db notifications installed will there be a conflict with that or will this be fine to have them both

ozzy47
12-13-2014, 05:13 PM
It should be fine with both. :)

Alan_SP
12-13-2014, 09:31 PM
I have DBTech's vBNotifications and use template modification and everything works just fine, so I guess this will work just fine with this mod also.

Just you need to know, this mod and template modification are "passive", so you need to reload page that PM icon become visible. Bun with vBNotifications it isn't so, they are "active", so you would receive PM notification as soon as PM is received (of course, depending on setting this isn't 100% instant, to save server resources).

ozzy47
12-13-2014, 09:34 PM
That is correct, this does not use ajax to load the image. :)

LLent
12-21-2014, 10:30 AM
Hey ozzy i run db notifications and i just put this in some of my members like this notification and some like the other would it be possible to add a user setting to disable this if the others wished to do so

ozzy47
12-21-2014, 10:31 AM
I can look into it for a future update. Can you post it as a feature request on my site in this forum, http://ozzmodz.com/forumdisplay.php/149-vBulletin-org-Type-New-Private-Message-Identifier

LLent
12-21-2014, 10:32 AM
I can look into it for a future update. Can you post it as a feature request on my site in this forum, http://ozzmodz.com/forumdisplay.php/149-vBulletin-org-Type-New-Private-Message-Identifier


sure will do and thanks

ozzy47
12-21-2014, 10:34 AM
Excellent. It makes it easier for me to find feature requests that way. :)

Replicators
01-18-2015, 12:38 AM
I made this plugin a while ago on my forum before you released it ozzy. Not sure if this is more simple or not.

if($vbulletin->userinfo['pmunread']){
$find = '<li class="welcomelink">';
$replace = '<li class="welcomelink">
<a href="private.php?"><img border="0" src="images/newpm.gif" width="22" height="10"></a>';

$output = str_replace($find, $replace, $output);
}

Thanks for this, from this i was able to just put it manually in template using <vb:if condition="$vbulletin->userinfo['pmunread']">
<a href="private.php?"><img border="0" src="images/newpm.gif" width="22" height="10"></a>
</vb:if> which worked beautifully where i needed it to be.

ozzy47
01-18-2015, 12:41 AM
Why do a manual template edit, vs something automatic?

Replicators
01-18-2015, 12:42 AM
Why do a manual template edit, vs something automatic?

Because i use https://vborg.vbsupport.ru/showthread.php?t=257261 which throws your mod off.

ozzy47
01-18-2015, 12:45 AM
Ahh, well then that makes sense, thanks for the clarification. :)

itilm
01-18-2015, 06:10 PM
great

ozzy47
01-18-2015, 07:31 PM
Thanks, but I see you did not download it, so not sure what the great is for. :)

MistViper
01-19-2015, 01:46 AM
I have a question regarding the ozzmodz_mods folder in the upload folder. Should I upload that folder into the forum directory or go one folder deeper into the new pm notice folder? Thanks ozzy and keep the amazing mods coming!

ozzy47
01-19-2015, 02:20 AM
It goes in the forum directory.

MistViper
01-19-2015, 02:47 AM
But I already have a folder called ozzmodz_mods in my forum directory from a different mod, will that change anything?

Max Taxable
01-19-2015, 02:48 AM
But I already have a folder called ozzmodz_mods in my forum directory from a different mod, will that change anything?No, it will just install the files that don't currently exist in the folder you already have.

MistViper
01-19-2015, 03:20 AM
Ahh ok, thanks max I appreciate it.