![]() |
Never mind...Replace X with your userid...
Satan |
News Update:
Thanks to Xenon (:)), I will update the Lesser Admin CP, to Version 1.3, where, if you choose, you can allow users to update other member's usergroups, just not to Admin or Co-Admin...:) Satan |
Is here!:)
See the First Post for Update information... Satan |
Step 5)
Edit admin2/usergroup.php Sure admin2? This file is not in admin2. Step 8) Step 8) Open user.php : <--------- admin? or admin2? |
I corrected the admin2/usergroup.php mistake - It should be admin/usergroup.php
Step 8) - It says to edit admin2/user.php... Satan |
By Step 7) you say:
Open admin2/user.php but by Step 8) you say: Open user.php : what is right? two times the same file? |
Step 8 can be done in either or both...
Though I recommend doing it in admin2/user.php immediately... Satan |
i have installed the hack and his working fine but i have follow error at the user.php :
Parse error: parse error in /homepages/42/d4357757/htdocs/vb/admin2/user.php on line 309 Line 309 is correctly, i can not found a bug. This is Line 309: if ($userid==X) and ($bbuserinfo[userid]!=X) { The X i have change to 2 (my userid) |
Yes...
There should be an extra set of brackets around it : Code:
if (($userid==2) and {$bbuserinfo[userid]!=2)) { |
i have the same error when i changed the code.
|
|
oki is ready
|
:)
Satan |
Quote:
Code:
if ($userid==2 and $bbuserinfo[userid]!=2) { also Satan, please do not recommend Users to send you full files... Thank you |
Ok sorry...
Xenon - I must have slipped when typing (... Satan |
the admincp for a coAdmin is very small :) not the same of the demopicture from you. He can not posting Announcements etc. Why?
|
Well...
The Admin Cp is only small, because this is a basic install... To increase their abilites, you will need to copy the announcements.php file to the admin2 directory, then add a link to it in the admin2 index.php file... :) Satan |
i don't have a admin2 folder. i am a newbie at this.
|
You have to create one:)
Satan |
oops. i didn't read the instructions. my bad.
|
Lol its ok:)
Satan |
I feel like a goober. I can find the userid numbers quick enaouk but can't find the usergroupid #. Where do I find this?
|
I have started getting this error again:
Quote:
|
Wugh. Still getting this error. It is weird. It only happens on a couple of users. When the co-admin goes into the cp to change an avatar or title, she will click on the change avatar button and get this message:
Quote:
|
Hey I'm getting a error messages that I can't make go away, any ideas?
Quote:
PHP Code:
Thankx, 244 |
remove the char in front of your if
|
Quote:
Dark Shogun |
This hack looks nice man :D Good job
|
@Shogun: If i'm right this is the part you should have in your file AFTER installing the hack.
Recheck one line in install file before |
Yes Shogun...
You are looking for the line you are supposed to replace;) Satan |
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 04:18 AM. |
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:
|