Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Template Modifications » vBulletin 3.7 / 3.8 Template Releases » End-User Options - My Links
Reply

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.7.0] End-User Options - My Links (14)
Released: 07-12-2008, 08:27 PM
Modification Information: Version: 1.0.0
blind-eddie's Avatar Author: blind-eddie
Last Online: 08-31-2009
Installer Included: 0 Additional queries added to database: 0 Template Edits: 1-Navbar
File Edits: New Files: New Phrases:

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.

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.

Search for:


Code:
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
Above that add:



HTML Code:
<tr><td class="thead">My Links</td></tr><if condition="$bbuserinfo['fieldxx']"><td class="vbmenu_option"><a href="$bbuserinfo[fieldxx]$session[sessionurl_q]" TARGET="_blank">$bbuserinfo[fieldxx]</td></tr> </if> 
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!!!


Note: I am not a coder, I learn as I go.



Old 07-13-2008, 03:17 AM   #2
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
In the bottom code you said to add, the <if> tag should be around the entire <tr>, if not it will throw validation errors.
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote
Old 07-13-2008, 03:46 AM   #3
blind-eddie
Coder

blind-eddie's Avatar

Activity Longevity
1/20 13/20
Today Posts
0/3 sssssss30
Location: Detroit
blind-eddie is on a distinguished road
Status: Offline Default
No sir, the if conditional is there.
The code boxs made me look twice as well.


HTML Code:
<tr><td class="thead">My Links</td></tr>
<if condition="$bbuserinfo['fieldxx']"><td class="vbmenu_option"><a href="$bbuserinfo[fieldxx]$session[sessionurl_q]" TARGET="_blank">$bbuserinfo[fieldxx]</td></tr> </if> 

Last edited by blind-eddie; 07-13-2008 at 09:51 AM.
Reply With Quote Author of thread
Old 07-13-2008, 06:22 PM   #4
Hasann
vBulletin Guru

Hasann's Avatar

Activity Longevity
0/20 15/20
Today Posts
0/3 ssssss122
Location: TÜRKIYE/BOLU Dagindan
Age: 23
Hasann is on a distinguished road
Status: Offline Default
I tought so its right
HTML Code:
<tr>
<td class="thead">My Links</td>
</tr>
<if condition="$bbuserinfo['fieldxx']">
<tr>
<td class="vbmenu_option"><a href="$bbuserinfo[fieldxx]$session[sessionurl_q]" TARGET="_blank">$bbuserinfo[fieldxx]</td>
</tr>
</if> 
Reply With Quote
Old 07-13-2008, 07:19 PM   #5
blind-eddie
Coder

blind-eddie's Avatar

Activity Longevity
1/20 13/20
Today Posts
0/3 sssssss30
Location: Detroit
blind-eddie is on a distinguished road
Status: Offline Default
You are awesome Hasann. Thanks for helping me!

I have many ideas for this. BTW, Its the weekend :D
Reply With Quote Author of thread
Old 07-14-2008, 05:39 AM   #6
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
I still think it should be the other way.

HTML Code:
<if condition="$bbuserinfo['fieldxx']">
<tr>
<td class="thead">My Links</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$bbuserinfo[fieldxx]$session[sessionurl_q]" TARGET="_blank">$bbuserinfo[fieldxx]</td>
</tr>
</if> 
No point in just having the header if their is no link in their
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote

Reply

« - | Clickable, sortable Prefixes »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Bot That Checks For Dead Links On File Sharing Servers buckfast vBulletin Modification Requests 0 03-05-2008 12:13 AM



All times are GMT. The time now is 06:29 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!