MyBB Community Forums

Full Version: DVZ Shoutbox 2.3.1 for guests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
I would want to change shoutbox's settings to guests(not logged) can post shouts, but
in ACP configuration there is no such option.  How can change it in diffrent way? What
do I have to do to guests on my forum could write on Shoutbox? Some changes in php code?

Thanx in advance for help Wink

P.S.
Sorry for my english.
ACP - configuration - settings - DVZ Shoutbox
Change the settings on Group permissions: View etc to all groups
(2017-02-24, 10:15 PM)johnnyvang Wrote: [ -> ]ACP - configuration - settings  - DVZ Shoutbox
Change the settings on Group permissions: View etc  to all groups

I tried, but it does not work.
In ACP Shoutbox configuration there is such option:

"Group permissions: Shout

User groups that can post shouts in Shoutbox (logged in users only). "

It means that something must be changed in the code, but I don't know how.

Somebody knows?

Check Group permissions: View and select all you see there.
If all selected guest can shout also.
(2017-02-24, 11:08 PM)johnnyvang Wrote: [ -> ]Check Group permissions: View and select all you see there.
If all selected guest can shout also.

[attachment=38458]

I selected all groups and geusts still cannot post shout.
It doesn't work both on flatty 2.0 and default style, so
I think that it is not a matter of chosen style.

What else can I do? Smile
Try to clear the cache.
Not sure if it helps, but if you selected all groups, guests must see the shoutbox and can shout if the want to.
(2017-02-25, 01:32 PM)johnnyvang Wrote: [ -> ]Try to clear the cache.
Not sure if it helps, but if you selected all groups, guests must see the shoutbox and can shout if the want to.

I cleared, but it didn't help. Problem is only with posting shouts by guests
They can see shoutbox. Is there any other solution? I admit, that I care
about it very much.
I am not sure if they see a error message or not.
If you set it all to all groups, then they must be able to see and use the shout.
I test it on a testforum using xampp and it works for me.
(2017-02-25, 02:44 PM)johnnyvang Wrote: [ -> ]I am not sure if they see a error message or not.
If you set it all to all groups, then they must be able to see and use the shout.
I test it on a testforum using xampp and it works for me.

I belive you, but I did in that way and guests cannot post shouts, so I think,
that a problem lies elsewhere. On the other forum I read, that I must change
something in shoutbox php file, but I don't know what.

Here is dvz_shoutbox.php:
[attachment=38459]

My forum: http://dyskusjebiblijne.info.pl/index.php
As I said, guest can see shoutbox, but cannot write.
I deleted from dvz_shoutbox.php this condition:
if (self::is_user()) {

but guests still cannot write on shoutbox.

As guests I see only such frame:
"Post at least 0 forum messages to be able to use Shoutbox."

What else I have to change, to guests can shout? Smile

P.S.
sorry for my english
Pages: 1 2