|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Modification Name: JavaScript Dropdown Boxes Author(s): CTM Description: Uses JavaScript to automatically redirect the user to the option he or she selected in the "Hop To" and "Show Topics From" dropdown boxes on the forum and topic pages (making the Go! buttons redundant), but if the user doesn't have JavaScript enabled, the Go! buttons can still be used. Requirements: UBB.classic 6.6.0 or higher Download Link: Contact privately This is the logical successor of my JavaScript "Hop To" Box mod for 6.3, but this version gives instructions for doing the same to the DaysPrune box on forum pages. If I find any other dropdowns to add to the list, I'll update this mod with further instructions. Likewise, if you find any I haven't covered, please let me know and I'll add them.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Undefined subroutine &UBB::LIB::PostCountRestriction called at ubb_lib_pntf.cgi line 114, <xxZWAUcWJydKHpJT> line 1. best hack ever
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'm assuming that's on my test board? (Psst... Does that happen all the time? )
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Yes, it's your board, and no, sometimes it puts a different string between < and >
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Time for me to post an update for PCRF, then, I guess... I don't want that happening to other peoples' boards...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
update: only happens when logged out. Don't get the error as an Admin
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Fixed, updated, reuploaded; thanks Ian As a sidenote, anyone reading this topic who is using PCRF v3.0.0 should upgrade to v3.0.1 as soon as is humanly possible.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Nice mod, now to get rid of that pesky go button :x...
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Actually it's not worth getting rid of the "Go!" button, since it still needs to be used to hop back to the active forum (onchange won't work any other way)...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Hmm, I seem to remember a javascript transision code for dropdowns that didn't require a button at all
|
|
|
|
Joined: Feb 2000
Posts: 33
Member
|
Member
Joined: Feb 2000
Posts: 33 |
Hmm, I was hoping this would eliminate the Go button. This doesn't seem to do that, and it looks from what I read that I shouldn't want to eliminate the Go button anyway! Without eliminating the Go button, this code is really just an alternate way to replicate the drop down, but there's no other change, right?
I'd love to have a hop menu that always started with Select a Forum, so you would have to change to something else, but didn't have the Go button...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I'd have a plethora of users who accidently choose the wrong forum without having the opportunity to select one then "go" to it To each his own tho, my users are a little less internet savvy.
|
|
|
|
Joined: Feb 2000
Posts: 33
Member
|
Member
Joined: Feb 2000
Posts: 33 |
I hear you Allen. It wouldn't be my choice. I've already had this discussion - the users aren't that savvy. Next question -- suppose I wanted to put this menu in the html insert??? I hadn't connected that would be a challenge once I figured out how to make it work! They want it to go in their left nav...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Sure, you could always hard/hand-code a drop-down menu
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|