The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Customization Options Button between Sidebar and Member List Link and Username
Is it possible to move the Customization Options / Hide User Customizations / Show User Customizations button here and have it centered between those areas?
I know where where the code for it is in the MEMBERINFO template, I just don't know how to get it in that area and center it. |
#2
|
|||
|
|||
Step 1: remove the 'floatright' class from the button and wrap the entire <vb:if> </vb:if> in div tags
Step 2: add style="text-align:center;" to the div tag you made Step 3: place the entire div one line under this div HTML Code:
<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
Below is how it should look. HTML Code:
<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container"> <!--Place button below--> <div style="text-align:center;"> <vb:if condition="$show_customize_profile"> <button class="userprof_button hidden" id="profile_customization_button"><img src="{vb:stylevar imgdir_misc}/userprofile/paintbucket_icon.png" alt=""/> {vb:rawphrase customize_my_profile}</button> <vb:else /> <vb:if condition="$show['userhastheme']"> <form action="{vb:link member, {vb:raw userinfo}}" method="get" id="profile_swap_form" class="floatright"> <input type="hidden" name="do" value="swapcss" /> <input type="hidden" name="u" value="{vb:raw prepared.userid}" /> <input type="hidden" name="token" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="submit" tabindex="1" name="swapcss" value="{vb:raw usercss_switch_phrase}" class="userprof_button" id="profile_swap_button" /> </form> </vb:if> </vb:if> </div> |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
No, you need to delete the button from its original position, and find
HTML Code:
<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
If you would prefer, you can copy paste your template here and I'll make the change for you. |
#5
|
|||
|
|||
Quote:
It's not letting me post the template here. It's 2,568 character too long. I can create you a temporary admin account, though, if you want and PM you the details. You'd just need access to styles, right? |
#6
|
|||
|
|||
Sorry, this may be an easier explanation. :P
Find HTML Code:
<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
HTML Code:
<div style="text-align:center;"> <vb:if condition="$show_customize_profile"> <button class="userprof_button hidden" id="profile_customization_button"><img src="{vb:stylevar imgdir_misc}/userprofile/paintbucket_icon.png" alt=""/> {vb:rawphrase customize_my_profile}</button> <vb:else /> <vb:if condition="$show['userhastheme']"> <form action="{vb:link member, {vb:raw userinfo}}" method="get" id="profile_swap_form" class="floatright"> <input type="hidden" name="do" value="swapcss" /> <input type="hidden" name="u" value="{vb:raw prepared.userid}" /> <input type="hidden" name="token" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="submit" tabindex="1" name="swapcss" value="{vb:raw usercss_switch_phrase}" class="userprof_button" id="profile_swap_button" /> </form> </vb:if> </vb:if> </div> If you do need more help just send me a PM and I'll take a look at it for you. |
#7
|
|||
|
|||
Quote:
Now, how would I move it down a bit? It's going up right against the the border of the sidebar, and I don't want that. |
#8
|
|||
|
|||
Add padding-top:5px (or however much you want) to the div's style.
|
#9
|
|||
|
|||
Quote:
Also, if you look here, the Hide / Show User Customizations button isn't centered like the Customization Options button. Additionally, there's a duplicate like you said. Where's the code that I delete or comment out? |
#10
|
|||
|
|||
Find this div around the button
HTML Code:
<div style="text-align:center;">
And the Customize buttons are not available for guests to see, but if you are talking about removing the original button, you just need to locate it in the template (where it was originally) and just delete it, or comment it out with <!-- old button code --> if you just want to hide it from displaying on the page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|