Log in

View Full Version : Private Messages Enhancements - Private Messages vb4 like vBulletin.org


abbasbsp
10-10-2010, 10:00 PM
Please remember to click Mark as Installed if you use this modification.

install:
to install we do 1 change in (header) template

FIND :
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
ADD BELOW :
<vb:if condition="$bbuserinfo['pmunread']">
<a href="private.php?"><img border="0" src="images/newpm.gif" width="22" height="10"></a>
</vb:if>

and upload "newpm.gif" on your vbroot/images/

YankForum
10-11-2010, 05:21 PM
tnx, installed :)

sulasno
10-11-2010, 05:39 PM
tagged and thanks

NightLord
10-11-2010, 07:04 PM
thank you very much :P:P:P

wolfey
10-12-2010, 07:32 PM
Thanks...Works good!

borbole
10-12-2010, 07:53 PM
Nice modification. But can you please add the required alt atribute as well at the img tag?

COL NIL SATIS
10-13-2010, 01:21 PM
tagged

zonaenlinea
10-13-2010, 01:27 PM
for 4.0.7

RickyG
10-13-2010, 09:34 PM
where is "images/newpm.gif"?

EDIT ** Got it using FF and DL it from this post

Dr.osamA
10-14-2010, 08:16 AM
Excellent = 5 stars

installed

thanxxx

profuae
10-14-2010, 03:15 PM
thanks .
nice

duditas
10-15-2010, 03:37 PM
Thank you very much!

8thos
10-16-2010, 12:56 AM
Cheeeaaaaaaa

abbasbsp
10-18-2010, 07:14 AM
thank all

sulasno
10-18-2010, 11:05 AM
the image appears below My Profile instead of by the side

OldSchoolDSL
10-23-2010, 07:53 PM
Had to re-apply for 4.0.8 (as I reverted back styles), but works flawlessly

cyberchief
10-25-2010, 01:40 AM
I was having issues on the placement as well. I added the above mod code right below:

<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>

This puts it right next to the notification link. At least in 4.0.8...

COL NIL SATIS
10-28-2010, 06:33 PM
Installed..works great ...thanks !!!!!!

OldSchoolDSL
10-28-2010, 07:03 PM
I was having issues on the placement as well. I added the above mod code right below:

<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>

This puts it right next to the notification link. At least in 4.0.8...

Thank. This improved the layout issue I had with 4.0.8 , but I would suggest adding the mod code to it 1 more line down under the </url>
This will make sure that this mod is not mistakenly added into the Facebook URL

PossumX
11-07-2010, 07:51 PM
Well, this placement seems to get fouled up when Facebook connect is being used.

In order to remedy the placement and have it show properly on my forum:

Find:


<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>


Paste Below:


<vb:if condition="$bbuserinfo['pmunread']">
<a href="private.php?"><img border="0" src="images/newpm.gif" width="22" height="10"></a>
</vb:if>


Placement snag:

123474

Works perfectly for my site, so I figured I'd pass it along.

abbasbsp
11-08-2010, 10:37 AM
thank you

Jaske
11-16-2010, 12:59 AM
where's the .gif image at?

Brandon Sheley
11-16-2010, 02:28 AM
where's the .gif image at?
in the first post ;)

mgurain
11-19-2010, 11:12 AM
Hi,
thanks ichal_spy,
- Could you please update the code in the first post to reflect the write one,
which have <li></li> ?
- Can you make it a product instead of template modification.

Thanks,,

hardboiled
11-24-2010, 12:27 AM
Icon shows up above the username instead of to the left, but it isn't really a problem...

MarceloS
04-04-2011, 07:43 PM
Is there a way to tweak this to show a message when someone posted on a subscribed thread?

Like "if condition = new posts on subscribed threads"????

Mo HaRbI
04-29-2011, 08:21 PM
Thank you

OldSchoolDSL
11-19-2011, 04:21 AM
A classic and still working in

4.1.8 :D

fxdigi-cash
07-07-2014, 07:59 PM
I loved this quick code because I used it in the past, and I tested it on the vb4.x.x latest version, and it works of course... :)

john7911
11-05-2014, 03:00 PM
Thank you :)

ozzy47
11-06-2014, 12:39 AM
For a mod that you don't need to do template edits, use this one, https://vborg.vbsupport.ru/showthread.php?t=315267

chudvs
02-05-2020, 08:07 AM
still working in 4.2.5