• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

User Registration and Login Required

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
19 posts • Page 1 of 2 • 1, 2

Postby dannic » Sun Jan 21, 2007 11:09 pm

This is an addition to help you create a user registration and login system.

This uses Smarty templates and Adodb classes for website management. I find them alot easier to use then putting all of the html into the php files. This uses the current version of PhpFreeChat 1.0-release 8.

To use this. Please download from here

http://www.emeraldcoastinteractive.com/ ... eechat.zip
Unzip and upload into the directory you plan on using.

The three files you will have to configure are:

includes/config.php
chat.php
signup.server.php

They are fairly important since if you do not do this then your users will not be able to register.
You will also need to chmod the data directory as appropriate per PhpFreeChat and the templates_c directory for chmod 777

Your mysql settings will be set in the config.php file in the includes directory.

Once you set up your database you can use the following sql to create the tables.

Code: Select all

-- --------------------------------------------------------

--
-- Table structure for table `users`
--


UPDATE:

Updated the link to the file. Keep in mind this has not been updated to the latest phpfreechat, adodb and smarty code. You may want to update those. I will eventually update it so that it works with the latest but for now I'm just going to reestablish the link for those who want to download the file.
Last edited by dannic on Sat Mar 01, 2008 5:25 am, edited 1 time in total.
dannic
Member
 
Posts: 18
Joined: Fri Jan 05, 2007 1:12 am
Top

Postby balans » Thu Feb 01, 2007 3:25 am

Hello Dannic,

-I've download, Unzip & upload into the server directory
-I've configured:includes/config.php+chat.php+signup.server.php
-I've create the tables

Some how I succeed to registering, but the access to chat.php...
Error: 'customize.js' could not be found, please check your themepath '/home/thebroke/public_html/test/themes' and your theme 'default' are correct

that themepath is wrong and it should be like that:
'/home/a-z-a/public_html/balans/phpfreechat/themes'

Can you please help me with:
1-Where do I correct those errors?
2-Can you send the sql table: 'table', too?

Tech. Note:
link: http://www.balans.co.il/phpfreechat/
Username: admin Password: admin

-phpMyAdmin - 2.9.0.2
-Server version: 4.0.27-standard
-MySQL client version: 4.1.10

Thanks, Max
balans
New member
 
Posts: 4
Joined: Thu Feb 01, 2007 2:48 am
Top

Postby dannic » Thu Feb 01, 2007 4:02 am

try deleting everything in the data/private and data/public directories.
dannic
Member
 
Posts: 18
Joined: Fri Jan 05, 2007 1:12 am
Top

Postby balans » Thu Feb 01, 2007 5:24 pm

Thanks, its working fine now.

Can you please help me with some other things?
1-We want to limit the conversation for only registered members
2-bond between registered only with girl that available in our dB
3.Gives a limit in time or in conversations amount

Thanks in advance, Max
balans
New member
 
Posts: 4
Joined: Thu Feb 01, 2007 2:48 am
Top

Postby dannic » Thu Feb 01, 2007 10:34 pm

You want people to be able to view the chat but not be able to participate unless they meet a certain criteria?

Not sure what you mean by bond.

Sounds like you need someone to do something that is beyond the scope of what I was trying to do with this contribution. I am willing to do that but we will need to discuss this a bit more through pm.
dannic
Member
 
Posts: 18
Joined: Fri Jan 05, 2007 1:12 am
Top

Postby balans » Thu Feb 01, 2007 11:10 pm

Yes. it is exactly what I am interested. And I am ready to pay for the effort..

We have customer that have a match making site. see that link:
http://numa.co.il/NEWnuma/indexE.phtml

He is interested that only registered members that pay for that, will be able to discuss with a girl which he interests

All the girls are stored in MySql dB inside one table. and we want To execute an interconnection of the members, chat tables with the exists girl table....

I hope that you understand me more at this time
balans
New member
 
Posts: 4
Joined: Thu Feb 01, 2007 2:48 am
Top

Postby balans » Sun Feb 04, 2007 1:06 pm

did you received my last message?
balans
New member
 
Posts: 4
Joined: Thu Feb 01, 2007 2:48 am
Top

Postby sweaverit287 » Fri Nov 16, 2007 11:40 pm

So this will require registration &/or login before the person will be allowed access to the chat, correct? :D Exactly what I was looking for. Thank you so much.
sweaverit287
Member
 
Posts: 16
Joined: Thu Nov 15, 2007 5:01 am
Top

Postby sweaverit287 » Sun Nov 18, 2007 5:46 am

Oh no. I can't get it to work. :( It works for a while and then goes all screwy. I have tried deleting everything in the data/public and data/private folders.
sweaverit287
Member
 
Posts: 16
Joined: Thu Nov 15, 2007 5:01 am
Top

Postby sweaverit287 » Mon Nov 19, 2007 1:14 am

Okay. After a complete re-install, it is finally working! Wonderfully, too. But I have a question:

I want the chat to be locked on all other days and times except Thursday from 7:00PM and 9:00PM, and it needs to go by the server's time & not the user's clock.

Any ideas how to do this/integrate it?

Thanks!
sweaverit287
Member
 
Posts: 16
Joined: Thu Nov 15, 2007 5:01 am
Top

Postby phpfreechat » Wed Nov 21, 2007 3:14 pm

Depending on the server date, you should setup the islocked and lock_url parameters.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sweaverit287 » Wed Nov 21, 2007 8:54 pm

Hi Stephane!

That is exactly what I did. It was so easy, I dunno why I wasn't able to figure it out on my own. >.<
sweaverit287
Member
 
Posts: 16
Joined: Thu Nov 15, 2007 5:01 am
Top

Postby josh » Wed Dec 12, 2007 8:03 am

hey the link "http://www.orpgs.com/modules.php?name=D … amp;cid=13"

is not working can you give me the new link for the script to make login registration !!!

:)
josh
New member
 
Posts: 9
Joined: Thu Nov 29, 2007 4:07 pm
Top

Postby gweilo8888 » Thu Feb 28, 2008 7:21 pm

Does anybody have a copy of the files from Dannic's link?
gweilo8888
Member
 
Posts: 13
Joined: Tue Feb 12, 2008 11:24 pm
Top

Postby dannic » Sat Mar 01, 2008 5:27 am

Updated the link to the files. I'll try to get around to actually updating the script but I wouldn't look at it being any time soon. Trying to get my webhosting started. If anyone is interested let me know.
dannic
Member
 
Posts: 18
Joined: Fri Jan 05, 2007 1:12 am
Top

Next

Post a reply
19 posts • Page 1 of 2 • 1, 2

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub