vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Normal Admin Can't Delete User (https://vborg.vbsupport.ru/showthread.php?t=248876)

nte 01-18-2022 07:06 PM

I have another problem and need help .

My code:
Code:

if ($_REQUEST['do'] == 'remove' AND in_array($vbulletin->GPC['userid'], array(Your ID)) ){
    print_cp_header('Access Denied');
}
else{
    print_cp_header($vbphrase['user_manager']);
}

Code:

if ($_REQUEST['do'] == 'remove')
{
if (in_array($vbulletin->GPC['userid'], array(Your ID)) )
{
    print_table_start();
    print_table_header('Access Denied');
    echo "<td class=\"alt1\" nowrap=\"nowrap\" align=\"center\">Good try ;)</td>";
    print_table_footer(2, '', '', 0);
}
else{

This code works on my vB4.2.5 - 5 PHP

But , we upload our forum on vB4.2.5 - 7.3.31 PHP .
Since then ( upload on new PHP ) , my code didn't work anymore . We are just only changed the PHP .

Does anyone know how to do that nobody can delete , ban or edit a specifici User ID in this file ?

Some solution ?

fortforum.org 01-21-2022 10:21 AM

A 12 year bump, that must be some kind of record.

Hostboard 01-26-2022 08:50 PM

First vBulletin v4.2.5 will only work with PHP 7.1.x Running a PHP version higher than that will not work unless you have modified your files.

nte 02-03-2022 03:58 PM

Quote:

Originally Posted by Hostboard (Post 2608128)
First vBulletin v4.2.5 will only work with PHP 7.1.x Running a PHP version higher than that will not work unless you have modified your files.

Thanks for writing and for that information (:

Did you have a another solution for my " problem " ?

yilmaz 02-06-2022 07:26 AM

Quote:

Originally Posted by nte (Post 2608147)
Thanks for writing and for that information (:

Did you have a another solution for my " problem " ?

PHP version 7.4.27 was fine, it worked just fine.

I added a screenshot video
https://www.youtube.com/watch?v=R-qJ9EPE0yQ

nte 02-17-2022 03:34 PM

Quote:

Originally Posted by yilmaz (Post 2608150)
PHP version 7.4.27 was fine, it worked just fine.

I added a screenshot video
https://www.youtube.com/watch?v=R-qJ9EPE0yQ

But , it doesn't work in your video either ...

... Or did I misunderstand something?

nte 07-02-2022 09:47 PM

Can someone help here ? (:

@Hostboard
@yimaz


All times are GMT. The time now is 03:05 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.01065 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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