Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Profile custom fields
Avatar
SamThaB0ss
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2013 - 4:18 am

I'm not sure how this plugin works;

How can i make a custom set title appear under the name?

Im not sure, i tried it like this;

If its possible, can it be on permissions

i mean, for an example registered members can't use it but moderators, subscribers can

 

a1efb4eed40e6b6251796e5c19b34d9a.pngImage Enlarger9595bfe400573f0cc562ff3d24e4efbd.pngImage Enlargered28ac369e3e446bc513506760fa7ceb.png

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2013 - 12:26 pm

have you added the template function to display the element where you want?

see:  http://codex.simple-press.com/.....le-fields/

Avatar
SamThaB0ss
Member
Free Members
sp_UserOfflineSmall Offline
Sep 10, 2013 - 12:20 pm

Mr Papa said
have you added the template function to display the element where you want?

see:  http://codex.simple-press.com/.....le-fields/

i added this:

sp_CustomProfileFieldsDisplay('Custom Ttile', $spPostUser->ID);
sp_CustomProfileFieldsDisplay($name, $spPostUser->ID);

but it still doesnt show up

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 10, 2013 - 9:16 pm

where did you add it?   on the topic view?

and Custom Title is the name you gave it on the admin panel? 

the $name one is wrong, unless $name is defined somewhere in your code...

 

Avatar
SamThaB0ss
Member
Free Members
sp_UserOfflineSmall Offline
Sep 11, 2013 - 7:49 am

Mr Papa said
where did you add it?   on the topic view?

and Custom Title is the name you gave it on the admin panel? 

the $name one is wrong, unless $name is defined somewhere in your code...

 

I put it in sptopicview.php

yes, it is the title

 

i thought it said to add the $name in the codex

 

Avatar
SamThaB0ss
Member
Free Members
sp_UserOfflineSmall Offline
Sep 11, 2013 - 10:23 am

Mr Papa said
where did you add it?   on the topic view?

and Custom Title is the name you gave it on the admin panel? 

the $name one is wrong, unless $name is defined somewhere in your code...

 

Sorry! forgot to put a capital letter

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 11, 2013 - 2:46 pm

$name is a variable. It is meant to be replaced by the name of the custom field.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 11, 2013 - 9:59 pm

those were just different options for same thing... three were listed...

sp_CustomProfileFieldsDisplay('Custom Ttile', $spPostUser->ID);

is still along the right lines as long lines...  assuming your custom profile field is called Custom Ttile... which I doubt...  unless you misspelled it there... please check that the field name matches the actual one...

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: 17367
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626