PDA

View Full Version : Usernote in Postbit


jluerken
06-07-2013, 04:35 PM
Hi,

I managed to bring the Usernotes in top of the Tabs in the Memberprofile.
We do this because we were searching for a way for the staff to add hidden info about an user. This works very well but now I want additionaly to show a small icon only to mods in the postbit area if a user has a note.

So how can I:

check if a user has a note and if yes show an image/link to that note?

vbulletin 4.2.x PL3

Kind regards
jluerken

Zachery
06-07-2013, 07:12 PM
I don't think note count is stored or accessible outside of the memberinfo template.

You'd need to have a plugin to check for the note count value, and if there is one run another query to grab that notes data and include it for display in the postbit.

jluerken
06-08-2013, 05:49 AM
I am willed to add a plugin, no problem.
Issue is I have no idea how this is working.
Maybe one of the other coders can write me the code snippet here?

jluerken
06-10-2013, 07:23 AM
Anyone an idea?