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
  #2  
Old 02-12-2009, 08:38 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many quieries does it add for this?
Reply With Quote
  #3  
Old 02-12-2009, 08:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #4  
Old 02-12-2009, 08:49 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks mate your leading the social group revoloution. Installed.
Reply With Quote
  #5  
Old 02-12-2009, 09:24 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice idea!
Reply With Quote
  #6  
Old 02-13-2009, 06:25 AM
rn-nr.com rn-nr.com is offline
 
Join Date: Apr 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot
Reply With Quote
  #7  
Old 02-13-2009, 09:01 AM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds exactly like what I need, however the instructions in the download zip are unclear for me.

You say we have to create 2 templates but your txt file says only 1 as far as I can see. Maybe I'm missing it. However my greater concern is; How do you actually go about creating a template. I haven't the first idea. Where do I upload the template to? Please give me a little help. Thanks.
Reply With Quote
  #8  
Old 02-13-2009, 01:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The text file has instructions to create a template called "socialgroups_messagelist" and a template called "socialgroups_messagelistbit". So, two templates.

To create a template, go to your Style Manager, find the style you want this to be used in (could be multiple styles which means you may have to create them in a couple places depending on how you have your styles set up) and select Add New Template from the dropdown.
Reply With Quote
  #9  
Old 02-13-2009, 02:12 PM
miyuki miyuki is offline
 
Join Date: Jan 2008
Location: France
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To get all message is good, but I think it would be better to get all new unread messages. Would it be possible to change it that way ?

By the way, thanks for this work
Reply With Quote
  #10  
Old 02-13-2009, 02:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I doubt I'll be adding that. The problem on our forum was that users would read the forum, select Mark As Read and then never know if they had social group messages. So, I made this list for them to be able to see all the messages.
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 02:58 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.04601 seconds
  • Memory Usage 2,320KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_php
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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