Change #196

chat not usable via chat.opencaching.de

Added by bohrsty about 6 years ago. Updated about 6 years ago.

Status:erledigt% Done:

100%

Priority name:2 mittel
Assignee:bohrsty
Target version:Version 8
Ticket Referenz: Kategorien:struktur links

Description

the chat/irc-menuentry directs to the freenode webchat page, not really usable with own domain.

Associated revisions

Revision 792be074
Added by bohrsty about 6 years ago

added webchat.tpl and webchat.php for viewing chat/irc embedded in
oc-layout, defined MNU_CHAT in data.sql, disabled template caching, moved webchat
URL to settings file, removed inclusion of not needed
lib2/logic/logpics.inc.php, increased size of chat window and made it
configurable via settings file, updates #196

Revision 2d10aa8a
Added by bohrsty about 6 years ago

added webchat.tpl and webchat.php for viewing chat/irc embedded in
oc-layout, defined MNU_CHAT in data.sql, disabled template caching, moved webchat
URL to settings file, removed inclusion of not needed
lib2/logic/logpics.inc.php, increased size of chat window and made it
configurable via settings file, updates #196

Revision cbc8e96c
Added by following about 6 years ago

added webchat settings and translations; some detail changes; update #196

History

#1 Updated by bohrsty about 6 years ago

  • Status changed from neu to in Arbeit 20%

#2 Updated by bohrsty about 6 years ago

  • % Done changed from 0 to 100

added php-file and template to use webchat embedded as iframe

#3 Updated by bohrsty about 6 years ago

  • Assignee changed from bohrsty to following

config2/settings.inc.php needs to be changed when taken to production:

- remove lines 670-671 (is now done in webchat.php)
- change line 666 to:

'href' => 'webchat.php',

#4 Updated by following about 6 years ago

  • Assignee changed from following to bohrsty
to do:
  • define MNU_CHAT in data.sql, table 'sys_menu'
  • disable template caching, because webchat.tpl uses user-dependend variables
  • move webchat URL from template to settings file; use '{chatusername}' as user name variable
  • lib2/logic/logpics.inc.php needs not to be included
  • increase chat window to use more of available screen space (700x500 px?)
  • add translations for 'Guest' -> following

#5 Updated by bohrsty about 6 years ago

  • define MNU_CHAT in data.sql, table 'sys_menu'
  • disable template caching, because webchat.tpl uses user-dependend variables
  • move webchat URL from template to settings file; use '{chatusername}' as user name variable
  • lib2/logic/logpics.inc.php needs not to be included

done

  • increase chat window to use more of available screen space (700x500 px?)

increased and made configurable in settings file

  • add translations for 'Guest' -> following

there is a second translation for the link to open freenode-chat directly

correcting comment 3 above:
the menu definition of MNU_CHAT (around line 660ff) needs to be removed completely from settings.inc.php

new options needed:

$opt['chat']['url'] = 'http://webchat.freenode.net/?nick={chatusername}&channels=opencaching.de&prompt=1';
$opt['chat']['width'] = 700;
$opt['chat']['height'] = 433;

#6 Updated by following about 6 years ago

  • Status changed from in Arbeit 20% to im Test

#7 Updated by bohrsty about 6 years ago

  • Target version set to Version 8
  • Kategorien set to struktur links

#8 Updated by following about 6 years ago

  • Status changed from im Test to erledigt

Also available in: Atom PDF