vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Show Ignore User in Postbit (https://vborg.vbsupport.ru/showthread.php?t=286852)

AndrewSimm 08-19-2012 10:00 PM

Show Ignore User in Postbit
 
1 Attachment(s)
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!

AndrewSimm 08-20-2012 01:45 AM

reserved

Merjawy 08-20-2012 01:59 AM

PHP Code:

<br

Should be
PHP Code:

<br /> 


AndrewSimm 08-20-2012 02:03 AM

Quote:

Originally Posted by Merjawy (Post 2358328)
PHP Code:

<br

Should be
PHP Code:

<br /> 


ayo.. fixed

bzcomputers 08-20-2012 05:26 AM

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:
https://vborg.vbsupport.ru/external/2012/08/16.jpg

karlm 08-20-2012 10:50 PM

Good idea, but surely a better idea to place it in the postbit drop-down menu?

bzcomputers 08-21-2012 12:06 AM

Quote:

Originally Posted by karlm (Post 2358605)
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.

AndrewSimm 08-21-2012 01:27 AM

Quote:

Originally Posted by karlm (Post 2358605)
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.

karlm 08-24-2012 06:04 AM

Quote:

Originally Posted by bzcomputers (Post 2358612)
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 (Post 2358619)
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 :)

Toorak Times 08-27-2012 03:41 AM

Thanks for that.:D


All times are GMT. The time now is 10:00 PM.

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.01084 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete