Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
View all your social group messages Details »»
View all your social group messages
Version: 1.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.x Rating:
Released: 02-11-2009 Last Update: 03-11-2009 Installs: 56
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

A page to display all the messages in all the groups a user has joined.

I have found on my forums, that it is hard to keep up with new messages in your social groups. You have to go to each individual group and see if there is anything new. So, I created this page to list all the messages in your social groups in date descending order.

[s]You will need to create two new templates and upload one file.[/s] edit: The two templates and the phrases for this modification are now included in a product.

The users may either view All My Groups and see the messages from all their groups in the list, or they may select one of the groups they belong to and see just the messages in that group. I used the option vboptions > Message Searching Options > Maximum Search Results to Return to set maximum results shown.

Version History:
1.0 2009-02-12:
- initial release by Lynne at vbulletin.org

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)


Please mark INSTALL if you find this useful.

Download Now

File Type: zip Socialgroups Messagelist 1_1.zip (92.7 KB, 104 views)
File Type: zip Socialgroups Messagelist 1_2.zip (38.9 KB, 213 views)

Screenshots

File Type: png messagelist.png (64.4 KB, 0 views)
File Type: png messagelist2.png (12.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 09-27-2009, 03:47 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thansk Lynne all working now
Reply With Quote
  #33  
Old 03-08-2010, 10:32 AM
unfv unfv is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne, it would be great to have this as a widget for VB CMS
Reply With Quote
  #34  
Old 03-10-2010, 01:39 PM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Thanks
Reply With Quote
  #35  
Old 04-11-2010, 06:25 PM
bjhuang bjhuang is offline
 
Join Date: Jul 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to reduce queries:
PHP Code:
        if (!$message['discussiontitle']&&!$discussiontitlecache[$message['discussionid']]) 
        {
            
$title $vbulletin->db->query_first("
                SELECT groupmessage.title as discussiontitle
                FROM " 
TABLE_PREFIX "groupmessage as groupmessage
                JOIN " 
TABLE_PREFIX "discussion AS discussion 
                    ON (discussion.firstpostid = groupmessage.gmid)
                WHERE groupmessage.discussionid = " 
$message['discussionid'] ."
                LIMIT 1
            "
);
            
$message['discussiontitle']=$title['discussiontitle'];
            
$discussiontitlecache[$message['discussionid']] = $title['discussiontitle'];
        }
        else 
$message['discussiontitle']=$discussiontitlecache[$message['discussionid']]; 
Quote:
Originally Posted by Lynne View Post
Add? Since it's a totally new page, you don't get added queries to the page. But, it currently has the potential of one small query per message to get the Discussion Name. If you don't want the Discussion name listed, you may comment out the following code in messagelist.php:
PHP Code:
        if (!$message['discussiontitle'])
        {
        
$title $vbulletin->db->query_first("
            SELECT groupmessage.title as discussiontitle
            FROM " 
TABLE_PREFIX "groupmessage as groupmessage
            JOIN " 
TABLE_PREFIX "discussion AS discussion 
        ON (discussion.firstpostid = groupmessage.gmid)
            WHERE groupmessage.discussionid = " 
$message['discussionid'] ."
            LIMIT 1
            "
);
            
$message['discussiontitle']=$title['discussiontitle'];
        } 
And then take out these lines in 'socialgroups_messagelistbits':
HTML Code:
                <div>
                    <span><phrase 1="group.php?$session[sessionurl]gmid=$message[gmid]#gmessage$message[gmid]" 2="$message[discussiontitle]">$vbphrase[discussion_x]</phrase></span>
                </div>
Reply With Quote
  #36  
Old 02-12-2011, 08:10 PM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I could really use this for vbull 4.x any plans to port it? Thanks!
Reply With Quote
  #37  
Old 02-12-2011, 10:09 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 sross View Post
Hi, I could really use this for vbull 4.x any plans to port it? Thanks!
No, not until I actually have my live site moved over to 4.x and I am able to test it before releasing it..
Reply With Quote
Reply

Thread Tools

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 08:41 PM.


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.05464 seconds
  • Memory Usage 2,304KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_html
  • (2)bbcode_php
  • (2)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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (4)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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