trying to install mchat - Bl@ck
trying to install mchat
Hi,
I installed mchat and it work great on prosilver style but I can't make the same modifications on this style because I am missing...
styles/bl@ck/template/editor.js
and
styles/bl@ck/template/index_body.html
I see the chat box in the style but when I try to use it, it does not work. My text does not show in the window.
What can I do? I really prefer this style over the generic one. Thanks!
I installed mchat and it work great on prosilver style but I can't make the same modifications on this style because I am missing...
styles/bl@ck/template/editor.js
and
styles/bl@ck/template/index_body.html
I see the chat box in the style but when I try to use it, it does not work. My text does not show in the window.
What can I do? I really prefer this style over the generic one. Thanks!
-
- Registered User
- Posts: 4
- Joined: Sun Oct 30, 2011 9:21 pm
Re: trying to install mchat
Open Bl@ck/template/overall_header.html find
add before
</head>
add before
Code: Select all
<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->
-
- Registered User
- Posts: 3212
- Joined: Sat Nov 21, 2009 12:24 pm
Re: trying to install mchat
Bl@ck uses the prosilver files, so You only need to make the modifications for files that Bl@ck has, like overall_header.
I would advise you use autoMOD as it automates installing mods for you. It can also install mods into custom styles.
I would advise you use autoMOD as it automates installing mods for you. It can also install mods into custom styles.
-
- Registered User
- Posts: 437
- Joined: Thu Feb 07, 2008 4:45 am
Re: trying to install mchat
I will install autoMOD, thanks
So I added the code in the overall_header.html file and I see the chat, but it still does not work. When I type something, it does not show.
Also the text is black on dark grey. Where can I change that?

Also the text is black on dark grey. Where can I change that?
-
- Registered User
- Posts: 4
- Joined: Sun Oct 30, 2011 9:21 pm
Re: trying to install mchat
Copy
Open
add after
Go to the ACP styles tab refresh template and theme.
prosilver/theme/mchat.css
to Bl@ck/theme/
Open
Bl@ck/theme/stylesheet.css
find @import url("borders.css");
add after
@import url("mchat.css");
Go to the ACP styles tab refresh template and theme.
-
- Registered User
- Posts: 3212
- Joined: Sat Nov 21, 2009 12:24 pm
Re: trying to install mchat
ok it worked Thanks! Now 2 questions. Can I desactivate prosilver and Bl@ck will still work? How can I change the text color or background color of the chat for the Bl@ck style?
-
- Registered User
- Posts: 4
- Joined: Sun Oct 30, 2011 9:21 pm
Re: trying to install mchat
Do not deactivate prosilver. It will come in handy if you ever have problems with the Bl@ck or other styles.
In mchat.css of course.
In mchat.css of course.
-
- Registered User
- Posts: 3212
- Joined: Sat Nov 21, 2009 12:24 pm
Re: trying to install mchat
Bl@ck requires prosilver.
-
- Registered User
- Posts: 437
- Joined: Thu Feb 07, 2008 4:45 am
Re: trying to install mchat
Sorry to revive a dead thread, but I've just installed mChat, on a forum using your style. When I have prosilver active, the system works flawlessly. When I switch the style over to Bl@ck, I can't "press" any of the buttons (send/reset). I've changed the css and header files.. . What am I missing?
You can check out the error yourself HERE. User credentials are TestChump, password: "bigkev"
You can check out the error yourself HERE. User credentials are TestChump, password: "bigkev"
-
- Registered User
- Posts: 3
- Joined: Sun Jul 01, 2012 1:56 am
Re: trying to install mchat
You should use automod instead. Your editor.js file is missing.
You can use the same javascript files in the prosilver folder by using {T_SUPER_TEMPLATE_PATH}
You should use
It will look for the javascript in the prosilver folder. So you don't need duplicate files.
You can use the same javascript files in the prosilver folder by using {T_SUPER_TEMPLATE_PATH}
You should use
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>
It will look for the javascript in the prosilver folder. So you don't need duplicate files.
-
- Registered User
- Posts: 437
- Joined: Thu Feb 07, 2008 4:45 am
Re: trying to install mchat
Alright, I've added the editor.js to the correct directory and refreshed the style, but it still won't work. I will admit, while not being new to phpbb, I've never modded before. You mentioned using automod to install the mod (again). Would I need to go back and wipe my prosilver and Bl@ck back to default in order to do this?
Thanks in advance for your help.
Thanks in advance for your help.
-
- Registered User
- Posts: 3
- Joined: Sun Jul 01, 2012 1:56 am
Re: trying to install mchat
You would need to undo all the changes you have done. I would just upload and overwrite phpbb and bl@ck, install automod and then use that to install mods.
If you would rather try to fix it and use automod for future mods, I would double check your edits.
If a mod edits prosilver and that file exists in the bl@ck folder, then you need to make those edits to bl@ck as well. Make sure you clear your cache after any mods in the acp.
If you would rather try to fix it and use automod for future mods, I would double check your edits.
If a mod edits prosilver and that file exists in the bl@ck folder, then you need to make those edits to bl@ck as well. Make sure you clear your cache after any mods in the acp.
-
- Registered User
- Posts: 437
- Joined: Thu Feb 07, 2008 4:45 am
Re: trying to install mchat
Got it! Thanks for the help.
Was able to add the editor.js, uninstall/install via the _install.php
Was able to add the editor.js, uninstall/install via the _install.php
-
- Registered User
- Posts: 3
- Joined: Sun Jul 01, 2012 1:56 am