Jump to content
MakeWebGames

[mccode v2] Not much of a MOD more of a great addon.. Private Messenger


Uridium
 Share

Recommended Posts

I found this cool messenger Its free but you have to give a $19 donation so i guess you cant actually call it free how ever i did donate purely for curiosity. and its not bad at all

its a PHP Instant Messenger great for Gangs to communicate with each other or use it as a Staff to member function.

http://www.php121.com

And nope im not advertising because for the script to work on your Game you'll need some script work so i guess this is a mod afterall ;)

Couple of things though use it as a Standalone and DONT insert their SQL for users as suggested. Because if you do it right you can use your Existing dbase for members so it pull up everyone from the list... so ive made my own version of their tables to help you..

DONT INSTALL THEIR SQL INSTALL THIS ONE.

SQLS

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

USERS SQLS

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Dont foget to alter the config file to that of your game databse.......

open up mainmenu.php and add this where ya want it

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now call this file instantmessenger.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

MAKE sure that only the PHP121 folder is uploaded and not the other folders from the zip

and your done...

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

im currently haveing problems with logging into the messenger, its all up and working correctly except when it pops-up and i try and login it does nothing, do you have a way of fixing this or what?

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

i only get that

Instructions

 

Login with your usual Username and Pass

any help thanks

19$ weren't worthed but lol atleast need to fix it now :lol:

 

ok EDIT i had popup blocked

but now i have

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/paddy/public_html/php121/php121.php on line 89

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/paddy/public_html/php121/php121.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/paddy/public_html/php121/php121.php:89) in /home/paddy/public_html/php121/php121.php on line 108

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

 

i only get that

Instructions

 

Login with your usual Username and Pass

any help thanks

19$ weren't worthed but lol atleast need to fix it now :lol:

 

ok EDIT i had popup blocked

but now i have

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/paddy/public_html/php121/php121.php on line 89

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/paddy/public_html/php121/php121.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/paddy/public_html/php121/php121.php:89) in /home/paddy/public_html/php121/php121.php on line 108

did u make sure to edit the config.php file to work with your users table and also did u add the sql of both 121 and altertable to users, because i had the same problem with them till i did that. and for the headers you shouldnt add 2 header.php to the same file or youll get the same response as your getting now, as you know im still haveing the problem of logging my account into the messenger other then that everything is in great working order, you can check it out at my home server at http://98.30.188.90/ pm me on here or in my game if u need help.

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

 

AjaxIM is nice. I've downloaded this a couple months ago and have been thinking of incorporating it to the game. I'm curious to see if php1221 is worth the $19 over AjaxIM.

yes ajaxim is alright if you dont mind going into 2 different pages, i incorperated it earlier today to try it out and found out it works alright but you cant play the game from the same tab as you would with php121, and for the payment of $19, well lets just say theres no need for that at all if you know how to google search very well, because i had gotten the same version there selling for $19 for free yes free you can get the package here: http://www.clan-themes.co.uk/modules.php?name=Downloads&d_op=ns_getit&cid=9&lid=566&type=url#get of course you need to sign up to download it but other then that its a free version instead of paying the $19

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

$numusers = mysql_num_rows($result);

$row = mysql_fetch_row(mysql_query("SELECT $dbf_banned,$dbf_uid,$dbf_focus_newmsg,$dbf_beep_newmsg,$dbf_timestamp,$dbf_timezone from $db_usertable WHERE $dbf_uname='$sess_username'",

Thats my only problem so far theses two lines in php121.php

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rapslife/public_html/php121/php121.php on line 89

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rapslife/public_html/php121/php121.php on line 90

MDK666 i added you to msn if you dont mind thanks

Link to comment
Share on other sites

Re: Not much of a MOD more of a great addon.. Private Messenger

 

$numusers = mysql_num_rows($result);

$row = mysql_fetch_row(mysql_query("SELECT $dbf_banned,$dbf_uid,$dbf_focus_newmsg,$dbf_beep_newmsg,$dbf_timestamp,$dbf_timezone from $db_usertable WHERE $dbf_uname='$sess_username'",

Thats my only problem so far theses two lines in php121.php

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rapslife/public_html/php121/php121.php on line 89

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rapslife/public_html/php121/php121.php on line 90

MDK666 i added you to msn if you dont mind thanks

yea i dont mind im accually downloading msn once again to get it working itll be up and running in the next few mins so yea, also to make your file not a problem no more just over right it with this one, :)

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

thats the one i use and well all the problems in aren't there anymore, maybe that can help.

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

well well well i see that everyone who installed php121 by illusions standards came out with mysql_fetch_rows() errors in the messenger, now after about 1 hour of going through all the sqls possible includeing the updates and etc. i have finally gotten rid of all the errors this is all because illusions had not posted all the sqls for the files, below are all the updated sqls needed

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

 

well well well i see that everyone who installed php121 by illusions standards came out with mysql_fetch_rows() errors in the messenger, now after about 1 hour of going through all the sqls possible includeing the updates and etc. i have finally gotten rid of all the errors this is all because illusions had not posted all the sqls for the files, below are all the updated sqls needed

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

OOOPS sorry about that guys thanks MDK666 i had two version an old and the new one and looking at the i DOH posted the wrong tables////

USE medk's tables...

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

thnks for the great mod illusions even though i had to go through and fix the sqls to get all the errors out :-P but anyways i need help on showing when users are online and offline in the messenger i have a person whos beta testing it with me and it shows them offline in the messenger when there online so if know a way to fix this then let me know, also im gonna be working on some new themes for it also

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

yeah you forgot the '1' in your link

i use that plus i had it integrated so users use same login plus i have it with include globals.php in a .php file its a nice piece of work i like it

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

GUYS I AM HAVING PROBLEM WITH SQL

 

CREATE TABLE `imbuddylist_config` (

`adminscontrolusersettings` int(1) NOT NULL default '0',

`chatlogsaving_enabled` int(1) NOT NULL default '1',

`config_name` varchar(255) NOT NULL default '',

`defaulttheme` varchar(255) NOT NULL default '',

`group_allonline_opened` int(1) NOT NULL default '1',

`group_onlinebuddies_opened` int(1) NOT NULL default '1',

`group_offlinebuddies_opened` int(1) NOT NULL default '0',

`profile_enabled` int(1) NOT NULL default '1',

`buddylist_enabled` int(1) NOT NULL default '1',

`awaymsg_enabled` int(1) NOT NULL default '1',

`showonline_enabled` int(1) NOT NULL default '1',

`staffsupportsystem_enabled` int(1) NOT NULL default '1',

`usersearch_enabled` int(1) NOT NULL default '1',

`profilecomments_enabled` int(1) NOT NULL default '1',

`profileavatars_enabled` int(1) NOT NULL default '1',

`buddycomments_enabled` int(1) NOT NULL default '1',

`offlinemessages_enabled` int(1) NOT NULL default '1',

`debugmode_enabled` int(1) NOT NULL default '0',

`usersautoacceptchatrequests` int(1) NOT NULL default '0'

PRIMARY KEY (`config_name`)

) TYPE=MyISAM;

 

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(`config_name`)

) TYPE=MyISAM' at line 21

 

WHAT SHOULD I DO IT JUST WONT ACCEPT IT

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

`usersautoacceptchatrequests` int(1) NOT NULL default '0'

THERE IS SOMETHING WRONG WITH THIS LINE WHEN I TOOK IT OUT OF THE SQL EVERYTHING WORKOUT CAN SOME ONE SHOW ME HOW IT SHOULD LOOK LIKE I AM A NEWBIE :oops:

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

heres my exact table for imbuddylist_config hopefully this works i forgot i had to edit the table some when installing it to add everything needed.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger

Any help with what I am missing?

I have illusions's SQL with the amendment right above my post.

I have the main menu link, which is going to a white page.

I have the file instantmessenger.php uploaded.

I have the php121 and only it uploaded and unzipped.

I altered the standalone configurations to match mine and deleted the other config.php files..

any clue what I am missing?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...