PDA

View Full Version : User Notes... Great Feature but how about an icon


SFishy
12-28-2004, 08:56 PM
In a post itself, right where the "report bad post" and "ip address" icons are, it would be great if there was an icon that indicated a user had notes posted about them. Maybe it would be grey if they had no notes, and red if they already had notes posted about them. Only available to admin and mods (or definable in the admin CP as who can see it).

Anyone? ;)

SFishy
12-29-2004, 01:52 AM
In a post itself, right where the "report bad post" and "ip address" icons are, it would be great if there was an icon that indicated a user had notes posted about them. Maybe it would be grey if they had no notes, and red if they already had notes posted about them. Only available to admin and mods (or definable in the admin CP as who can see it).

Anyone? ;)
One other thing...

It would be nice to have some kind of similar indication that a member has notes about them when you are viewing the person's information in the User Manager (through the admin CP). Right now, the ONLY way you know if someone has user notes is by going to their profile.

SFishy
12-29-2004, 02:41 AM
Okay... I figured out the first part. In postbit, I now have a little icon that shows up only for admins and mods (right next to the iplogged graphic) that links right to the usernotes of the member who posted.

<if condition="($permissions['genericpermissions'] & CANVIEWUSERNOTES)">&nbsp;<a href="usernote.php?$session[sessionurl]u=$post[userid]"><img src="images/buttons/notes.gif" border=0></a></if>

Now... the second part I still need help with :)

I only want it to show up IF that member has 1 or more notes.
OR
when you rollover it, it tells you how many notes that members has.

Ideas anyone?

SFishy
12-29-2004, 02:50 AM
Okay... I figured out the first part. In postbit, I now have a little icon that shows up only for admins and mods (right next to the iplogged graphic) that links right to the usernotes of the member who posted.

<if condition="($permissions['genericpermissions'] & CANVIEWUSERNOTES)">&nbsp;<a href="usernote.php?$session[sessionurl]u=$post[userid]"><img src="images/buttons/notes.gif" border=0></a></if>

Now... the second part I still need help with :)

I only want it to show up IF that member has 1 or more notes.
OR
when you rollover it, it tells you how many notes that members has.

Ideas anyone?
awe crap -- forget that.. my conditional didn't work (everyone can see).

Help?

SFishy
12-29-2004, 02:59 AM
Okay now I got part 1 right :)

<if condition="($post['userid'] == $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOWNUSERNOTES) OR ($post[userid] != $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOTHERSUSERNOTES)">&nbsp;<a href="usernote.php?$session[sessionurl]u=$post[userid]"><img src="images/buttons/notes.gif" border=0></a></if>

Please, anyone help with part 2? (I only want it to show up IF that member has 1 or more notes. OR when you rollover it, it tells you how many notes that members has.)

SFishy
12-29-2004, 03:32 PM
Anyone?

SFishy
12-29-2004, 07:45 PM
Anyone?
Call me inpatient... but can anyone offer any assistance with this? I have to imagine it's not all that difficult, I'm just having a hard time putting the pieces together myself.

SFishy
12-30-2004, 07:20 PM
Got this figured out with the help of a friend. If anyone wants it let me know.

Bison
12-30-2004, 07:32 PM
I feel for you ... and i'm glad you figured it out. You might want to add this as a Mini Mod and get some rep for yourself! ;)

Reeve of shinra
12-30-2004, 07:39 PM
Please add it, its a help to everyone :)

SFishy
12-30-2004, 10:31 PM
I posted it in Mini-Mods... here:

https://vborg.vbsupport.ru/showthread.php?t=73534