vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Icon on postbit to "Add user to ignore list" (https://vborg.vbsupport.ru/showthread.php?t=33053)

Reeve of shinra 12-08-2001 10:00 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&postid=205610#post205610" target="_blank">https://vborg.vbsupport.ru/showt...610#post205610</a>

There was a request to add a link to the postbit where users can add someone to thier ignore list. I am not sure if it was ever put out but here it is anyway.

I used this on vb 2.0.3 but I am sure its easy enough to do the same for 2.2.1.

Island Roots 12-15-2001 04:12 AM

Any place we can see this hack in action at? Thanks!

Tungsten 05-10-2002 04:39 PM

For some reason this doesn't work with 2.2.5 so I just manually added the hyperlink code to the appropriate place in the postbit template. ;)

Erwin 05-13-2002 01:03 AM

This can be simply be achieved using a template mod by adding the link like Tungsten said anywhere in the postbit. :)

Erwin 05-13-2002 01:11 AM

Okay, I figured I might as well show those interested how to do this hack using just a simple template modification (only if you want to - you can use Reeve's hack too - also, Reeve and Palmer are great contributors of hacks here - thanks guys!).

Basically, just cut and paste the following line anywhere in your postbit template. Make sure the URL is set for ignore image file at your own site.

Code:

<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$post[userid]"><img src="{imagesfolder}/ignore.gif" border="0" alt="Add $userinfo[username] to your IGNORE list"></a>
It should work just fine! :)

Peace 06-16-2002 10:50 AM

Why do I get this message when trying to add a user?

File Not Found
The requested URL was not found on this server.

Boofo 06-16-2002 11:17 AM

Where can we get an ignore image file at? :)

[QUOTE]Originally posted by Erwin
Okay, I figured I might as well show those interested how to do this hack using just a simple template modification (only if you want to - you can use Reeve's hack too - also, Reeve and Palmer are great contributors of hacks here - thanks guys!).

Basically, just cut and paste the following line anywhere in your postbit template. Make sure the URL is set for ignore image file at your own site.

Code:

<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$post[userid]"><img src="https://vborg.vbsupport.ru/images/ignore.gif" border="0" alt="Add $userinfo[username] to your IGNORE list"></a>
It should work just fine! :)

AndyTSJ 06-16-2002 05:11 PM

This is just a template change, not really a hack.

Boofo 06-16-2002 05:28 PM

If you're referring to Erwin's code, he clearly stated that in the message. :) If you're referring to Reeve of shinra code, then it does qualify as a hack, although you don't really need to do it that way to get the same result.

[QUOTE]Originally posted by AndyTSJ
This is just a template change, not really a hack.


All times are GMT. The time now is 07:01 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.01168 seconds
  • Memory Usage 1,722KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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