Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-28-2000 Last Update: Never Installs: 0
 
No support by the author.

Heh, that was quick.

Here it is: Integrated vBulletin Buddy List, v1.0

Originally coded by Stallion, edited and cleaned up by me.

Download buddy.php here: http://www.enter.net/~rmsullivan/buddy.txt and stick it in your main vB directory.

Make a file (temp.php) in your main vB directory, and put this in it:
Code:
<?php
require("global.php");
$DB_site->query("ALTER TABLE user ADD buddylist TEXT not null");
echo "done";
?>
Run it (it should say done), then delete it.

Add this to your <head> tag in the forumhome template:
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- 
function popup (addy) {
  var popup = window.open("buddy.php","_new","height=460,location=no,menubar=no,resizable=no,scrollbars=auto,status=no,toolbar=no,width=310" );
}
// -->
</SCRIPT>
And add this to your loggedinusers template:
Code:
(<a href="javascript:popup()"><b>Launch Buddy List!</b></a>)
All other HTML code is contained within buddy.php

Oh, and I almost forgot to mention - set $pmintegrate to your liking. I have a check there incase anyway. LOL

Demos: http://www.magic-singles.com/cpa/forums/ and http://forums.planetunreal.com/

[Edited by Ed Sullivan on 12-09-2000 at 11:53 AM]

Show Your Support

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

Comments
  #62  
Old 08-30-2000, 06:51 PM
Guest
 
Posts: n/a
Default

Well it's either that or pretend their search failed to find a member. I think it should list them as offline or a third category, invisible.
Reply With Quote
  #63  
Old 08-30-2000, 07:21 PM
Guest
 
Posts: n/a
Default

To have it ignore "invisible" users change the code on line 80 from:

Code:
SELECT username FROM user WHERE userid = ....
to:

Code:
SELECT username FROM user WHERE invisible = 0 AND userid = ....

That should make it not display users who are invisible.
Reply With Quote
  #64  
Old 08-31-2000, 01:55 AM
Guest
 
Posts: n/a
Default

I keep getting alot of emails like this:

Code:
404 Error Report

A 404 error was encountered by 24.40.48.30 on 8/30/2000 at 22:22.

The URI which generated the error is: 
http://www.hedgehogwheels.com/404.php

The referring page was:
http://www.hedgehogwheels.com/forums/buddy.php
I don't know what my users are doing to generate 404's but there is something screwy in the hack.

btw I have set up my site to email me when 404's occur.
Reply With Quote
  #65  
Old 09-03-2000, 01:31 AM
Guest
 
Posts: n/a
Default

We installed the blist and poll hack without any trouble at all, seemed very smooth ... UNTIL I looked around and noticed that it has done something (or I have done something which is likely) to cause the "Logout" to error and my stars Hack just went "poof" ... gone .... anyone else seen anything like this?

Here is the error I get now When I try to logout ....

Parse error: parse error in /home/httpd/html/scubaboard.com/member.php on line 306

Any ideas?
Reply With Quote
  #66  
Old 09-03-2000, 01:49 AM
Guest
 
Posts: n/a
Default

As far as I can tell, neither of those two hacks would cause either of the problems which you're having. Did you edit member.php at all?
Reply With Quote
  #67  
Old 09-03-2000, 04:05 AM
Guest
 
Posts: n/a
Default

Heya Stallion,

No, that's the odd thing ... but I guess that leaves me back at what I am afraid of ... I had to have accidentally edited something without realizing I wasnt where I thought I was ... sigh ... Now I am really looking for a needle in a hay stack.

=-)
Reply With Quote
  #68  
Old 09-03-2000, 04:06 AM
Guest
 
Posts: n/a
Default

Send your member.php to me at webmaster@hedgehogwheels.com
Reply With Quote
  #69  
Old 09-03-2000, 05:56 AM
Guest
 
Posts: n/a
Default

Thanks rangersfan,

It's on its way. I'm just waiting to hear you say its something really stupid that I did, although at this point I will gladly get my big bowl of humility to get this figured out ... Everything else has and is still working like a charm ... I havent had a single problem.

=-)
Reply With Quote
  #70  
Old 09-03-2000, 02:41 PM
Guest
 
Posts: n/a
Default

Well EF line 306 falls in the code that executes when a new member registers. I registered on your forum and I logged in and out several times with no errors.

Yours stars hack would have nothing to do with member.php, you may have lost it when you installed the PM hack and modified showthread.php.
Reply With Quote
  #71  
Old 09-03-2000, 07:23 PM
Guest
 
Posts: n/a
Default

I couldn't get the the private areas to display the "Thread Not Viewable" message. So I played around with the code and changed this:

$getperms = getpermissions($bbuserid,$bbusergroupid,$post[4]);
if ($getperms[canview]==0) {

////// HTML //////

$postz .= "<tr><td width=\"100%\"><smallfont>&nbsp;&nbsp;<i>Thread Not Viewable</i></smallfont></td></tr>\n";

////// END //////

to this:

$gettperms = getpermissions($bbuserid, $bbusergroupid,$post[3]);
if ($getperms[canview]==0) {

////// HTML //////

$postz .= "";

////// END //////


I had the change the $post[4] to $post[3]
and now instead of a message then don't see anything and don't know what they are missing.


Parker

[Edited by Parker Clack on 09-03-2000 at 04:25 PM]
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 05:14 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.04656 seconds
  • Memory Usage 2,276KB
  • 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)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_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
  • 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