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

Reply
 
Thread Tools
VbBuddies RC 1 Details »»
VbBuddies RC 1
Version: 1.00 RC 1, by waza waza is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-08-2005 Last Update: 11-19-2005 Installs: 51
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Hey,
This is basicly a port of the vbbuddies for vb 3.0.x you can find here:
Also all screenshots you can find here
https://vborg.vbsupport.ru/showthread.php?p=816720

Altough I have added an approve wannebee option and maybe more will be added in the future.

For people who don't know vbbuddies for 3.0.x:
vbbuddies gives every user a page with his buddys, they can set whether it's public or not.
You can set for every usergroup if they can see the buddy page and you can also set what to show on the page and some other options.
Vbbuddies only show people if you have added them and they have added you. If there is only one link, the user shows up as a wannabee and the other one can see the wannabees and add them as buddys...


This is a beta, but I tested it on a 3.5.0 and 3.5.1 and it worked, but you never know.

Edits :
10-november-2005:
New package that fixes all errors.

Re-upload the buddies.php
Overwrite the plug in
upload the images

11-november-2005:
Beta 3 released.

Re-upload the buddies.php
Overwrite the plug in
upload the wannabee.gif
Do template mods as described in upgrade.txt

New Stuff in beta 3:
online buddies, offline buddies and wannabees shown in profile,
wannabee image in memberlist bits
resize avatar option
some new phrases and some phrases fixed
link in profile fixed

12-november-2005:
A fix and an uninstaller for members with vb 3.0.x versions .

For members who had the vb 3.0.x version and upgraded their board:
first run the uninstaller and then do a fresh install
For all others:
overwrite the product.

19-november-2005:
RC1 released.

New:
-pm function
-maximum buds per usergroup
-wannabee management for users
-some phrases
-file with optional steps
Fixes:
-uninstaller for 3.0.x versions
-some small things



Make sure you do all instructions as said in the install.txt file

Have fun!

And btw, please click install if you use this!

Show Your Support

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

Comments
  #42  
Old 11-11-2005, 04:52 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads
Please! Thank you very much!!
No worries, they are only temp fixes though, i'm sure the finished product will be much smoother when it's done.

Ok, open the MEMBERINFO template:

Find the following code:
Code:
<!-- Start Buddies Hack -->
			<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">			
			<fieldset class="fieldset">
				<legend>$vbphrase[buddies]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[totalbuddies]: <strong>$buddyinoutcounter</strong>
					</td>
				</tr>
				<tr>
					<td><a href="buddies.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[viewmemberbuddies]</a></td>
				</tr>
				</table>
			</fieldset>
			</if>
			<!-- End Buddies Hack -->
And replace it with:

Code:
			<!-- Start Buddies Hack -->
			<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">			
			<fieldset class="fieldset">
				<legend>$vbphrase[buddies]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]">Total Buddies</a> <strong>$buddyinoutcounter</strong>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>
			<!-- End Buddies Hack -->
Then save it, that's that bit done.

That'll give you a link from your members info page to the buddy page.

Ok, now open the postbit or postbit_legacy template, which ever you use:

Find the following code:
Code:
	<if condition="$post['userid'] AND $show['member']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
	</if>
Add underneath:
Code:
	<if condition="$vboptions['buddieslist_active']">
	<tr><td class="vbmenu_option"><a href="buddies.php?$session[sessionurl]&amp;u=$post[userid]"><phrase 1="$post[username]">View {$post[username]}'s Buddy Page</phrase></a></td></tr>
	</if>
Then save it, that's that done.

That gives you a link from your postbit popup to the buddy page.

Ok now open the navbar template:

Find the following code:
Code:
		<if condition="$show['member']">
			<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
Add underneath:
Code:
			<if condition="$vboptions['buddieslist_active']">
			<td class="vbmenu_control"><a href="buddies.php?$session[sessionurl]&amp;u=$post[userid]">Buddy Page</a></td>
		</if>
And save it, that's that done.

That'll add a link in the forum navbar to the buddy page.

Ok, that should be it, it should be pretty straight forward to do.

I'm sure Wasa will be along before to long with these built into the script.

Edit: I'll have a little play with the buddy counter, I think that may have to be coded into the actual files though and if so I won't bother as it would only need taking back out once Wasa is done updating it.
Reply With Quote
  #43  
Old 11-11-2005, 05:01 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated to beta 3 lot's of new features (see first post)

Next version will contain:
More expended wannabee approval / unapproval
Limit amount of buddies per usergroup
some other things.
Reply With Quote
  #44  
Old 11-11-2005, 05:06 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
updated to beta 3 lot's of new features (see first post)

Next version will contain:
More expended wannabee approval / unapproval
Limit amount of buddies per usergroup
some other things.
Nice one.

But Bah... I knew that would happen just after I posted that above.
Reply With Quote
  #45  
Old 11-11-2005, 05:40 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe, btw, screens or updated too. Only the admin options doesn't include some of the new things.

I'll also try to add pm function in next version (what will be a RC)
Reply With Quote
  #46  
Old 11-11-2005, 07:03 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I tried to install this product, i got a database error:

HTML Code:
Database error in vBulletin 3.5.1:

Invalid SQL:

				INSERT INTO setting
				(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
				VALUES
				(
					'buddieslist_active',
					'buddieslist',
					'1',
					'1',
					'free',
					'yesno',
					0,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_closedmessage',
					'buddieslist',
					'Sorry, but the buddies list is closed for maintenance. Please check back soon.',
					'Sorry, but the buddies list is closed for maintenance. Please check back soon.',
					'free',
					'textarea',
					10,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_linelimit',
					'buddieslist',
					'5',
					'3',
					'free',
					'',
					20,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_perpagelimit',
					'buddieslist',
					'40',
					'9',
					'free',
					'',
					30,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_informationtext',
					'buddieslist',
					'1',
					'1',
					'free',
					'yesno',
					40,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_enablepmrequest',
					'buddieslist',
					'1',
					'1',
					'free',
					'yesno',
					60,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_activebuddyindicator',
					'buddieslist',
					'1',
					'1',
					'free',
					'yesno',
					70,
					0,
					1,
					'budiehack'
	),
	(
					'buddieslist_displayoptions',
					'buddieslist',
					'Array',
					'',
					'free',
					'<input type=\\\"hidden\\\" name=\\\"setting[$setting[varname]][]\\\" value=\\\"0\\\" />\r\n<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\r\n<tr valign=\\\"top\\\">\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay1\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay1\\\" value=\\\"1\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 1), \'checked=\"checked\"\') . \" />$vbphrase[birthday]</label><br />\r\n<label for=\\\"buddydisplay2\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay2\\\" value=\\\"2\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 2), \'checked=\"checked\"\') . \" />$vbphrase[age]</label><br />\r\n<label for=\\\"buddydisplay4\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay4\\\" value=\\\"4\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 4), \'checked=\"checked\"\') . \" />$vbphrase[join_date]</label><br />\r\n</td>\r\n<td>&nbsp;</td>\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay8\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay8\\\" value=\\\"8\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 8), \'checked=\"checked\"\') . \" />$vbphrase[post_count]</label><br />\r\n<label for=\\\"buddydisplay16\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay16\\\" value=\\\"16\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 16), \'checked=\"checked\"\') . \" />$vbphrase[user_title]</label><br />\r\n<label for=\\\"buddydisplay32\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay32\\\" value=\\\"32\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 32), \'checked=\"checked\"\') . \" />$vbphrase[last_visit]</label><br />\r\n</td>\r\n<td>&nbsp;</td>\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay64\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay64\\\" value=\\\"64\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 64), \'checked=\"checked\"\') . \" />$vbphrase[avatar]</label><br />\r\n<label for=\\\"buddydisplay128\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay128\\\" value=\\\"128\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 128), \'checked=\"checked\"\') . \" />$vbphrase[online_status]</label><br />\r\n</td>\r\n</tr>\r\n</table>',
					80,
					0,
					1,
					'budiehack'
	),
	(
					'buddy_avatarresize',
					'buddieslist',
					'',
					'',
					'free',
					'yesno',
					90,
					0,
					1,
					'budiehack'
	),
	(
					'buddy_avatarresizesize',
					'buddieslist',
					'',
					'',
					'number',
					'',
					100,
					0,
					1,
					'budiehack'
	),
	(
					'buddy_showinprofile',
					'buddieslist',
					'',
					'',
					'free',
					'yesno',
					110,
					0,
					1,
					'budiehack'
	);

MySQL Error  : Duplicate entry 'buddieslist_active' for key 1
Error Number : 1062
Date         : Friday, November 11th 2005 @ 04:15:57 PM
Script       : [url]http://www.absolutepunk.net/admincp/plugin.php[/url]
Referrer     : [url]http://www.absolutepunk.net/admincp/plugin.php?do=productadd[/url]
Classname    : vb_database
Reply With Quote
  #47  
Old 11-11-2005, 07:11 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhu, I checked this on a board who had the vb 3.0.x installed and upgraded,
I'll check what to do for boards that upgrade. Will come to you back tomorrow, srry for this error, didn't checked that before....
Reply With Quote
  #48  
Old 11-11-2005, 07:27 PM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry where does this online offlinebuddies thing show i mean on what page. i recon it could be cool onthe user cp page if it isnt already there

cheers for this product W
Reply With Quote
  #49  
Old 11-11-2005, 07:45 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
Uhu, I checked this on a board who had the vb 3.0.x installed and upgraded,
I'll check what to do for boards that upgrade. Will come to you back tomorrow, srry for this error, didn't checked that before....
No problem man, thanks for checking it out for me - really appreciate the time and effort you put into making hacks for all of us.
Reply With Quote
  #50  
Old 11-11-2005, 07:46 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey seems to be working well now. An option to show Profile Picture would be nice.

There are also still a couple of hard coded phrases. 'There are no buddies for this member at this time.' for example.

Cheers!
Reply With Quote
  #51  
Old 11-11-2005, 08:21 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um just realised something too. The buddy list on the bottom of the page is showing all of my buddies on everyone's profiles!
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 02:06 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.04566 seconds
  • Memory Usage 2,337KB
  • 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
  • (6)bbcode_code
  • (1)bbcode_html
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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