|
[Tutorial] Adding gender and other things to the postbit
|
|
11-30-2008, 05:48 AM
(This post was last modified: 02-11-2009 09:52 PM by Tom Loveric.)
Post: #1
|
|||
|
|||
|
[Tutorial] Adding gender and other things to the postbit
This is something I have been wondering for a long time and I finally figured it out.
It turned out to be somewhat easy. The first step can be ignored if you are using a Windows server or are adding something besides gender (or if you don't want to use images). Open an FTP client and brows to MyBB's image directory. Find "male.gif" and "female.gif". Change the names to "Male.gif" and "Female.gif". You might want to add your own images for "Other" and "None selected" (make sure they are gif images). Next, go into your admin CP. Click "Configuration" then "Custom Profile Fields". Keep this open in a tab for now, the ID numbers will be needed later. Open an new tab (or browser window) and go to your ACP again. Click "Templates & Style" then "Templates". Click the template set that goes along with your current theme (or whatever theme you want to add this to). Scroll down until you find "Postbit Templates" There are two templates here that we will worry about. "Postbit" if you want the image/text to show up near the avater/username of the user and "postbit_author_user" if you want it show up at the other end of the postbit. Examples: (don't ask) In the "postbit" template, look for: Code: <td class="post_author">Code: <strong><span class="largetext">{$post['profilelink']}</span></strong>Code: {$post['onlinestatus']}There isn't much in this template. Number of posts: Code: {$lang->postbit_posts} {$post['postnum']}Code: {$lang->postbit_joined} {$post['userregdate']}Code: {$post['replink']}Code: {$post['warninglevel']}Put this code where you want the image to be: Code: <img src="{$mybb->settings['bburl']}/images/{$post['fid3']}.gif" />Or, if you don't want to use images Code: Gender: {$post['fid3']}If you want to add something else to the postbit, go to the tab with the "Custom Profile Fields" settings open and look at the ID number for what you want to add to the postbit. Where you want it to come up, put this code: Code: {$post['fidX']}That's about it! It's pretty easy but took me forever to figure out. I hope that helps! An error has occured... |
|||
|
01-11-2009, 04:49 AM
Post: #2
|
|||
|
|||
|
RE: [Tutorial] Adding gender and other things to the postbit
Thanks Man...
it's Fine...
|
|||
|
01-11-2009, 11:49 PM
Post: #3
|
|||
|
|||
|
RE: [Tutorial] Adding gender and other things to the postbit
Anyway to change it so that the Gender Shows after your name?
Coming Back, but only for Community Discussions. ![]()
|
|||
|
01-12-2009, 04:31 AM
Post: #4
|
|||
|
|||
RE: [Tutorial] Adding gender and other things to the postbit
(01-11-2009 11:49 PM)Chasingu Wrote: Anyway to change it so that the Gender Shows after your name? Quote:Find: Quote:Change To: Coming Soon: MyBB Themes Community |
|||
|
01-12-2009, 02:26 PM
Post: #5
|
|||
|
|||
|
RE: [Tutorial] Adding gender and other things to the postbit
Thanks.
Coming Back, but only for Community Discussions. ![]()
|
|||
|
02-11-2009, 09:47 PM
Post: #6
|
|||
|
|||
|
RE: [Tutorial] Adding gender and other things to the postbit
*cough* You spelt the .gif extension wrong on Female.gif. You put Female.fig.
Otherwise, nice tutorial. Thanks, Jlong1 Want a free MyBB forum, but don't have any hosting? Join SocialBB! |
|||
|
02-11-2009, 09:52 PM
Post: #7
|
|||
|
|||
RE: [Tutorial] Adding gender and other things to the postbit
(02-11-2009 09:47 PM)jlong1 Wrote: *cough* You spelt the .gif extension wrong on Female.gif. You put Female.fig.Fixed.. The CMS is currently being moved to http://elite-area.com/!
|
|||
|
02-11-2009, 10:27 PM
Post: #8
|
|||
|
|||
RE: [Tutorial] Adding gender and other things to the postbit
(02-11-2009 09:52 PM)TomL Wrote:(02-11-2009 09:47 PM)jlong1 Wrote: *cough* You spelt the .gif extension wrong on Female.gif. You put Female.fig.Fixed.. Thanks .
Thanks, Jlong1 Want a free MyBB forum, but don't have any hosting? Join SocialBB! |
|||
|
02-11-2009, 10:29 PM
Post: #9
|
|||
|
|||
RE: [Tutorial] Adding gender and other things to the postbit
(02-11-2009 10:27 PM)jlong1 Wrote:No problem(02-11-2009 09:52 PM)TomL Wrote:(02-11-2009 09:47 PM)jlong1 Wrote: *cough* You spelt the .gif extension wrong on Female.gif. You put Female.fig.Fixed.. I never knew there was a .fig extension lol
The CMS is currently being moved to http://elite-area.com/!
|
|||
|
02-11-2009, 10:33 PM
Post: #10
|
|||
|
|||
RE: [Tutorial] Adding gender and other things to the postbit
(02-11-2009 10:29 PM)TomL Wrote:(02-11-2009 10:27 PM)jlong1 Wrote:No problem(02-11-2009 09:52 PM)TomL Wrote:(02-11-2009 09:47 PM)jlong1 Wrote: *cough* You spelt the .gif extension wrong on Female.gif. You put Female.fig.Fixed.. Lol. Maybe it's part of the 'Fruit' application package. xD Thanks, Jlong1 Want a free MyBB forum, but don't have any hosting? Join SocialBB! |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help






.
I never knew there was a .fig extension
lol