MyBB Community Forums

Full Version: help with [AJAX] Inferno Shoutbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey im currently using mybb 1.6.9 and i have [AJAX] Inferno Shoutbox, and i know there is a updated version suppose to be coming, but is there a css code i can add to make "replies" show in shoutbox? i know inferno can show "user" has posted a new thread" but i want it to be able to show "user" has replied to thread"  or something like that i have seen other sites with this working on there shoutbox but im not sure how, i've looked everywhere on google

DemonCode
please note: your forum's MyBB version is no longer supported. you should upgrade your forum (# upgrading guidance)

I don't think there is a easy code for your shoutbox requirement. in other words, it is simply not possible.
Clank added this feature when he updated the plugin for 1.8, so you could look at what he added and make it work for the 1.6 version. I'm not going to do this because the 1.6 version is extremely outdated and not maintained, but here is a code snippet which should get you started in the right direction

https://github.com/TechyZeldaNerd/The-In...#L164-L177

And the setting is defined here:
https://github.com/TechyZeldaNerd/The-In...1049-L1054
but this person has the same version board that i do 1.6.x and they have it working?
[Image: c0esCuO.png]

(2016-02-10, 05:20 PM)ectomatt Wrote: [ -> ]Clank added this feature when he updated the plugin for 1.8, so you could look at what he added and make it work for the 1.6 version. I'm not going to do this because the 1.6 version is extremely outdated and not maintained, but here is a code snippet which should get you started in the right direction

https://github.com/TechyZeldaNerd/The-In...#L164-L177

And the setting is defined here:
https://github.com/TechyZeldaNerd/The-In...1049-L1054

thanks man
PHP is pretty easy to figure out, so it shouldn't be that hard to see what's happening. Also, don't forget that the "$url" variable on line 169 is a global variable, so you will need to have "global $url;" somewhere so it knows the variable exists. That snippet also uses language variables which you could just hard-code or add to the language file