MyBB Community Forums

Full Version: [AJAX] Inferno Shoutbox for MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well, is solved now this issue with the title text which was centered. i was able to put it left.

but i'm still not able to fix this issue with collapsing the shoutbox.

i replaced (like recommended in last post), this line with the other one.

there is still no fix. if i close the tab there is no effect.


Quote: however for it to take effect you will have to make the change outlined in the post that I linked earlier.

sory, what do you mean with this? do you mean that there is only one fix possible of both?
(2014-03-21, 10:59 AM)Masterchief1 Wrote: [ -> ]well, is solved now this issue with the title text which was centered. i was able to put it left.

but i'm still not able to fix this issue with collapsing the shoutbox.

i replaced (like recommended in last post), this line with the other one.

there is still no fix. if i close the tab there is no effect.


Quote: however for it to take effect you will have to make the change outlined in the post that I linked earlier.

sory, what do you mean with this? do you mean that there is only one fix possible of both?

No, both are possible, the post that I linked to fix an issue where the edited template wouldn't load, so it would have had to be done for either to work.

Also, I actually used that fix on my forum and it works just fine, so unless you edited the wrong set of templates or have the code still cached I have no idea why it isn't working.
the template i changed is following:

\inc\plugins\inferno\templates\shoutbox.html

there the line is now like this:

<img id="cat_1_img" class="expander" title="[-]" alt="[-]" src="images/collapse.gif" style="cursor: pointer;">

i think it's right. if not please teach me about the mistake.


what i can say, definietly it isn't cached.

i tried it on different pc's and upated the site with ALT+F5.

i think the issue is present for now.
(2014-03-21, 09:33 PM)Masterchief1 Wrote: [ -> ]the template i changed is following:

\inc\plugins\inferno\templates\shoutbox.html

there the line is now like this:

<img id="cat_1_img" class="expander" title="[-]" alt="[-]" src="images/collapse.gif" style="cursor: pointer;">

i think it's right. if not please teach me about the mistake.


what i can say, definietly it isn't cached.

i tried it on different pc's and upated the site with ALT+F5.

i think the issue is present for now.

That's not the template, that's what the template is copied from when you install the SB. The templates are handled by the Mybb template system, to edit it go from "ACP > Templates and style > Templates > (your theme) > Inferno Shoutbox Templates > inferno_shoutbox" and edit the template there.
How would I go about making the forum use the Display group of each user rather than their primary group's color for their username in the shoutbox?
Change both instances of:
$row['username'] = format_name($shout_user['username'], $shout_user['usergroup']);
to:
$row['username'] = format_name($shout_user['username'], $shout_user['usergroup'], $shout_user['displaygroup']);

BTW, is there any reason why the plugin uses get_user instead of LEFT JOIN to user tables in queries?
@ Clank

ok

now it works^^

but, there is always an issue. if i close the second tab (one below the shoutbox) then it wont close this tab, but the shoutbox.

but now it's much better for me.

thank you
Does any other developer want to take over this project? I've lost interest
i love this chat Big Grin
Did anyone manage to get this working with MyBB GoMobile?
Everything works fine with the normal theme, but in the mobile theme I only get "loading...".
Chrome console shows
"inc/plugins/inferno/inferno.js.php 500 (Internal Server Error)" when I load the page and
"Uncaught ReferenceError: inferno is not defined" when I try to post a shout. Both errors only with MyBB GoMobile theme.
All plugin files are uploaded and readable (otherwise it wouldn't work with the desktop theme).
Any ideas?