Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New Social Groups page layout Details »»
New Social Groups page layout
Version: 1.3.2, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.0 Rating:
Released: 02-04-2009 Last Update: 03-06-2009 Installs: 205
Template Edits
Re-useable Code Translations  
No support by the author.

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.

Download Now

File Type: zip Socialgroups Template_32.zip (211.0 KB, 914 views)

Screenshots

File Type: png sg_image.png (206.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
caoducanh9x, Q-v-n-s-Q

Comments
  #102  
Old 05-08-2010, 06:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phototrope View Post
Hi Lynne,

This is pretty much exactly what I was looking for, except that I have a VB4 installation.

Are any mods required to get this working on VB4?
It already looks like this on vB4 (or close enough that I didn't feel the need to change it).
Reply With Quote
  #103  
Old 05-08-2010, 06:13 PM
Phototrope Phototrope is offline
 
Join Date: May 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, sorry, I realised that after I sent the post and and then found your mod update post on the VB4 area.

For the record, I prefer the way you designed the mod (ie., with the left and right sides flipped) than the way vb4 release did it.
Reply With Quote
  #104  
Old 05-09-2010, 02:38 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phototrope View Post
Yes, sorry, I realised that after I sent the post and and then found your mod update post on the VB4 area.

For the record, I prefer the way you designed the mod (ie., with the left and right sides flipped) than the way vb4 release did it.
Just change the css to float the right div left and the left div right. That should do it.
Reply With Quote
  #105  
Old 12-11-2010, 03:28 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much! It is great!
Reply With Quote
  #106  
Old 12-12-2010, 02:47 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If anyone want to add the icon1.gif at the left of any discussion (like the forum threads) do the following changes.
Attachment 124417

In the template socialgroups_group find
Code:
$template_hook[group_discussionlist_start_col]
Add below
Code:
<td class="thead"></td>


In the template socialgroups_discussion find
Code:
$template_hook[group_discussionbit_start]
Add below
Code:
<td class="alt1" align="center"><img src="path/images/icons/icon1.gif"></img></td>
where "path" your forum url :up:

You're done!
Reply With Quote
  #107  
Old 12-29-2010, 09:50 AM
JacquiiDesigns's Avatar
JacquiiDesigns JacquiiDesigns is offline
 
Join Date: Dec 2008
Location: Tennessee
Posts: 687
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Lynne - is this share already the default Social Groups display in vB 3.8.6 PL1

Thanks
Reply With Quote
  #108  
Old 12-29-2010, 11:59 AM
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Location: Peru
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey ! I get this error :

PHP 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; } 
Reply With Quote
  #109  
Old 12-29-2010, 03:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JacquiiCooke View Post
Hey Lynne - is this share already the default Social Groups display in vB 3.8.6 PL1

Thanks
No. vB never changed the layout of this page in vB3.8.x

Quote:
Originally Posted by zxleo View Post
hey ! I get this error :

PHP 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; } 
You didn't follow the instructions carefully. Go back and reread them and redo what the instructions say to do.
Reply With Quote
  #110  
Old 05-15-2011, 03:28 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Decided to use Social Groups on my new site (USHistoryForums.com running 3.8.7) and this mod was a great improvement in the look of the layout!

DEMO: United States History Forum Group Layout

Thanks Lynne! :up:
Reply With Quote
  #111  
Old 06-21-2011, 07:35 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, or anybody else that can help.

I am trying to get the category description to show underneath the category heading on the main group.php page.

I have copied this line of code from the "socialgroups_categorylist_bit" template (the description shows when you click on the "view all Categories" link) , but I have no idea how or where to put it in order to show the description on the main page.

<div class="smallfont">$category[description]</div>

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06421 seconds
  • Memory Usage 2,353KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete