[ABD] phpBB Social Network 0.7.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
xiaogp13
Registered User
Posts: 2
Joined: Mon Mar 29, 2010 8:49 am
Location: Nanjing,China
Name: xiao guanping
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by xiaogp13 »

Dear author:
How could I change time-zone Image
I want to change sent time .now is UTC and I want to change to UTC8
pegasus81
Registered User
Posts: 97
Joined: Thu Apr 01, 2010 7:27 am

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by pegasus81 »

pegasus81 wrote:Hi kamahl. There is a problem in: Private message -> Go to your sent message. ;)
I found the problem. Open chat_bar.html:
find

Code: Select all

<li><a href="{U_SENTBOX}" title="{L_SENT_MESSAGES}">{L_SENT_MESSAGES}</a></li>
replace with

Code: Select all

<li><a href="{U_SENT_MESSAGES}" title="{L_SENT_MESSAGES}">{L_SENT_MESSAGES}</a></li>
bilal414, now I installed kamahl's chat (v 0.2.0) and it works! Reinstall chat with more attention ;)
trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by trickoff »

I love all your work! Props for this great mod.

I have a problem though, I know it has to do with my site because I've tested the mod on your demo site and everything works perfect there.

The problem I'm having is when I click on the "Chat (#)" button the list with online users pops up, and when I click on a user's name to chat with that user, all that happens is that the online list closes, and a chat window doesn't open at all.

I know that this must be a javascript conflict, so can you point me in the direction on where to look for this problem in chat.js

Thanks again!
mutank
Registered User
Posts: 158
Joined: Mon Jan 05, 2009 4:47 pm
Location: Toronto, ON
Name: Dominic Struczynski
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by mutank »

Epic work.

I await the 0.3.0 release which has friend-only chat lists.
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by Kamahl19 »

@xiaogp13 : this will be solved later. this does not work with UNIX time and time system of phpbb3.. i have to integrate

@ bilal414: I am sorry but I cant see any chat bar or online list, nothing there.

@trickoff : please send me your board url

@pegasus81 : thanks, this fix will be in new version

edit : working on improving the fix of IDs issue (now usernames apperar, but you cant send the message with the user who has username with the space " "). Also working on UNIX time and using of timezones, online list consiting onyl from friends (this option will be set via acp maybe in 0.4.0, in 0.3.0 will be set in functions.php as variable). and also next features..
kiore
Registered User
Posts: 91
Joined: Wed Aug 26, 2009 1:11 am

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by kiore »

epic epic work lol i owe you my first born child lol
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by keith10456 »

In the next version can you make the the Usernames in the chat window link to the person's Profile page?

... A great, simple, user-friendly addition.
mitchboy999
Registered User
Posts: 125
Joined: Tue Jan 20, 2009 1:48 pm

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by mitchboy999 »

Hey,

Amazing mod. I have tried it 2 times and i cant get it to work.

I get this error:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4470: Undefined variable: reg_users_online
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4472: Undefined index: search_limit

Guests can not chat Login 
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by Kamahl19 »

Open functions.php

find

Code: Select all

while ($posts_row = $db->sql_fetchrow($posts_result))
      {
        $topic_title = $posts_row['topic_title'];
        $post_author = get_username_string('full', $posts_row['poster_id'], $posts_row['username'], $posts_row['user_colour']);
        $post_link = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "p=" . $posts_row['post_id'] . "#p" . $posts_row['post_id']);
    
        $template->assign_block_vars('new_posts', array(
          'TOPIC_TITLE' => $topic_title,
          'POST_AUTHOR' => $post_author,
          'POST_LINK' => $post_link,
        ));
      }	
After add

Code: Select all

    	$template->assign_vars(array(
        'S_REG_USERS_ONLINE'		=> $reg_users_online,
        'S_SERVER_NAME'		=> $config['server_name'], 
        'S_X_NEW_POSTS'		=> $config['search_limit'],   
        'U_COMPOSE_NEW'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose'), 
        'U_INBOX'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),   
        'U_OUTBOX'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=outbox'),     
        'U_SENT_MESSAGES'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=sentbox')     
      ));
find

Code: Select all

'S_REG_USERS_ONLINE'		=> $reg_users_online,
    'S_SERVER_NAME'		=> $config['server_name'], 
    'S_X_NEW_POSTS'		=> $config['search_limit'],   
    'U_COMPOSE_NEW'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose'), 
    'U_INBOX'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),   
    'U_OUTBOX'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=outbox'),     
    'U_SENT_MESSAGES'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=sentbox'), 
Delete it

This fix will be in new version
pegasus81
Registered User
Posts: 97
Joined: Thu Apr 01, 2010 7:27 am

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by pegasus81 »

kamahl, must I add this change in my version? :roll:
mitchboy999
Registered User
Posts: 125
Joined: Tue Jan 20, 2009 1:48 pm

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by mitchboy999 »

Thanks for you fast response. I am still getting the same error.
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by Kamahl19 »

@mitchboy999 : please send me your board url and also the functions.php
mitchboy999
Registered User
Posts: 125
Joined: Tue Jan 20, 2009 1:48 pm

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by mitchboy999 »

Kamahl19 wrote:@mitchboy999 : please send me your board url and also the functions.php
i PM'ed it 2 u ;). once again thx

Edit: Im also getting this on index.php

Code: Select all

[phpBB Debug] PHP Notice: in file /shout.php on line 19: Constant CHAT_TABLE already defined
Last edited by mitchboy999 on Wed Apr 14, 2010 12:03 pm, edited 1 time in total.
mitchboy999
Registered User
Posts: 125
Joined: Tue Jan 20, 2009 1:48 pm

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by mitchboy999 »

pegasus81 wrote:kamahl, must I add this change in my version? :roll:
Well only if you are having this problem i guess...
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [BETA] [NEW] Facebook chat with fixed bottom bar 0.2.0

Post by Kamahl19 »

pegasus81 wrote:kamahl, must I add this change in my version? :roll:
no it is not so important, only if you have allowed this

Code: Select all

@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
@mitchboy999: i sent you back your functions.php . you have it really modified and you have installed also some other chat. which one? it causes problem too
Locked

Return to “[3.0.x] Abandoned MODs”