vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add member to IGNORE list in Postbit dropdown (https://vborg.vbsupport.ru/showthread.php?t=126103)

Quarterbore 09-07-2006 10:00 PM

Add member to IGNORE list in Postbit dropdown
 
This simple modification will add a link to "Add MEMBERNAME to Your Ignore List" to the dropdown menu when a member clicks a members name. Note, I did not phrase this as at this point it was not important for me to do so...

Note, there are TWO templates that should be changed as follows:

OPEN postbit and postbit_legacy templates:

Find:
PHP Code:

    <if condition="$post['userid'] AND $show['member']">
    <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if> 

Above Add:

PHP Code:

    <if condition="$post['userid'] AND $show['member']">
    <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$post[userid]"><phrase 1="$post[username]">Add $post[usernameto Your Ignore List</phrase></a></td></tr>
    </if> 

I know this is a simple mod but it has saved me a lot of grief so I figure others might like it too...

nymyth 09-08-2006 07:22 PM

^^nice.....

Peace

TheBlackPoet 09-12-2006 02:41 PM

i have two female members that fight like its no tomorrow... (fighting for my affection).. so when i saw your hack here... i jumped on it... and it works great.. so now they can put each other on ignore...
and life is good again

thepub 09-15-2006 02:26 PM

*clapping* I installed this myself and didn't break my board at all! Thank you, it was super super easy!

daystorm 09-22-2006 04:36 PM

Is there anyway to modify this to have it ignore a usergroup?

Quarterbore 09-22-2006 07:46 PM

No, this uses standard vB code to handle the ignoring of member and while anything is possible with enough time, I really don't think this is close to the place anybody would want to start a mod like that....

amnesia623 09-26-2006 06:01 AM

sweet

Lyricsmama 11-05-2006 04:55 PM

Thanks :D

Dabbi 05-28-2008 02:25 PM

This would be great but does anyone know if this template change would still work with 3.7?

Thanks!

Dabbi 06-01-2008 01:05 AM

NM.. tried it in 3.7 and it seems to be working perfectly. :)

Silviu 06-02-2008 03:37 PM

Confirmed, works as expected on 3.7.

*Clicks install*

Fungsten 06-03-2008 05:21 PM

Quote:

Originally Posted by Silviu (Post 1538896)
Confirmed, works as expected on 3.7.

*Clicks install*


And 3.7.1.


All times are GMT. The time now is 04:59 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.01072 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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