vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   DigiChat Integration V2.0 (https://vborg.vbsupport.ru/showthread.php?t=64367)

Pseudomizer 07-15-2004 04:54 AM

Quote:

Originally Posted by Romeos Tune
Alrighty then.... I have it all worked out..... Now I'm gonna figure out how to use the bots...... :D Thanks for an awesome hack!

Helo Romeos Tune,

keep in mind that i am based in Europe. The time shift. :-) But i am glad that you fixed your problem.

Cheers,

Romeos Tune 07-17-2004 10:55 AM

Thanks my friend..... :)

Romeos Tune 07-19-2004 02:51 AM

Ok....I'm having one more problem I need to get knocked out. I just realized when a user changes their chat icon in the VB user control panel it doesn't pass the value to the chat applet. They still just have the default icon. What can I do to correct this problem?

Pseudomizer 07-19-2004 07:32 AM

Quote:

Originally Posted by Romeos Tune
Ok....I'm having one more problem I need to get knocked out. I just realized when a user changes their chat icon in the VB user control panel it doesn't pass the value to the chat applet. They still just have the default icon. What can I do to correct this problem?

Hi Romeos Tune,

you have to figure out where the problem is. Is the setting lost during the save process or is it not read during the applet load process ?

You can check this if you are familiar with MySQL. Look into the customprofilefields and look what numbers are stored there. If the field is empty or the number is above the total number, then DigiChat loads the default icon.

To explain this:
If you choose Icon number 5, then number 5 is stored in the DB. During the load of the applet it takes the number 5 and adds 1000 to it, because DigiChat UserIcons start from ID 1000. If you have let's say 40 icons and you have in the DB the number 50 stored, then it will become 1050. DigiChat will not find number 1050 and it will take the default icon number.

Hint: If you have wholes during the iconIDs then you have to manually adjust the script. Just look into your DigiChat UserIcon IDs. Are they contiguously ?

Cheers,

Romeos Tune 07-21-2004 01:25 AM

Hi again,

Did you mean the table named customprofilefields? I haven't checked the script but which field will have the number you're speaking about? Is it profilefieldid? I'm a little lost here.......I'm sorry....

Quote:

Originally Posted by Pseudomizer
Hi Romeos Tune,

you have to figure out where the problem is. Is the setting lost during the save process or is it not read during the applet load process ?

You can check this if you are familiar with MySQL. Look into the customprofilefields and look what numbers are stored there. If the field is empty or the number is above the total number, then DigiChat loads the default icon.

To explain this:
If you choose Icon number 5, then number 5 is stored in the DB. During the load of the applet it takes the number 5 and adds 1000 to it, because DigiChat UserIcons start from ID 1000. If you have let's say 40 icons and you have in the DB the number 50 stored, then it will become 1050. DigiChat will not find number 1050 and it will take the default icon number.

Hint: If you have wholes during the iconIDs then you have to manually adjust the script. Just look into your DigiChat UserIcon IDs. Are they contiguously ?

Cheers,


Romeos Tune 07-21-2004 01:57 AM

Hiya, It's me again......

Well, for some reason it works with new users. If they register and pick a certain icon then it remembers and works properly in chat. But if an old user goes to user control panel and chooses an icon for chat it doesn't work...... ?

Widey 08-12-2004 11:59 PM

Fantastic hack, a few minor tweaks and it's running like a dream with Digichat 5AV.

dellow 08-15-2004 08:55 PM

but i found i very small problem , but very important !

the users that their username contain " & " can't login as member thay login only as guest . any idea how to resove this issue ?

secont think , what if some bad user save the chat.php as file and edit the haml code and type his name in the username field ?
any idea ?

Pseudomizer 08-16-2004 10:07 AM

Hi @LL,

@Romeos Tune: Is your problem now resolved?

@Widey: Thanks. Any hints what is missing for DC5?

@dellow: I have users with all kind of special characters in chat and it works fine. What you are describing sounds like they click on "Go to chat" and they are automatically connected as guest? If yes, then your members have cookie problems.

Regarding your second problem: Go into your DC Admin Panel and place your hostname and your hostip in the TAB "Host". This will deny access to any other applet which is not startet on your server. This is a very important security setting which should be set during installation.

Cheers,

dellow 08-16-2004 04:07 PM

Pseudomizer i PM you with some details about the forum to test it your self .

Regards,


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