Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.7.2] Shoutbox menu item #261158 02/18/2018 11:01 PM
Joined: Jan 2009
Posts: 91
whk Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2009
Posts: 91
I see that the profile and user info stuff has migrated off the menu to a drop-down under the user name. This dropdown includes a shoutbox menu item. This forum does not use the shoutbox. Is there an option to remove that from the drop-down, or can you tell me which file loads the drop-down so I may modify it?

Additionally. Playing with the menu after the upgrade on the J/30 Forum I found that when I click on "Forum Help" it opens a blank page. How do I restore the files for the forum help?

Express Hosting
Re: [FIXED for 7.7.2] Shoutbox menu item [Re: whk] #261159 02/18/2018 11:04 PM
Joined: Apr 2004
Posts: 1,503
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,503
to disable shoutbox access for your users, disable the permission in the SITE PERMISSION settings.

for forum help, copy the languages/english/faq file from the installer to your forum, of the same file path. it's an upgrader bug which I believe is talked about in the main 7.6.1 discussion post.
https://www.ubbcentral.com/forums/ubbthreads.php/topics/260756#Post260756


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!
Re: [FIXED for 7.7.2] Shoutbox menu item [Re: whk] #261160 02/18/2018 11:20 PM
Joined: Jan 2009
Posts: 91
whk Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2009
Posts: 91
Thanks Isaac. I changed site permissions to 0 for "can see the shoutbox" and "can use the shoutbox". The shoutbox option still appears on the dropdown, and when it is clicked on, the message"You don't have permission to view Shouts" is displayed. Is there another option I should be setting to remove the Shoutbox from the dropdown menu?

The help was fixed with the uploaded file.

Re: [FIXED for 7.7.2] Shoutbox menu item [Re: whk] #261161 02/19/2018 3:10 AM
Joined: Apr 2004
Posts: 1,503
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,503
Hmm. I just checked the source, and you're absolutely correct on the menu item still being displayed. This is related to the new "Shout Chat" that was added for 7.6.0, which was a full page view of the "Shout Box" side-bar/portal island. As you've pointed out, the menu item should not be displayed, especially when the user wont have access to the ShoutChat/ShoutBox content anyways.

I've added it to the list of bugs to be fixed for the next version. whk, thank you for reporting this bug thumbsup

---

protip: ShoutChat could be setup in such a way that only the administrator and moderator groups could have access to it, giving them a real time "instant messenger" style of chat.


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!
Re: [FIXED for 7.7.2] Shoutbox menu item [Re: whk] #261162 02/19/2018 8:26 AM
Joined: Jan 2009
Posts: 91
whk Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2009
Posts: 91
Isaac - thanks again for the shoutbox feedback. Would you please let me know what file has the dropdown list and I will do a temporary mod until the update is released?

Nevermind - I found it in templates/default/header.tpl and removed the following code:

Code
<tr><td class="popup_menu_content"><a href="{ubb url="ubb=shoutchat"}" class="nd"><i class="fas fa-bullhorn fa-fw menu-item" aria-hidden="true"></i> {$lang.SHOUT_CHAT}</a></td></tr>


I assume the fix in the long term would have something like this with an if statement and the proper configuration variable (I just plugged a random SHOUT here)
Code
{if $config.SHOUT}
<tr><td class="popup_menu_content"><a href="{ubb url="ubb=shoutchat"}" class="nd"><i class="fas fa-bullhorn fa-fw menu-item" aria-hidden="true"></i> {$lang.SHOUT_CHAT}</a></td></tr>
{/if}


Last edited by whk; 02/19/2018 9:45 AM. Reason: temporary fix added to remove shoutbox from drop-down menu
Re: [FIXED for 7.7.2] Shoutbox menu item [Re: whk] #262581 04/06/2019 6:46 AM
Joined: Apr 2004
Posts: 1,503
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,503
This has been corrected and will be part of UBB.threads 7.7.2
The setting will be controlled by the "Control Panel: Permissions > Site > Can see the shoutbox" permission. And will will not display in the User Menu and Account Settings pages to groups that you've disabled the feature for.

Thank you for catching and reporting this bug. thumbsup


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
visual accessibility issues.v7.7.3
by Ruben - 08/21/2019 1:50 PM
Holy grail to fix compatibility bewteen browsers
by Ruben - 08/20/2019 4:25 PM
File Manager and Image Uploads
by Ty Griffin - 08/19/2019 4:48 PM
Minimum Post Character Count
by M4TT - 08/19/2019 1:58 PM
[FIXED for 7.7.4] Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Who's Online Now
2 registered members (Gizmo, isaac), 48 guests, and 279 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Photos
Stones
Amusing Terain Scenics
Sky places
Work spaces
Powered by UBB.threads™ PHP Forum Software 7.7.3