vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   chat hack (https://vborg.vbsupport.ru/showthread.php?t=32761)

bokhalifa 11-26-2001 10:00 PM

Welcome, This is a chat hack to supplement with vBulletin forum, it is a nice simple hack.

This hack limites the chat for the forum members,
:)






it's updated NOW !!!
:D

bokhalifa 11-27-2001 08:13 PM

Screenshot :)

Nam 11-28-2001 02:29 AM

Great hack, I've been looking for a chat that also shows user in the chat room online.

But...if "at the moment the hack is under devlopment and will be ready soon. ", why post it now? Is it working? Completed yet?

bokhalifa 11-28-2001 07:25 AM

Will, I didnt mean that this hack is not functuning as it have to be. its working very good but I have to add some features and modifications.
I posted the hack here so any one can help me and contenue from the point i reach. :)

GeorgeofCS 11-28-2001 09:42 AM

I'll be posting a whose in chat script shortly. The only thing is I have to come up with instructions and how to explain how it can be added to the different chat hacks :)

Dan Flynn 11-28-2001 10:06 PM

I installed it very easy, nice. But I am getting a run time error everytime the page refreshes.

http://www.powerwashnetwork.com/chatvbh.php

Any Ideas?

bokhalifa 11-29-2001 08:00 AM

GeorgeofCS
am ready to help you with the instructions and i will try my best to make it work with the other hacks. I will be more than happy to have this feautre in my hack :D

bokhalifa 11-29-2001 08:01 AM

Dan Flynn
Will , as i told its just a beta hack am stell working in error corrections and i hope that i ll finish soon. :)

Dan Flynn 11-29-2001 12:17 PM

Ok,

Thanks, I will keep an eye on the progress. Good Luck.

Kumaro 11-29-2001 07:48 PM

Is this working yet?!

also,
I can't find

$forumprefix.'chat.php':

in online.php

xug 11-30-2001 03:08 AM

Hi Bokhalifa

I have the same problem as Dan Flynn :

A Runtime Error has occured

Line:8
Error:Object Expected

This is cool, maybe with some extras in the future
i think it would be way cool.

certify 12-11-2001 07:48 AM

What is the current progress of this hack?

certify 12-12-2001 11:30 AM

[QUOTE]Originally posted by Kumaro
Is this working yet?!

also,
I can't find

$forumprefix.'chat.php':

in online.php

certify 12-22-2001 02:50 PM

Hello... is this chat script dead already?

bokhalifa 01-04-2002 09:21 AM

:)
This hack is the update for my beta hack

Bugz fixed
Try it and I?m waiting for comments :D














updated file

bokhalifa 01-04-2002 09:37 AM

1- Bugz fixed
2- add new template for online chatting users
3- add how is browsing the chat area .

Try it and I?m waiting for comments

Thanks to GeorgeofCS for help :D

Lucky 01-05-2002 05:26 AM

Is this still beta then?

jisung 01-05-2002 09:18 AM

Sounds Great!
any DEMO? :D

Jalrock 01-10-2002 10:02 PM

I have followed the instructions to the tee (I think) when I go to the URL I get a general error:

http://www.twins-club.com/board/chatvbh.php

Any clues what I have done wrong?

In addition I do not see any changes to Who is online any where.

certify 01-11-2002 08:49 AM

It seems that the chat is pulling the header and footer as well, This is not good as it will slow down the performace since the header contain my banner script as well. (try right click and view source)

How do I remove them so that chat won't pull the header and footer?

certify 01-11-2002 09:56 AM

If I create a new styles and create the template chat_username and vbh_chat in the new styles, how do I get the chat to look for them?

bokhalifa 01-11-2002 11:14 AM

it's updated Bugz fixed NOW
2 file


1 template: chat_loggedinusers

2 file : chatonline.php


Try it and I?m waiting for comments
:)

bokhalifa 01-11-2002 11:19 AM

Open this link
http://www.certifyexpress.com/forum/chatvbh.php?s=


:D

bokhalifa 01-11-2002 11:20 AM

DEMO

http://64.119.167.58/test/chatvbh.php?


http://www.twins-club.com/board/chatvbh.php


http://www.certifyexpress.com/forum/chatvbh.php?s=

:D

bokhalifa 01-11-2002 11:22 AM

updated file Attachment
:)


https://vborg.vbsupport.ru/showthrea...994#post210994

bokhalifa 01-11-2002 11:30 AM

[QUOTE]Originally posted by Lucky
Is this still beta then?

certify 01-11-2002 11:46 AM

Yes it worked!! :D

bokhalifa 01-11-2002 11:49 AM

[QUOTE]Originally posted by certify
Yes it worked!! :D

certify 01-11-2002 12:11 PM

I have make some slight modification to chatvbh.php so that when the user is not login or registered he will be taken to registration or signup page and will automatically redirect the user back to the chat.

PHP Code:

<?
require('./global.php');

if ($bbuserid == 0)
{
  $thispage=urlencode("$PHP_SELF");
  header("Location:[url]http://www.certifyexpress.com/forum/usercp.php?urloverride=1&prevpage=[/url]".$thispage);

}
$DB_site->query("UPDATE user SET inchat='1' WHERE userid='$bbuserinfo[userid]'");
$DB_site->query("UPDATE user SET lastchatactivity=$ourtimenow WHERE userid='$bbuserinfo[userid]'");

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

eval("echo standarderror(\$bbtitle,\"".gettemplate("vbh_chat")."\");");

?>


bokhalifa 01-11-2002 12:42 PM

:D nice job ;)

certify 01-11-2002 01:48 PM

One problem. If you don't post for a couple of min you name will be taken offline. But when you re post your name won't reappear back in the who is online.

certify 01-11-2002 02:09 PM

I think it's best to use mySQL for better performance instead of flat file for chat.

jisung 01-11-2002 02:36 PM

Bokhalifa,
Thanks for your demo.
One Q here.
Could that black background be changed to white? it is somewhat tired thing to see switching white and black background whenever it reflashed.

certify 01-11-2002 02:40 PM

Yes it can just change the background color int the body.

bokhalifa 01-11-2002 03:06 PM

Yes it can just change :D


demo :D certify

certify 01-11-2002 03:13 PM

:)

There is a small bug. It seems that the chat will remove your username once you don't post for a certain time frame and will not reenter your username after that, even when you repost.

Jalrock 01-11-2002 03:52 PM

if ($bbuserid = 0)
{
eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nop ermission")."\");");
exit;

With the above change members can get in. unfortunatly without the change I still get error nonpermission. Also chat users do not show up.

What have I done wrong?

http://www.twins-club.com/board/chatvbh.php

no3l 10-15-2008 11:31 AM

I have the same problem. It doesn't work :|

I have vBulletin 3.7.2. and I still have no permission for using chat.


All times are GMT. The time now is 04:46 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.01383 seconds
  • Memory Usage 1,779KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete