vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Restore A Deleted Member (https://vborg.vbsupport.ru/showthread.php?t=147378)

ra7al 05-15-2007 10:00 PM

Restore A Deleted Member
 
========================================
========================================

بسم الله الرحمن الرحيم

========================================
This hack hade made By : .:: MAGHOOL ::.
Translate By : Ra7al
i'll Try To Support It with all i knew;)
========================================

Hack Name : Restore A Deleted Member

========================================

Please remember to click Mark as Installed if you use this modification
========================================

About this hack:
One of the biggest problems on forums as you may know is
Merge Users and deleted Member and when u going to updata
your forum Counters maybe get database error as there member
the Counters can't find them or there posts or when Merge Users
or delet any one you find the last member ID ^ EX : 3000 : ^ and
the forum counters read the him 2999 Soo this hack made for
allow you to restore the member iD as u can get the right number
for updata your counter or see the number of member
== Note == this hack Just allow you to restore the member ID
Not his posts

========================================
Instructions :-

Use This Hack Carefully

first make sure the userid not used

========================================
========================================
1-
Upload this file

undelet.php
to
/your forum root/admincp/



upload this file

cpnav_undeletuser.xml
to
your forum root/includes/xml
========================================
2-
open this link

http://www.xxxxx.com/your forum root/admincp/undelet.php?do=add

and change

xxxxx

to your site link


::: You Will Find The hack Under
vBulletin Options List :::

Demo :-

http://img264.imageshack.us/img264/4213/restmo2.gif

http://img501.imageshack.us/img501/2821/rest2fv0.gif


Tested:
vBulletin Version : 3.6.4
And should work with ( 3.6.0 - 3.6.1 - 3.6.2 - 3.6.3 - 3.6.5 )

Versions:
v1.0 : v 2.0 - Arabic releases ( 3.0.X )
v3.0.0 - First English release ( 3.6.X )

=========================================
Mad By :-

.:: MAGOOL ::.

translate By :-

.:: Ra7al ::.

12:05 AM ( +2 GMT ) 16/5/2007
==========================================

thincom2000 05-16-2007 01:59 PM

Ah, I recently had to do this manually for some Guest posts I also added manually. This may have eliminated some confusion, so if I need to do that again in the future, I know where to look. Thanks!

Cyburbia 05-16-2007 02:42 PM

Just a couple of suggestions:

* Sorry to be picky about grammar, but "Restore The Deleted Member" implies that there's only one deleted member on the entire site. It should be "Restore A Deleted Member". (Replacing "a" with "the" seems to be common among those who speak Arabic as a first language, so I understand why you may have used it.)
* It would be more logical if this was under the "Users" category.

ra7al 05-16-2007 02:50 PM

Quote:

Originally Posted by thincom2000 (Post 1248778)
Ah, I recently had to do this manually for some Guest posts I also added manually. This may have eliminated some confusion, so if I need to do that again in the future, I know where to look. Thanks!

your are wellcome and be sure to use it

Quote:

Originally Posted by Cyburbia (Post 1248804)
Just a couple of suggestions:

* Sorry to be picky about grammar, but "Restore The Deleted Member" implies that there's only one deleted member on the entire site. It should be "Restore A Deleted Member". (Replacing "a" with "the" seems to be common among those who speak Arabic as a first language, so I understand why you may have used it.)
* It would be more logical if this was under the "Users" category.

:D i'll do it Now thanx for UR suggestions :up:

Mrdby 05-18-2007 07:46 PM

worth having anybody?

TheBlackPoet 05-18-2007 09:51 PM

i tried it.. but i dont know the member's old id #.... even so.. this is a good admin item and it should be something available in the core application.... so, good job..

Mackenzie s 05-18-2007 10:45 PM

If I were you, the next thing I'd add was restore by username. ;)

Almotmaiz.Net 05-19-2007 02:47 AM

Nice ...

this wut i search for ..
thnx Ra7al

subzero06 05-19-2007 03:28 AM

Yeah, it will be MUCH better if its restore by username! most people dont remember the ids

ra7al 05-19-2007 04:37 AM

Quote:

Originally Posted by Mrdby (Post 1250409)
worth having anybody?

:confused::confused:

Quote:

Originally Posted by TheBlackPoet (Post 1250480)
i tried it.. but i dont know the member's old id #.... even so.. this is a good admin item and it should be something available in the core application.... so, good job..

yes it's good and only one like this here :D...

Quote:

Originally Posted by Mackenzie s (Post 1250500)
If I were you, the next thing I'd add was restore by username. ;)

i'll try to do this but if i can't you will the one who will do it

Quote:

Originally Posted by Almotmaiz.Net (Post 1250580)
Nice ...

this wut i search for ..
thnx Ra7al

any time AlMotmaiz
and i happy for you find
what u search for :cool:

Quote:

Originally Posted by subzero06 (Post 1250592)
Yeah, it will be MUCH better if its restore by username! most people dont remember the ids

But i think the IDS can be find in your database and can get it
from MYPHPADMIN and the ID is only One but the username anyone
can take it after something like
Merge Users so i made it restore
By the IDS

bela-meaad 05-19-2007 05:36 PM

fantastic

Thanks ;)

Mrdby 05-19-2007 08:46 PM

so no errors?

ra7al 05-19-2007 09:09 PM

