The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
auto-select a subscription option in the drop down menu
My client's site is only accessible if a paid member, there is only one option for subscribing, yet the drop down list says "Select" then the user has to selection the option. We'd prefer just have it selected already. When I put "select='true'" and the option is auto selected the form to select payment method doesn't show. I tried hiding the select, auto selecting it and displaying the payment options form but it's not populated with the subscription options. I'm guessing there's some behind the scenes ajax going on that populates the options form when the user selects but I can't seem to find it.
Any help? |
#2
|
||||
|
||||
Its not selected = true
Its selected="selected" |
#3
|
|||
|
|||
sorry, that's what I had. Still didn't work.
--------------- Added [DATE]1402968924[/DATE] at [TIME]1402968924[/TIME] --------------- The form isn't populated with the subscription checkout options (credit card, paypal, etc.) and it doesn't have the subscription name label on it. Doesn't work by just auto selecting. |
#4
|
|||
|
|||
Holy crap I got it. I spent WAYYYYYYY too much time on this, only gonna charge client half of hours though because I had no idea vb5 was going to be so crazy. Anyway, for those looking, here's the solution.
1) remove the <option value="">{vbhrase select}</option> in the registration widget template 2) edit signup.js 3) once signup.js is in your editor do a (I use notepad++) search for "change(" ... find the closing parenthesis and put ).change() on it. BOOM! All good to go homie. |
#5
|
|||
|
|||
turns out this doesn't work for the usersettings.js page where members can add subscriptions. Bummer! If anyone has any ideas for that one please post it up
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|