Status
Not open for further replies.

qpurser

Customer
When a user goes to his Settings he can turn on/ff several options.

I want them to be able to turn on/off the "Notifications" but not the "Postbit" settings as they always should be visible to others.
Is there a setting where I can turn off the option for them to do this or do I have to edit a template and remove this section? If so which one?

Thanks for any help
 

Attachments

  • Screen Shot 2013-10-13 at 6.53.57 AM.webp
    Screen Shot 2013-10-13 at 6.53.57 AM.webp
    21.7 KB · Views: 0
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
I'll change this to a Feature Request so we can take it into consideration for future versions :)
 
Thanks.
In the mean time is there a template or php file I could edit to erase the "postbit settings" so they just don't show up?
 
Thanks.
In the mean time is there a template or php file I could edit to erase the "postbit settings" so they just don't show up?

Figured it out.
Edited the profile.php.
To remove the "postbit settings" part I deleted:
PHP:
$optionlist['dbtech_thanks_postbit_settings'][] = array(
			'varname'		=> $button['varname'],
			'description' 	=> $vbphrase['dbtech_thanks_enable_button_stats_descr'],
			'checked'		=> (((int)$vbulletin->userinfo['dbtech_thanks_settings'] & (int)$button['bitfield']) ? ' checked="checked"' : ''),
			'settingphrase'	=> $vbphrase['dbtech_thanks_enable_button_stats'],
			'phrase'		=> $vbphrase['dbtech_thanks_button_' . $button['varname'] . '_title'],
		);
 
Status
Not open for further replies.
Back
Top