Log in

View Full Version : Removing from Postbit and Adding


juan71287
01-18-2008, 12:53 PM
Hey guys, I could have sworn I asked thsi question before, but when i searched I didn't find it so I ask again.

I would like to remove the POST: # from the postbit so it don't show. I tried removing

<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>

but that didn't work.

I would also like to replace the post count with the "Gender" of the person. Thanks again.

snakes1100
01-18-2008, 01:05 PM
Depending if your using legacy style postbit or not, you need to modify postbit or postbit_legacy templates.

For gender, you need to call the profile field you set up for it manually or use this hack:
EMiN3M Show Profile Field In Post Bits

juan71287
01-18-2008, 01:58 PM
I am using legacy. And I know that I need to modify it, but I cant seem to find the correct code to take off. Thats why I am asking for help.

snakes1100
01-18-2008, 02:21 PM
Comment this out <!-- -->


$vbphrase[posts]: $post[posts]

SEOvB
01-18-2008, 02:48 PM
I am using legacy. And I know that I need to modify it, but I cant seem to find the correct code to take off. Thats why I am asking for help.

Are you trying to remove the users post count, or the post# (the little link in the corner)

To show gender, Create custom profile field called Gender, the adminCP will asign a number to it such as fieldX

Then in the postbit_legacy

$vbphrase[posts]: $post[posts]


Replace with

Gender: $post[fieldX]

juan71287
01-18-2008, 03:24 PM
Its showing my Gender as 1 instead of Male. Why is that?

EDIT: Figured out that my problem was with the 'Profile Field Type' option. Its tricky. Thanks again all.