Mover of the moment:

Now online:

1stMovers on Twitter

Forum: faceboook grant permission turn to forbidden - more...
Forum: Publishing Content from Joomla to FAcebook - more...
Forum: Autotweet and phpBB - more...

Please read this before you post

I'm Ulli, the developer of 1stMover extensions. Most 1stMover extensions are free of charges or fees and this is the forum site where you can get free support for these extensions. The word "free" is important and it means too, that I'm doing these free things in my free time and sometime I'm not able to answer all the questions posted here. I would like to ask for your patience.

If you want to help me (writing manuals, answering the posts here) then this will be very appreciated.

Before posting new post, please read the documentation and the previous forum posts as answering the same questions takes a lot of time which is missing for developing and for answering not yet answered posts.

Thank you very much for your understanding, Ulli

 

Welcome, Guest
Please Login or Register.    Lost Password?
Forum is locked
CB Random User not filtering correctly (Resolved) Forum is locked
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: CB Random User not filtering correctly (Resolved)
#1316
CB Random User not filtering correctly (Resolved) 1 Year, 10 Months ago  
I have CB Random User 2.2 installed on Joomla 1.5.15, and CB 1.2.2

All is working well with the random module with the exception of one issue I am having. I setup the advanced params using two params. The first is:

cb_subscription (not equal) Expired

the other

lastname (not equal) Webmaster

The last param seems to work. But the first does not and it is allowing expired memebrs that have a photo to appear in the random listing. The first field is a text field that is populated by AEC when an account expires. I checked and the field is populated (per the CB User Management screen). I have tried versions on the Expired part to just Expired & 'Expired'. Neither work.

Any ideas?

Oh I am also using the OR operator between both params.
rspack

Last Edit: 2010/04/14 15:21 By .
The topic has been locked.
 
#1319
Re:CB Random User not filtering correctly 1 Year, 10 Months ago Karma: 33
> The first field is a text field that is populated by AEC when an account expires

Maybe there are some whitespaces in the field?
Can you have a look in the database to see what is the real entry in the field?
ustorck
Administrator
Posts: 1928
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/04/14 10:14 By ustorck.
The topic has been locked.
 
#1321
Re:CB Random User not filtering correctly 1 Year, 10 Months ago  
ustorck wrote:
> The first field is a text field that is populated by AEC when an account expires

Maybe there are some whitespaces in the field?
Can you have a look in the database to see what is the real entry in the field?


I have attached a screen shot of the database field. It is varchar(255) Expired, so the field is populated and there is no whitespace.


This image is hidden for guests. Please login or register to see it.

Here's my admin module parameters:
This image is hidden for guests. Please login or register to see it.
rspack

Last Edit: 2010/04/14 13:42 By .
The topic has been locked.
 
#1322
Re:CB Random User not filtering correctly 1 Year, 10 Months ago Karma: 33
> Here's my admin module parameters..

I suggest this has to do with the "Logical operator". You must use "AND" instead of "OR". (If I understand correctly what you will do.)

When you use "AND" the showed user is not the webmaster and his subscription is not expired.

When you use "OR" the showed user is not the webmaster or the subscription is not expired. This condition is true for all users except the webmaster...


Ulli
ustorck
Administrator
Posts: 1928
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#1323
Re:CB Random User not filtering correctly 1 Year, 10 Months ago  
Ulli

I do not wish to display the webmaster (ID 62) or anyone that has expired in their cb_subscription field. So I will try the AND operator and see if that fixes things...
rspack

The topic has been locked.
 
#1324
Re:CB Random User not filtering correctly 1 Year, 10 Months ago  
Ulli,

That did the trick. Seems like my fuzzy logic was out of whack. The AND operator worked.

Thanks for your support!

Scott
rspack

The topic has been locked.
 
Go to topPage: 12
Moderators: ustorck