![]() |
User Notes Icon/Link in Postbit, if user has notes
Description:
This modification adds an icon and link to a member's usernotes in the postbit template. The icon will only appear to the people with proper permissions for viewing notes. The icon will only appear IF the member actually has usernotes posted about them. Icon links directly to that member's notes. Rolling over the icon reveals the number of notes a member has posted about them. Time to install: 5 minutes or less. Files to Modify: 1 php file, 1 template. Graphic included. - - - - - ------ FILE CHANGE ------- OPEN showthread.php FIND: PHP Code:
PHP Code:
Close and upload. ----- TEMPLATE CHANGE ----- OPEN postbit FIND: PHP Code:
PHP Code:
----- ADDITIONAL IMAGE UPLOAD ----- Use provided notes.gif image, or make your own. https://vborg.vbsupport.ru/ UPLOAD into directory images/buttons (or other appropriate image directory of your choosing). If you upload into a different directory, be sure to change the IMG SRC code in postbit to refer to the correct place. That's it, you're done. |
Good job SFishy!
|
Great idea! Makes the user notes feature a lot more useful and convenient
|
Excellant Hack, simple but useful.
|
Quote:
One thing I just added to the mod .txt file... PHP Code:
|
Awesome enhancement, thanks so much!
|
I had this for vb2 :) nice addition.
|
Nice i instalade
but i correct the center gif <if condition="(($post['userid'] == $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOWNUSERNOTES) OR ($post[userid] != $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOTHERSUSERNOTES)) AND $show[hasusernote]"> <a href="usernote.php?$session[sessionurl]u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/notes.gif" alt="$show[usernotetotal]" border="0" /></a> </if> |
Nice hack, although I would suggest adding
PHP Code:
|
I got this whenever someone tried to open a post made by a guest user:
Quote:
Thanks, -Jason |
I'm receiving the same db error as Trackpads...any fix for this?
|
Quote:
Nice hack very simple but effective.https://vborg.vbsupport.ru/external/2011/01/19.gif |
Quote:
|
i git an db error after i install that hack. :devious:
Quote:
|
Quote:
Code:
// ###### MOD display user notes in postbit if user has notes MOD ###### Code:
// ###### MOD display user notes in postbit if user has notes MOD ###### |
Yeah! thats it! :) Thank you, Mystics.
Quote:
|
but one needs a hack which allows creates a note before being able to use your hack !
a hack is needed as that (https://vborg.vbsupport.ru/showthread.php?t=75429) which creates initially a personal note .... |
Quote:
|
Quote:
|
A suggestion for this hack is if usernote contains a link to the post the new user note was made from
|
Nice <clicks install>
|
can Someone help me to make these, so that he does it also for Vbulletin 3.5 gold.
in advance thanks for your work!! |
Any chance on a vB 3.5.1 update for this? I had it installed in 3.0.7 and would love to have the icon again. I fixed the dropdown menu links, but have yet to figure out how to do the icon.
|
Does this add a query for each post/user ?
Also, any tried it with 3.6? |
I second the request for a version that works in 3.6.5... any chance for this?
|
All times are GMT. The time now is 02:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|