Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Blocked user error

Asked Modified Viewed 2,946 times
L
Limited
L
Best regards Dennis
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
asked
Junior Member

Hi People..

I have 2 "blocked users" ore what you call it in english on my site

Under admin there stands: 2 users "blocked" byt when i look under "blocked users" under the administration there is no one shown ??

How can this be ??

I have updatet my site from "i meen it is" 207 to 305

Someone that knows this error ?:)
0 replies

6 posts

R
Reflectoman
R
------------------------------------------------
Adnan Ahmed Online
File Hosting | Image Hosting | Free SMS
  • Member, joined since
  • Contributed 176 posts on the community forums.
  • Started 9 threads in the forums
answered
Member

try previewing this in a custom page,

<?php
$result=dbquery("SELECT * FROM ".$db_prefix."users WHERE user_status='1'");
while ($data = dbarray($result)) {
echo $data['user_name'];
}
?>


it should print out a list of all those users whose status is banned, it should tell you which two users are being counted as banned.
0 replies
L
Limited
L
Best regards Dennis
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

Hi m8 :)

When i post this code the one user is shown that is blocked.

But is there anyone els what have this problem ? ore is it only om my site ? :)
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Make sure line 88 in administration/index.php reads:
".$locale['253']." ".dbcount("(user_id)", "users", "user_status='1'")."<br>


Lines 86 and 87 should read:
".$locale['251']." ".dbcount("(user_id)", "users", "user_status<='1'")."<br>
".$locale['252']." ".dbcount("(user_id)", "users", "user_status='2'")."<br>
0 replies
L
Limited
L
Best regards Dennis
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

Hi Digi.

My lines 86/87/88 is

".$locale['251']." ".dbcount("(user_id)", "users", "user_status<='1'")."<br>
".$locale['252']." ".dbcount("(user_id)", "users", "user_status='2'")."<br>
".$locale['253']." ".dbcount("(user_id)", "users", "user_status='1'")."<br>


Like you wrote..

i have blocked to users for some time ago. that was before i updatet to 305

But now that i have updatet, the 2 users that are blocked is now shown in the block list.
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Are you confusing banned users with blacklisted ips? banned members only show up in admin/members
0 replies
L
Limited
L
Best regards Dennis
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

ARH Digi... WHAT a fool i am.. :D

Yea i have mixed up thise to options.. my fault :D sorry
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet