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)

Theater 02-08-2009 03:31 AM

^^^ Seconded.

Lynne 02-08-2009 03:46 PM

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).

Theater 02-08-2009 05:41 PM

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">
                <a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures_to_this_group]</a>               
            </div>

Replace with:

Code:

            <div class="alt2 smallfont block_row block_footer">
                <a href="group.php?$session[sessionurl]do=grouppictures&amp;groupid=$group[groupid]">$vbphrase[view_pictures]</a> |
                <a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures]</a>               
            </div>

Result if you're a member of the social group:



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,

Alfa1 02-08-2009 06:19 PM

Quote:

Originally Posted by Lynne (Post 1737826)
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).

  • /group.php does not show latest group threads.
  • Categories on /group.php seem quite chaotic, because they display in the same random way with various font size as tags on tags.php. An alphabetical listing order would be nice.
  • /group.php?do=categorylist does not show links for staff to delete or edit a group from the main groups overview.
  • /group.php?do=categorylist does not show the last post in a group. Similar to how it works for forums.
  • /group.php?do=categorylist does not show latest threads in that category.
  • Groups on /group.php are listed by icon. Rows, like on /group.php?do=categorylist show a much better overview. IMHO this should be on the main group page.
  • I find the location for the group search, out of place. IMHO it belongs in its own block.
  • /group.php does not show popular groups or active groups.

Lynne 02-08-2009 06:26 PM

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">
Replace with:
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">

Lynne 02-08-2009 07:46 PM

Quote:

Originally Posted by Alfa1 (Post 1737954)
Quote:

Originally Posted by Lynne (Post 1737826)
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).

  • /group.php does not show latest group threads.
  • Categories on /group.php seem quite chaotic, because they display in the same random way with various font size as tags on tags.php. An alphabetical listing order would be nice.
  • /group.php?do=categorylist does not show links for staff to delete or edit a group from the main groups overview.
  • /group.php?do=categorylist does not show the last post in a group. Similar to how it works for forums.
  • /group.php?do=categorylist does not show latest threads in that category.
  • Groups on /group.php are listed by icon. Rows, like on /group.php?do=categorylist show a much better overview. IMHO this should be on the main group page.
  • I find the location for the group search, out of place. IMHO it belongs in its own block.
  • /group.php does not show popular groups or active groups.

You are talking about a lot more than just a template edit. I don't know that I'm going to be tackling that.

Theater 02-08-2009 07:50 PM

Quote:

Originally Posted by Lynne (Post 1737961)
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">
Replace with:
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">

Hehe, cool, I just wanted to make sure it just wasn't me then.

No, not at all. Please feel free to add away. :)

Thank you! That did the trick. :cool:

Jman423 02-09-2009 09:30 PM

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?

Lynne 02-10-2009 02:01 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?

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.

GCC LLC 02-11-2009 02:02 PM

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.


All times are GMT. The time now is 07: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.01307 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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