Svet pogovorov
http://www.gape.org/cgi-bin/yabb/YaBB.pl
Tukaj lahko predlagate nove teme in to >> Sistem, predlogi ... namen foruma >> phpMyChat
http://www.gape.org/cgi-bin/yabb/YaBB.pl?num=1062604909

Message started by exorcist on 03.09.2003 at 18:01:49

Title: phpMyChat
Post by exorcist on 03.09.2003 at 18:01:49

Pozdravljeni

Imam eno vprašanje za Gapea oziroma moderatorje, namreč pred kratkim sem si instaliral chat na tole stran http://www.fjun.com/exorcist/zmenkarije1/ , pa me zanima kako kreiras tisti link za privatni pogovor, ce bi se rad s kom pogovarjal na striri oci? Pa se nekaj, kaj se massages zbrizejo po dolocenem casu, kje se to nastela?
http://www.fjun.com/exorcist/pogovori/
;)

Title: Re: phpMyChat
Post by A. on 04.09.2003 at 15:27:31

verjetno se doda hvala za odgovor.  ;)

drugače pa preberi si helpe!!!

Title: Re: phpMyChat
Post by gape on 04.09.2003 at 15:35:12

ps len exo

whatever the path is ... \chat\config\config.lib.php3
edit

// Cleaning settings for messages and usernames
define("C_MSG_DEL", '8');      // Messages are deleted when there are 'xx' hours old
define("C_USR_DEL", '4');      // Usernames are deleted when its last use is 'xx' minutes old
                       //      the second setting must be greater than the maximum time
                       //      authorized between messages list refresh
define("C_REG_DEL", '0')      //      Registered profiles are deleted when its last use is 'xx' days old
                       //      'xx' should be 0 for never



to in vse ostalo je zapisano v readme in v helpih ... tud na forumu mamo en tak help na to temo ... kje pa je točno pa ne vem ...

Title: Re: phpMyChat
Post by exorcist on 04.09.2003 at 20:29:01


gape wrote on 04.09.2003 at 15:35:12:
ps len exo

whatever the path is ... \chat\config\config.lib.php3
edit

// Cleaning settings for messages and usernames
define("C_MSG_DEL", '8');      // Messages are deleted when there are 'xx' hours old
define("C_USR_DEL", '4');      // Usernames are deleted when its last use is 'xx' minutes old
                       //      the second setting must be greater than the maximum time
                       //      authorized between messages list refresh
define("C_REG_DEL", '0')      //       Registered profiles are deleted when its last use is 'xx' days old
                       //      'xx' should be 0 for never



to in vse ostalo je zapisano v readme in v helpih ... tud na forumu mamo en tak help na to temo ... kje pa je točno pa ne vem ...


Dodal sem si več smeškotov pa ne vem kako jih naj spravim kaskado oz. stolpice, php koda?
http://www.fjun.com/exorcist/pogovori/help_popup.php?L=english&Ver=H

Title: Re: phpMyChat
Post by Devi on 04.09.2003 at 21:03:42

uh, svetske smeškote imaš!!! :o :D :D
pridem chatat takoj ;D

Title: Re: phpMyChat
Post by gape on 04.09.2003 at 21:26:02

prosim naj mu da nekdo link ...


lenuh


http://www.gape.org/cgi-bin/yabb/YaBB.pl?board=stran;action=display;num=1026824103;start=78#78

Title: Re: phpMyChat
Post by exorcist on 04.09.2003 at 22:57:53


gape wrote on 04.09.2003 at 21:26:02:
prosim naj mu da nekdo link ...


lenuh


http://www.gape.org/cgi-bin/yabb/YaBB.pl?board=stran;action=display;num=1026824103;start=78#78


Mislim, da me nisi razumel, to že vem, saj sem si smeškote sem sam uštimal takole (lahko vam dam kodo ce rabite):

":\)"      => array("smile1.gif", "15", "15"),
     ":D"      => array("smile2.gif", "15", "15"),
     ":o"      => array("smile3.gif", "15", "15"),
     ":\("      => array("smile4.gif", "15", "15"),
     ";\)"      => array("smile5.gif", "15", "15"),
     ":p"      => array("smile6.gif", "15", "15"),
     "8\)"      => array("smile7.gif", "15", "15"),
     ":\["      => array("smile8.gif", "15", "15"),


