Not Solved Adding a Downloads Section
#4
Not Solved
Well it depends on the step after the --[FIND]--. If you have to add something to that line then treat line 56 in the uploaded adminoptions.php as the line in the --[FIND]-- command.

So instead of looking for
----- [ FIND ] ------------------------------------------

$db->query("UPDATE adminoptions SET permsset='1', caneditsettings='$newperms[caneditsettings]', caneditann='$newperms[caneditann]', caneditforums='$newperms[caneditforums]', canmodposts='$newperms[canmodposts]', caneditsmilies='$newperms[caneditsmilies]', caneditpicons='$newperms[caneditpicons]', caneditthemes='$newperms[caneditthemes]', canedittemps='$newperms[canedittemps]', caneditusers='$newperms[caneditusers]', caneditpfields='$newperms[caneditpfields]', caneditugroups='$newperms[caneditugroups]', caneditaperms='$newperms[caneditaperms]', caneditutitles='$newperms[caneditutitles]', caneditattach='$newperms[caneditattach]', canedithelp='$newperms[canedithelp]', canrunmaint='$newperms[canrunmaint]' WHERE uid='$uid'");

Look for
----- [ FIND ] ------------------------------------------

$db->query("UPDATE ".TABLE_PREFIX."adminoptions SET permsset='1', caneditsettings='$newperms[caneditsettings]', caneditann='$newperms[caneditann]', caneditforums='$newperms[caneditforums]', canmodposts='$newperms[canmodposts]', caneditsmilies='$newperms[caneditsmilies]', caneditpicons='$newperms[caneditpicons]', caneditthemes='$newperms[caneditthemes]', canedittemps='$newperms[canedittemps]', caneditusers='$newperms[caneditusers]', caneditpfields='$newperms[caneditpfields]', caneditugroups='$newperms[caneditugroups]', caneditaperms='$newperms[caneditaperms]', caneditutitles='$newperms[caneditutitles]', caneditattach='$newperms[caneditattach]', canedithelp='$newperms[canedithelp]', canrunmaint='$newperms[canrunmaint]' WHERE uid='$uid'");
Updated Site!
My mods
1.1: MyBB Zip Installer, Easy Install v2.0, Cash/Points plugin, PayPal/Subscriber, Reply by email, Advanced Plugins
Reply


Messages In This Thread
Adding a Downloads Section - by az0000000 - 2006-02-10, 11:52 AM
RE: Adding a Downloads Section - by decswxaqz - 2006-02-10, 12:06 PM
RE:  Adding a Downloads Section - by az0000000 - 2006-02-10, 01:41 PM
RE: Adding a Downloads Section - by decswxaqz - 2006-02-10, 02:50 PM
RE: Adding a Downloads Section - by az0000000 - 2006-02-10, 04:03 PM
RE: Adding a Downloads Section - by decswxaqz - 2006-02-10, 04:51 PM
RE: Adding a Downloads Section - by az0000000 - 2006-02-10, 05:37 PM
RE: Adding a Downloads Section - by decswxaqz - 2006-02-10, 06:52 PM
RE: Adding a Downloads Section - by KURTAY - 2006-02-10, 07:08 PM
RE:  Adding a Downloads Section - by az0000000 - 2006-02-13, 12:33 PM
RE: Adding a Downloads Section - by Alan Crisp - 2006-02-10, 08:01 PM
RE:  Adding a Downloads Section - by az0000000 - 2006-02-13, 12:31 PM
RE: Adding a Downloads Section - by Alan Crisp - 2006-02-13, 04:56 PM
RE: Adding a Downloads Section - by az0000000 - 2006-02-13, 05:31 PM
RE: Adding a Downloads Section - by az0000000 - 2006-04-12, 09:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)