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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 11:56 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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 11: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 11: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
add to buddy list
ignore all messages by this user
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 00:24 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
It is.

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

[Updated on: Mon, 26 March 2007 00: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 17: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
add to buddy list
ignore all messages by this user
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 09:39 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 07:16 Go to previous messageGo to next message
rameijer is currently offline  rameijer   
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Fri, 11 February 2011 23:34 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 00:51 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hi Frank,

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

[Updated on: Sat, 12 February 2011 00: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 06: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
add to buddy list
ignore all messages by this user
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 11:44 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 04:54 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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] Sun, 13 February 2011 23:19 Go to previous messageGo to next message
rameijer is currently offline  rameijer   Greece
Messages: 4
Registered: April 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Many thanks Frank! Smile
Re: Custom Avatar Queue remains after approval [message #164542 is a reply to message #164516] Wed, 16 February 2011 09:58 Go to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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!"
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sat Oct 21 15:44:39 EDT 2017

Total time taken to generate the page: 0.00794 seconds