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)

drsli 02-11-2009 02:50 PM

Many thanks for the neat modification and the other hints! :)

Lynne 02-11-2009 07:22 PM

Quote:

Originally Posted by GCC LLC (Post 1740882)
Anyone know of a way to make this a fixed width page? I know Lynne mentioned adding a width to the floatcontainer but that doesn't seem to work.

If it's not working, then you aren't applying the css correctly.

For width:
HTML Code:

<div style="width:90%" class="floatcontainer">
For width and align center:
HTML Code:

<div style="width:90%; margin:0 auto" class="floatcontainer">

Keesa 02-12-2009 06:08 AM

<i>never mind. sorry.</i>

Keesa 02-12-2009 06:13 AM

Quote:

Originally Posted by Jman423 (Post 1739087)
Thank you for this MOD.

Do you happen to know how I could display more than just 10 members when viewing the group's main page?


I changed it here, in group.php

Code:

" . ($vbulletin->options['avatarenabled'] ? "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON (customavatar.userid = user.userid) " : '') .
                        "LEFT JOIN " . TABLE_PREFIX . "customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) " .
                        "WHERE socialgroupmember.groupid = " . $group['groupid'] . " AND socialgroupmember.type = 'member'
                        ORDER BY user.lastactivity DESC
                        LIMIT 10
                ");

Change limit 10 to limit... whatever.

Deviant K1 02-12-2009 09:06 AM

Thanks Lynne!!

INSTALLED!

Jman423 02-12-2009 12:03 PM

Quote:

Originally Posted by Lynne (Post 1739303)
Right around line 1950 of the groups.php page is where the query is. I'd try changing the limit and see if that is what you want.

Thank you very much, that worked perfectly!

FiMeTi 02-12-2009 06:24 PM

Lynne I updated the group template today.
Please take a look on the search discussions part.
When you search, the table of "group options" will increase its width and not stay in style.

thanks! :)

Lynne 02-12-2009 06:36 PM

Quote:

Originally Posted by FiMeTi (Post 1742165)
Lynne I updated the group template today.
Please take a look on the search discussions part.
When you search, the table of "group options" will increase its width and not stay in style.

thanks! :)

All you should get when you do a search is the search box. You should not continue to have the members box or pictures box at all.

FiMeTi 02-12-2009 06:42 PM

Oh! Since I am a owner of a group, it apears. Not as guest tho, but as owner it does.
I am talking about the group options bar, where the links <<edit group>> <<delete group>> etc. are listed.

Lynne 02-12-2009 08:27 PM

Ah ha! That one..... just a sec....

OK, that took more than a sec to trace that little div tag down. I had to put a condition around it. It seems to validate now. What a !?%$! :D

Updated.... again! (Who would of thought a simple little template edit would require so many revs!)


All times are GMT. The time now is 03:26 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.01904 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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