![]() |
Hallo.
I'am New admin for vbulletin and my english is not very good ;) I have a question, where I copy this line ?? Quote:
Please to explain better this modify: Quote:
Last question, for unistal this hack, this query, as I modify it: Quote:
|
@adalberto...
If I understand correctly, you want to know how to :
Right - Well I'll try;) 1.) Copying the line : You can copy that line under this one : PHP Code:
2.) Understand what I meant with the instructions : I meant that you will have to change the letter "X" that is in the code to copy, to the usergroupid of the group you want to protect... Here is a list of the ones you might want to know : (The Numbers in Bold are the usergroupid) 2 - Registered User 5 - Super Moderator 6 - Administrator 7 - Moderator 3.) Know how to Uninstall this hack : To Uninstall, simply reverse the changes made, and run this query : [sql]ALTER TABLE `usergroup` DROP `canaccesscoadmin`[/sql] Satan |
Quote:
But in admin pannel, I when find, modify or add user result this error: Parse error: parse error in /httpdocs/admin/user.php on line 308 Thank's Adalberto |
Have you made sure that you have changed the "X" in the code below?
PHP Code:
|
Quote:
mmm... sorry, but this X is 6 ?? :confused: |
6 is usually the usergroupid of Administrators...
Therefore you will need to change this : PHP Code:
PHP Code:
|
Quote:
Mmm... I had already change, but this error remains :bored: Sorry, this number where I find?? |
Goto your Admin Control Panel...
Scroll down until you find under "Usergroups", the Modify link... Click it... Hover over the group you want to protect, and look in the bottom left corner...There should be a link... The number on the end of the link is the usergroupid... If that does not work, post the lines that the error is occuring on... Satan |
The usergroupid is exact 6
The error line is this: if ($userid==42) and ($bbuserinfo[userid]!=42) { 42 is amministrator number. Mmmm... I forgot, have a 2.2.7 vBulletin version :bored: |
You need 2 sets of brackets;)
It should be : PHP Code:
|
All times are GMT. The time now is 01:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|