FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Custom Avatar Queue remains after approval
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Custom Avatar Queue remains after approval [message #36449] Sat, 24 March 2007 15:56 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
I found that the custom avatar approval queue message remains even after an avatar was approved. I've looked in the queue several times hoping it would reset; it does not. Using 2.7.6

[Updated on: Sat, 24 March 2007 15:57]

Report message to a moderator

Re: Custom Avatar Queue remains after approval [message #36480 is a reply to message #36449] Sun, 25 March 2007 15:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you have avatar approvable enabled?

FUDforum Core Developer
Re: Custom Avatar Queue remains after approval [message #36485 is a reply to message #36480] Mon, 26 March 2007 04:24 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
It is.

index.php?t=getfile&id=2917&private=0 index.php?t=getfile&id=2918&private=0

[Updated on: Mon, 26 March 2007 04:32]

Report message to a moderator

Re: Custom Avatar Queue remains after approval [message #36726 is a reply to message #36485] Mon, 02 April 2007 21:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does this happen consistently or was it a one time event?

FUDforum Core Developer
Re: Custom Avatar Queue remains after approval [message #164449 is a reply to message #36726] Sun, 06 February 2011 14:39 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
I have the same problem in 3.0.2.

It's consistent; with two new users either approving or deleting avatars had no effect and they stayed in the queue.

I've disabled custom avatar approval for now.
Re: Custom Avatar Queue remains after approval [message #164451 is a reply to message #164449] Sun, 06 February 2011 15:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Sorry, unable to replicate the problem on my forum.
To take it further I need a reproducible test case or access to your forum.
Re: Custom Avatar Queue remains after approval [message #164465 is a reply to message #164451] Tue, 08 February 2011 12:16 Go to previous messageGo to next message
rameijer is currently offline  rameijer   
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
Hi naudefj, thanks for your reply.

I can create an admin account for you so that you can have a look. Please let me know how to proceed.
Re: Custom Avatar Queue remains after approval [message #164506 is a reply to message #164465] Sat, 12 February 2011 04:34 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I've sent you an e-mail.
Re: Custom Avatar Queue remains after approval [message #164507 is a reply to message #164506] Sat, 12 February 2011 05:51 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
Hi Frank,

I've created an account, please check your e-mail. Thank you!

[Updated on: Sat, 12 February 2011 05:51]

Report message to a moderator

Re: Custom Avatar Queue remains after approval [message #164510 is a reply to message #164507] Sat, 12 February 2011 11:15 Go to previous messageGo to next message
jm2morri is currently offline  jm2morri   
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
I just had the same issue with my patch'd 3.0.2 install too.
Re: Custom Avatar Queue remains after approval [message #164513 is a reply to message #164510] Sat, 12 February 2011 16:44 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
This patch is to blame:
http://fudforum.svn.sourceforge.net/viewvc/fudforum/trunk/install/forum_dat a/include/users_adm.inc?r1=4899&r2=4994
Re: Custom Avatar Queue remains after approval [message #164516 is a reply to message #164513] Sun, 13 February 2011 09:54 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
A quick fix is to edit db.inc (for example, if you use MySQL, it would be sql/mysql/db.inc) and change:

function q_bitor($fieldLeft, $fieldRight) {
	return $fieldLeft .' | '. $fieldRight;
}


to

function q_bitor($fieldLeft, $fieldRight) {
	return '('. $fieldLeft .' | '. $fieldRight .')';
}


The problem doesn't occur on all PHP stacks, only apply it if you get the same problem.
Re: Custom Avatar Queue remains after approval [message #164522 is a reply to message #164516] Mon, 14 February 2011 04:19 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
Many thanks Frank! Smile
Re: Custom Avatar Queue remains after approval [message #164542 is a reply to message #164516] Wed, 16 February 2011 14:58 Go to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
naudefj wrote on Sun, 13 February 2011 03:54
A quick fix is to edit db.inc (for example, if you use MySQL, it would be sql/mysql/db.inc) and change:

function q_bitor($fieldLeft, $fieldRight) {
	return $fieldLeft .' | '. $fieldRight;
}


to

function q_bitor($fieldLeft, $fieldRight) {
	return '('. $fieldLeft .' | '. $fieldRight .')';
}


The problem doesn't occur on all PHP stacks, only apply it if you get the same problem.


You will find it down around Line 157..... don't forget to rebuild themes afterwards



"I'm a Witcher, I solve human problems; not always using a sword!"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Importing NNTP Messages with Mime-Encoded Attachments
Next Topic: Please grant your database user access to drop tables and try again.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 20:27:05 GMT 2024

Total time taken to generate the page: 0.02849 seconds