News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Default "Receive personal messages from" setting

Started by tanshin, February 09, 2010, 08:07:45 PM

Previous topic - Next topic

tanshin

So I noticed that the "Receive personal messages from" option is being defaulted to "Administrators only." Is there any way to change this so the default is "All members?"

JimM

Have you looked at the structure of the smf_members table.  The default listed there is 1 which is All members except those on my ignore list.  Not sure how yours got changed to 3.

This query run in phpMyAdmin What is phpMyAdmin? should change your default.  I haven't tried this so be sure and backup your database before trying it.

ALTER TABLE smf_members ALTER COLUMN pm_receive_from SET DEFAULT '1';
Jim "JimM" Moore
Former Support Specialist

tanshin

I haven't actually run that yet, however just looking at my tables I see that the default is already set to one.

The column names for the attachment are:
Field  Type  Attributes  Null  Default  Extra  Action

JimM

Have you examined the table in your members file to see if the member has changed it then?  How did you determine that it was defaulting to Admin only?
Jim "JimM" Moore
Former Support Specialist

tanshin

I noticed that mine was set to administrator only and it seemed kinda strange, so I made a test account and it was set to administrator only.

What do you mean though about examining that table?

Arantor

No it's an SMF bug. Go into the admin panel and enable buddy and ignore lists.

tanshin

Yup, that made the test account I made set to "all members, except those on my ignore list"

I take it that 0 in the tables is All Members?

Arantor

Yes, 0 = all members, 1 is the default which is all but ignored.

The rest the dropdown spits out Admins only is because that's option 3, and 3 > 0.

YogiBear

This is curious because my own forum has defaulted to Admins only but in my case is a bonus as it helps stop predators which unfortunately are fond of joining certain types of forum.

Thanks for the info on how to change it though, Arantor lol
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

aw06

Seems this bug is in 2.0rc3 as well, same happening to me.
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor


aw06

yeah man, fixed the problem,

so your saying if i turn it off back every body is going to get stuck on receive email form admin only ?
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor

Quote from: aw06 on March 28, 2010, 01:03:06 PM
yeah man, fixed the problem,

so your saying if i turn it off back every body is going to get stuck on receive email form admin only ?

Yup.

aw06

Ok, minor bug i guess ... was abit worried thought some mod caused it, then the task to change back everybody
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Advertisement: