Now I wonder why you would remove that option from your users?
I think that would just annoy your members.
Well, I'm working on a specific marriage-dating website and I wan't to use Abuse Report plugin instead of Block feature.
Fair enough of an anser!:D
and find this line, (line 4):
{decorator name="button" id="baseBlockButton" type="submit" buttonName="user_block_btn" class="ow_ic_delete ow_red" langLabel="base+user_block_btn_lbl"}
and make a comment out of it [html-style]:
<!-- This is a comment -->
The code would end up like this
<!-- {decorator name="button" id="baseBlockButton" type="submit" buttonName="user_block_btn" class="ow_ic_delete ow_red" langLabel="base+user_block_btn_lbl"} (block button not showing) -->
This should remove the button without you having to middle with any code. Just remember that to redo it when you update, and that you need to refresh your smarty cache to make the changes seen.
Yours
Arash
I made the change in file and cleared the cache (also started working on DEV mode to be sure) but it apperantly doesn't work, because Block button still viewable there.
well, it comes to me like javascript is responsible from this or it overrides. i don't know. i will keep on searchin..