vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   I want to remove avatars from posts that show in widgets. (https://vborg.vbsupport.ru/showthread.php?t=267712)

SpaceGhost2K 07-31-2011 04:26 AM

I want to remove avatars from posts that show in widgets.
 
I run www.kinecticon.com. When someone (usually me) makes a post in a forum that is reflected in a widget on the front page, I don't want the widget to show their avatar - just the content of the post and the author is fine. Right now, I'm the main generator of content. I don't have an avatar set up yet, because I don't want the front page smothered in posts with my own avatar.

I found the widget.css template and the "useravatar" function, but I don't know where the part of the program is that calls that, or how to make it not call it. (HTML Noob, sry).

Can someone walk me through it?

setishock 07-31-2011 06:22 AM

Put this in additional.css:
Code:

.widget_post_useravatar img {
display: none;
        width: {vb:stylevar sidebar_contentavatar_width};
        height: auto;
}

Display: none tells VB not to show this object.

SpaceGhost2K 08-05-2011 10:02 PM

Awesome, I'll give it a shot. Thanks!

**EDIT** Yes! You are my hero!

thunderclap82 08-07-2011 06:11 PM

Not to hijack, but how do you get rid of the space that is left in the widget?

MScotti 10-01-2011 01:01 PM

Quote:

Originally Posted by thunderclap82 (Post 2230585)
Not to hijack, but how do you get rid of the space that is left in the widget?

and if i want show a first image in article?
thank you so much. :up:

setishock 10-01-2011 01:52 PM

Quote:

Originally Posted by thunderclap82 (Post 2230585)
Not to hijack, but how do you get rid of the space that is left in the widget?

Code:

.widget_post_useravatar img {
display: none;
        width: {vb:stylevar sidebar_contentavatar_width};
        height: auto;
}

Try editing that to read
Code:

.widget_post_useravatar img {
display: none;
        width: 0 !important;
        height: 0 !important;
}

@MScotti
Haven't got that deep in to so have no idea. Sorry...

MScotti 10-02-2011 05:03 PM

Quote:

Originally Posted by setishock (Post 2251972)
Try editing that to read
Code:

.widget_post_useravatar img {
display: none;
        width: 0 !important;
        height: 0 !important;
}


Nothing changes, space remains on the left.

Quote:

Originally Posted by setishock (Post 2251972)
@MScotti
Haven't got that deep in to so have no idea. Sorry...

thanks anyway :)

MScotti 10-10-2011 07:47 PM

Quote:

Originally Posted by thunderclap82 (Post 2230585)
Not to hijack, but how do you get rid of the space that is left in the widget?

I also need this. :up:


All times are GMT. The time now is 07:46 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.05629 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete