Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2013, 02:28 AM
lgfilmfest lgfilmfest is offline
 
Join Date: Jun 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User customizable menu?

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
Reply With Quote
  #2  
Old 06-23-2013, 04:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-23-2013, 05:09 PM
lgfilmfest lgfilmfest is offline
 
Join Date: Jun 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #4  
Old 06-23-2013, 05:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 06-23-2013, 09:24 PM
lgfilmfest lgfilmfest is offline
 
Join Date: Jun 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #6  
Old 06-23-2013, 09:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I suggested before, you could do this with User Profile Fields - http://www.vbulletin.com/docs/html/p...rsion=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']
Reply With Quote
  #7  
Old 06-24-2013, 01:27 AM
lgfilmfest lgfilmfest is offline
 
Join Date: Jun 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
As I suggested before, you could do this with User Profile Fields - http://www.vbulletin.com/docs/html/p...rsion=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?
Reply With Quote
  #8  
Old 06-24-2013, 04:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you can add another profile field for the name.
Reply With Quote
  #9  
Old 06-24-2013, 06:19 PM
lgfilmfest lgfilmfest is offline
 
Join Date: Jun 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #10  
Old 06-25-2013, 12:17 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use the fieldx in the condition.

HTML Code:
<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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:36 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
  • Page Generation 0.06535 seconds
  • Memory Usage 2,257KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete