vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Dropdown Menu box for Links/Urls (https://vborg.vbsupport.ru/showthread.php?t=200283)

blind-eddie 01-07-2009 06:51 AM

Quote:

Originally Posted by lenzo (Post 1700123)
Can you take this one step further and set up user defined links that you add to the drop down menu?

I tried getting someone to do this before with no luck (see the link below).

http://www.vbadvanced.com/forum/showthread.php?t=30095

I enclosed the same file, so you can try it out. If you can get it working properly, you can release it as a mod with my permission. I just need someone to take it to the next step. Anybody out there that can do it...


I have tried many time to do what you are trying to do, but I couldn't write a product for it.
So I made mine with manual edits. Works for me & you can easily easily add it as a vba template module. Try to get it to work with what you have, Good Luck

https://vborg.vbsupport.ru/showthread.php?t=185071




By the way, UKBusinessLive, Thank you for this add on, it will come in handy.

UKBusinessLive 01-07-2009 04:07 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1703909)
anyway this could be used to allow multiple dropdowns?

like for several sections

You can use it in as many forums as you want, You can create a quick link box at the top of each forum if you wanted to ;)

UKBusinessLive 01-07-2009 04:07 PM

Quote:

Originally Posted by blind-eddie (Post 1703955)

By the way, UKBusinessLive, Thank you for this add on, it will come in handy.

Your welcome :)

RedeemedWarrior 01-07-2009 05:31 PM

Quote:

Originally Posted by UKBusinessLive (Post 1704304)
You can use it in as many forums as you want, You can create a quick link box at the top of each forum if you wanted to ;)

really? when i tried it they appear to be working yet when you hit go it goes to only the first link on the first menu

UKBusinessLive 01-07-2009 06:19 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1704357)
really? when i tried it they appear to be working yet when you hit go it goes to only the first link on the first menu

Hi

Are you sure you have the correct Menu entries

Code:

select name="my_links" id="my_links">
  <option value="http://www.ukbusinesslive.co.uk">UKBusinesslive Store</option>
  <option value="http://www.ukbusinesslive.co.uk/topsite">Topsite</option>
  <option value="http://www.google.com">Google</option>
  <option value="http://www.ukbusinesslive.co.uk/links/">UKBL Links</option>

Just make sure you have them as shown or send them to me in a PM and i'll take a look for you, I'm not gonna rest tonight until your Sorted :D

:D

UKBusinessLive 01-12-2009 07:04 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1704357)
really? when i tried it they appear to be working yet when you hit go it goes to only the first link on the first menu

Did you manage to get it working?? RedeemedWarrior??

SpeedyHire 01-12-2009 08:03 PM

shame it dont open in a new window, as it takes you waya from your forums
nice work still

UKBusinessLive 01-12-2009 08:26 PM

Quote:

Originally Posted by SpeedyHire (Post 1710129)
shame it dont open in a new window, as it takes you waya from your forums
nice work still

Hi Speedy

There always a fix buddy, never give up :D

To get the link to open in a new browser window, what you do is add the target="_blank" attribute to your link tag, like this in your Menu Links area

<option value="http://www.ukbusinesslive.co.uk" target="_blank">UKBusinesslive Store</option>

If you do that to the ones that you want to open in a new window, then you don't navigate away from your site ;)

https://vborg.vbsupport.ru/external/2010/01/30.png

Enjoy :up:

TimberFloorAu 01-12-2009 08:40 PM

could be worth for SEO reasons adding the attribute title

so

<option value="http://www.ukbusinesslive.co.uk" target="_blank" title="UkBusinessLive Online Store">UKBusinesslive Store</option>

UKBusinessLive 01-12-2009 08:41 PM

Nice :D

:up::up::up:


All times are GMT. The time now is 03:00 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
  • Page Generation 0.01126 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete