PDA

View Full Version : User customizable menu?


lgfilmfest
06-23-2013, 02:28 AM
Hi, yes for certain user group on my site, I would like those users to be able to add links to a custom drop down menu. Is there any plugin for that? Like they would be able to add links in the usercp to this menu. For example in the usercp:

Name of link | Link here

Something like that and it would show up in the navbar or header. Is there any plugin out there for this? I have seen some sites have it and I need it for vb 4.2.1

Lynne
06-23-2013, 04:00 PM
Have you tried a search? I have no idea if there is a mod, but a search may find one.

I would guess you would create a profile field and have the users input the link and then just put that in the dropdown via a template_hook, if available, or by editing the template.

lgfilmfest
06-23-2013, 05:09 PM
Have you tried a search? I have no idea if there is a mod, but a search may find one.

I would guess you would create a profile field and have the users input the link and then just put that in the dropdown via a template_hook, if available, or by editing the template.

I have searched EVERYWHERE. I cannot find it at all. If you would be so kind to help me! I've seen this other site have it and have no idea how they do it. It wouldn't be a template edit I don't think because then it would show up for all users and I want them to have there own personal links. Please point me in the right direction, I have been looking for days before I posted this.

Lynne
06-23-2013, 05:18 PM
If you have seen a site that has it, why don't you ask them if it is from a modification or it was custom coded for their site?

A template edit to add a $bbuserinfo['fieldx'] would not mean it would show up the same for all users as $bbuserinfo is that individual viewing the page.

lgfilmfest
06-23-2013, 09:24 PM
If you have seen a site that has it, why don't you ask them if it is from a modification or it was custom coded for their site?

A template edit to add a $bbuserinfo['fieldx'] would not mean it would show up the same for all users as $bbuserinfo is that individual viewing the page.

I have tried to ask them, but they will not release it. I want to do this for a certain usergroup and deny others. Is there anyway you can go more in depth on what you are telling me now so I can try to create this for my users or link me to a plugin/tutorial.

Lynne
06-23-2013, 09:51 PM
As I suggested before, you could do this with User Profile Fields - http://www.vbulletin.com/docs/html/profile?manualversion=40200603 Have the user enter a link in there, it will be fieldx and then you can spit it out in the navbar as $bbuserinfo['fieldx']

lgfilmfest
06-24-2013, 01:27 AM
As I suggested before, you could do this with User Profile Fields - http://www.vbulletin.com/docs/html/profile?manualversion=40200603 Have the user enter a link in there, it will be fieldx and then you can spit it out in the navbar as $bbuserinfo['fieldx']

I get what your saying now. Like would I add the code to the navbar and they would enter the link in the profile field, but how would it be named? Like how would they name the link in the menu? I want it to be a drop down menu. Well I have a drop down menu already, but how would they be able to add links to teh drop down menu already in the header? Would I add another profile field for the name?

Lynne
06-24-2013, 04:46 PM
Yes, you can add another profile field for the name.

lgfilmfest
06-24-2013, 06:19 PM
Yes, you can add another profile field for the name.

Can you please put it in the if statement I need to put it in the drop down menu I already have, with like the two profile fields please? I'm not great at like template edits like this and i'm still learning so that would very much be appreciated.

Lynne
06-25-2013, 12:17 AM
Just use the fieldx in the condition.

<if condition="$bbuserinfo['fieldx']"><a href="{vb:raw bbuserinfo.fieldx}"><if condition="$bbuserinfo['fieldy']">{vb:raw bbuserinfo.fieldy}<vb:else />Something Else</vb:if></a></vb:if>

Not tried! But, it should be something like that.

lgfilmfest
06-25-2013, 03:10 AM
Just use the fieldx in the condition.

<if condition="$bbuserinfo['fieldx']"><a href="{vb:raw bbuserinfo.fieldx}"><if condition="$bbuserinfo['fieldy']">{vb:raw bbuserinfo.fieldy}<vb:else />Something Else</vb:if></a></vb:if>

Not tried! But, it should be something like that.

Thanks so much for your help, really appreciate it!