Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
My Links Details »»
My Links
Version: 1.00, by blind-eddie blind-eddie is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.6 Rating:
Released: 07-11-2008 Last Update: 07-12-2008 Installs: 14
Supported Template Edits
Re-useable Code Translations  

My Links

This will work with any version of vbulletin up to 3.8.7

Huge Thanks goes to Hasann for pointing me in the right direction. Also hats off to all members here for helping me in the past. You guys are great.

I have wanted to give my members a way to add their own links within the navbar. I tried many times to make this happen, but never could.
I searched for it everywhere. I have seen members here request it.
I used lines codes from Templates & Products to make this one.

Members Custom Links




Description: This Template edit add's user specified links in the QuickLinks Dropdown, that can be edited via usercp, in the Settings & Options Section, edit options.


Demo: Installed on my site. See screen shots

First, go to your admincp/User Profile Fields/User Profile Field Categories/AddNewProfile Field Category.

Title: My Links
Description: Here you can display links you go to on a regular basis
Location on Profile Page: Where ever you wish.
Click Save.

Now, you will need to add at least Two New User Profile Fields, You will need to duplicate these steps for each "My Links" link's you wish to display.
I made 6 links for my members, but this number can be any number you wish.
But, you will need to make twice as many User Profile Fields as the number of links you wish to display.

In the User Profile Fields Section in your admincp, click Add New User Profile Field

Profile Field Type: Single-Line Text Box

( All New User Profile Field Profile Fields are Single-Line Text Box )

Title: Link One URL

Description: Add link you wish to go to.

Profile Field Category: My Links

Max length of allowed user input: 100

Field Length: 25

Field Required: No

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

Which page displays this option? : Options : Other
Remember this number each time you make a new user profile field.
Click Save


Example, each link you wish to show in your My Links section in your navbar takes two User Profile Fields to create.
One for url, and one for the name you wish to display in the link.


After you have completed all the User Profile Fields open your Styles & Templates dropdown in your admincp, Search in Templates, search for navbar.

To get this info, click installed & download the My Links text doc. :up:

The two xx must be the same number as the profile field you made for the URL Link.
The other xx must be the same number as the profile field you made for the link name you want displayed in your My Links section in the Quicklinks Dropdown.
Use that code above for each Link you wish to display, changing the profile field numbers as you go. ENJOY!!!



-----------------------------------------------------------------------------------------------------

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-13-2009, 07:59 PM
ACiD619 ACiD619 is offline
 
Join Date: Mar 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

I don't know what to say I've been looking for this everywhere. Also, is it possible if it could show one Link One URL and one Link One Name and if members would like to add more links they can click ''Add more links''. I hope thats possible!

Thank you.
Reply With Quote
  #13  
Old 08-14-2009, 04:59 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried playing around with the info from the link you posted and still not able to get it to work right. It breaks my navbar2 layout and does not add the dropdowns or any links.

Thanks for looking into this.
Reply With Quote
  #14  
Old 08-14-2009, 01:36 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mobo View Post
I've tried playing around with the info from the link you posted and still not able to get it to work right. It breaks my navbar2 layout and does not add the dropdowns or any links.

Thanks for looking into this.
I used to use Additional navbar with drop downs, long ago. I prefer hard coding a additional navbar.
Like I stated in earlier post, I added this to my second, top navbar without issue.
I will re-install Additional navbar with drop downs to see if I can get this to work with it, but I don't think it will.
I like hard coding over plug ins for simple things like additional navbars.
Have you thought about hard coding a second navbar & get rid of Additional navbar with drop downs.
Reply With Quote
  #15  
Old 08-14-2009, 01:55 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ACiD619 View Post
Hey,

I don't know what to say I've been looking for this everywhere. Also, is it possible if it could show one Link One URL and one Link One Name and if members would like to add more links they can click ''Add more links''. I hope thats possible!

Thank you.
That would require a plugin.

You can add as many My Links, links for members to use, it will only show, in drop down, the ones they are using.
Lets say you have 10 spaces to add links & a member only uses 2, they will only show in drop down, the other 8 not being used will not show in drop down.
Reply With Quote
  #16  
Old 08-14-2009, 02:12 PM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
I used to use Additional navbar with drop downs, long ago. I prefer hard coding a additional navbar.
Like I stated in earlier post, I added this to my second, top navbar without issue.
I will re-install Additional navbar with drop downs to see if I can get this to work with it, but I don't think it will.
I like hard coding over plug ins for simple things like additional navbars.
Have you thought about hard coding a second navbar & get rid of Additional navbar with drop downs.
Eddie, I saw you signed up on the site to have a look around, thanks. I would not mind hard coding a second navbar, but I'm afraid I really don't know enough about coding to really do that. I'm alright at hacking code and poking around with it until I figure some thing out, but that's about it.
Reply With Quote
  #17  
Old 08-16-2009, 02:33 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will help you out as much as I can.
Reply With Quote
  #18  
Old 01-27-2010, 03:16 PM
LorinPotter LorinPotter is offline
 
Join Date: Jan 2008
Location: Luzerne, Iowa
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded and installed, excellent addition.

Only one problem, it works as stated, however, it adds onto the existing link, see next line.

http://vulcanriders.us/forum/www.vul...essionurl_q%5D

I want it to go from http://vulcanriders.us/forum to http://vulcanriders.us/chat and not just add the /chat to the end-behind /forum

Any ideas on this?
TIA
Reply With Quote
  #19  
Old 02-11-2010, 05:24 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I registered to your site, went to my usercp...You did not completely and correctly add edits.
Re-read instructions. I moved mine to my top navbar as stated in earlier post, but, it can be placed anywhere.
I will help you add it correctly if you would like me to, just pm me on your site.
Reply With Quote
  #20  
Old 02-11-2010, 11:08 AM
LorinPotter LorinPotter is offline
 
Join Date: Jan 2008
Location: Luzerne, Iowa
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just got back from a mini-vacation myself. I have no issue with setting you up as admin, but dislike having others do my work. Since you've pointed out the error, I'll give it a try and post back here with the results.

Thanks.
Reply With Quote
  #21  
Old 02-13-2010, 02:57 PM
LorinPotter LorinPotter is offline
 
Join Date: Jan 2008
Location: Luzerne, Iowa
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to thank Blind-eddie for not only posting this, but his help and offer of more help when I had difficulty and entered in the incorrect information.

Working just fine on the test forum, which I'll transfer to the working forum soon.
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 03:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07043 seconds
  • Memory Usage 2,313KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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