for some reason the admin option doesnt display when logged in as an admin... any ideas?
I'd like to take this a step further too. and de-clutter how it displays by instead of having Inbox Outbox Send Message options, I want these as a dropdown menu called "Messages"...
I think there is a little overlap on using my old sql query and the pm functions.... in the interest of keeping DB queries at a minimum, can anyone offer more optimised code for the above?
Nlstart, I tweaked your code into my shortcode (see above) but still doesnt display the admin link when logged in as an admin
The admin part is not showing due to improper curly brace placement. I'll give you the code in the next post (not checked if it is working - just optimized by the given one)
[Edit] I think you have something missing in this piece of code... It seems incomplete to me.
the code its self was written probably at least 4 years, not by myself and im just trying to mash it together i'm no developer by any means like I say, it needs some work as there is depreciated code and probably a certain amount of duplication in there...
if the user has a new message, it initiates some jQuery that slides in a new message notification from the top of the screen as opposed to the horrible / obtrusive new notification in the PM system...
it also displays the number the unread messages in the users inbox.
This is my first shot - if i've got the things right, this should be a good solution
[Edit] I've got troubles with pasting the code here (any kind of bad tag i guess), so it is at paste2.org
[Edit 2] I've forgotten to mention - you have some comments to follow: a path to be changed accfroding your installation and two LAN strings definitions at the theme lans (or whereever you like)
Ill try this tomorrow! I thought the one nlatart did would do the trick and seemed neat. No need declare LANs etc.... Can anyone see any issues why it only works when on a pm.php page?