vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Reviews (https://vborg.vbsupport.ru/forumdisplay.php?f=14)
-   -   (Trying to) design a clean/smooth style for our site (https://vborg.vbsupport.ru/showthread.php?t=295742)

findingpeace 03-04-2013 02:25 PM

(Trying to) design a clean/smooth style for our site
 
Hi everyone,

I'm not a web designer so I just wanted to seek some feedback on what I've done so far, from a stylistic perspective.

vBulletin.org has been the greatest step in building our community - so I just wanted to say a big thank you to the mod developers who share their skills here.

Peace

vimarc 03-06-2013 05:31 PM

Very nice clean and simple style. which mod you have used to show avatar on home page..

findingpeace 03-06-2013 05:41 PM

Thanks!

Open up forumhome_lastpostby template.

Find
Code:

<vb:if condition="$show['lastpostinfo']">
(it's the first line)

After, put this:
Code:

<div class="lastguy">
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><div class="with-bg-size">
<div class="with-bg-size" style="background-image: url('{vb:raw vboptions.bburl}/image.php?{vb:raw session.sessionurl}u={vb:raw lastpostinfo.lastposterid}&amp;type=thumb&amp;quality=100');" alt="Avatar"></div></div></a>

In additional.css, put this anywhere:

Code:

.lastguy {
padding-top: 6px;
}


.with-bg-size
  {

    background-image: url('images/noav.png');
    width: 50px;
    height: 50px;
    background-position: center;

-moz-border-radius: 4px;
border-radius: 4px;

    /* Make the background image cover the area of the <div>, and clip the excess */
    background-size: cover;
float:left;margin-right:10px;
  }

You will need to modify images/noav.png to an image on your server.

Let me know if this works out!

vimarc 03-07-2013 03:20 AM

Hi

It is working but showing only one image instead of members avatars..

findingpeace 03-07-2013 10:46 AM

Hmm, for testing purposes, could you try removing the background-image: url('images/noav.png') line from the CSS? (NOT the lastpostby template!)

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

You can also remove my code and try another method here:

https://vborg.vbsupport.ru/showthread.php?t=266326

I just liked the rounded edges and default no-av icon

vimarc 03-07-2013 04:14 PM

I tried both not working

findingpeace 06-06-2013 01:24 PM

We've made some changes to the CMS (Library) and Postbit. Any feedback would be greatly appreciated!

Changes: Popular Articles Widget, new Likes format, all avatars equally sized with CSS

Thanks!

scdurwood 06-06-2013 01:39 PM

Maybe use the dove silhouette as your status icons?

findingpeace 06-06-2013 01:56 PM

Quote:

Originally Posted by scdurwood (Post 2426139)
Maybe use the dove silhouette as your status icons?

Oh, I love that idea!!

scdurwood 06-06-2013 02:33 PM

1 Attachment(s)
Quote:

Originally Posted by findingpeace (Post 2426141)
Oh, I love that idea!!

something like the attachments....


All times are GMT. The time now is 02: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.01061 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_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