vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Social Group and Album Enhancements - New Social Groups page layout (https://vborg.vbsupport.ru/showthread.php?t=204335)

Lynne 02-04-2009 10:00 PM

New Social Groups page layout
 
1 Attachment(s)
A template edit for the Social Groups page to look more like the Profile page.

version 1.2 - 2009-02-07
Fixed some issues with the conditions being inside the div tags instead of outside. Searching discussions should now give you a full size table listing instead of the 'short' table. (And yeah, I skipped version 1.1 just cuz I felt like it!)

version 1.3 - 2009-02-12
Added View Pictures and Add Pictures at bottom of Pictures Box (thanks Theater!) and fixed issue with centering pictures in Social Groups causing pictures to display vertically in the Group Pictures page.

version 1.3.1 - 2009-02-12
Fixed a condition around an end div tag.

version 1.3.2 - 2009-03-07
Fixed a condition around the Add Pictures link.

1. Open the socialgroups_css template and FIND the following lines at the end:

HTML Code:

-->
</style>

Add the following lines ABOVE those lines:


HTML Code:

#content_container {
    width:100%;
    float:left;
    margin-right:-256px;
}
#content {
    margin-right:256px;
}
#sidebar_container {
    width:250px;
    float:right;
}
.content_block {
    margin-bottom:6px;
    padding:1px;
}
.content_block .block_row {
    padding:6px;
    margin:1px 0px 0px 0px;
}
.content_block .block_title {
    padding:6px;
    margin:0px 0px 0px 0px;
}
.content_block h4.thead, .content_block .block_title {
    padding:4px;
    margin:1px 0px 0px 0px;
}
.content_block .block_footer {
    text-align:right;
    padding:4px;
    margin:1px 0px 0px 0px;
}

Suggested change to this CSS if you use vBSEO is in the text file and in this post. It was suggested by Vitaly, however since I don't use vBSEO, I have no comment regarding it.


2. REPLACE your socialgroups_group template with the following:

HTML Code:

** see text file.  The template contents are too long. **
Please click INSTALL if you find this useful.

Lynne 02-05-2009 02:09 PM

Because it wouldn't fit in the first post....

3. OPTIONAL: If you want the pictures to show up centered in the right side bar, then FIND the following line in socialgroups_picturebit:

HTML Code:

<table style="width:{$picturebit_width}px; margin:5px; float:$stylevar[left]" border="0" cellspacing="0" cellpadding="0">
CHANGE to:

HTML Code:

<table style="width:{$picturebit_width}px; margin:5px; <if condition="$_GET['do'] != 'grouppictures'">float:center<else />float:$stylevar[left]</if>" border="0" cellspacing="0" cellpadding="0">

RvG2 02-05-2009 02:32 PM

wwwwwwoooooooowwwwwwwwwwwwww!!! thank you so much...

sensimilla 02-05-2009 05:22 PM

Great work :)

Calash 02-06-2009 01:13 AM

Just what I was looking for. Now all I need is to get a better postbit for the discussions area and I will be happy (Not legacy, looking to match standard postbit)

I dropped the CSS in the additional definitions area of my style and it seems to work. Any problems with keeping it there?

Theater 02-06-2009 01:46 AM

Installed, gracias.

Lynne 02-06-2009 02:31 AM

Quote:

Originally Posted by Calash (Post 1735676)
Just what I was looking for. Now all I need is to get a better postbit for the discussions area and I will be happy (Not legacy, looking to match standard postbit)

I dropped the CSS in the additional definitions area of my style and it seems to work. Any problems with keeping it there?

I don't think it's a problem unless it conflicts with the css used on the profile page. I used the same classes and definitions from the profile page, but if you modify them on the profile page, you could end up inheriting the definitions you entered in the additional definitions area.

FiMeTi 02-07-2009 11:11 AM

Great job, thx very much Lynne! :)

/edit
Thanks for the FIXX! ;=)

Lynne 02-07-2009 04:37 PM

OK, I think I had my conditions inside the divs instead of outside the divs. I played around with it and think I have it working correctly. I've attached the new version to the first post.

Thanks for the input! I'm a terrible tester - it worked fine for me and my limited way of using it. :)

Alfa1 02-08-2009 02:16 AM

Looks great!

Please consider making a Social groups index layout as well.


All times are GMT. The time now is 11:36 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.01114 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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