vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   AAHH!! How to get rid of Statistics part of User Profile???!!! (https://vborg.vbsupport.ru/showthread.php?t=280999)

Dave234 04-02-2012 04:11 AM

AAHH!! How to get rid of Statistics part of User Profile???!!!
 
I've been searching everywhere but I can't seem to find how to get rid of the Statistics part of the User Profile!!! Most of it is complete junk that no one cares about. Who cares if someone posted 0.4 times per day? I mean, come on!

How can I get rid of that stuff???

Also, how can I add stuff, like a gallery tab???????

Does anyone here know? I've been searching for this info but it is NOWHERE!

Lynne 04-02-2012 03:37 PM

Delete it from the template if you don't want it.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

There is an article in the articles section on how to add new tabs.

Dave234 04-02-2012 11:35 PM

Lynne, I really, really appreciate you helping me out with this. I made the change in Options --> General Settings (Add Template Name in HTML Comments set to yes), but I don't know what you mean about the rest of it.

How do I view the source code in the profile? I right-click everywhere when I'm in someone's profile but I don't see any "View Source Code" option.

Pandemikk 04-02-2012 11:50 PM

Right click -> View Page Source or view source

Lynne 04-03-2012 01:33 AM

I am talking about a browser option to View the Source Code of the html page you are seeing in your browser.

Dave234 04-03-2012 01:58 AM

So if I go onto one person's profile, and change the actual html code, then that will change the code for all the profiles on my website?

Because I just tried that, and it doesn't work.

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

Is there really nothing in the admincp where I can just uncheck a box to have it not display the Statistics information?

Zachery 04-03-2012 02:52 AM

Nope.

Dave234 04-03-2012 03:03 AM

Can you explain how to do it, as if you were explaining it to a two-year-old?

Brexen 04-04-2012 06:32 PM

You need to right click, view Source Code. That will give you the template name. Then you need to go into the ACP, Style Manager, Select from the Dropdown, View Templates. Look for the right template. Edit it and save.

Dave234 04-05-2012 01:00 PM

Thank you very much! I finally removed the Contact section and the Statistics section. But is there any way to edit the appearance of what remains? I'm talking about the "memberinfo_profileid" template in the "Member Info" templates.

In mine, the spacing looks great when it is in "Edit" mode. But when I click the button to see my profile (or anyone's profile) the way that the normal user sees it, all the spaces are removed and it really looks horrible. I went into the code and tried to add to the right location "<br><br>" but that changed Nothing.

Is there any way to make the spacing provided in the "Edit Profile" mode the way it is in the "View by Others" mode? Or at the very least allow me to add some spaces in between the categories? Right now it just looks way too crammed and it's difficult to understand anyone's profile.

Lynne 04-05-2012 04:00 PM

Can we get a link to see the problem? And an image pointing it out if it isn't obvious.

Dave234 04-05-2012 05:51 PM

Hey, Lynne. Here is how it appears to other users. I want to change how this looks, but putting "<br><br><br>" in the code in what I believe to be the correct area is not changing anything:

Basic Information

About Dave234
Biography:
Raised in blah blah blah
Location:
Washington, DC
Gender:
Male


But in the edit screen, it shows the titles all on the left (Biography, Location, and Gender), and the user input to the right, in like a second (albeit invisible) column, flush left against the middle of the screen. Please let me know if I can describe it better, as I'm not the best at conveying this kind of info.

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

I want it to look like it does in the edit screen. The way it appears now it is too cramped and not enjoyable to read.

Lynne 04-05-2012 08:12 PM

Noone can troubleshoot html or CSS from an image or from you doing a copy/paste.

Dave234 04-05-2012 11:23 PM

<dl>
<vb:if condition="$show['profilefield_edit']">
<dt id="profilefield_title_{vb:raw profilefield.profilefieldid}" class="aboutme_left">{vb:raw profilefield.title}</dt>
<dd id="profilefield_value_{vb:raw profilefield.profilefieldid}" class="aboutme_right">
{vb:raw profilefield.value}
<script type="text/javascript">
<!--
vBulletin.register_control("vB_ProfilefieldEditor" , "{vb:raw profilefield.profilefieldid}");
//-->
</script>
</dd>
<vb:else />
<dt>{vb:raw profilefield.title}:</dt>
<dd>{vb:raw profilefield.value}</dd>
</vb:if>

</dl>

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

That's the code. Does it look like there are any issues in it?

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

Please help me.

Lynne 04-06-2012 03:44 PM

Sorry, but we cannot view the CSS from some posted html code.

I'll say it again...
Quote:

Originally Posted by Lynne (Post 2317128)
Noone can troubleshoot html or CSS from an image or from you doing a copy/paste.


Dave234 04-06-2012 05:55 PM

What is CSS? I'm sorry, I'm really new to all of this.

Lynne 04-06-2012 07:36 PM

CSS is the stuff that adds style to your site. Like:
HTML Code:

body a {
  color:#417394;
  text-decoration:none;
}

That is the CSS to make link be color #417394 and not be underlined. You can also make CSS to not have line breaks where there normally are line breaks:

HTML Code:

div.class {display: inline;}
... normally divs are block elements.

Dave234 04-08-2012 12:47 PM

Do you know where I can find this CSS for the profile page?

Lynne 04-08-2012 03:35 PM

You don't need to necessarily find it (although I'd guess it is in member.css), you just need to add your own to override it to the additional.css template.

Dave234 04-10-2012 11:51 PM

Please explain. I have no idea what you are talking about. I really don't know anything about any of this. If possible, please explain how to do it as if you were explaining it to a 2-year-old.

Amaury 04-10-2012 11:55 PM

Admin CP > Styles & Templates > Style Manager > Edit Templates > CSS Templates > additional.css

Dave234 04-11-2012 12:00 AM

OK, perfect! Thanks, Amaury25! So now what do I do?

Amaury 04-11-2012 12:02 AM

Quote:

Originally Posted by Dave234 (Post 2318903)
OK, perfect! Thanks, Amaury25! So now what do I do?

Add the code you want to it.

Dave234 04-11-2012 12:08 AM

Not sure what code......

ForceHSS 04-11-2012 12:14 AM

Quote:

Originally Posted by Dave234 (Post 2318909)
Not sure what code......

as you said u dont seem to have a clue so in case you break something you really need a coder ask in paid section


All times are GMT. The time now is 02:28 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.01465 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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