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)
-   -   A phpMyChat integration Hack (https://vborg.vbsupport.ru/showthread.php?t=21329)

macom 08-10-2001 03:45 AM

Danke erst mal... ich werde es heute nacht mal testen. Wäre echt cool wenn's funktionieren würde. Melde mich wieder...

VirtueTech 08-10-2001 12:35 PM

One thing I've noticed with this hack is that it does not integrate the phpMyChat profile with the forums profile. Any future for that?

Stasik 08-10-2001 01:33 PM

Yes, u can link the vbb profile on chat pages.... I think it will be in upgrade... :)

macom 08-10-2001 06:06 PM

Hallo nochmal,

habs jetzt probiert... jetzt kommt folgender Fehler:

Fatal error: Call to a member function on a non-object in index.lib.php3 on line 161

Code:

$PREMS = "admin";
if($group == "6"){
$U = $AUTH_USERNAME;
        $DbLink->query("SELECT perms FROM ".C_REG_TBL." WHERE username='$U' LIMIT 1");

        if ($DbLink->num_rows() != 0)

        {

                list($PREMS) = $DbLink->next_record();

        }

        $DbLink->clean_results();
};

Hilfe....

Stasik 08-10-2001 06:51 PM

du mus alles mit require oder include vorher schieben

macom 08-10-2001 06:53 PM

?? Sorry aber das verstehe ich jetzt nicht ??

Stasik 08-10-2001 07:03 PM

try to replace

$PREMS = "admin";
mit

$DbLink->clean_results();
$PREMS = "admin";

macom 08-10-2001 07:14 PM

Hm, jetzt kommt folgender fehler...

Fatal error: Call to a member function on a non-object in index.lib.php3 on line 158

Code:

$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid");
$username=$getusername[username];
$getusername=$DB_site->query_first("SELECT usergroupid FROM user WHERE userid=$bbuserid");
$group=$getusername[usergroupid];
$bbusername = $username;
}
else
{
$username = $bbusername;
} }

$U = $username;

$DbLink->clean_results();
$PREMS = "admin";
if($group == "6"){
$U = $AUTH_USERNAME;
        $DbLink->query("SELECT perms FROM ".C_REG_TBL." WHERE username='$U' LIMIT 1");

        if ($DbLink->num_rows() != 0)

        {

                list($PREMS) = $DbLink->next_record();

        }

        $DbLink->clean_results();
};

$pat = "[[:space:]]";
$repl = "";
$U = ereg_replace($pat,$repl,$U);
$pat = ',';
$U = ereg_replace($pat,$repl,$U);
stripslashes($U);

$N = 20;
$D = 10;
$Form_Send = 1;

//Replace admin with your administration nick
//if($U == "xxx")
//{
//$PASSWORD="1";
//}

?? Sorry das ich dich eventuell schon nerve, aber ich habe wirklich fast keine ahnung vom PHP.

Stasik 08-10-2001 07:16 PM

aslo

move

require("./${ChatPath}config/config.lib.php3");
require("./${ChatPath}lib/release.lib.php3");
require("./${ChatPath}localization/languages.lib.php3");
require("./${ChatPath}localization/".$L."/localized.chat.php3");
require("./${ChatPath}lib/database/".C_DB_TYPE.".lib.php3");
require("./${ChatPath}lib/clean.lib.php3");
include("./${ChatPath}lib/get_IP.lib.php3");

das alles bevor das hack anfaengt

mADmAX` 08-12-2001 02:24 PM

I upgraded from 2.02 to 2.03 and now I get this when going to index.php3. Any clue? Database error: Invalid SQL: DELETE FROM c_messages WHERE m_time < 997295258
MySQL error: 1146 (Table 'dssmafif_+++++f.c_messages' doesn't exist)
Session halted.


All times are GMT. The time now is 05:38 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.02659 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_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