The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   Ignore Feature (http://www.thevbgeek.com/showthread.php?t=2762)

absolutepunk 01-24-2007 11:09 PM

Ignore Feature
 
Putting someone on your ignore list - does not appear to use the postbit_ignore template when using a GARS forum.

How can this be fixed?

The Geek 01-26-2007 04:43 PM

hmmm. I will need to look into this to give you a better answer punk.

absolutepunk 01-27-2007 09:00 AM

Thanks.

The "text" in the postbit disapears, but I have customized the "ignored" template (postbit_ignore) and would rather use that.

absolutepunk 02-04-2007 01:08 AM

Any luck on this?

The Geek 02-05-2007 12:03 AM

Not yet, I will need to create a routine for the swap out of templates. I should have it for next update this week.

PS - please put it in the tracker so I dont lose it :)

absolutepunk 05-04-2007 12:26 AM

Was this fixed?

The Geek 05-04-2007 10:14 AM

No, I missed it as it never made it into the tracker :D please make sure it gets put in so I dont forget again!

absolutepunk 08-18-2007 06:50 AM

Changing the plugin: "GARS - Process Postbit" to this:

PHP Code:

global $vbulletin;
if(
$vbulletin->gars)
{
$ignorelist=explode(' 'trim($vbulletin->userinfo['ignorelist']));
if (!
in_array($post['userid'], $ignorelist))
{
$show['inignorelist']=true;
}
else
{
$show['inignorelist']=false;
}
if(
$show['inignorelist'])
{
$this->templatename=$vbulletin->gars->process_postbit();
}
else
{
$this->templatename=postbit_ignore;
}


Fixes the problem.


All times are GMT. The time now is 05:59 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.