TinyPortal

Development => Support => Topic started by: partymixx on June 17, 2011, 10:05:11 AM

Title: shoutbox permissions
Post by: partymixx on June 17, 2011, 10:05:11 AM
the problem i have is that i have just installed tp and only admins are able to post in the shoutbox none of the members on the board can, i have ticked that guests can posts to try and see if it worked for me if i logged out but i still could not post.
im sure its an easy fix and there is something in permissions that i must be over looking.
any help would be appreciated as im at a loss with it atm.

smf version 1.1.14
Title: Re: shoutbox permissions
Post by: Maxx1 on June 17, 2011, 03:25:23 PM
If you go into the TP control panel, > blocks > shout> then scroll don till you find "Choose your membergroups that will able to see this block." there will be list of check boxes for whom you like to view the Shout block, and under that you'll find a selection of whom you'd like to moderate this block!

regards,
maxx
Title: Re: shoutbox permissions
Post by: partymixx on June 17, 2011, 10:56:05 PM
thanxs for your response maxx,

i didnt overlook
Choose your membergroups that will able to see this block.

all are ticked including ungrouped members and guests but they still cant shout.


Title: Re: shoutbox permissions
Post by: Maxx1 on June 17, 2011, 11:24:45 PM
If that's the case possible someone needs to look at your site, I have 1113 testsite but not 1114.

regards,
Maxx
Title: Re: shoutbox permissions
Post by: Maxx1 on June 17, 2011, 11:41:56 PM
OK I have the same issue with SMF 1113, admins can shout, but members can not!

Seems we have a bug, with the older versions of SMF. Probably some thing simple, I hope!

Edit checked off all check boxes and permissions no go for members! Shout box shows up normal, you can enter the test but when you hit the shout button, its does not show!

regards,
Maxx
Title: Re: shoutbox permissions
Post by: ZarPrime on June 18, 2011, 04:22:58 AM
partymixx,

Are there any errors in your Forum error log after someone not an Admin tries to shout?  I seem to remember there being something about shouts not working for registered members but I thought that was an issue with the SMF2/Themes/default/TPShout.template.php file.  Maybe the issue exists with the SMF 1.1.x version as well.

Maybe Ichbin remembers that issue.  It hasn't been too long ago.

ZarPrime
Title: Re: shoutbox permissions
Post by: partymixx on June 18, 2011, 05:05:28 AM
this is the error code after trying to shout as a ungrouped member

8: Undefined index: allow_admin
File: /home/jhogarth/public_html/1forum/Sources/TPSubs.php
Line: 37

Title: Re: shoutbox permissions
Post by: IchBin on June 18, 2011, 09:50:19 PM
This is getting really irritating. lol I swear I fixed this bug in both versions already.

In TPShout.template.php file find this line:
else if(allowedTo('tp_can_shout'))

Replace with:
else
Title: Re: shoutbox permissions
Post by: partymixx on June 18, 2011, 10:49:31 PM
i have tested ungrouped members and i was able to post so
that was the fix that was needed :D

thanks, maxx, zarprime and ichbin for all your help  O0
Title: Re: shoutbox permissions
Post by: Maxx1 on June 18, 2011, 11:44:31 PM
Yes that did the trick, thanks and this threat is solved!

regards,
Maxx
Title: Re: shoutbox permissions
Post by: darkangel on June 19, 2011, 12:33:15 AM
yes I got the same error as above

yes I did the edit to the file as indicated

am at wits end cause the shoutbox was showing (in fact after the update I ended up with 2 shoutboxes one on left and the one at the top so I deleted the left block

found out that the members or anyone only me could post a shout, so I went to admin to clear shouts and that went well I thought...nope the shout box is now gone totally.

I have even recreated it (in an upper block) several times now and it only shows the title bar with nothing else.

I did the fix above but still get the error message in error log, I even reup loaded each and every tp file to server hoping that would do the trick-nope

it is with green dot in modules/blocks (set for all to see) but it will not show up in forum except for the title bar

and when in modules and tags area, if I click the link for TP Simple Shout...I am not directed to the block I created but to one called Shoutbox and still with nothing but title bar

SMF 1.1.14
TP is rc2
Title: Re: shoutbox permissions
Post by: Maxx1 on June 19, 2011, 01:35:07 PM
Mine was a fresh TP install..Did you try to un-install the TP versions and delete them then, re=download the last and install?

then care fully do the edit above, it worked fine for me!

Also do you any other portals or mods that may case a conflict?

I always un-install mods before, doing the SMF Upgrades, and I like doing the tp fresh install, works better for me!

regards,
Maxx
Title: Re: shoutbox permissions
Post by: ZarPrime on June 19, 2011, 03:12:23 PM
OK, this topic is now marked solved as it should have been at the bottom of the first page.

darkangel, please read the below passage.  It will tell you how to put in another shoutbox ...

Quote from: bloc on April 05, 2008, 07:17:25 PM
Where is my old Shoutbox?

Due to the transformation of Shoutbox to an external module, there are also a few steps to take if you want to re-use the shoutbox again.

  • Go to "modules" section and to the tab "uploaded modules". Install the shoutbox module, either one of them or both
  • Go back to the blocks, either modify the older "shoutbox" block(now as a "blank" block) or create a new. In both cases choose the type as "TP module"..the last of the list there. Save and then edit again, this time a list of installed modules should appear for you too choose
  • Choose the shout module you like and save
  • Check that the block render the shoutbox

ZarPrime
Title: Re: shoutbox permissions
Post by: darkangel on June 19, 2011, 11:21:47 PM
thanks was just coming in here too---i had to reinstall TP from B4 to RC2 and found that somewhere along the line the little radio dot had disappeared from the block edit page---it appears right below the dropdown menu to choose the type of block you may wish to change it to.

it is now operational again...but thanks

btw I had tried to create several different blocks for the shoutbox in different sections but to no avail so that is why I had to uninstall everything back down to plain old smf...lol