Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Bugreports and Suggestions
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 7, 2011 - 8:00 pm

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...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 10, 2011 - 2:38 pm

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...

Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Dec 10, 2011 - 3:51 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 10, 2011 - 4:00 pm

you are going to have re-iterate them please...

Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 9:35 am

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

Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 9:36 am

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 10:48 am

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...

Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 11:10 am

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

Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 11:15 am

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 11, 2011 - 12:28 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626