vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   BB| Messenger 1.5 (https://vborg.vbsupport.ru/showthread.php?t=66989)

C.Birch 08-20-2004 10:29 AM

Quote:

Originally Posted by Kru
I really can't login from my side. I tried every suggestions here but it won't work. Can anybody check if he can login from his side into it: http://www.spiritual-connections.com...nger/index.php , pleas?

Thank you for your support.

your cookies info is still wrong look:

Kru 08-20-2004 10:48 AM

Quote:

Originally Posted by C.Birch
your cookies info is still wrong look:

well, I am glad to see where the problem is, now. Anyway how can I fix it.

In my config.php stands:

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';

C.Birch 08-20-2004 11:18 AM

yeah all your other cookie info reads with bb in front of it whats right apart from sessionhash what is giving you the prob because it can not read the cookie to see if your logged in because its not bbsessionhash whats odd with all the other cookie bits having the bb in front of them.

going download the zip and look see if i can see a edit because i had to format lastnight so dont have files to hand.

C.Birch 08-20-2004 11:35 AM

not anything in the files that could help and the main cookie is done by vb so it looks like theres a error there im not sure anyway got to fly got loads to do myself.

Kru 08-20-2004 12:15 PM

Anyway thank you very much for your try to help me. Maybe with the time I will find a way to fix it.

Panic 08-20-2004 03:36 PM

Hi there,

I noticed a little problem with BB Messenger when having multiple windows opened and wondered if this was a limitation with using a combination of Java/PHP or whether there was a way of turning this off, ok here's the scenario.

When conversing with two people in seperate BB Messenger windows, say you are typing a message to user 1, user 2 sends you a message. Now the window focus is hijacked to user 2 window. If you weren't looking at the monitor, you in-invertently type part of the message to the wrong person. Any way of stopping that window hijacking the focus by commenting out some code or is this just a feature of java?

Thanks for your help.

dstruct2k 08-20-2004 06:21 PM

Javascript is pushing that window to the topmost location on your screen, this should be editable somewhere in the clientscript.

Panic 08-21-2004 02:04 PM

ok, I edited the file /bbmessenger/style/messenger.html.php
and commented out the line :-

window["chat_{$VAR["sitecode"]}_" + id].focus();

This seems to stop the focus.

johnbruce71 08-27-2004 08:48 AM

I've tried everything on the last few pages but i'm still not able to use bbmessenger. Could anyone see if its just a problem on my side?

http://www.thebig7.co.uk/forum/bbmessenger

username: test
password: test

Thanks

PitchouneN64ngc 08-27-2004 10:27 AM

I have a modification to purpose who will fix all bugs with cookie setting :)

Open ./bbmessenger/sources/boardmodule/vb3.inc.php

Find:

PHP Code:

function boardmodule_import_db_settings()
{
    require_once (
"../includes/config.php");
    global 
$VAR

Replace by:

PHP Code:

function boardmodule_import_db_settings()
{
    require_once (
"../includes/config.php");
    
define("COOKIE_PREFIX"$cookieprefix);
    global 
$VAR

Find:

PHP Code:

    if (!isset($_COOKIE["bbuserid"]) OR !ereg("^[0-9]*$"$_COOKIE["bbuserid"]))
    {
        return 
PERM_LOGGED_OUT;
    }
    if (!isset(
$_COOKIE["bbpassword"]) OR !ereg("^[0-9A-Fa-f]*$"$_COOKIE["bbpassword"]))
    {
        return 
PERM_LOGGED_OUT;
    }
 
    
$user db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" $_COOKIE["bbuserid"] . " LIMIT 1"); 

Replace by:

PHP Code:

    if (!isset($_COOKIE[COOKIE_PREFIX "userid"]) OR !ereg("^[0-9]*$"$_COOKIE[COOKIE_PREFIX "userid"]))
    {
        return 
PERM_LOGGED_OUT;
    }
    if (!isset(
$_COOKIE[COOKIE_PREFIX "password"]) OR !ereg("^[0-9A-Fa-f]*$"$_COOKIE[COOKIE_PREFIX "password"]))
    {
        return 
PERM_LOGGED_OUT;
    }
 
    
$user db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" $_COOKIE[COOKIE_PREFIX "userid"] . " LIMIT 1"); 

Find:

PHP Code:

if (md5$user["password"] . $VAR["vbulletinlicenceid"]) == $_COOKIE["bbpassword"]) 

Replace by:

PHP Code:

if (md5$user["password"] . $VAR["vbulletinlicenceid"]) == $_COOKIE[COOKIE_PREFIX "password"]) 

And normally, all your problems with cookies and login will be resolved :)

And this hack is great ;)

johnbruce71 08-27-2004 10:48 AM

hey, i just did what you said now i get these errors:

Notice: Undefined index: vbulletinlicenceid in /home/fhlinux****/*/thebig7.co.uk/*****/htdocs/***********/bbmessenger/sources/boardmodule/vb3.inc.php on line 47

Notice: Undefined index: boardloginlink in /home/fhlinux****/*/thebig7.co.uk/*****/htdocs/***********/bbmessenger/style/pleaselogin.html.php on line 53

Any ideas?

PitchouneN64ngc 08-27-2004 10:52 AM

Thy this attachment and retry :)

johnbruce71 08-27-2004 11:08 AM

Still have the same problems, not getting the messages anymore but it wont let me past the index/login screen. Can you see if it works your side.

http://www.thebig7.co.uk/forum/bbmessenger/

user: test
pass: test

PitchouneN64ngc 08-27-2004 11:12 AM

For me don't work too.

You have the problem with cookies. Have you replaced the file in my previous post?

johnbruce71 08-27-2004 11:18 AM

Yep, I replaced the old file with the one you posted.....any other ideas?

PitchouneN64ngc 08-27-2004 11:27 AM

I've not edited others files to this hack works :ermm:

My modifications takes directly any cookie prefix defined in ./includes/config.php. Don't know why this don't want to work :surprised:

I have retry to re-install the hack and replace with my file and all works.

johnbruce71 08-27-2004 11:34 AM

how do i completly unistall this, so i can retry?

which files do i edit etc

sypher_again 08-31-2004 01:48 PM

THX for this verry verry good hack who is very simplest to install
Thanks again :D

rebelsrock06 08-31-2004 02:51 PM

Quote:

Originally Posted by johnbruce71
how do i completly unistall this, so i can retry?

which files do i edit etc

all you delete is everything in the bbmessenger file, this is an addon

7ABD 09-01-2004 08:28 AM

it's a great hack....but still have a problem guys while opening it :rolleyes:

it gives this msg:

Could not automatically detect your vBulletin Licence ID, please fill this out in ./bbmessenger/sources/boardmodule/vb3.inc.php

I filled that out my ID# but I dont know if I did't right I mean where should I put my Licence ID?? between which ("")??


thanx

PitchouneN64ngc 09-01-2004 08:44 AM

Quote:

Originally Posted by 7ABD
it's a great hack....but still have a problem guys while opening it :rolleyes:

it gives this msg:

Could not automatically detect your vBulletin Licence ID, please fill this out in ./bbmessenger/sources/boardmodule/vb3.inc.php

I filled that out my ID# but I dont know if I did't right I mean where should I put my Licence ID?? between which ("")??


thanx

Example: $VAR["vbulletinlicenceid"] = "Lxxxxxxx";

imakuni? 09-04-2004 04:17 AM

how well does this work? i am interested in using it...

Wential 09-07-2004 12:10 AM

It's a great hack once you customize it and remove some of the cpu/bandwidth hogging features. I had to remove the license check feature since all of our users and servers are intranet (internal) and have no outside internet access. I can't wait for the next version to see what it includes. Even better since I run my own local servers, I'm interested in the Jabber Server very much! As-is, this hack is a server cpu killer!

Dalvosaber 09-10-2004 06:00 PM

Help I have premium members on my site who pay to use the site and i would like for them,admin and the mods to be able to use the bbmessenger and not the non paying members how do i do this?

also the moving latest topics for some reason are linked to the community forums and not mine how do i change them plz help...

Dalvosaber 09-11-2004 12:11 PM

Help Does Anyone Check This Site And Reply?

Wential 09-11-2004 02:09 PM

Quote:

Originally Posted by C.Birch



Support Can Not Be Given For This Hack


My guess the answer to your question is No. I've removed this from my Board hoping to find a way to solve the cpu killer built into it. I guess getting help on the Jabber Server won't happen, so when I have the time I'll try re-writing this one from the ground up and release it.

MissKalunji 09-18-2004 12:10 PM

Quote:

Originally Posted by C.Birch
right first of all to use it you would need full root control of your server so you be albe to install the edited jabber server.

next you have to edit a file that comes with the exe what basicly fills in the server info when the settings on the exe is loaded, this saves having to try and make your users understand what they got to fill in. make a zip with all the messenger files in it and upload to your server.

do a temp edit on vb to add th bit to the user zip.

tell your users its there then they just go to usercp what on first time of loading sets up there jabber username from there board name but pulling any gaps or things like #~* out of there names, then they just download the zip you uploaded and unzip the file to a fplder on there pc and just run the exe and login useing there forums password and jabber id.

not a matter of cost because we never do stuff for a cost its a matter of being able to put it here telling people how to install it and being albe to give support all im not able to do right now.

Hey you mind sharing? im whilling to pay :) and im sure by working on it ill be able to make it work plz :banana:

emtee 09-22-2004 09:58 PM

C.Birch,

What program do you use to get this one https://vborg.vbsupport.ru/attachmen...chmentid=19607

I'd be interested, thanks.

MissKalunji 09-22-2004 10:34 PM

Quote:

Originally Posted by emtee
C.Birch,

What program do you use to get this one https://vborg.vbsupport.ru/attachmen...chmentid=19607

I'd be interested, thanks.


Same here i'de love to know...and get it too :nervous:

GamerJunk.net 09-26-2004 03:01 AM

This hack is awesome. I love it.

Alzeimer 10-21-2004 04:26 PM

Quote:

Originally Posted by MissKalunji
Same here i'de love to know...and get it too :nervous:

Use Mozilla Firefox ;)

turkforum 10-22-2004 05:29 AM

checked everything tried almost everything but still doesnot work

user : test
pass :test

http://turkforum.net/bbmessenger/

miz 10-22-2004 12:02 PM

hey mate i have tried to install and run this hack
but i get

Click here to goto the login page
Once you have logged into the forum, load BB|Messenger again.

im logging in and going to the dir again, and again same error...

i use php 4.3.8 mysql 4.0.20 and apache 2
and vb3 offcurse

any idea what is the problem ?

SVTOA 10-23-2004 07:40 PM

Quote:

Originally Posted by PitchouneN64ngc
I've not edited others files to this hack works :ermm:

My modifications takes directly any cookie prefix defined in ./includes/config.php. Don't know why this don't want to work :surprised:

I have retry to re-install the hack and replace with my file and all works.


I tried everything in all the previous suggestions, it was only when I uploaded YOUR version of vb3.inc.php that I at least got the thing to start. THANK YOU.
Still having issues but am getting closer to getting this to work. I agree with others though- this could be hack of the year if it was all clean and fully functional as a full release add-on.

SVTOA 10-23-2004 08:13 PM

Awesome. Got it working now!!!

SVTOA 10-24-2004 02:50 AM

Quote:

Originally Posted by C.Birch
1) add the following java to the header:

<script language="Javascript1.3">
function launchbbm()
{
s001 = window.open("index.php?func=m_frameset", "", "width=233, height=450, address=no, toolbar=no, status=yes");
location.href="../index.php";
}

</script>


then where every you want your link add the link like this:

<a href="javascript:void(0)" onclick="launchbbm()">your link</a>

or any other type of link you want be it a img or what main thing is that the link stops as:

href="javascript:void(0)" onclick="launchbbm()">

because thats calling the java.

2) not me personaly because im to busy to support this hack but yes it can be done if someone feel's like it.

3) yes but again someone else will have to do it.

4) not really not with out doing alot of recoding and basicy aking the hack again.

5) no because it use's vb's cookies and user info.

i could be wrong about some points but like i say people are free to help out with this hack.




Just a note for newbies- You must add the javascript to the "headinclude" template for your forum, and you have to edit the code to reflect the proper path to your forum or else all you will get is your forum main page when you click the link.

Maniaz 10-26-2004 08:41 AM

Got it running perfectly on my forum. http://forum.yeix.com

managed to correct most coding errors, i find that it needs cookies to run you so you have to have "Remember Me" checked when you enter the forum, so it reverts to that cookie and logs you in :D

Just need to edit the look of the login of the index page now and should be sailing.

Thanks for the hack :D

SVTOA 10-26-2004 11:44 AM

Quote:

Originally Posted by Maniaz
Got it running perfectly on my forum. http://forum.yeix.com

managed to correct most coding errors, i find that it needs cookies to run you so you have to have "Remember Me" checked when you enter the forum, so it reverts to that cookie and logs you in :D

Just need to edit the look of the login of the index page now and should be sailing.

Thanks for the hack :D


I've found if I use the vb3.inc.php provided by PitchouneN64ngc, there are no login/cookie issues at all. One other thing I did is to add the javascript popup link to the user CPANEL via the USERCPSHELL template; this makes it so the only way you even see the link or can access the BB Messenger is to be registered and logged in to the forums, so when you click that link, the messenger starts right up, you never see the login page. It also is very easy to customize this feature to match your forums, including the logo. Just create a new logo, making it 150x44 pixels, call it "logo.jpg" and upload it to the folder /bbmessenger/style/images/ (I know this is basic stuff here but it helps those who are less experienced to make this a great feature)

I have this installed on both my forums and the members love it.

geezzaa 11-07-2004 09:44 PM

Good work dude. I read the thread from start to finish, made the adjustments and it works like a charm on v3.0.3

Installed

Blam Forumz 11-09-2004 04:21 AM

Can you have rooms with multiple users chatting?


All times are GMT. The time now is 11:34 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.01480 seconds
  • Memory Usage 1,853KB
  • 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
  • (6)bbcode_php_printable
  • (11)bbcode_quote_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
  • (40)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