![]() |
Add "post user note" to drop down on member name
When you click on a users name in a thread, it gives you a drop down menu with some options like "view profile" etc. I'd like to add the option to post a user note in that menu but I'm not sure how. Anyone have a snazzy trick up their sleeve to share? :D
the closest I could find on here was this thread...https://vborg.vbsupport.ru/showthread.php?t=232654 |
Yeah, you can edit the memberaction_dropdown template and add choices to that menu (you'll have to study it a little to see the html used for each choice, but it's not that complicated). If you wanted to make it a product, you could also create a plugin that adds the code to the memberaction_dropdown_items template hook.
|
I think (hope) I have the code all sorted, but I'm getting this error.
Quote:
Quote:
Code:
<vb:if condition="is_member_of($bbuserinfo, 5, 6,)"> |
I'd have to see the whole thing to know what was wrong, but if you're trying to insert some js code, try surrounding it with <vb:literal>...</vb:literal> tags.
|
the whole thing is that template you mentioned...here it is. I'm trying to add to the bottom the option for mods and admin (user groups 5,6) to "post user note"
Code:
<div class="popupmenu memberaction<vb:if condition="$page_class"> {vb:raw page_class}</vb:if>"> thanks again for the help :) |
I think it might be this line:
Code:
<vb:if condition="is_member_of($bbuserinfo, 5, 6,)"> you need to delete the comma after the 6. |
wow...sorry i missed that! thanks, it worked.
|
All times are GMT. The time now is 07:32 PM. |
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:
|