vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to move custom username icon to right side of username on profile sidebar? (https://vborg.vbsupport.ru/showthread.php?t=322487)

edgeless 04-30-2016 12:55 AM

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

MarkFL 04-30-2016 01:51 AM

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. :)

edgeless 04-30-2016 01:57 AM

Quote:

Originally Posted by MarkFL (Post 2569868)
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.

MarkFL 04-30-2016 02:02 AM

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.

edgeless 04-30-2016 02:06 AM

Quote:

Originally Posted by MarkFL (Post 2569871)
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.

https://vborg.vbsupport.ru/external/2016/04/1.png
https://vborg.vbsupport.ru/external/2016/04/2.png

MarkFL 04-30-2016 02:10 AM

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?

edgeless 04-30-2016 02:18 AM

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.

MarkFL 04-30-2016 02:30 AM

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. :(

edgeless 04-30-2016 02:35 AM

You don't have to... please read my last line and standby for my PM :)

MarkFL 04-30-2016 02:51 AM

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. :)


All times are GMT. The time now is 02:02 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.01128 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete