![]() |
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:
--> HTML Code:
#content_container { 2. REPLACE your socialgroups_group template with the following: HTML Code:
** see text file. The template contents are too long. ** |
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"> 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"> |
wwwwwwoooooooowwwwwwwwwwwwww!!! thank you so much...
|
Great work :)
|
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? |
Installed, gracias.
|
Quote:
|
Great job, thx very much Lynne! :)
/edit Thanks for the FIXX! ;=) |
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. :) |
Looks great!
Please consider making a Social groups index layout as well. |
^^^ Seconded.
|
You mean group.php? What's wrong with that page? It has the same sort of flow as member.php and group.php?groupid=x (this template edit I did).
|
A couple of things I noticed today...
1 - This isn't regarding your code because it happens when defaulted. Is it strange that registered members who are not members of a particular group themselves, are able to view the first 5 or so images, but when they go to click them it says they have to join the social group? Dunno, just thought I'd ask... ^^^ 2 - There is no View Pictures link when you are a member of the Social Group. I added the link and swapped the Add Picture phrase so it fits better. Look for in socialgroups_group template: Code:
<div class="alt2 smallfont block_row block_footer"> Code:
<div class="alt2 smallfont block_row block_footer"> http://img89.imageshack.us/img89/9527/fixedlinkak2.jpg Also, if you use the socialgroups_picturebit optional template modification to this, it will make all the images single column and vertical even on the View Pictures page where you see them all. I just reverted mine and live with the non-centered part. Cheers, |
Quote:
|
1 - That is a strange way to do it. They can see the thumbnails, but not the full image.
2 - Good catch! I guess I missed that when changing those boxes around. Do you mind if I put that change in the next revision? 3 - Try this for the line in socialgroups_picturebit. Find: HTML Code:
<table style="width:{$picturebit_width}px; margin:5px; float:$stylevar[left]" border="0" cellspacing="0" cellpadding="0"> 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"> |
Quote:
|
Quote:
No, not at all. Please feel free to add away. :) Thank you! That did the trick. :cool: |
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? |
Quote:
|
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.
|
Many thanks for the neat modification and the other hints! :)
|
Quote:
For width: HTML Code:
<div style="width:90%" class="floatcontainer"> HTML Code:
<div style="width:90%; margin:0 auto" class="floatcontainer"> |
<i>never mind. sorry.</i>
|
Quote:
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) " : '') . |
Thanks Lynne!!
INSTALLED! |
Quote:
|
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! :) |
Quote:
|
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. |
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!) |
Neat Mod.
How can I increase the number of discussions on the group page. |
Quote:
|
1 Attachment(s)
Thanks.
Anyone know how to make the full members list show in 3 columns - like you have in "Contacts and Friends"? See attached |
Quote:
|
Anyone know why i cant see anything in the text file for "socialgroups_group"
I save it to my PC, then extract, but then it opens and there is nothing there..? *edit* Nvrmnd, i got it. :) |
I have a question.. I'm not sure if this mod caused it or not, i think the issue might have been there prior, but i'll ask anyway. :)
On the profile where it lists a persons social groups that they belong to, it only shows a dash like this Quote:
Any thoughts or ideas.? Thanks |
You can always see if it was this mod by just reverting your template. But, no, this mod is a template mod and only touches the groups.php page. The template that spits out that group list is memberinfo_block_groups.
|
I know this isn't about this mod, but any idea what might be causing it..?
Code:
<if condition="$block_data['membergroupcount']"> Thanks in advance. :) |
You should post for help with that issue in the main forums, not in this thread.
|
Just installed this and it looks great. Can we add polls in social groups?
|
All times are GMT. The time now is 06:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|