Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Changing Postbits Details »»
Changing Postbits
Version: , by TreizeAtreides TreizeAtreides is offline
Developer Last Online: Jul 2002 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-21-2002 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-21-2002, 04:27 AM
TreizeAtreides TreizeAtreides is offline
 
Join Date: May 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My host seems to be having a problem. It should resolve itself soon.
Reply With Quote
  #3  
Old 07-21-2002, 04:38 AM
TreizeAtreides TreizeAtreides is offline
 
Join Date: May 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I now also realzie this is in the wrong forum, should be in templates. Sorry, im new here
Reply With Quote
  #4  
Old 07-21-2002, 08:29 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

L8erz
Reply With Quote
  #5  
Old 07-21-2002, 03:13 PM
TreizeAtreides TreizeAtreides is offline
 
Join Date: May 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-21-2002, 04:18 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 07-30-2002, 03:27 AM
proxyMX's Avatar
proxyMX proxyMX is offline
 
Join Date: Jun 2002
Location: Seven of Nine is hot! :do
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ive got a way to solve those fights! Delete the users post count :P
Reply With Quote
  #8  
Old 07-30-2002, 09:07 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe
Reply With Quote
  #9  
Old 07-31-2002, 08:52 AM
clouds_kid's Avatar
clouds_kid clouds_kid is offline
 
Join Date: Mar 2002
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #10  
Old 07-31-2002, 10:45 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04455 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete