31
onasre
Mass Delete Old Users
  • 2008/8/2 4:06

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hello

Any one Knows Way , to mass delete Old Users that they did not log on to their account in the past Year or 5 Months 6..7..etc i have Thousands of Users and i want delete the Ones did not sign on since last year
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



32
onasre
Re: TinyContent controlled
  • 2008/8/2 4:02

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


i dont know how to help you here , But i Got to Warrn You Man .. there was a Security vulnerability in SPAW editor that comes with the Module .. You Shoud Remove it and read here about this Security vulnerability

https://xoops.org/modules/news/article.php?storyid=3799

and

https://xoops.org/modules/newbb/viewtopic.php?topic_id=58707&viewmode=flat&order=ASC&type=&mode=0&start=0
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



33
onasre
Re: WDC_003_green theme
  • 2008/6/16 19:56

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Thx Rj plz send me the WDC_003_blue and i can do what Bleek Said . Thx All
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



34
onasre
WDC_003_green theme
  • 2008/6/16 10:32

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


hey

does any one has a working link to download the WDC_003_green theme .. Googled it but all dead links..

thx
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



35
onasre
what Trackback means in the Article Module?
  • 2008/6/6 6:11

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hey

this word Trackback repeats many times different place in the Module 'article' but i don't know what does really mean . and when it repeat in different places and on the Cpanel of the module , a title of text box when u add article as sort when u sort ur articles .. i know what in English Track back beans but i don't know what the module author meant of it when he used it with this module.
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



36
onasre
Module On main Page without Redirect URL to The Module
  • 2008/5/15 6:15

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hey
I need to put a Module to main page but i want the site to Open to the Website Domain URL .. Like www.mysite.com Not like

www.mysite.com/module/xxxxx
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



37
onasre
Re: Mass Delete inactive User permission
  • 2008/5/13 19:16

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Thx , But i found that i forgot to give the access permission for the module to the user that i wanted him to run the Hack . this why he could t do it . looooool sorry for been dump
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



38
onasre
Mass Delete inactive User permission
  • 2008/5/13 4:24

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


I have the Hack for Mass delete inactive users , But the only one can run the Hack is the webmaster , How i give another user from another Group the permission to Run the Hack too .. this the Hack code

<?php

include "mainfile.php";
include 
"header.php";
if ( (!
is_object($xoopsUser) || !$xoopsUser->isAdmin())) {
        
redirect_header(XOOPS_URL2_NOPERM);
        exit();
}
include_once 
XOOPS_ROOT_PATH."/class/xoopsformloader.php";
if (isset(
$_POST['submit'])) {
        if ( 
file_exists(XOOPS_ROOT_PATH."/language/".$GLOBALS['xoopsConfig']['language']."/user.php") ) {
        include_once 
XOOPS_ROOT_PATH."/language/".$GLOBALS['xoopsConfig']['language']."/user.php";
    } else {
        include_once 
XOOPS_ROOT_PATH."/language/english/user.php";
    }
    
$daystrim($_REQUEST['days']);
    
$member_handler xoops_gethandler('member');
    
$criteria = new Criteria("level"0); //target inactive users
    
$users $member_handler->getUsers($criteria);
    
$delete_regdatetime() - ( $days 24 60 60 );  // X days/month * 24 hrs/day
    
if (empty($users)){
        echo 
_US_SORRYNOTFOUND;
    }
    foreach (
array_keys($users) as $i) {
        if (
$users[$i]->getVar('user_regdate') < $delete_regdate){ //all users whose register more than X days ago
            
if ($member_handler->deleteUser($users[$i]) ) {
                echo 
$users[$i]->getVar('uname')." "._US_BEENDELED."<br />";
            } else {
                echo 
"Could not delete ".$users[$i]->getVar('uname')."<br />";
            }
         } else {
              echo 
$users[$i]->getVar('uname')." is inactived but registered Less than ".$days." days ago"."<br />";
         }
    }
    
$form = new XoopsThemeForm('''form''delete_users.php');
    
$form->addElement(new XoopsFormButton(''''_BACK'submit'));
    
$form->display();
}
elseif( 
trim($_REQUEST['days']) == "") {
    
$form = new XoopsThemeForm('Warning !!!:All inactive users whose registered more than X days ago WILL BE DELETED FROM DATABASE''form''delete_users.php');
    
$form ->addElement(new XoopsFormText('Input number of days (leave it blank if you want delete all inactive users):','days',25,255));
    
$form->addElement(new XoopsFormButton('''submit'_SUBMIT'submit'));
    
$form->display();
}
include 
"footer.php"
?>
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



39
onasre
Re: How many of you get this Erorr?
  • 2008/5/1 20:14

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


i do not know what to do i have already contacted the hosting and they always give you two option , create new MySQL or move my account to new server on the company ..i'm with Servage and i thought they strong company i been with them about 2 years and this the only hard problem i had with them
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



40
onasre
How many of you get this Erorr?
  • 2008/5/1 6:45

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


i keep get this error from time to time in my site .. i have no idea why .. and i have seen some people talking about it here long time ago but no solution provided
This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

ErrorUnable to connect to database
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.




TopTop
« 1 2 3 (4) 5 6 7 ... 13 »



Login

Who's Online

188 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits