The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VbBuddies RC 1 Details »» | |||||||||||||||||||||||||
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
|
Comments |
#42
|
||||
|
||||
Quote:
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 --> 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 --> 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&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> Code:
<if condition="$vboptions['buddieslist_active']"> <tr><td class="vbmenu_option"><a href="buddies.php?$session[sessionurl]&u=$post[userid]"><phrase 1="$post[username]">View {$post[username]}'s Buddy Page</phrase></a></td></tr> </if> 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> Code:
<if condition="$vboptions['buddieslist_active']"> <td class="vbmenu_control"><a href="buddies.php?$session[sessionurl]&u=$post[userid]">Buddy Page</a></td> </if> 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. |
#43
|
|||
|
|||
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. |
#44
|
||||
|
||||
Quote:
But Bah... I knew that would happen just after I posted that above. |
#45
|
|||
|
|||
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) |
#46
|
|||
|
|||
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> </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> </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 |
#47
|
|||
|
|||
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.... |
#48
|
||||
|
||||
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 |
#49
|
|||
|
|||
Quote:
|
#50
|
||||
|
||||
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! |
#51
|
||||
|
||||
Um just realised something too. The buddy list on the bottom of the page is showing all of my buddies on everyone's profiles!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|