Latest News:
Latest Mods: Latest Tutorials:


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom profile fields in postbit
Author Message
thnok
Junior Member


Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #1
Custom profile fields in postbit
I want to add custom profile fields such as age or maybe location to the postbit as well. I couldn't find a way to do it without any changes. Anybody know how to do it? What to edit?
03-01-2011, 06:24 AM


Mr-Trainor
Senior Member

Support

Posts: 348
Joined: Mar 2010
Reputation: 5
Post: #2
RE: Custom profile fields in postbit
Skip stages 1-2 if you already have the profile field you want on the postbit

1: Go to AdminCP > Configuration > Custom Profile Fields > Add New Profile Field
2: Congifure your new profile field
3: Go to AdminCP > Configuration > Custom Profile Fields and look for the ID of the custom profile field which you'll want in the postbit. You'll need this after!
4: Go to AdminCP > Templates & Style > Templates > Expand Templates (on selected theme) > Post Bit Templates
5: Open both postbit and postbit_classic and on each of them, find the following:
Code:
{$post['user_details']}
And after/below it, add:
Code:
<br />{$post['fidID']}
But remember to replace ID with the ID you got from step 3.

And that should be all . You can add text before the {$post['fidID']}.
For example, you might have it as 'Twitter: {$post['fidID']}' if your asking for their Twitter username.
03-04-2011, 04:09 AM
thnok
Junior Member


Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #3
RE: Custom profile fields in postbit
(03-04-2011 04:09 AM)Mr-Trainor Wrote:  Skip stages 1-2 if you already have the profile field you want on the postbit

1: Go to AdminCP > Configuration > Custom Profile Fields > Add New Profile Field
2: Congifure your new profile field
3: Go to AdminCP > Configuration > Custom Profile Fields and look for the ID of the custom profile field which you'll want in the postbit. You'll need this after!
4: Go to AdminCP > Templates & Style > Templates > Expand Templates (on selected theme) > Post Bit Templates
5: Open both postbit and postbit_classic and on each of them, find the following:
Code:
{$post['user_details']}
And after/below it, add:
Code:
<br />{$post['fidID']}
But remember to replace ID with the ID you got from step 3.

And that should be all . You can add text before the {$post['fidID']}.
For example, you might have it as 'Twitter: {$post['fidID']}' if your asking for their Twitter username.

As always thanks buddy for helping me out!
03-04-2011, 01:15 PM
Mr-Trainor
Senior Member

Support

Posts: 348
Joined: Mar 2010
Reputation: 5
Post: #4
RE: Custom profile fields in postbit
No problem . Glad it worked for you .
03-05-2011, 02:15 AM
hnahacks
Junior Member


Posts: 23
Joined: Feb 2011
Reputation: 0
Post: #5
RE: Custom profile fields in postbit
Thnaks Mr Trainer I Was Looking For This
03-11-2011, 03:13 AM
 




User(s) browsing this thread: 2 Guest(s)