vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - View all your social group messages (https://vborg.vbsupport.ru/showthread.php?t=205163)

Big-K 02-14-2009 04:57 PM

Hi Lynne,

I've become a huge fan of your social group hacks. This one works seamlessly too but the question is how do members link to this? Should there be a link somewhere on the Social Groups landing page?

An unrelated question:
Is there a way to make social groups members list look like the three-columned friends list on the profile page i.e - profile.php?do=buddylist?

Lynne 02-14-2009 05:06 PM

I added the link under the Community Links dropdown. This is what I have in place of just the Social Groups link in that dropdown:

HTML Code:

        <if condition="$show['quick_links_groups']">
                    <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
                    <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/group.php?$session[sessionurl]do=grouplist">- View All Groups</a></td></tr>
                    <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/messagelist.php?$session[sessionurl]do=list">- Your Group Messages</a></td></tr>
        </if>

The "Your Group Messages" is the link for this page.

drsli 02-14-2009 09:11 PM

Thank you for this handy function!

Merriweather 03-09-2009 03:11 PM

It appears that the messages are not grouped by which group they are in, just by order of posting? So if I am in 5 groups with 3 discussions each, I am going to have 15 different discussion threads showing their posts all mixed up?

What I was hoping is that it groups by group and then discussion, perhaps with a link to collapse each discussion/group. i.e.:

Group 1 (Collapsible)
-- Discussion 1 (Collapsible)
---- Post
---- Post
---- Post
-- Discussion 2 (Collapsible)
---- Post
---- Post
---- Post

Group 2 (Collapsible)
-- Discussion 1 (Collapsible)
---- Post
---- Post
---- Post
---- Post
---- Post
-- Discussion 2 (Collapsible)
---- Post
---- Post

Group 3 (Collapsible)
-- Discussion 1 (Collapsible)
---- Post
---- Post
-- Discussion 2 (Collapsible)
---- Post
---- Post
---- Post
---- Post
---- Post

etc... Can you describe to me how the mod lists the posts?

Thank you!

ragtek 03-09-2009 03:15 PM

Why you hadn't create a product where the 2 templates are in?*g*

Lynne 03-09-2009 03:20 PM

This was written to simply show the latest posts in all the discussions in all the groups you are a member in. So, it is ordered by date.

Merriweather 03-12-2009 04:59 AM

Can you set the number of latest posts it shows?

Lynne 03-12-2009 02:30 PM

I actually modified this on my site so you may select to see messages from just one group also. And I added in the $vboptions['maxresults'] to use to show only x amount of results (that is the variable set in vboptions > message searching options > max search results to return). I'll post the new version within the next couple of days.

Lynne 03-12-2009 09:27 PM

OK, I uploaded version 1.2 of this:
Quote:

1.2 2009-03-12:
- fully phrased, templates now in product to import.
- added option to view only messages from single group
- used vboptions > Message Searching Options > Maximum Search Results to Return to set maximum results shown
- cached all bbcode templates
- AFTER INSTALL OF PRODUCT, YOU WILL HAVE TO REVERT THE TWO TEMPLATES (socialgroups_messagelist and socialgroups_messagelistbits) IF YOU HAD INSTALLED THIS PREVIOUSLY (or else you will still be using the original templates)
Quote:

Originally Posted by ragtek (Post 1764116)
Why you hadn't create a product where the 2 templates are in?*g*

It is now. I don't know why I didn't before. :cool:

Keesa 03-30-2009 08:48 AM

I am not seeing where they should be able to see this once it is installed?

I also have this hack installed...
https://vborg.vbsupport.ru/showthread.php?t=204335

Could that be the problem?


All times are GMT. The time now is 01:48 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.00971 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_html_printable
  • (2)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