I've upgraded to 4.1.5 and I see the new icons for when users post with mobile devices. Anders said you'd be able to change those icons in the postbit. Where is that option?
How do you change the mobile identifier?
Collapse
X
-
There is some code in the main.css:
Code:.postbitlegacy .postfoot .textcontrols .mobile.mobile_android, .postbit .postfoot .textcontrols .mobile.mobile_android, .postbitlegacy .postfoot .textcontrols .mobile.mobile_iphone, .postbit .postfoot .textcontrols .mobile.mobile_iphone { background: url({vb:stylevar imgdir_button}/android_icon.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left}; padding: {vb:stylevar postbit_control_padding}; padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20}; border: {vb:stylevar postbit_control_border}; } .postbitlegacy .postfoot .textcontrols a.mobile_android:hover, .postbit .postfoot .textcontrols a.mobile_android:hover { background: url({vb:stylevar imgdir_button}/android_icon-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left}; } .postbitlegacy .postfoot .textcontrols .mobile.mobile_iphone, .postbit .postfoot .textcontrols .mobile.mobile_iphone { background: url({vb:stylevar imgdir_button}/iphone_icon.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left}; } .postbitlegacy .postfoot .textcontrols a.mobile_iphone:hover, .postbit .postfoot .textcontrols a.mobile_iphone:hover { background: url({vb:stylevar imgdir_button}/iphone_icon-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left}; }
Code:<vb:if condition="$post['api_platform']"> <vb:if condition="$post['api_platform_link']"> <a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a> <vb:else /> <span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span> </vb:if>
To be updated...
Related Topics
Collapse
-
by TheBishI followed the instructions here to modify my postbit with custom user profile fields... https://www.vbulletin.com/forum/blog...-to-s/3971574-[vb5]-user-profile-fields-in-the-postbit-templates...1 Photo
-
Channel: Support Issues & Questions
-
Comment