vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Changing Postbits (https://vborg.vbsupport.ru/showthread.php?t=41325)

TreizeAtreides 07-21-2002 03:26 AM

Changing Postbits
 
Hello, I run a forum over at http://planetside.info/forum and I have been having problems with spammers. Its a gaming community so it has a large number of users. The thing is many of them will have 'fights' over highest post count and so on. Please note that the forum was just re-created. We did have over 3,000 members.

What I would like to be able to do is remove post counts. I would also like to be able to add a few feilds to the postbit such as date registered and a user editable feild called Outfits:

I did a search but was unable to find anything to help. If anyone knows how to do this or where I could find a hack to do it I would be much abliged.

TreizeAtreides 07-21-2002 03:27 AM

My host seems to be having a problem. It should resolve itself soon.

TreizeAtreides 07-21-2002 03:38 AM

I now also realzie this is in the wrong forum, should be in templates. Sorry, im new here :(

Dean C 07-21-2002 07:29 AM

Step 1 - Removing Post Count from the postbit template

1/ Login to your Admin Cp
2/ Goto Templates > Modify > [expand list] > Postbit Templates > posbit

3/ The find:

PHP Code:

Posts$post[count]<br

and remove it.

4/ Click "Save Changes" and your're done.


Step 2 - Adding new fields to the postbit template

1/ Follow the same steps as before and go into your "postbit" template.

2/ Find

PHP Code:

$post[avatar]<p>
    <
smallfont

Right after it add:

PHP Code:

Registered$post[joindate]<br

3/ Click "Save Changes" and your'e done. However you shoudl already have the registered date in you posbit template by default :).

_______________________________

If you would like some help removing the post count from the users profile ill help you with that if you would like :D

L8erz

TreizeAtreides 07-21-2002 02:13 PM

Wow, thnx a lot for all your help. Ill see what I can come up with.

*Edit: If you could also show me how to remove it from the profile as well that would be great.

Dean C 07-21-2002 03:18 PM

1/ Login to your admin cp as before
2/ Goto Templates > Modify > [expand list] > User Info Display Templates [expand] > getinfo [edit]

3/ Find

PHP Code:

<tr>
    <
td bgcolor="{secondaltcolor}"><normalfont><b>Total Posts:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>$userinfo[posts] ($postsperday posts per day)</normalfont></td>
</
tr

And remove it.

4/ You're done!

_______________

NoteIf you want to keep there posts per day still... then find this in "getinfo"

PHP Code:

<td bgcolor="{secondaltcolor}"><normalfont><b>Total Posts:</b></normalfont></td

And just remove that....

___________________________________

Hope that helps...

- Mist

proxyMX 07-30-2002 02:27 AM

ive got a way to solve those fights! Delete the users post count :P

Dean C 07-30-2002 08:07 AM

hehe

clouds_kid 07-31-2002 07:52 AM

Someone wanna tell me how to add profile fields to the postbit? I tried adding some of my custom ones, I got rid of the location, but it's not coming up...

Dean C 07-31-2002 09:45 AM

hover your mouse over the link to edit it in the profile field bit of the admin cp....

right at the end of the link in the status bar you will see an id (a number)

insert

$post[fieldx] into your postbit...

x being the id of the field :) change it to the number...


All times are GMT. The time now is 07:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02251 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete