vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Hunt out Inactive Users (https://vborg.vbsupport.ru/showthread.php?t=38448)

Boofo 05-10-2002 12:14 PM

Waht query is that? And what does it exacly do?

Boofo 05-10-2002 03:50 PM

Takara,

The number you enter in the top box for how many days you want to check for still reverts back to 3 instead of staying at the number you have chosen. Is there any way to make this number configurable or to at least stay in the box until you change it again? :)

BrAinZ 05-10-2002 06:38 PM

Quote:

Originally posted by KuraFire
I think that I'll stick to running a phpMyAdmin query after giving a warning, first..
Could you explain in more detail please?

IllNation 05-11-2002 12:29 PM

help me out..I try to get the inactiveusers.php file and it won't let me, I want to open it in a text file but I need to know how

MrBojangle1 05-11-2002 10:49 PM

Nice hack. I have been lookin for one like this

LuBi 05-13-2002 07:10 PM

Could we also maybe see something that would aloow us to find users who have only a said amount of posts but have been members longer then a said amoutn of time?

Ihsahn 05-14-2002 07:50 AM

I downloaded your hack and tested it and i felt something wrong ...
members were called inactive even if they are not ...

so, i just made a little change to your code:

Find
PHP Code:

$isinactive=$ddate-$row["joindate"]; 

and Replace by
PHP Code:

$isinactive=$ddate-$row["lastactivity"]; 

for me, its ok now ;)

Cheers
Ihsahn

Webmasta XT 05-14-2002 08:45 AM

ehh can you add a function to mail the inactive users for there last chance to go active or they will be deleted in 2 or 3 days?
just a question..

Fatty_Bolger 05-19-2002 05:58 AM

Thanks Takara!!! Works like a champ. Hopefully they delete option will be seldom used!! ;)

StarBuG 05-24-2002 12:42 PM

Thx for the hack!

Looks great! I have a suggestion to make it more usefull (at least for me).
In your hack if u click on a username you are linkt to the users Profil! I don?t need to view the profile from the user I want the admin user menu! So I tempered a little with your code!

to do the changes open inactiveusers.php

find:

PHP Code:

echo ("<tr class=\"$bgcolor\"><td align=\"left\">".$row["userid"]."</td><td align=\"left\"><a href='../member.php?s=$session[sessionhash]&action=getinfo&userid=$row[userid]' target='_blank'>".$row["username"]."</a></td><td align=\"left\">$extendateJD</td><td align=\"left\">$lastpost</td><td align=\"left\">$extendateLA</td><td align=\"center\">".$row["posts"]."</td><td align=\"left\">".$row["ipaddress"]."</td><td align=\"left\">$yninactive</td></tr>"); 

replace it with:

PHP Code:

echo ("<tr class=\"$bgcolor\"><td align=\"left\">".$row["userid"]."</td><td align=\"left\"><a href='user.php?s=$session[sessionhash]&action=edit&userid=$row[userid]'>".$row["username"]."</a></td><td align=\"left\">$extendateJD</td><td align=\"left\">$lastpost</td><td align=\"left\">$extendateLA</td><td align=\"center\">".$row["posts"]."</td><td align=\"left\">".$row["ipaddress"]."</td><td align=\"left\">$yninactive</td></tr>"); 

then save it and re upload

Thx again for your hack!!

Greetings

StarBuG


All times are GMT. The time now is 12:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01219 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete