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 ;)


All times are GMT. The time now is 11:36 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.01914 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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