Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Buddylist on Forumhome Details »»
Buddylist on Forumhome
Version: 1.00, by ThorstenA ThorstenA is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.2 Rating:
Released: 08-17-2008 Last Update: 08-18-2008 Installs: 14
Uses Plugins Template Edits
Re-useable Code Translations Is in Beta Stage  
No support by the author.

Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.

What does this Product do?
It displays Buddylist on Forumhome

How to install?
  • Import Product
  • Open template FORUMHOME and put $fh_buddylist where you want to show buddylist.
  • Create template BUDDYLIST_FH and put this code into it
    Code:
    	<script type="text/javascript">
    	<!--
    	function pm(tform)
    	{
    		var users = new Array();
    		var arrCount = 0;
    		for (i = 0; i < tform.elements.length; i++)
    		{
    			var element = tform.elements[i];
    			if ((element.name != "allbox") && (element.type == "checkbox") && (element.checked == true))
    			{
    				users[arrCount] = element.value;
    				arrCount++;
    			}
    		}
    		if (arrCount == 0)
    		{
    			alert("$vbphrase[no_users_selected]");
    		}
    		else
    		{
    			var querystring = "";
    			for (i = 0; i < users.length; i++)
    			{
    				querystring += "&userid[]=" + users[i];
    			}
    			if (opener && !opener.closed )
    			{ // parent window is still open
    			self.location=	"private.php?$session[sessionurl]do=newpm" + querystring;
     // opener.location="private.php?$session[sessionurl]do=newpm" + querystring;
    			}
    			else
    			{ // parent window has closed or went to a different URL.
    self.location=	"private.php?$session[sessionurl]do=newpm" + querystring;
    				//window.open("private.php?$session[sessionurl]do=newpm" + querystring, "pm");
    			}
    		}
    	}
    	// -->
    	</script>
    
    
    <form action="private.php" method="post" target="_blank" name="vbform">
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
    <tr>
    	<td class="tcat" colspan="3">$vbphrase[contacts]</td>
    </tr>
    <tr>
    	<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td>
    </tr>
    $onlineusers
    <tr>
    	<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td>
    </tr>
    $offlineusers
    <tr>
    	<td class="tfoot" align="center" colspan="3">
    
    		<input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" />
    	</td>
    </tr>
    </table>
    
    </form>
  • optional: Open template buddylistbit and change it to
    Code:
    <tr>
    	<td class="alt1"><a href="member.php?$session[sessionurl]u=$buddy[userid]"><img src="$stylevar[imgdir_statusicon]/user_$buddy[statusicon].gif" alt="" title="<phrase 1="$buddy[username]" 2="$buddy[statusicon]">$vbphrase[x_is_y]</phrase>" border="0" /></a></td>
    	<td class="alt2" width="100%"><label class="smallfont" for="buddy_$buddy[userid]"><a href="member.php?$session[sessionurl]u=$buddy[userid]"><if condition="$show['highlightuser']"><span class="highlight">$buddy[username]</span><else />$buddy[username]</if></a></label></td>
    	<td class="alt1"><input type="checkbox" name="userid[]" id="buddy_$buddy[userid]" value="$buddy[userid]" /></td>
    </tr>
  • Done

How to uninstall?
  • Deinstall Product
  • Rechange FORUMHOME
  • Done

Show Your Support

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

Comments
  #12  
Old 08-20-2008, 08:35 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah ill consider this, I have a bit in my side column already tho.
Reply With Quote
  #13  
Old 08-27-2008, 07:39 AM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this one is perfect
Reply With Quote
  #14  
Old 12-06-2008, 06:47 PM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes with avatar would be nice, waiting for this
Reply With Quote
  #15  
Old 12-06-2008, 06:50 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why is a screenshot so much to ask?
Reply With Quote
  #16  
Old 11-17-2009, 10:42 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.
Reply With Quote
  #17  
Old 04-25-2012, 03:56 AM
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect on vB 3.8.7 PL2
Thanks!!!
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 01:38 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.04046 seconds
  • Memory Usage 2,265KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (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
  • (1)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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