Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2016, 12:55 AM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to move custom username icon to right side of username on profile sidebar?

I call various usergroup icons from the closing username html markup fields in the usergroup manager. The icons then appear on the right-hand side of the usernames within posts and elsewhere. There is however one exception. On the user profile sidebar, the icons appear on the left-hand side of the usernames. For alignment purposes, I want them to appear on the right-hand side of the usernames instead. Can someone please tell me from where the user profile sidebar elements are called so I can change their order? So just to be clear, I want the username icons on the user profile sidebar to appear between the username text and the online status indicator. Any help on how to achieve this will be appreciated.

Thanks
Reply With Quote
  #2  
Old 04-30-2016, 01:51 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a link to a page on your site where this issue occurs? That way I can inspect the source using Firebug and see what needs to be done.
Reply With Quote
  #3  
Old 04-30-2016, 01:57 AM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Can you post a link to a page on your site where this issue occurs? That way I can inspect the source using Firebug and see what needs to be done.
I'd love to, but if I did you wouldn't be able to see the user profiles because I have permissions set to only allow access to members. However, I can tell you that I've tested this on a clean test installation of vB 4 that's on a private server and it does the same thing.
Reply With Quote
  #4  
Old 04-30-2016, 02:02 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you want, and only if you are so inclined, you could set up a temporary user account for me (doesn't need to be an admin account, just a regular user so I can view a profile) and send the login credentials to me by PM, and when I am done, I will let you know so you can delete the account.
Reply With Quote
  #5  
Old 04-30-2016, 02:06 AM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Well, if you want, and only if you are so inclined, you could set up a temporary user account for me (doesn't need to be an admin account, just a regular user so I can view a profile) and send the login credentials to me by PM, and when I am done, I will let you know so you can delete the account.
How about this: I made some screenshots from the test server.


Reply With Quote
  #6  
Old 04-30-2016, 02:10 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's not much I can do with a screenshot...I need to be able to inspect the page source and fiddle with the CSS to find a possible solution.

What are the opening and closing HTML tags you have defined in the Usergroup Manager for your admin group?
Reply With Quote
  #7  
Old 04-30-2016, 02:18 AM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I take it you can't duplicate the position of the icons on a server that you have access to. No problem. I'll create an account for you on the private test server's installation and PM you the login credentials. But I'll need the IP you will be using to connect to it so I can allow it through the server's firewall. Will that be okay? If so, we can deal with conveyance of the IP via PM. Let me know. Thanks

--------------- Added [DATE]1461990547[/DATE] at [TIME]1461990547[/TIME] ---------------

On second thought, I'll just disable the filters temporarily so I won't need your IP. Hang on and I'll get your info to you.
Reply With Quote
  #8  
Old 04-30-2016, 02:30 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, I could attempt to duplicate what you have done on my local dev site, without knowing the HTML tags you have defined for your usergroup markup (which is why I asked for that), but why would I do that, only to find out you have done something even slightly different that makes my efforts pointless?

I want to help, but I don't want to have to give out my IP address in order to do so. Sorry.
Reply With Quote
  #9  
Old 04-30-2016, 02:35 AM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't have to... please read my last line and standby for my PM
Reply With Quote
  #10  
Old 04-30-2016, 02:51 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, add the following selector to your "additional.css" template:

HTML Code:
.member_username img {
	float: none;
}
Images are floated left there (that's why the icons by the links below the username are all on the left), and this was affecting your icon, but the selector I posted should fix that.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04634 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete