vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Buddy Messenger v1.1 (https://vborg.vbsupport.ru/showthread.php?t=43058)

kaost451 09-02-2002 09:30 PM

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

kaost451 09-02-2002 09:39 PM

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.

JCFN TeK gEEk 09-02-2002 10:53 PM

yah.. but where do i go, to find and add those new replacements? im totally lost here!

BigJohnson 09-03-2002 12:41 AM

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?

snyx 09-03-2002 03:46 AM

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.

kaost451 09-03-2002 04:01 PM

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

BigJohnson 09-03-2002 04:54 PM

Ya but I like this drop down alot better than that one.

ZiRu$ 09-03-2002 05:06 PM

me too...but it dont link to the buddies :(

kaost451 09-03-2002 05:12 PM

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


kaost451 09-03-2002 05:41 PM

Here I updates the hack. Just go ahead and reinstall it if you are having problems.


All times are GMT. The time now is 08:41 AM.

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.02050 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete