Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Ignore User in Postbit Details »»
Show Ignore User in Postbit
Version: 1.01, by AndrewSimm AndrewSimm is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.x Rating:
Released: 08-19-2012 Last Update: Never Installs: 12
Template Edits
Re-useable Code Translations  
No support by the author.

This feature was the #1 thing requested by my users when I started the site. It is a really simple edit.

Open your postbit_legacy and add the following code.

Under
Code:
{vb:raw template_hook.postbit_userinfo_right_after_posts}
Put
Code:
<br />
<a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw post.userid}"><b>Ignore User</b></a>
That's it!

Screenshots

File Type: jpg ignoreuser.jpg (33.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Toorak Times

Comments
  #2  
Old 08-20-2012, 01:45 AM
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved
Reply With Quote
  #3  
Old 08-20-2012, 01:59 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<br
Should be
PHP Code:
<br /> 
Reply With Quote
  #4  
Old 08-20-2012, 02:03 AM
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
PHP Code:
<br
Should be
PHP Code:
<br /> 
ayo.. fixed
Reply With Quote
  #5  
Old 08-20-2012, 05:26 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of us using postbit (not postbit_legacy).

Install code after:
Code:
{vb:raw template_hook.postbit_userinfo_left}

...also decided to change the font size for text and spacing using this modified code:
Code:
<a style="font-size: 6px">&nbsp</a><br />
<a style="font-size: 10px" href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw post.userid}-{vb:raw post.username}"><b>Ignore User</b></a>
Example:
Reply With Quote
  #6  
Old 08-20-2012, 10:50 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, but surely a better idea to place it in the postbit drop-down menu?
Reply With Quote
  #7  
Old 08-21-2012, 12:06 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karlm View Post
Good idea, but surely a better idea to place it in the postbit drop-down menu?
The "postbit drop down menu" you have must be associated with another mod you have added. There is not one by default that I see. There are some drop down menus associated with the thread as a whole at the top but none associated with the postbit or individual posts which is what is required to link the "ignore user" to a specific user.
Reply With Quote
  #8  
Old 08-21-2012, 01:27 AM
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karlm View Post
Good idea, but surely a better idea to place it in the postbit drop-down menu?
I run a pretty large forum and we have an anything goes off topic board and you would be surprised on how many users forget about the ignore feature of vbulletin. This puts it out there so when an particular user drives them crazy they remember to place the user on ignore instead of messaging me. Most of my users came from another non vbulletin forum that had this and this is what they really wanted.
Reply With Quote
  #9  
Old 08-24-2012, 06:04 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
The "postbit drop down menu" you have must be associated with another mod you have added. There is not one by default that I see. There are some drop down menus associated with the thread as a whole at the top but none associated with the postbit or individual posts which is what is required to link the "ignore user" to a specific user.
Erm, if you click your user-name within the postbit, you'll get a drop-down menu - just like any vanilla vb-forum has been capable of doing for several years now. This is a default feature, not some mystical add-on.

Quote:
Originally Posted by AndrewSimm View Post
I run a pretty large forum and we have an anything goes off topic board and you would be surprised on how many users forget about the ignore feature of vbulletin. This puts it out there so when an particular user drives them crazy they remember to place the user on ignore instead of messaging me. Most of my users came from another non vbulletin forum that had this and this is what they really wanted.
Good point, I was just putting an idea out there
Reply With Quote
  #10  
Old 08-27-2012, 03:41 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that.
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 09:33 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.09871 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete