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)
-   -   DigiChat Integration V3.0 BETA (https://vborg.vbsupport.ru/showthread.php?t=79911)

coolegg 04-19-2005 06:27 PM

Pseudomizer, I had some table-not-found query errors when trying to use the admin panel to set my DigiChat variables.

The first error was table not found when clicking on AdminCP > DigiChat Global Settings. It was trying to find the table vb3_digichat but the installer created the tables digichat and digichat_menus without the vb3_ prefix. I manually changed both tables to have the proper prefix for me.

That allowed me to access the control panel settings, but then I got another error when saving my settings - the reverse error in fact. digichat_admin.php tried to save my settings to the file without the vb3_ prefix. The fix there was to change this line in admincp/digichat_admin.php:
Code:

$users = $DB_site->query("UPDATE digichat set CHAT_SERVER='$_POST[CHAT_SERVER]',CHAT_SITEID='$_POST[CHAT_SITEID]',CHAT_FW_PORT='$_POST[CHAT_FW_PORT]',CHAT_APPLET_VERSION='$_POST[CHAT_APPLET_VERSION]',pathtochaticons='$_POST[pathtochaticons]',CHAT_USER_FILE='$_POST[CHAT_USER_FILE]',CHAT_HELP_URL='$_POST[CHAT_HELP_URL]',CHAT_LANG='$_POST[CHAT_LANG]',CHAT_ADMIN_ADDON='$_POST[CHAT_ADMIN_ADDON]',CHAT_VB_AUTHENTICATE='$_POST[CHAT_VB_AUTHENTICATE]',CHAT_AUTH_GUEST='$_POST[CHAT_AUTH_GUEST]',CHAT_AUTH_NOACCESS='$_POST[CHAT_AUTH_NOACCESS]',CHAT_AUTH_ACCESS='$_POST[CHAT_AUTH_ACCESS]',CHAT_AUTH_ADMINACCESS='$_POST[CHAT_AUTH_ADMINACCESS]',CHAT_USER_FILE_AUTH ='$_POST[CHAT_USER_FILE_AUTH]',CHAT_WHO_INVISIBLE ='$_POST[CHAT_WHO_INVISIBLE]',CHAT_AUTH_FLASH='$_POST[CHAT_AUTH_FLASH]',admincolor ='$_POST[admincolor]',cmcolor ='$_POST[cmcolor]',banncolor ='$_POST[banncolor]',modcolor ='$_POST[modcolor]',unknowncolor ='$_POST[unknowncolor]',regcolor ='$_POST[regcolor]',hiddencolor ='$_POST[hiddencolor]'");
to
Code:

$users = $DB_site->query("UPDATE " . TABLE_PREFIX . "digichat set CHAT_SERVER='$_POST[CHAT_SERVER]',CHAT_SITEID='$_POST[CHAT_SITEID]',CHAT_FW_PORT='$_POST[CHAT_FW_PORT]',CHAT_APPLET_VERSION='$_POST[CHAT_APPLET_VERSION]',pathtochaticons='$_POST[pathtochaticons]',CHAT_USER_FILE='$_POST[CHAT_USER_FILE]',CHAT_HELP_URL='$_POST[CHAT_HELP_URL]',CHAT_LANG='$_POST[CHAT_LANG]',CHAT_ADMIN_ADDON='$_POST[CHAT_ADMIN_ADDON]',CHAT_VB_AUTHENTICATE='$_POST[CHAT_VB_AUTHENTICATE]',CHAT_AUTH_GUEST='$_POST[CHAT_AUTH_GUEST]',CHAT_AUTH_NOACCESS='$_POST[CHAT_AUTH_NOACCESS]',CHAT_AUTH_ACCESS='$_POST[CHAT_AUTH_ACCESS]',CHAT_AUTH_ADMINACCESS='$_POST[CHAT_AUTH_ADMINACCESS]',CHAT_USER_FILE_AUTH ='$_POST[CHAT_USER_FILE_AUTH]',CHAT_WHO_INVISIBLE ='$_POST[CHAT_WHO_INVISIBLE]',CHAT_AUTH_FLASH='$_POST[CHAT_AUTH_FLASH]',admincolor ='$_POST[admincolor]',cmcolor ='$_POST[cmcolor]',banncolor ='$_POST[banncolor]',modcolor ='$_POST[modcolor]',unknowncolor ='$_POST[unknowncolor]',regcolor ='$_POST[regcolor]',hiddencolor ='$_POST[hiddencolor]'");
and that seemed to fix it for me - I can edit the options/settings now.

I should say though that I am running a heavily hacked up 3.0.4, not 3.0.7 per your instructions, which may have been a factor in my case.

I hope that info helps.

Niceboy 04-19-2005 06:37 PM

Quote:

Originally Posted by coolegg
I'm not sure where your prices come from, but I pay $249/mo for hosted audio/video chat with DigiChat. It's just a trial to see how it goes, and it replaces another chat I have been using (and hosting on my own server) for 3 years that I paid a $1500 one-time license for, but some users were having trouble using the old chat. The feedback on the new video chat has been very positive, and members generally love it. If the feedback holds up then the $250/mo will be worth it (for hosted video chat). My vB site backs into 2 paid membership sites I have, so premium video chat for those members at $250/mo pays for itself.

I agree DigiChat is not for everyone, but if your vB site is an income-generator, as many are, then DigiChat integration can be a very nice add-on.

Installed and I am bug-testing it now.

not sure if you site is still new but my website user online at one time 700-1000 and maybe some time more ..

i pay 250 for digichat only 10 user can enter the digichat :D

ok i'am not going to keep replying to this thread if u guys need to make anther thread to chat about digichat and see other user here in vb.org what they think then i will reply there .. but let's keep this thread about digichat support to see how many user have it installing etc..

Thankyou :)

coolegg 04-19-2005 06:47 PM

Quote:

Originally Posted by Niceboy
not sure if you site is still new but my website user online at one time 700-1000 and maybe some time more ..

i pay 250 for digichat only 10 user can enter the digichat :D

ok i'am not going to keep replying to this thread if u guys need to make anther thread to chat about digichat and see other user here in vb.org what they think then i will reply there .. but let's keep this thread about digichat support to see how many user have it installing etc..

Thankyou :)

You are right, if you have 700-1000 simultaneous chatters then DigiChat is not for you, and therefore, obviously, this hack/add-on is not for you. I have up to 50 simultaneous chatters, and that is what my DigiChat license is for, so this hack/add-on is of great interest to me.

Since this hack/add-on isn't for you, I agree with and fully support your decision regarding "not going to keep replying to this thread ".

Pseudomizer 04-19-2005 07:27 PM

New bugs have been reported. Here is the list of what will be fixed in a couple of days:

Chat Who page:
- Counting of invisible users are wrong
- Table is hardcoded in chat_who.php and not in VBulletin CSS style
- German wording for number of users in chat is wrong

Menu Creator in DigiChat Admin Panel:
- numbering is 10,20 and 30 for the examples. DigiChat does not allow this kind of numbering. It has to be contigous. Note will be placed and examples will be adjusted.

Installer:
Installer does not create Table Prefix for the database column.

DigiChat_admin:
Update query in digichat_admin does not use the Table prefix.

Question:

I have been asked to alter the chat profile option for the user icons. For many people it is too complicated to manually change 70 rows of HTML code to show the proper chat icons in the chat profile.

I tried to place this into a PHP code but then the following problem occurs:
Assuming you have 5 user icons in digichat and they start from id 1000 to 1005. Now you delete icon 1003 and then you add a new icon. The new icon will have icon id 1006 and icon 1003 will be left empty. There is no way of creating a new icon with the id of 1003. Some people have "holes" in their numbers. They are not contigously.

If I would write the PHP code the icon ids would be contigously and people would see red X instead of user icons in the chat profile.

The only way of fixing this would be a new option in the GUI to define the start id and the end id + icons which have to be excluded.

Do people agree with this approach or does anyone have any better idea approaching this problem?

Thanks in advance and thanks for the good feedback coolegg.

Cheers,

Marco van Herwaarden 04-19-2005 07:37 PM

Where are the icons stored? In filesystem or database?

Database would be dead easy to take just 5 icons, no matter their number.

If on filesystem your could with a "dir" function list the files in the icon directory and take the first 5.

Pseudomizer 04-19-2005 10:15 PM

Quote:

Originally Posted by MarcoH64
Where are the icons stored? In filesystem or database?

Database would be dead easy to take just 5 icons, no matter their number.

If on filesystem your could with a "dir" function list the files in the icon directory and take the first 5.

Hi Marco,

the icons are stored in a filesystem which is not always the same host. In addition the relationship between chat configuration and file system is different.

For example:

file name: cat.gif on server 01
in DigiChat: iconid 1001 -> cat.gif

in DigiChat: iconid 1002 -> not existing due to being deleted

file name: dog.gif on server 01
in DigiChat: iconid 1003 -> dog.gif

file name: mouse.gif on server 01
in DigiChat: no configure -> not visible

You have to configure each icon once in the DigiChat GUI to establish the relationship. Without the configuration no icon is visible in chat. The problem is that I can not read this configuration from the GUI otherwise it would be easy.

So this is a manual process and due to this hard to implement a proper easy solution.

Hope things are clearer now.

Cheers,

Marco van Herwaarden 04-20-2005 03:20 AM

How is this GUI config stored then that you can not read it?

Worse case i would say, add an extra Setting to store the icon array.

Pseudomizer 04-20-2005 04:24 AM

Quote:

Originally Posted by MarcoH64
How is this GUI config stored then that you can not read it?

In an encrypted file which can not be read from any editor.

Quote:

Originally Posted by MarcoH64
Worse case i would say, add an extra Setting to store the icon array.

Correct. That's why I suggested the array solution.

Cheers,

Pseudomizer 04-23-2005 06:03 AM

Following fixes have been applied now:

Chat Who page:
- Counting of invisible users was wrong
- Table was hardcoded in chat_who.php and not in VBulletin CSS style
- German wording for number of users in chat was wrong
- templates were not cached and PHP 5 terminated PHP script

Menu Creator in DigiChat Admin Panel:
- numbering is 10,20 and 30 for the examples. DigiChat does not allow this kind of numbering. It has to be contigous. Note has been placed and examples adjusted.
- addition of new menu reduced from +10 to +1

Installer:
Installer did not create Table Prefix for the database column.

DigiChat_admin:
Update query in digichat_admin did not use the Table prefix.

Template Chat Icons in install.html
The icon order has now been adjusted from 01 to 75 in contiguous order.

To apply the new fixes please run the deinstaller in your ACP from your current version. Then upload all new files and overwrite the existing files and run a new install of this hack. Should run very easy.

Optional: To have the chat icons in contiguous order please replace the existing userfield template with the update userfield template from the install.html file.

If any problems occur please post it here. Enjoy this hack.

As soon as I do not get any negative feedback until beginning of next week, I will go out of BETA for this hack. Hopefully ;-)

Cheers,

Pseudomizer 04-29-2005 09:09 PM

Hello,

a few small bugs have been reported and one big issue. I will modify the package and update all files in the next couple of days. I am also waiting for some more feedback regarding the big issue to be able to fix this bug. :nervous:

So please be patient. :tired:

Cheers,


All times are GMT. The time now is 02:41 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.01077 seconds
  • Memory Usage 1,778KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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