Support Forum

Where are Profile Tabs stored?

SP SPQC
SPQC
Member

As I was trying to debug the top Avatar resizing problem, I was about to go into profile to upload another avatar size and see what happen but when I clicked Profile, nothing was shown!  WTH!?  I thought there could be another ghost character in a CSS file but that’s not it.

 

Then I just find out that the Profile Tabs & Menus are all deleted in the admin panel.  Again, WTH!?  Now I think I may have a clue what could have happened but I will have to verify that.  Yesterday evening, for the first time I installed the WP-Optimize plugin and clicked to delete obsolete data in the database and now I’m wondering if this could be the reason why all Profile Tabs vanished.  If this is indeed the case, it would be a serious issue that would need a warning when running this plugin.

 

Are they stored in the db or in a file?  I wanted to take a look before creating those all over again.

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

the profile tabs and menus are stored in the db…  the sfmeta table…

SP SPQC
SPQC
Member

Ok I see they are still there but what could explain that I don’t see them in the admin panel?  Before going into Housekeeping and reset those I’d like to know if I can get them back since all the infos are still in the db.

MP Mr Papa
Mr Papa
Member

what is the value for them? when we go to display them, we simply read the sfmeta data…

you could check on the forum – profile – tabs and menus admin panel and see if they are all still set to display…

SP SPQC
SPQC
Member

Mr Papa said

what is the value for them?

Something like a:4:{i:0;a:5:{s:4:”name”;s:6:”Profil”;s:4:”slug”;s:7:”profile”;s:4:”auth”;s:0:””;s:7:”display”;i:1;s:5:”menus”;

 

you could check on the forum – profile – tabs and menus admin panel and see if they are all still set to display…

That tab shows nothing.empty.png

I hope the rest in Housekeeping will solve this but before doing it I wanted to know if there was a way to restore since all the data in still in db.

 

Now that Im back on computer (was away last 2hours) I think it would be faster to reset and redo it.

SP SPQC
SPQC
Member

Ok done…  the reset bring back all the tabs so I translted them again.

MP Mr Papa
Mr Papa
Member

if that is all that is there… you would have a problem… that is not correct…  and seems truncated… should look like:

a:5:{i:0;a:5:{s:4:"name";s:7:"Profile";s:4:"slug";s:7:"profile";s:4:"auth";s:0:"";s:7:"display";i:1;s:5:"menus";a:7:{i:0;a:5:{s:4:"name";s:9:"Overvi'ew";s:4:"slug";s:8:"overview";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:98:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php";}i:1;a:5:{s:4:"name";s:12:"Edit Profile";s:4:"slug";s:12:"edit-profile";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:97:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-profile.php";}i:2;a:5:{s:4:"name";s:15:"Edit Identities";s:4:"slug";s:15:"edit-identities";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:100:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-identities.php";}i:3;a:5:{s:4:"name";s:11:"Edit Avatar";s:4:"slug";s:11:"edit-avatar";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:96:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-avatar.php";}i:4;a:5:{s:4:"name";s:14:"Edit Signature";s:4:"slug";s:14:"edit-signature";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:99:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-signature.php";}i:5;a:5:{s:4:"name";s:11:"Edit Photos";s:4:"slug";s:11:"edit-photos";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:96:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-photos.php";}i:6;a:5:{s:4:"name";s:16:"Account Settings";s:4:"slug";s:16:"account-settings";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:97:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-account.php";}}}i:1;a:5:{s:4:"name";s:7:"Options";s:4:"slug";s:7:"options";s:4:"auth";s:0:"";s:7:"display";i:1;s:5:"menus";a:3:{i:0;a:5:{s:4:"name";s:19:"Edit Global Options";s:4:"slug";s:19:"edit-global-options";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:104:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-global-options.php";}i:1;a:5:{s:4:"name";s:20:"Edit Posting Options";s:4:"slug";s:20:"edit-posting-options";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:105:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-posting-options.php";}i:2;a:5:{s:4:"name";s:20:"Edit Display Options";s:4:"slug";s:20:"edit-display-options";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:105:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-display-options.php";}}}i:2;a:5:{s:4:"name";s:10:"Usergroups";s:4:"slug";s:10:"usergroups";s:4:"auth";s:0:"";s:7:"display";i:1;s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Memberships";s:4:"slug";s:16:"show-memberships";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:101:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-memberships.php";}}}i:3;a:5:{s:4:"name";s:11:"Permissions";s:4:"slug";s:11:"permissions";s:4:"auth";s:0:"";s:7:"display";i:1;s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Permissions";s:4:"slug";s:16:"show-permissions";s:4:"auth";s:0:"";s:7:"display";i:1;s:4:"form";s:101:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-permissions.php";}}}i:4;a:5:{s:4:"name";s:23:"Buddies and Adversaries";s:4:"slug";s:23:"buddies-and-adversaries";s:4:"auth";s:6:"use_pm";s:7:"display";i:1;s:5:"menus";a:2:{i:0;a:5:{s:4:"name";s:14:"Manage Buddies";s:4:"slug";s:14:"manage-buddies";s:4:"auth";s:6:"use_pm";s:7:"display";i:1;s:4:"form";s:110:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/private-messaging/forms/sp-pm-buddies-form.php";}i:1;a:5:{s:4:"name";s:18:"Manage Adversaries";s:4:"slug";s:18:"manage-adversaries";s:4:"auth";s:6:"use_pm";s:7:"display";i:1;s:4:"form";s:114:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/private-messaging/forms/sp-pm-adversaries-form.php";}}}}
MP Mr Papa
Mr Papa
Member

of course, would be slightly different with your translations…

SP SPQC
SPQC
Member

I avoided to post it all, was just showing how it was looking…  🙂  But now all is ok.