|
#11
|
||||
|
||||
I would like to see a modded source with some security thinking in mind. The following were verified in a very short time:
changeusername.php: Replace: PHP Code:
PHP Code:
adminstuff.php PHP Code:
PHP Code:
1. Put a conditional statement that verifies that the current user's id is equivalent with the one that's gonna be deleted 2. Instead of letting the user deleting his own account you should make a form that asks the staff to do this, with a reason of course. details.php find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
PHP Code:
__________________
PHP Code:
|
#12
|
|||
|
|||
also in delacct.php
add Code:
if (get_user_class() < UC_ADMINISTRATOR) stderr("Sorry", "Access denied."); |
#13
|
|||
|
|||
What is username tbdev password?
Also, I want to add my username as Sysop. Thank you. |
#14
|
|||
|
|||
add your tracker signup your then the sysop/owner ..............hey presto
|
#15
|
|||
|
|||
I added the sql in my data base and I got those errors !!!
|
#16
|
|||
|
|||
Last edited by al_ltoticmat; 14th October 2008 at 06:05. |
#17
|
||||
|
||||
i have a probel with the status bar!
I don't have a status bar
|
#18
|
|||
|
|||
Hi
When i import the database is giving me this error:
Quote:
|
#19
|
|||
|
|||
this will fix it mate
Code:
CREATE TABLE IF NOT EXISTS `addedrequests` ( `id` int(10) unsigned NOT NULL auto_increment, `requestid` int(10) unsigned NOT NULL default '0', `userid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `pollid` (`id`), KEY `userid` (`userid`), KEY `requestid_userid` (`requestid`,`userid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `addedrequests` -- -- -------------------------------------------------------- |
Tags |
darkseeder , premodded , source |
|
|