You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links




 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


Post a new message in "Default Forum"
Name:
Subject:
topic icon:
no
boardcode:
 Colour:  Size:   Close all tags
Message:
CAPTCHA: How much is 0 added to 0

Topic History of: Get new visitors to see what people said before
Max. showing the last posts - (Last post first)
Author Message
Maeko What file should i modify?



I dunno python.
admin Hi



You can't do that "out of the box"

You could ask flash clients to re-send the datas they sent but I don't think it's a good way.



Or you could write a plugin for the new Palabre version



Code:

 

class roomHistory:

    
def __init__(self,server):
        
        
self.server server
        
        self
.name "roomHistory"

        
self.history = {}

        
self.server.registerAction('roomSendToAllClients',self.name)

        
self.server.registerAction('clientJoinRoom',self.name)


    
def roomSendToAllClients(self,msg,nickName,room):

        
self.history[room.name].append(msg)

        
# ... And whatever you want to be logged

    
def clientJoinRoom(self,client,room):

        
client.clientSendMessage(self.history[room])






Of course you will have to adapt this to suit your needs.
You might want to loop over history per room etc etc checks if history is present and so on, but the base is here
Maeko anyone?
Maeko I'm trying to make Palabre to send everything that was said (with a limit of 100 speeches for example) to the people that had just arrived in the channel.





For example, there are 2 peoples chating in this room:



Manel says: Hello!

Gui Says: Hi How R U?



(Now a new guy arrives to the room, Palabre should send what was said before is arrivel to him)



Titi Says: Hello guys, what have you been chating today? :)