Check out the SMF Function DB!
Started by Norv, May 09, 2006, 08:35:29 PM
Quote from: Kcmartz on April 22, 2010, 09:10:15 PMIt installed successfully on RC3, but had to emulate last version this was made for. I went to mod page and found where mod page in admin was, and no admin menu item was added!!
Quote from: Norv on April 11, 2010, 07:00:22 PMThe mod is not tested for RC3 currently. I will update it as soon as possible.
Find this line:'profile' => array($txt['custom_profile_shorttitle'], 'enabled' => in_array('cp', $context['admin_features'])),Add under line:'action' => array($txt['custom_action_shorttitle'], 'admin_forum'),
Quote from: Raw-Raven.co.nz on May 30, 2010, 03:06:43 PMHey all,My first post, but i managed to get this mod going on smf 2.0-rc3.All that is need to do is two things,First add the button under admin.php and the fix up that database table.Changes in Admin.phpCode Select ExpandFind this line:'profile' => array($txt['custom_profile_shorttitle'], 'enabled' => in_array('cp', $context['admin_features'])),Add under line:'action' => array($txt['custom_action_shorttitle'], 'admin_forum'),Changes in Database:Done with phpMyAdmin (don't ask how to use it please)You will find in that database that it is listed as "custom_actions"You need to open the table then select the "Operations"tab to edit the table name."smf_custom_actions"This is all i have done to get this mod working.Yet to make an action tab i must say, so will post back if it 'fails'#| EDIT.Ok just worked out how to use it and it is working fine,not what I'm looking for tho Only problem i know of and that is it will not auto add a tab to yourtabs up top as it doesn't put a line in your Subs.phpSo all you can just manually add in the tab into your Sub.php file,as you will get the address code form the page when making it.I'm not interested in finding out how to get it working in auto.I would be adding it in like i said above.Hope this will help you.
Quote from: Raw-Raven.co.nz on June 02, 2010, 07:10:01 PMHey all,Probably going to get my profile bannedfor this, but anyways here is what you guys havebeen wanting.I will be keeping this link active for a week orless if requested by SMF/or Mod persons.Custom Action Mod For 2.0RC3This is only for RC3 and has only been tested on RC3.I hope you enjoy.
Quote from: Kcmartz on May 29, 2010, 10:52:24 PMNorv, I wonder, how do you add a sub-action, can't figure it out....
Quote from: Raw-Raven.co.nz on June 03, 2010, 07:16:19 PMQuote from: Kcmartz on May 29, 2010, 10:52:24 PMNorv, I wonder, how do you add a sub-action, can't figure it out....OMG that one took me ages!!!! Under the "Sub-Actions" column, find the action you want tomake sub actions for and select that number "0"It will then open up to the Adding sub-actions page!Its a hard one!!!