The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
In the Control Panel Find feature (Ver 2.0.3) , I have added
the following sorts: [list=1][*]Usergroupid [*]password [/list=1] Then I can choose below the sort window which items I want to be Displayed in my sort. All of the items are listed in the Display Option, except Password How do I add password to the Display Feature? |
#2
|
||||
|
||||
I'm not sure why my topic was moved to the Hack section,
and I'm not sure why the How Do I Forum Moderators could not complete my request aftet they had started it! The above sort fields are not hacks, but fields of VB data already in the database. I was given a very short helpful instruction in the other forum to have these fields show up in the drop down menu of the Find feature in the Control Panel. Alll I'm asking for is to know how to let these fields show up! What good is it for me to sort a field without seeing it? Please forgive me, but no one at the other forum bothered to use the VB copy redirect command on my topic. They just did a straight move without any notice to me whatsoever. David |
#3
|
||||
|
||||
I'm not sure who moved your threads, but I do believe the Hacks Requests forum is the proper place for them. As far as I can tell, both of your requests would requite hacking vB PHP scripts - hence 'Hack Requests'.
In this case, you would have to hack the admin/index.php script. |
#4
|
||||
|
||||
I'm a novice at this. So where does my topic go from here?
|
#5
|
||||
|
||||
I guess you just have to wait and hope that someone will do this hack for you.
|
#6
|
||||
|
||||
In user.php:
Replace Code:
makeyesnocode("Display email address","displayemail",1); Code:
makeyesnocode("Display email address","displayemail",1); makeyesnocode("Display password","displaypassword",1); Code:
makeyesnocode("Display password","displaypassword",0); Also replace Code:
$users=$DB_site->query("SELECT user.userid,username,usergroupid,birthday,email,parentemail,coppauser,homepage,icq,aim,yahoo,signature,usertitle,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastpost) AS lastpost,posts,ipaddress,userfield.* FROM user,userfield WHERE $condition AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber"); Code:
$users=$DB_site->query("SELECT user.userid,username,usergroupid,birthday,email,password,parentemail,coppauser,homepage,icq,aim,yahoo,signature,usertitle,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastpost) AS lastpost,posts,ipaddress,userfield.* FROM user,userfield WHERE $condition AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber"); Code:
if ($displayemail==1) { echo "<td><p><b><span class='tblhead'>Email</span></b></p></td>"; } Code:
if ($displayemail==1) { echo "<td><p><b><span class='tblhead'>Email</span></b></p></td>"; } if ($displaypassword==1) { echo "<td><p><b><span class='tblhead'>Password</span></b></p></td>"; } Code:
if ($displayemail==1) { echo "<td><p><a href='mailto:$user[email]'>$user[email]</a> </p></td>"; } Code:
if ($displayemail==1) { echo "<td><p><a href='mailto:$user[email]'>$user[email]</a> </p></td>"; } if ($displaypassword==1) { echo "<td><p>$user[password] </p></td>"; } P.S. Why did you add the option to sort by password? Just curious... |
#7
|
||||
|
||||
FireFly to the rescue!
|
#8
|
||||
|
||||
Hehe.
By the way steve, are you wanted dead or alive? (or both ) And most important, is there a reward? Just wanted to know... *whistles* |
#9
|
||||
|
||||
Good questions! I'm wanted alive. of course - and you actually have to pay me the reward!
|
#10
|
||||
|
||||
lol, pay you.
Anyway, David, if you want to display the passwords also when just clicking List all users, add this code PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|