Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Buddy Messenger v1.1 Details »»
Buddy Messenger v1.1
Version: 1.00, by kaost451 kaost451 is offline
Developer Last Online: Oct 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-31-2002 Last Update: Never Installs: 51
 
No support by the author.

Buddy Messenger v1.1

This hack add's a nice drop down menu to your index page (pminfo), It's a fast way to contact your buddy's via private message. It is color organized for Online buddies (Red) and Offline buddies (Gray). This hack isn't a final version, There are no reported bugs, but I would like to update it a little more. This hack works with all 2.x versions.

*This modification is originally for a buddy panel I am working on, But I decided to release this because some people might just want this as a separate hack, considering the buddy panel will have completely different options.

Screenshot:
http://www.pixelcentric.com/images/buddymsg.gif

If there is any problems, please let me know. Thanks.

UPDATED: 11-3-02 : 1:37 PM

Show Your Support

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

Comments
  #22  
Old 09-02-2002, 09:30 PM
kaost451 kaost451 is offline
 
Join Date: Mar 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post #19: You might need to go back and be sure you didn't miss anyparts. It should work fine, I'll double check for you.

Post #20: You have to go to your replacment set's and add new replacments, one called {buddyon} and another called {buddyoff} -- Hope that helps
Reply With Quote
  #23  
Old 09-02-2002, 09:39 PM
kaost451 kaost451 is offline
 
Join Date: Mar 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked over the script and I don't see any problems. Try this if you are having java errors, otherwise it's not the script.


Find:
PHP Code:

<form name="buddyjump">
<
script>
function 
jumpMenu(){
location=document.buddyjump.buddymenu.options[document.buddyjump.buddymenu.selectedIndex].value;
}
</
script>
<
td valign="middle" align="right">
<
smallfont>
<
select name="buddymenu" size="1">
<
option>Buddy Messenger</option>
<
option>Online Buddies</option>
$onlinebuddy
<option>Offline Buddies</option>
$offlinebuddy
</select></smallfont></td>
<
td width="22" valign="middle" align="left">
<
a href="Javascript:jumpMenu()"><img src="{imagesfolder}/buddy_go.gif" border="0" alt="Message Buddy"></a>
</
td></form>
</
tr></table>
</
td></tr
Replace With:
PHP Code:
<form name="jump">
<
script>
function 
jumpMenu(){
location=document.jump.menu.options[document.jump.menu.selectedIndex].value;
}
</
script>
<
td valign="middle" align="right">
<
smallfont>
<
select name="menu" size="1">
<
option>Buddy Messenger</option>
<
option>Online Buddies</option>
$onlinebuddy
<option>Offline Buddies</option>
$offlinebuddy
</select></smallfont></td>
<
td width="22" valign="middle" align="left">
<
a href="Javascript:jumpMenu()"><img src="{imagesfolder}/buddy_go.gif" border="0" alt="Message Buddy"></a>
</
td></form>
</
tr></table>
</
td></tr
if you still have problems, let me know. If anyone has got this installed let me know. thanks.
Reply With Quote
  #24  
Old 09-02-2002, 10:53 PM
JCFN TeK gEEk JCFN TeK gEEk is offline
 
Join Date: Jul 2002
Location: CA
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yah.. but where do i go, to find and add those new replacements? im totally lost here!
Reply With Quote
  #25  
Old 09-03-2002, 12:41 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya i get an error too. This is what happens. It works great when linking to the Pm thing for the buddy but when you highlight OFFLINE BUDDY and click the button you get the error saying there is an error. Is there any way to not get this to show up?
Reply With Quote
  #26  
Old 09-03-2002, 03:46 AM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh, buddies in a dropdown list in forumhome..
who would have thunk it..
https://vborg.vbsupport.ru/showthrea...171#post246171

none the less, I shall install it.
Reply With Quote
  #27  
Old 09-03-2002, 04:01 PM
kaost451 kaost451 is offline
 
Join Date: Mar 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ohh damn, I never seen that.. sorry.. well there you go you can use either one. If you are getting any errors (which I didn't) then It is probably the drop down script. I'll look into it
Reply With Quote
  #28  
Old 09-03-2002, 04:54 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya but I like this drop down alot better than that one.
Reply With Quote
  #29  
Old 09-03-2002, 05:06 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too...but it dont link to the buddies
Reply With Quote
  #30  
Old 09-03-2002, 05:12 PM
kaost451 kaost451 is offline
 
Join Date: Mar 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay here is the solution, In step four add this instead.
This should fix the problem.


PHP Code:
<tr id="cat">
    <
td bgcolor="{categorybackcolor}" colspan="6"><a href="private.php?s=$session[sessionhash]title="Click Here to Open Your Private Messages $inboxname"><normalfont color="{categoryfontcolor}"><b>Private Messages</normalfont></b></a></td>
</
tr>
<
tr>
    <
td bgcolor="{secondaltcolor}" align="center" valign="top"><img src="{imagesfolder}/$lightbulb.gif" alt=""></td>
    <
td bgcolor="{firstaltcolor}" colspan="5">
<
table cellpadding="0" cellspacing="0" width="100%">
<
tr><td width="100%" valign="middle"><smallfont>
    <
b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(ssince your last visit.<br>
    (
You have $unreadpm[messagesunread messages and $allpm[messagestotal messages in all your folders.)</smallfont></td>
<
form name="buddyjump">
<
td valign="middle" align="right"><smallfont>
<
select name="buddymenu" onChange="location=document.buddyjump.buddymenu.options[document.buddyjump.buddymenu.selectedIndex].value;" value="GO">
<
option selected>Buddy Messenger</option>
$onlinebuddy
$offlinebuddy
</select>
</
smallfont></td></form>
</
tr></table>
</
td></tr
Now if you would like to add more options to
your buddy messenger, you may add three new
options, profile, send pm and remove buddy.


ex:
username(1)
- Send PM
- Remove
username(2)
- Send PM
- Remove

Just open buddy_messenger and replace it with:

PHP Code:
<option $onoff value="member.php?s=$session[sessionhash]&action=getinfo&userid=$buddy[userid]">$buddy[username]</option>
<
option value="private.php?s=$session[sessionhash]&action=newmessage&userid=$buddy[userid]">- Send PM</option
<
option value="member2.php?s=$session[sessionhash]&action=removelist&userlist=buddy&userid=$buddy[userid]">- Remove</option
Reply With Quote
  #31  
Old 09-03-2002, 05:41 PM
kaost451 kaost451 is offline
 
Join Date: Mar 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here I updates the hack. Just go ahead and reinstall it if you are having problems.
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 02:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06265 seconds
  • Memory Usage 2,334KB
  • 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
  • (4)bbcode_php
  • (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
  • (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