Support Forum

Bugreports and Suggestions

61 Answers

New Answer

MP Mr Papa
Mr Papa
Member

I think you are misunderstanding how to interact with themes… the custom profile fields are for the actual profile form…  they wont be shown anywhere on the front end other than the form… by default that is…  you have to use the sp api to make them display where you want… thats what themes are all about…

why? 

well, first you have made the assumption that everyone wants the data displayed…  it may be private info only for certain folks, groups or others…  so we dont want to assume its to be displayed… we could potentially modify the api to add new data for display or not…

but second, the popup is a single summary of the profile…  the custom profile field can be on any profile tab – many of which are not displayed on the popup…

third, where to show it on the profile popup?  the popup is segmented into different areas and we have know way of knowing which area the custom profile field is to go into… and since plugins can add new ‘areas’ the complexity of the UI can grow quite large…

fourth, we know nothing about the data being capture in the custom profile field…  so we have no way of knowing if it will fit into the size, shape or look of the profile popup…

fifth, and this is the primary reason, and the answer on how to do it… the sp theme you are using actually controls the display of the popup profile… so we, as core, cannot just go adding elements to the profile popup… especially since the custom profile fields plugin already gives you the method for doing this… wink

now, absolutely not trying to be critical here – its a great question…  I went into a lot of detail because using themes is a big paradigm shift our user base that was used to skins…  but basically, its your theme (make your own, dont edit ours), so use the theme to display what you want…

so, back to the plugin…  and you can’t really have known this without inspecting the code since we have not yet completed our docs for 5.0 (another reason for the long explanation)… but look in the main plugin file in the custom profile fields plugin…  sp-custom-profile-fields-plugin.php

way down at the bottom is a declaration of the template tag the plugin provides for you to add to themes to display custom profile fields…  sp_CustomProfileFieldsDisplay()

so then edit your theme’s popup profile template file and add in that call where you want it displayed… ie

sp_CustomProfileFieldsDisplay(‘my custom field’, $spProfileUser->ID);

just repeat for each custom profile field you want to display…

so the moral here is that displaying items is all about the theme…

MP Mr Papa
Mr Papa
Member

btw… just solved the sp custom email issue…  changes submitted to core few minutes ago…  available via svn update…  or in nightly build tonight… or hopefully tomorrow in an update through the wp updater…

MA Malte
Malte
Member

Many thanks for your posting, helped me a lot to understand your system. Finally I tried it and it worked fine for me.

btw… just solved the sp custom email issue…  changes submitted to core few minutes ago…  available via svn update…  or in nightly build tonight… or hopefully tomorrow in an update through the wp updater…

Cool, but do you have further ideas how I could fix the issue with the Private Messages and saving Identities? Would be great.

Regards

MP Mr Papa
Mr Papa
Member

you are going to have re-iterate them please…

MA Malte
Malte
Member

All right, there you go: laugh

  • It would be greaft if you could make a plugin which allows to set different icons for unread, read, pinned or closed topics like in ‘traditional’ forum softwares.

Regards

MA Malte
Malte
Member

btw … you have a nice image for the administrator rank. How can I, or is it possible to set images for each rank in my forum?

Regards

MP Mr Papa
Mr Papa
Member

btw… thats why we like one topic per issue… easier to track and not lose track of…

forum – components – ranks… namely special ranks for special badges… but you can assign a badge to any rank…

we managed to track down and fix the buddies issue that was affecting a couple folks yesterday…  so you just need the latest code…

your theme would put the button there… assuming you and the recipient have permissions to pm…

as to the profile buttons, wonder if you dont have latest code?  there was a fix a week or two ago for profile tabs that stopped working if you changed the name of the tab…

MA Malte
Malte
Member

forum – components – ranks… namely special ranks for special badges… but you can assign a badge to any rank…

your theme would put the button there… assuming you and the recipient have permissions to pm…

Thanks, works for me now.

as to the profile buttons, wonder if you dont have latest code?  there was a fix a week or two ago for profile tabs that stopped working if you changed the name of the tab…

Yes, it was even me who reported it. But it doesn’t depend on the name of to Tab – doesn’t even work in original English for me.

Regards

MA Malte
Malte
Member

btw … just updated to 5.0.0 Build 7403 and an error occured.

Fatal error: Call to undefined function wp_create_nonce() in *** *** wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27

MP Mr Papa
Mr Papa
Member

means you dont have latest pm plugin update…  you need to completely update the core, plugins and themes…  intertwined updates just pushed out…

LO lordgault
lordgault
Member
hello, the last update breaks the blog. after update automatically from the blog admin panel is inaccessible. When trying to access the blog is just a blank page.
translated by google
LO lordgault
lordgault
Member

this is the fatal error:

/problem-with-post-edit-buttonome5/masalla1/public_html/error_log:[12-Dec-2011 07:26:22] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:26:27] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:27:03] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:27:08] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:27:15] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:27:24] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:28:33] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:29:23] PHP Fatal error: Call to undefined function wpmu_current_site() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-includes/ms-settings.php on line 47 [12-Dec-2011 07:29:30] PHP Parse error: syntax error, unexpected $end, expecting ‘)’ in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-includes/post.php on line 90 [12-Dec-2011 07:29:38] PHP Fatal error: fatal flex scanner internal error–end of buffer missed in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-includes/taxonomy.php on line 102 [12-Dec-2011 07:29:43] PHP Fatal error: fatal flex scanner internal error–end of buffer missed in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-includes/widgets.php on line 80 [12-Dec-2011 07:32:38] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:32:42] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:33:08] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:33:12] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:33:42] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:33:49] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:33:52] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:34:06] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:34:07] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:35:02] PHP Fatal error: Call to undefined function spdb_select() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 212 [12-Dec-2011 07:35:05] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:35:07] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:35:09] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:36:09] PHP Parse error: syntax error, unexpected $end in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 222 [12-Dec-2011 07:36:12] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:36:14] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:36:32] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:37:03] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27 [12-Dec-2011 07:38:08] PHP Fatal error: Call to undefined function wp_create_nonce() in /problem-with-post-edit-buttonome5/masalla1/public_html/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php on line 27

LO lordgault
lordgault
Member

Fatal error: Call to undefined function sp_editor_save_linebreaks() in /problem-with-post-edit-buttonome/spcom/public_html/wp-content/plugins/simple-press/sp-api/sp-api-filters.php on line 766

Fatal Error

 

The theme has encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.

 

Error Code: php_code_error:1:/problem-with-post-edit-buttonome/spcom/public_html/wp-content/plugins/simple-press/sp-api/sp-api-filters.php:766:Call to undefined function sp_editor_save_linebreaks()
Message: A fatal code error occurred.

 

If you are unable to fix this problem, please copy all the text on this screen and send it to support@ithemes.com.

 

Debug Data:

Theme

 

another fatal error, I can not edit my thread.

translated by google

YS Yellow Swordfish
Yellow Swordfish
Member

You need to update the SP plugins as well.

LO lordgault
lordgault
Member

Yellow Swordfish said

You need to update the SP plugins as well.

The problem is that the blog remains inaccessible and I completely restore the backup.
first forum?
after the plugins?
translated by google