":A"      => array("aleluja.gif", "34", "25"),
":z)"      => array("grazy.gif", "16", "16"),
":y)"      => array("crying.gif", "15", "15"),
":sl"      => array("sleepy.gif", "20", "24"),
":a)"      => array("alien.gif", "14", "15"),
":s)"      => array("smokie.gif", "21", "15"),
":lv)"      => array("love2.gif", "30", "21"),
":-/"      => array("bounce.gif", "31", "31"),
":b)"      => array("burnout.gif", "40", "15"),
":pa"      => array("patty.gif", "22", "27"),
":5)"      => array("el.gif", "16", "15"),
":da"      => array("dance.gif", "32", "32"),
":6]"      => array("smash.gif", "30", "26"),
":l)"      => array("love.gif", "15", "22"),
":e)"      => array("eek.gif", "15", "16"),
":9/}"      => array("party.gif", "37", "33"),
":ch"      => array("cheers.gif", "60", "40"),
":g)"      => array("girl.gif", "15", "20"),
":ty"      => array("type.gif", "40", "20"),
":fl"      => array("flower2.gif", "22", "20"),
":gr"      => array("dance1.gif", "22", "21"),
":5/}"      => array("goodbad.gif", "15", "23"),
":2]"      => array("cold.gif", "20", "30"),
":7)"      => array("private.gif", "15", "15"),
":fe"      => array("flame.gif", "19", "36"),
":2/}"      => array("splat.gif", "30", "30"),
":f)"      => array("flash.gif", "15", "15"),
":si"      => array("sick.gif", "15", "15"),
":lo"      => array("looney.gif", "15", "15"),
":sh"      => array("shudder.gif", "17", "17"),
":sm"      => array("smoker.gif", "20", "24"),
":no"      => array("no.gif", "15", "15"),
":ro"      => array("rosie.gif", "16", "16"),
":ca"      => array("cat.gif", "32", "32"),
":bu"      => array("bubble.gif", "20", "20"),
":ni"      => array("nighty.gif", "19", "25"),
":9)"      => array("kiss.gif", "15", "15"),
":6/}"      => array("eek2.gif", "15", "15"),
":2)"      => array("kitty.gif", "19", "18"),
":&)"      => array("clown.gif", "15", "15"),
":i)"      => array("idee.gif", "15", "15"),
":3/}"      => array("rwb.gif", "17", "17"),
":t)"      => array("tasty.gif", "15", "15"),
":3)"      => array("heart.gif", "16", "16"),
":?)"      => array("confused.gif", "15", "22"),
":sex"      => array("sex.gif", "24", "20"),
     ":kill:"      => array("smile9.gif", "50", "15")
);

$MaxWidth = "20";            // Set the maximum width among similes
$MaxHeight = "20";            // Set the maximum height among similes

Ne vem kako je komanda v php-ju, da ne bi imel vseh smeskotov postrojenih v eno vrsto, ampak recimo 10 na vrsto.

Za navaden html bi vstavil samo tole <br> in bi me vrglo v drugo vrsto, tu pa to ne spila!

Title: Re: phpMyChat
Post by gape on 05.09.2003 at 00:01:14

vzamem nazaj

sanja se mi ne kaj hočeš

da bi jih vse v eno vrsto naštucu ... tko kt stojči rad dela, ampak ti bi to v chatu?

ne štekam glih točno


zdej vidm ... gledam


Code:

tale
     <TABLE BORDER=0 CELLPADDING=3 WIDTH=574 CLASS="table">
     <TR>
           <TH CLASS="tabtitle" COLSPAN=<?php echo($Nb); ?>><?php echo(L_HELP_TIT_1); ?></TH>
     </TR>
     <?php
     $i = "0";
     $Nb = count($ResultTbl);
     while($i < $Nb)
     {
           if ($i > 0) echo("\t");
           echo("<TR VALIGN=\"BOTTOM\">\n");
           echo("$ResultTbl[$i]");
           echo("\t</TR>\n\t<TR>\n");
           $i++;
           echo("$ResultTbl[$i]");
           echo("\t</TR>\n");
           $i++;
     
};
     unset($ResultTbl);
     ?>
     </TABLE>
     <BR>


zgenerira tega

<!-- Smilies codes -->
     <TABLE BORDER=0 CELLPADDING=3 WIDTH=574 CLASS="table">
     <TR>
           <TH CLASS="tabtitle" COLSPAN=55>Smilies</TH>
     </TR>
     <TR VALIGN="BOTTOM">
           <TD ALIGN="CENTER" WIDTH=20 HEIGHT=20><A HREF="#" onClick="smiley2Input(':\)'); return false"><IMG SRC="images/smilies/smile1.gif" WIDTH=15 HEIGHT=15 BORDER=0 ALT=":)"></A></TD>
           <TD ALIGN="CENTER" WIDTH=20 HEIGHT=20><A HREF="#" onClick="smiley2Input(':D'); return false"><IMG SRC="images/smilies/smile2.gif" WIDTH=15 HEIGHT=15 BORDER=0 ALT=":D"></A></TD>
           <TD ALIGN="CENTER" WIDTH=20 HEIGHT=20><A HREF="#" onClick="smiley2Input(':o'); return false"><IMG SRC="images/smilies/smile3.gif" WIDTH=15 HEIGHT=15 BORDER=0 ALT=":o"></A></TD>
     




gledam kt ps pa nč ne vidm ... zihr on tuki zgenerira reč ... tm kjer je boldano

na nek način bi ga mogu prelomt
z enim if-om ki bi uturil nov </tr> in nov <tr>

Svet pogovorov » Powered by YaBB 2.3!
YaBB © 2000-2008. All Rights Reserved.