PDA

View Full Version : Icon on postbit to "Add user to ignore list"


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.


<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.


<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.