Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Webmazter - Show ALL Group Memberships Details »»
Webmazter - Show ALL Group Memberships
Version: 1.0.0, by webmazter webmazter is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.4 Rating:
Released: 01-31-2007 Last Update: 02-15-2007 Installs: 16
Code Changes  
No support by the author.

Hi,

This is a small and simple mod to show ALL Group Memberships in User Profile Page.

This is only to show the Usergroups, nothing changed to the current Private Usergroup and Public Usergroup system.


Regards


Screenshot
Attachment 59843

Show Your Support

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

Comments
  #22  
Old 02-07-2007, 02:12 AM
giotmuadong's Avatar
giotmuadong giotmuadong is offline
 
Join Date: Feb 2007
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, i like it
Reply With Quote
  #23  
Old 02-07-2007, 03:19 AM
webmazter webmazter is offline
 
Join Date: Jan 2007
Location: www.webmazter.com
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Does this mean that it will allow members to see they are in miserable users?
Will show ANY usergroups.
Reply With Quote
  #24  
Old 02-16-2007, 01:45 AM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to excluse a usergroup?
(Yes, I'm talking about the miserable people ;-))
Reply With Quote
  #25  
Old 02-16-2007, 07:42 AM
webmazter webmazter is offline
 
Join Date: Jan 2007
Location: www.webmazter.com
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eagle Creek View Post
Is it possible to excluse a usergroup?
(Yes, I'm talking about the miserable people ;-))
Yes, it's now possible.

Download w_AllGroupMemberships_excluding_install.zip
Reply With Quote
  #26  
Old 02-16-2007, 08:03 AM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this an add-on or do I have to replace the file?
Reply With Quote
  #27  
Old 02-16-2007, 05:48 PM
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #28  
Old 02-21-2007, 03:05 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweeet!

To bad it requires a file edit. Is it possible to make a plugin?
Reply With Quote
  #29  
Old 02-22-2007, 02:16 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, create the plugin with the following hook: member_complete

And the code:
PHP Code:
$membergroupbits '';
foreach (
$membergroups AS $usergroupid)
{
    
$usergroup =& $vbulletin->usergroupcache["$usergroupid"];
    
//if ($usergroup['ispublicgroup'])
    
if (!in_array($usergroupid, array(1,2,3,4,5))) // Replace 1,2,3,4,5 with Usergroup ID you want to exclude (comma separated)
    
{
        
exec_switch_bg();
        eval(
'$membergroupbits .= "' fetch_template('memberinfo_membergroupbit') . '";');
    }

I personally prefer the file edit so that vBulletin doesn't waste a few milliseconds processing the membergroupbits a second time when it reaches the hook.
Reply With Quote
  #30  
Old 02-23-2007, 06:37 AM
webmazter webmazter is offline
 
Join Date: Jan 2007
Location: www.webmazter.com
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eagle Creek View Post
Sweeet!

To bad it requires a file edit. Is it possible to make a plugin?
It's just few lines edit in one file.
It's not efficient to use plugin.

If you want to use plugin, then thincom2000 has provided the code.

But keep in mind that the codes are run twice with plugin. (looping twice in $membergroups variable)
One is original VB, then another one is custom one.

With file edit, the codes are run only once.
Reply With Quote
  #31  
Old 12-23-2007, 12:19 AM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone using this on 3.6.8?

SVT
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 12:28 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.05053 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete