View Full Version : Forum Home Enhancements - Add New Popup Link
Logikos
02-13-2004, 10:00 PM
As Requested here http://www.vbulletintemplates.com/mods/showthread.php?t=5610 by "Crow"
And im sure alot other will also. I thought it would be very usefull to people new with vB3.
What does it do?
This mod will add a new pop up menu on your navigation box above. See screen shot for a better look.
Very small mod, but usefull. :)
also included instrustion how to make this only show for members.
Enjoy =\
btekcan
02-14-2004, 10:06 AM
Good job
Thanks for this...
Logikos
02-14-2004, 10:15 AM
Not a prob
imported_Socrate47
02-14-2004, 11:45 AM
nice, thank :)
very nice! I like this one, saves some work for me to do :p
MGM out
Logikos
02-14-2004, 06:48 PM
No prob, just keep those request comming and i'll see what i can do for ya guys :)
golf16vkr
02-23-2004, 03:30 PM
Thanks allot mate gonna install this one :D
Nice mod man :D I might use this one to make quick links to my arcade.
Very useful for newbies, I see alot of people asking how to add this.
grog6
03-16-2004, 02:30 AM
Thx for this Nemesis :)
I'll use it now
Preds
03-29-2004, 12:46 AM
Thank you very much! Trying to add my own popup menu has been driving me crazy!
Logikos
03-29-2004, 04:26 AM
Thank you very much! Trying to add my own popup menu has been driving me crazy!
No problem :) Glad you can find it usefull
RGSerge
03-29-2004, 09:04 PM
Great stuff, works wonderfully.
However I got stumped when I tried something.
I have integrated my site and forum, I also have a content management system. Now, if I want to create a header or a single drop down anywhere on any pages of my site, including my content management system I can :)
However, take the actual problem for instance.
I have a list of content pages in the CMS, the PHP queries the DB, loops through the list parsing a table row template via vbulletin's template engine.
In this row I want a drop down menu with a set of options for that page (i.e. edit, delete, move etc.).
When I try and do this is all goes wrong.
I have tried it using your method, appending the contentid to the end handles, so there is a unique drop down for each content instance, but it doesn't work :(
Its very similar to how the postbit works, I even tried using the template logic for that (which is slightly different) again to no avail :(
Any ideas how to do this one?
good2laugh
04-25-2004, 06:47 AM
Hey this is FANTASTIC - thank you.
I'm code stupid but managed this :) - I guess it's possible to add more categories too? I presume just by adding a TR td class cat name and tr td class vbmenu ?
Logikos
04-25-2004, 09:51 AM
Hey this is FANTASTIC - thank you.
I'm code stupid but managed this :) - I guess it's possible to add more categories too? I presume just by adding a TR td class cat name and tr td class vbmenu ?
correct
good2laugh
04-25-2004, 05:36 PM
\[]emesis']correct
cheers mate. :)
imported_martinh4
05-03-2004, 06:35 PM
Just what i needed, my navbar was getting a bit crowded. :)
Logikos
05-03-2004, 09:09 PM
Glad i could help! :)
imported_Ashkarita
05-04-2004, 09:45 PM
Thanks! I haven't installed it yet but I'm working on some rules pages and links that this will be PERFECT for. Thanks!
*clicks install*
Let me ask you a question though.
In that same template, would there be a way for me to take the current FAQ area of the navbar and make it one of the choices for the drop down links?
ryancooper
05-20-2004, 11:02 PM
Just what i was looking for. . .. tHansk
dwood
05-26-2004, 02:36 PM
THANK YOU ! THANK YOU!! THANK YOU!! :)
Slotheh
05-28-2004, 04:48 PM
Oooh, lovely, ta. Any idea how I can make a link only appear to a particular set of users, for example a group called "Administrators" as opposed to all registered members? I have been struggling with that for a while sadly and have all but given up LOL.
Reason: I want to add a download area link but only viewable for my Admins.
Thanks :)
imported_Snowy
06-20-2004, 12:37 AM
How would one add this with phrases ?
Rein Masamuri
06-29-2004, 11:56 AM
exactly what I was looking for!
thanks ^_^
spence2
08-12-2004, 04:50 AM
Thank you!
[email protected]
vbmenu_register("postmenu_718589", true);
09-07-2004, 03:13 AM
Works just like stated. Thanks for your work. Mark
imported_XrayHead
09-10-2004, 10:37 AM
Hi LiveWire
This is what I was looking for, thanks!
I only have one problem, when I logout I dont see the link that I created any more?
Xrayhead
benj.w00t
09-15-2004, 02:38 PM
man this is sweet, but could some1 tell me how i would go about adding a login box to a popup menu
thanks
teksigns
09-20-2004, 04:22 PM
anyway to have submenus that open up
inside the main menu ......
???????????
memobug
09-21-2004, 05:33 AM
This is fantastic. Would it be possible to make it do a second tier flyout??
So you could have
___________________
_STUFF_____________
Stuff
Games ---> Hangman
Utilities Breakout
Morestuff Pong
Flight Simulator
memobug
09-21-2004, 05:36 AM
anyway to have submenus that open up
inside the main menu ......
???????????
Wow. You asked the same question I did...
But mine was prettier!
Regards,
Matt
DarkWarriorXII
11-09-2004, 09:34 PM
Arg am I the only one who can't get this to work?? Mine doesn't work. Here's my code. Can anyone please help me?
<td id="staff" class="vbmenu_control"><a href="#staff">Staff</a> <script type="text/javascript"> vbmenu_register("staff"); </script></td>
Which is located directly under "<if condition="$show['popups']">".
Then the menu:
<!-- staff navigation menu -->
<div class="vbmenu_popup" id="newlink_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Navigation</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$modcpdir/index.php?$session[sessionurl]">Moderator CP</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$admincpdir/index.php?$session[sessionurl]">Admin CP</a></td></tr>
</table>
</div>
<!-- / staff navigation menu -->
Which is located directly above "<!-- / NAVBAR POPUP MENUS -->".
So what's wrong here? Thank you for any help :).
peterska2
11-09-2004, 09:57 PM
<!-- staff navigation menu -->
<div class="vbmenu_popup" id="staff" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Navigation</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$modcpdir/index.php?$session[sessionurl]">Moderator CP</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$admincpdir/index.php?$session[sessionurl]">Admin CP</a></td></tr>
</table>
</div>
<!-- / staff navigation menu -->
Use that instead.
The problem you have there is that in the first section of code you posted you have told it to find a menu called 'staff' then in the second section you had called the menu 'newlink_menu' and so confuzed the poor thing. :(
DarkWarriorXII
11-10-2004, 12:27 AM
Okay this still isn't working. Go to my forums (http://www.sawyergames.com/forums) and click the "Staff" link on the navbar and you'll see what's happening.
peterska2
11-10-2004, 10:04 AM
Move the first bit to above <if condition=$show[popups]> and try that.
DarkWarriorXII
11-10-2004, 05:52 PM
I tried it with that code both before and after <if condition=$show[popups]> and it still won't work.
eL'Bandito
11-21-2004, 05:02 PM
Nice 1, just what i'm looking for but... strugglin to download!
is there a post count involved??
///ignore^^ fixed now :D
Thank you
secret1980
11-24-2004, 01:29 AM
nice work though will have to check it :D will do it later :D
lmongello
12-05-2004, 02:00 AM
OK...I got this to work, sort of...
The menu works fine in my forums, but for some reason, it totally screws up the layout of the categories in my Photopost home page.
Here is the code I used:
<td id="newlink" class="vbmenu_control"><a href="#link">Photos</a> <script type="text/javascript"> vbmenu_register("newlink"); </script></td>
::::::::::::::::::::
<!-- / new link menu -->
<div class="vbmenu_popup" id="newlink_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Members' Photos</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.mysite.com/photos/">Photo Gallery</a></td></tr>
<tr><td class="thead">Photo Forums</td></tr>
<tr><td class="vbmenu_option"><a href="http://mysite.com/forums/forumdisplay.php?f=80">Photo Contests</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://mysite.com/forums/forumdisplay.php?f=19">Photo Forum</a></td></tr>
</table>
</div>
<!-- / new link menu -->
:::::::::::::::::::::::::::::::::::::::::::;
Any clues as to what I did wrong?
Thanks!!!!
Hawkwind
12-10-2004, 03:09 PM
Thanks for the great hack. I got the menu added and working great, but only one problem.
Now my Search and Quick Links don't drop down :confused:
RichieBoy67
03-14-2005, 09:37 PM
Sweeeeeet... Thank you!! :D :D :D
-
Murphinator
04-18-2005, 11:37 PM
How do you get this to work in any other template?
wicked - needed this badly
Logikos
07-21-2005, 02:02 PM
Glad this is still usefull.
cat4m
05-02-2006, 01:38 AM
Great stuff. thank you x
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.