Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2011, 04:03 PM
BennettPrescott BennettPrescott is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Sidebar Group Discussions Display

I started this over at vB.com and they sent me here...

I have the latest two group discussions in the forum sidebar, which is a great way to keep people appraised of that feature. One member has asked me if it would be possible to have that sidebar only display recent discussions from groups he is subscribed to. Is this possible? If not, is there already such a feature request?

vB.com says I will have to write custom PHP, so I guess my real question is if anyone has already done this. I am OK with PHP but haven't used it in a while, programming is not my calling.
Reply With Quote
  #2  
Old 04-05-2011, 06:43 PM
BennettPrescott BennettPrescott is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone? Pretty please? I don't even know where to start. I have done no PHP work within vB.
Reply With Quote
  #3  
Old 04-05-2011, 07:10 PM
Staxed's Avatar
Staxed Staxed is offline
 
Join Date: Jun 2006
Location: Fayetteville, NC
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you put it there as a way to get people interested in thr groups discussion feature...making it so you can only see the ones you are subscribed to would prevent anyone not in a group from seeing discussions...and in essence removing the reason you put it there to begin with.

Just something to think about, sadly I can't help much with the programming of what you are asking for.
Reply With Quote
  #4  
Old 04-05-2011, 11:28 PM
BennettPrescott BennettPrescott is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... very good point. I don't know if it would be possible to program it so that if you're not subscribed to any groups it shows you all of them... and then again any users who want to continue to see all the group discussions will be unable to if they join a group. This would have to be a user-level setting, which I don't think is possible
Reply With Quote
  #5  
Old 04-05-2011, 11:45 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set per group if discussions are publicly visible or not.

The main reason why I would like such sidebar widget is to make users aware of the latest group discussions from the groups they are member of. The biggest issue with groups is that no one sees discussions unless explicitly checking if there is anything new in those groups.

Showing group discussions from public groups, that the user is not a member in can indeed stimulate the user to join those groups as well.

I'd like to have both sidebar widgets: 'Discussions in your groups' and 'Latest Group discussions'.
Reply With Quote
  #6  
Old 04-06-2011, 12:31 PM
Staxed's Avatar
Staxed Staxed is offline
 
Join Date: Jun 2006
Location: Fayetteville, NC
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BennettPrescott View Post
Hmm... very good point. I don't know if it would be possible to program it so that if you're not subscribed to any groups it shows you all of them... and then again any users who want to continue to see all the group discussions will be unable to if they join a group. This would have to be a user-level setting, which I don't think is possible
Thinking about it, having the mod made the way you originally posed it...and simply making all new members part of a default group could work as well.
Reply With Quote
Reply


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 11:15 AM.


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.03890 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete