|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
This is a script to allow ubb membership integration to digichat's chat service. Updated: 2-1-02 Thanks for your help, LK! Download [ 11-11-2001: Message edited by: MasterMind ]
|
|
|
|
Joined: Aug 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 27 |
thanks iv been waiting for this
|
|
|
|
Joined: Oct 2000
Posts: 109
Member
|
Member
Joined: Oct 2000
Posts: 109 |
Thanks MasterMind
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
no prob. try it, nonlive, before using it. Report bugs here to be fixed.
|
|
|
|
Joined: Oct 2000
Posts: 109
Member
|
Member
Joined: Oct 2000
Posts: 109 |
Sorry, but we couldn't find a record for Username:. Please try again. Use your Back button.
This is what i am getting on 6.1.2
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Good. FITNR. With help, LK, take a look please?
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
MM, i thank u for even tryin this, but one question, i have been able to down grade a number of 6.1+ hacks into my 6.05 forum, i have decided not to go to 6.1 because im waiting on 6.2+, so will this work on 6.05 or will i have to play with the scripts?. if it will work on 6.05 illbe happy to help u test it :]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I got it to work in my board: 1. I didn't use form_data at all, just "%DATA = map{$_ => param($_)} param(); #map is your friend!" (it was commented before). 2. $user_number = &GetUserNumber($user); - notice $user_number and $user. 3. if ($user_number ne "") { - since $ProfileNumber doesn't exist, see #2. 4. @user_profile = &OpenProfile("$user_number"); - without .cgi 5. $pubname = &GetPubName($user_number); - get public name. 6. I think that's all good job, demo: http://www.lkubb.dns2go.com/?ubb=digichat .
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Thanks LK. ZIP updated with beta 1.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Looks like it's still the old zip Is it my Temporary Internet Files? Anyway, I modified the code a little to set up a demo account: test/digichat. [ 11-11-2001: Message edited by: LK ]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
$user_number should before $pubname Except that I think everything is fine
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
The same message here. It's still alpha i guess
|
|
|
|
Joined: Oct 2000
Posts: 51
Member
|
Member
Joined: Oct 2000
Posts: 51 |
ok i feel dumb saying this but i'm totaly lost in setting this up how do i install this?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Variables: I'll check it out. Make sure you have the newest zip file from the server.
Asniper: I'll have an HTML file for this in about 5.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Fixed a few bugs. Uses nice errors like UBB. Uses ubb's text and background. At the top you need to set your digichat siteid in "$id = " variable.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
$pubname = &GetPubName($pubname); should be $pubname = &GetPubName($user_number); Except that it works fine, demo updated.
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Does this work when the Digichat is on an other server? I hope you put a good readme file in the zip.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Suppose a member has logged in and wants to go to Digichat. A link to digichat.cgi does not work. LK has it in a login-intro that brings you instantly to Digichat. Lk, how do you do that, and how can it be put in the main-intro of a forum to do the same?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In ultimatebb.cgi [ 11-13-2001: Message edited by: LK ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Tnx LK, that was crucial. Great, it works. It would be nice if the member who has already logged in at the forum, can travel to Digichat without entering the name and password again. [ 11-13-2001: Message edited by: Variables ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Change it to the updated code above (I edited it now), it automatically types in the username/password in the login page (?ubb=digichat).
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Perfect! Great job LK.
|
|
|
|
Joined: Oct 2000
Posts: 109
Member
|
Member
Joined: Oct 2000
Posts: 109 |
What is new? Can this mod link profile info form UBB to digichat profies?
|
|
|
|
Joined: May 2001
Posts: 229
Member
|
Member
Joined: May 2001
Posts: 229 |
I´m sorry to bother, but could you include instructions on how to install the hack? I copied digichat.cgi to ubb cgi, and also hacked ultimatebb.cgi as LK said. But how do I link to the file? If I go to http://mydomain.com/cgiubb/ultimatebb.cgi?ubb=digichat, the login appears with my nick and password already typed, but when I try to login it takes me back to the forums summary page.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
manuel, you have 'ation' instead of 'action'.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
This is the only release for 6.1.0 (pending bugs). 6.2.0 will have a new, more functional version with a few new features. Stay tuned!
|
|
|
|
Joined: May 2001
Posts: 229
Member
|
Member
Joined: May 2001
Posts: 229 |
Hehe, stupid me. I used the "embeded" parameter, and even though the chat poped-up. Any clue on this? I would like it that who´s online shows when users are chating. This is possible? Thanks guys !!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks, looking good
|
|
|
|
Joined: Oct 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 1 |
But why I can't chat ?I can't see what I type, I can't choose Chatwatch option in Digichat. LK,How can I do for this ?
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
I'm lost too. The zip file I downloaded (linked at the top of this thread) had two files. One is a readme file stating that this is the alpha version. The other has the code, but I'm totally lost on which files I'm supposed to edit and where?
Can somebody explain this to me? This is not my area of expertise. Sorry.
Thanks for the help.
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Forgot to mention that I'm running v6.05. Will this still work?
LtUSMC
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In the end of $MainButtonsLine (ubb_lib.cgi) line, add: | digichatIf you don't want it to say the username/password, you can use my login that I posted before: In ultimatebb.cgi Then, use: | digichat
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
I think mine is not working becasue I'm using v6.05. Otherwise, I did the following: I edited digichat.cgi and changed the CODEBASE line to reflect the correct server. The CODE line was the same, so I didn't change it. I also didn't find what was referred to as , as there was no port parameter being used that noticed in my current html code. I tried using the link of: http://www.....com/cgi-bin/ultimatebb.cgi?ubb=digichat And the username and password appears properly. But when I click submit, I get a "The page cannot be displayed" message, and the page is titled HTTP 500 Internal Server Error. How can I change the program to have it work with v6.05? I would really appreciate this help Any ideas? Thanks. [ 12-01-2001 02:50 AM: Message edited by: LtUSMC ]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Is there anything I can do to modify the program to have it work with v6.05?
The reason I'm hesitant to upgrade to v6.10 is because of all the other hacks I have installed already. I assume I would lose them in the upgrade.
Any suggestions on what I could to make it work with v6.05? I can work on the program if I can get some guidance. Or are there alternative solutions? Thanks
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Ok, I went ahead and upgraded to v6.10. Now the DigiChat hack works like a charm. Thanks!!
Two questions:
1) I have the login/password form on my forum summary page. I would like it to open a new window? Where and what file should I edit to do this?
2) Since I have my username/password login on the forum summary page, they currently show up blank when one opens this page. What can I modify in order to have these already filled with the username & password information?
3) Is there a way for DigiChat to remember user settings such as icon and profile?
Thank you for all the help.
LtUSMC
|
|
|
|
Joined: Jun 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 11 |
I have the same question and feel the same as Asniper. . .
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Mar 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 22 |
suh-weet. been waiting for this one. good job guys....
|
|
|
|
Joined: Mar 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 22 |
One suggestion. First, I have my UBB set to not allow guests at all. I'm trying to link (from a page outside of the UBB) directly to the digichat login screen, but if you aren't logged in it asks you to do so, and then after you login instead of sending you to the digichat login screen again, it sends you to the main UBB page.
I'm running 6.2.0
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Updated. Not sure if it will WORK, but...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
[code][/code]Why is it needed? 1. There isn't $in{refer}. 2. $ubb isn't used anywhere. 3. You have more }s than {. 4. You're printing blank variables as cookies.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
FYI, it's in there for version 2.0, coming to a theatre near you.
|
|
|
|
Joined: Mar 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 22 |
Oh, also another suggestion...
The old digichat hack allowed you to pass variables for avatars and other preferences.
That would be dope.
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi LK Have you managed to call the digichat.cgi directly without using a form. You seem to say that you can in a earlier note, but I don't understand what to change. I have the form version working with my board thanks to your later note. Any ideas on how you could login to DigiChat when you are not already logged into UBB? At present it logs you into UBB then takes you to the forums. I would be very grateful for any hints on how to get that to work. I am now looking at the buddies capability in DigiChat. I think It should be possible to interface it quite neatly with UBB. I am going to attempt to write some code and will post it here if anyone is interested. Cheers Websorceror
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In digichat.cgi, find: [/code]Replace with:[code] Then try to link to digichat.cgi... It's not tested, but I think it should work.
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi LK, Wow I didn't expect a response that quick, thanks very much I will try that. Do you know if this hack is going to eventually become a finished application. It works really well on my board, so I am already pretty happy with it. Are there any known deficiencies I should be aware of? Cheers Websorceror
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi LK,
Your suggestion to bypass the form worked like a dream.
Many Thanks
Websorceror
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi Greg and LK, I have been testing the digichat hack over the past few days and have found one small bug, so far (pretty good for beta software ). If you access the chat using Netscape it fails with a file not found, this is because the case on the client.jar is wrong. Literally only changing the uppercase "C" to lowercase will fix the fault. Find (in digichat.cgi) ARCHIVE="Client.jar" Change to ARCHIVE="client.jar" I have also found if I use LK's cookie code that it can let people through who do not have post access under some circumstances when calling the hack directly. I have written a small patch to fix the problem and will post it when i have tested it works correctly. Thanks for the great hack it has allowed me to really integrate Digichat in with my UBB membership in record time. Greg are you still intending to release v2.0, if so could you give any clues as to what it will contain? Cheers Websorceror
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Have you ever seen that problem yourself?
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi LK,
I have seen it on my system, it is likely to be rare but I have been able to reproduce it. I will logon to my other system to get the details, should get back to you within 15 mins.
Cheers
Websorceror
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi LK,
I found that users who had been members, but since had their posting ability turned off could still access digichat if I called the hack directly using your cookie suggestion. They obviously needed to have logged on with posting rights before, and still have a valid cookie.
To prevent this I added the following code
Find
&DoPostTheReply;
Add this immediately before it
if ($user_profile[4] !~ /Write/i){ print("
Sorry, you not authorised to chat"); exit; }
So far it seems to solve the problem.
I am also going to try to interface with the UBB buddies facility. I am still learning Perl and UBB so that should be interesting. Hope the above is useful.
Cheers
Websorceror
|
|
|
|
Joined: Aug 2001
Posts: 71
Member
|
Member
Joined: Aug 2001
Posts: 71 |
The link is down..
|
|
|
|
Joined: May 2001
Posts: 11
Junior Member
|
Junior Member
Joined: May 2001
Posts: 11 |
Hi Morpheus,
The link is live again now, I just successfully downloaded the hack. This is a really good hack, but make sure you read the posts by LK on how to install and call it. Great to see someone else interested in integrating Digichat, good luck and enjoy.
I have been looking at writing some extensions for this to allow saving of buddy lists and possibly more. I may release them here when they are finished if anyone is interested.
Cheers
Websorceror
|
|
|
|
Joined: Mar 2002
Posts: 8
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 8 |
Yeah! Great hack! Nice Work!
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
i just cant seem to understand this step i am using 6.3.0 does that mean it wont work? [code][/code]Then, use: | digichat[/b]
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
anyone can shed some light on this please? i seem to have it working but only this part of the linking doesnt seem to work or i dont understand this post above
please help...i have 6.3.0
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
thanks LK for all your help sorry didnt mean to bother you with the PMs
|
|
|
|
Joined: Jan 2011
Posts: 3
Lurker
|
Lurker
Joined: Jan 2011
Posts: 3 |
Digichat applet can be assessable by php and mysql! So you can run the applet with php values that can connect to your mysql database: <applet name="DigiChat" codebase="http://hostname/DigiChat/DigiClasses/" code="com.diginet.digichat.client.DigiChatApplet" width="200" height="90" align="middle" archive="client.jar"> <param name="siteID" value="<?php echo $_SESSION['SESS_SITE_ID']; ?>"> <param NAME="Age" VALUE="<?php echo $_SESSION['SESS_AGE'];?>"> <param NAME="realname" VALUE="<?php echo $_SESSION['SESS_REAL_NAME'];?>"> <param NAME="nickname" VALUE="<?php echo $_SESSION['SESS_FIRST_NAME'];?>"> <param name="url" value="<?php echo $_SESSION['SESS_URL']; ?>"> <param name="exitmessage" value="<?php echo $_SESSION['SESS_EXIT_MESSAGE']; ?>"> <param name="comments" value="<?php echo $_SESSION['SESS_COMMENTS']; ?>"> <param name="cabbase" value="Client.cab"> <param name="background" value="ffffff"> <param name="textcolor" value="000000"> <param value="true" name="RoomsTab"> <param name="quickload" value="true"> <param name="signed" value="TRUE"> <param name="ports" value="7545,7546,7547,7548"> </applet>
Last edited by xxcorrosionxx; 05/16/2011 8:33 PM.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|