News:

Wondering if this will always be free?  See why free is better.

Main Menu

FlashChat Integration

Started by Tyrsson, January 05, 2007, 03:44:53 AM

Previous topic - Next topic

Sandmansa

#840
Quote from: Kindred on May 28, 2008, 11:37:42 PM
well....  first of all, telling us your too lazy to look for the answer is hardly a good way to start asking for help.

My apologies.  It's just that looking through every one of that many pages seemed a bit excessive.

Quote from: Kindred on May 28, 2008, 11:37:42 PM
second, you'll have to copy the way your specific theme does buttons...
(the mod installs the button the same way the default theme handles it...

Okay, here are a few examples.
Home button
// Show the [home] button.
echo'
<td align="center" class="menubg' , $current_action == 'home' ? '2' : '' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>';

Arcade button
// The [Arcade] button.
        echo'
    <td align="center" class="menubg' , $current_action == 'arcade' ? '2' : '' , '">
    <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
    </td>';

PM center button
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo'
<td align="center" class="menubg' , $current_action == 'pm' ? '2' : '' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>';

Angie on Dialysis

#841
Yeah we did a search and found nothing so it isn't like we didn't try to look.

After reading through all the search results the closest things didn't answer our question :(

The only other thing we could do was manually read every post in this thread .. so that was why he said what he did.

Here are the only related things I could find anyway:

Chat Button Question

I need a little help on creating a button etc in a theme for chat

Flashchat Button

and NONE of them answer our question :(

I am really greatful to Sandman's help but now we need external help as both of us have tried everything :(.

With looking at threads though we fixed other issues ;) Just need this help now :)

Twysted

does it show when you are logged in? if so post a screen shot plz

Kindred

hmmm... how does it show up "different" from the others?  (since only logged i users can see it, we can't see by visiting the site)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Twysted

Quote from: Kindred on May 29, 2008, 07:47:01 AM
hmmm... how does it show up "different" from the others?  (since only logged i users can see it, we can't see by visiting the site)
exactly why i asked for a screen shot, i don't feel like joining another site right now.

Sandmansa

Quote from: Twysted on May 29, 2008, 05:59:42 AM
does it show when you are logged in? if so post a screen shot plz

Okay, here is how it appears.  Notice with the first pic how Calendar and Members are all caps and bold white?  That is how they are suppose to appear.  But Chat is not bolded or in caps and matches the theme color.  The 2nd image shows that there is someone in chat and I would like to retain that feature if possible.

So what do you think?  Can you help me?

Kindred

you mistyped...

you have class="memubg' in the chat...   it should be class="menubg'

you typed m instead of n, so you don't get the right CSS
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sandmansa

 :-[  Oh gezzz.  I can't believe I overlooked that.  ::)

Thank you Kindred.  That got it.

LadyC

ok, i've got a weird problem. chat is installed. chat is working. integrated chat is installed. i'm the ONLY person who is able to see the chat link in the menu, even though everybody is using the core/default theme. even the other admins can't see the chat link. the only time they can access chat is if someone else is in there, and then it shows who is chatting and they can get in.

i've got this installed on several other boards and have never had this problem. the only difference between this installation and the other boards is that i installed the newest version of flashchat instead of the previous version.

can someone help?

Sandmansa

I know this sounds like a silly question but have you checked the permissions for all member groups?

LadyC

there is no permission setting for the flashchat integration... wish there was. but that's not the issue because even the other admins can't see it, and admins have access to everything.

here's a weird thing i just noticed. any new members that register after the chat was installed, can see the link. anyone registered prior to the installation can not.

LadyC

any suggestions?

here's something else. another mod i installed, the "remove inbox label" mod, is doing the same thing. nobody but me can see the option in their profile. they CAN see the check box, but not the words indicating what it is.

it's almost like THEY are viewing the board with english-ut8 instead of regular english. i did change that board setting after having installed the chat. is it possible that it didn't change it for those who were already registered? and is there a fix for this?

LadyC

fixed it! i found the answer in the welcome-topic mod thread. i didn't realize i had it set so that users could choose their own language settings, and they WERE all stuck in ut8.

butchjax

#853
I've searched all over this forum and can't find how to actually get this mod to work properly with the classic Yabb SE theme.  The directions don't exactly match what you expect to find in the files I have, and when I install it, it doesn't really work properly.  Here is a screenshot:



Perhaps just updated instructions as apply to my theme?  Considering it's one of the standards installed automatically with SMF I'm surprised to see no information about it. 

*edit* To be more specific, I can't figure out where to add the last bit of code seen in the instructions here: http://www.daniel15.com/forum/index.php/topic,856.html [nofollow].  This part doesn't exist in my theme's code.
Quote// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
So I can't figure out where to add the next bit of code.
Quote// --- Begin FlashChat Integration ---
// Do we need to display a list of the users in the chat?
// Are there users online?
if (!empty($modSettings['fc_showUsers']) && !empty($context['users_chat']))
echo '
', $txt['fc_users_online'], ': ', implode(', ', $context['list_users_chat']), '<br />';
// --- End FlashChat Integration ---
I guessed before and it didn't seem to work.  This last step appears to be the one that's screwing it up though.  Any ideas?

sorosh1

#854
Can someone help me?! I have installed the script and after that i installed the mod and everyting works good but i have the fallowing problem:

If i go to a other tab (menu option) like "my messages" then it gives me this message as a pop up:

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


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

Apache/1.3.41 Server at forum.mysite.com Port 80

How can i resolve this? I really need help with this one! :'(

shegeeks

We have installed flashchat and have it working. We have the mod installed and all is working except we have no button. Can someone tell us how to get the button for the Absado theme? We are using 1.1.5.

Another question- before installing this mod, the who's online link was only available for admins. Now it's available to all members. We prefer to remove that option and keep it solely for administrators. What do we need to fix to undo that change?

Thanks in advance for any help you can offer.
Jewels
the difference is in the hyphen
http://www.she-geeks.com [nofollow]

Kindred

you'll have to change your theme's index.template.php

and probably boardindex.template.php (for the who's online list/link)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

shegeeks

Quote from: Kindred on June 05, 2008, 08:18:23 AM
you'll have to change your theme's index.template.php

and probably boardindex.template.php (for the who's online list/link)

Thank you Kindred. Can you tell me perhaps what we need to add to the index.template.php as I can't find any instructions on what to add there to create the chat button on the absado theme.

And any hint on what we need to edit in the boardindex.template so the who's online is not clickable for members?

Thanks again for your assistance.  :)
the difference is in the hyphen
http://www.she-geeks.com [nofollow]

Kindred

look at how the other buttons are handled in your theme...  (i.e. look at Calendar or Logout)

As for the boardindex...   you'll have to add an if (is_admin) { ...} in there...
(If you had this before, you must have done this before as well)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

sorosh1

Kindred   could you please help me with this one also?

thanks in advance.


Quote from: sorosh1 on June 03, 2008, 04:44:26 AM
Can someone help me?! I have installed the script and after that i installed the mod and everyting works good but i have the fallowing problem:

If i go to a other tab (menu option) like "my messages" then it gives me this message as a pop up:

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


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

Apache/1.3.41 Server at forum.mysite.com Port 80

How can i resolve this? I really need help with this one! :'(

Advertisement: