Dein Menü

Willkommen Gast. Bitte einloggen oder registrieren.
07. Februar 2012, 20:14:06

Einloggen mit Benutzername, Passwort und Sitzungslänge

Sprache wählen:

Spenden

Donate für den POC!
Deine Spende hilft dem Support, der Erhaltung des Chats und diesem Portal.

Anzeige Amazon

* Chartermember

* Bookmark

Bookmark and Share

* Werbung

vodafone.de
Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on OneviewShare this topic on RedditShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz

Autor Thema: preventing people registering as chat users and another question  (Gelesen 2007 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline nigel

  • Neuling
  • *
  • Beiträge: 9
  • Karma: 0
  • Geschlecht: Männlich
Hi All

I have the latest POC version installed, and it is set up to allow my forum users to autologin to the chat, that all works fine,

The problem is that people can go to the login page for the chat and register as a chat user (ie not registered in the forum), i want to somehow prevent this, but I still want to be able to login to the chat page ( for the operator)

I couldn't see a way to do this, (so i thought i would just remove the register link from the login page), but if there is away I would appreciate knowing

I have been slowly working through the POC tutorials but I haven't seen anything about this

But as English is my only language translating the German is taking a while

I have tried Babelfish
 but i have a feeling the  following has nothing to do with Railways at all

define('CHANNEL_BUFFER_TYPE','DB');
Hier kannst du DB oder mem eintragen. Bei DB werden die Zeilen des Chat in die Datenbank geschrieben und wieder ausgelesen. Bei Einstellung mem werden die Zeilen in den Shared Memory geschrieben und ausgelesen. Nicht jeder Server unterstüzt SHM. Ob der deine dies macht und wie es festgestellt wird steht in der config.inc.php
Im Zweifelsfalle lasse den Wert auf DB stehen!

Babelfish translation
define('CHANNEL_BUFFER_TYPE', 'DB '); Here you can register railways or mem. With railways the lines of the Chat are written into the data base and selected again. During attitude mem the lines are written and selected in the Shared MEMORY. Not each server unterstuezt SHM. Whether the yours this makes and like it is determined stands in config.inc.php in the case of doubt leaves untouched the value on railways!
Anyhelp would be appreciated



Offline Horseman

  • Administrator
  • Held Mitglied
  • *
  • Beiträge: 2545
  • Karma: 0
  • Geschlecht: Männlich
  • 'MAS VALE CABALLO QUE CAUDAL!'
    • H-H-C - die große Reitercommunity
Re: preventing people registering as chat users and another question
« Antwort #1 am: 13. August 2006, 00:42:36 »
Hello Nigel,

the Chat put the Line into Databes or in the shared memory as a Ringbuffer.
For SHM take a logg in the config.inc.php:
/*
 * Ringbuffer settings
 * If you have:
 * - shared memory and semaphores compiled in,
 *   (search for 'sysvshm' and 'sysvsem' in a page generated by phpinfo() ) and,
 * - specified the initial memory size for the shared memory
 *   (add 'sysvshm.init_mem = 32595000' to your php.ini)
 * set this to 'Mem' for the best performance of your chat.
 * otherwise set to 'DB'
 */
]/code]

You can Edit the Startpage from Chat to disable Register in index.tpl
search for:
[code]
        <a href="register.php"><?=$_SESSION['translator']->out('REGISTER')?></a>&nbsp; | &nbsp;
        </td>
and recommentet it

regards
horseman
[/code]
˙·٠•● █▬█ alloº°"˜¨˙·٠•●.... :: ǝʌıʇʞǝdsɹǝd uǝɹǝpuɐ ɹǝuıǝ snɐ ןɐɯ ǝzuɐƃ sɐp ɹıʍ uǝʇɥɔɐɹʇǝq ::
Offizielles Support Portal
für PhpOpenChat
http://www.phpopenchat.de
Meine Reitercommunity
http://www.h-h-c.de
POC auf Facebook | POC auf Twitter

Offline nigel

  • Neuling
  • *
  • Beiträge: 9
  • Karma: 0
  • Geschlecht: Männlich
Re: preventing people registering as chat users and another question
« Antwort #2 am: 13. August 2006, 02:02:53 »
Thanks for that Horseman

I also had to change the following in config.inc.php

from
 define('REGISTER_URL', './register.php'); // DEFAULT: './register.php'

to

 define('REGISTER_URL', './index.php'); // DEFAULT: './register.php'

POC -PhpOpenChat- Portal

« am: »

Tags:
 

Bequem im Web suchen direkt von hier!

Benutzerdefinierte Suche

Anzeige

www.medionshop.de

Unser Server

www.strato.de -> hier klicken

* Domain Frei?

* Anzeige

Multi Suche


Web
www.phpopenchat.de
www.h-h-c.de

* Networks

Follow Phpopenchat on Twitter
Portal Management Extension PortaMx v0.980-1 | PortaMx © 2008-2010 by PortaMx corp.