Quote:

Originally Posted by bela-meaad (Post 1250912)
fantastic

Thanks ;)

u r wellcome :D

Quote:

Originally Posted by Mrdby (Post 1250991)
so no errors?

on what ??:rolleyes:

Joe Gronlund 05-24-2007 01:50 PM

How do you use this hack, the member i want to restore has been deleted, and their username is not clickable..
Can i still restore them???

Carlos2 05-24-2007 02:03 PM

I have one problem with this, i restore the deleted member, with his correct ID and email, but his old posts and threads still look that they were created by other user, by a guest. How can i put that those threads and posts are of him??

Carlos2 05-24-2007 02:04 PM

Quote:

Originally Posted by thincom2000 (Post 1248778)
Ah, I recently had to do this manually for some Guest posts I also added manually. This may have eliminated some confusion, so if I need to do that again in the future, I know where to look. Thanks!

How do you do it manually? how do you assign those guest posts to a registered user??

Joe Gronlund 05-24-2007 02:09 PM

I think we both are having the same problem...

Carlos2 05-24-2007 02:14 PM

Quote:

Originally Posted by Joe Gronlund (Post 1253841)
I think we both are having the same problem...

Yes Joe, but thincom2000 says that it can be do it manually. Hope somebody knows how and tell us.

Carlos2 05-24-2007 02:25 PM

Yes, you have to go to mysql, to your database, the table called post, and find the post in postid and put the user id in the post you want ;)

Anybody knows how can i put in the Admin Cp, that nobody can delete any user? I want that nobody can delete a user.

ra7al 05-24-2007 03:13 PM

Quote:

Originally Posted by Joe Gronlund (Post 1253834)
How do you use this hack, the member i want to restore has been deleted, and their username is not clickable..
Can i still restore them???

you can restore his ID with Different name

Quote:

Originally Posted by Carlos2 (Post 1253837)
I have one problem with this, i restore the deleted member, with his correct ID and email, but his old posts and threads still look that they were created by other user, by a guest. How can i put that those threads and posts are of him??

run this with your SQL :-
PHP Code:

UPDATE post SET userid XX WHERE userid 0

and relace XX with THE ID

Use This with your own risk :confused:

Carlos2 05-24-2007 03:16 PM

Quote:

Originally Posted by ra7al (Post 1253879)
you can restore his ID with Different name



run this with your SQL :-
PHP Code:

UPDATE post SET userid XX WHERE userid 0

and relace XX with THE ID

Use This with your own risk :confused:

Thanks, friend, but if you have more than a deleted member, all the posts become to the same, but it is very useful. Thanks ;)

Do you know how can i put in the Admin Panel that nobody can delete users? I want that nobody can delete users in my forum.

ra7al 05-24-2007 03:19 PM

No .. i don't knew

but i'll look for it

ra7al 05-24-2007 03:32 PM

try this way

https://vborg.vbsupport.ru/external/2007/05/4.jpg

https://vborg.vbsupport.ru/external/2007/05/4.jpg

https://vborg.vbsupport.ru/external/2007/05/4.jpg

Carlos2 05-24-2007 03:50 PM

Sure friend, but if i put that they cant change avatars, banner users, etc, i want only to dissappear the delete user option. Thanks

ra7al 05-24-2007 03:54 PM

o.k
i'll see again for other way

Carlos2 05-25-2007 02:30 PM

Quote:

Originally Posted by ra7al (Post 1253902)
o.k
i'll see again for other way

Thanks man, if you know how please tell me.

intensecool 12-25-2007 02:58 PM

u can search your user id in mysql database

karabaja3 05-05-2008 02:25 PM

hi there. i'm having this problem?

Code:

Invalid SQL:
INSERT INTO jos_users (id, name, username, email, password, usertype, block, sendEmail, gid, registerDate,lastvisitDate, params)
                        VALUES ('2046',
                                '',
                                'Jeo25',
                                'jeo2345@gmail.com',
                                'e72581f8614727a152dec6fcfc739ad2',
                                'Registered',
                                '0',
                                '0',
                                '18',
                                '2008-05-05T11:15:35',
                                '2008-05-05T11:15:35',
                                ''
                        );

MySQL Error  : Duplicate entry '2046' for key 1
Error Number : 1062

what's wrong?

silvermerc 10-19-2008 05:46 PM

Does this mod work with 3.7

Arrogant-One 10-20-2008 07:56 AM

Okay, this is the scoop.

During the recent forum spam attacks where hundreds of bots signed up to OzChess and spammed mostly pornography, measures were taken to deal with this. One of which entailed the Admin deleting all banned accounts. Unfortunately he didn't know that a couple of those accounts were regular users who had misbehaved and were serving a week in the penalty box. Now their posts show up as, well, probably best I show you (please click below), and their accounts are deleted.

http://www.ozchess.com.au/9663-post61.html

I'd like to know if this mod can assist me in restoring the 2 affected (deleted) accounts and attribute these posts back to the authoring account?

Best Regards,

AO

Nelson58 10-07-2012 11:35 PM

Will this work on VB 4.2 PL2, and if not, could someone suggest some modifications so it will?

Thanks,

Nelson
www.Hobby-Machinist.com


All times are GMT. The time now is 05:52 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.02262 seconds
  • Memory Usage 1,820KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete