1 adiguba Jun 09, 2008 15:20
3 adiguba Jun 09, 2008 16:27
Thank you for your help Afwas !
I will waiting for Luckily Yabba's response ;)
bye
4 afwas Jun 09, 2008 16:46
This is the plugin by Yabba. The plugin does nothing, but does show some extra tabs and you'd be able to add some action to the tabs. So do have a look at it.
http://blogrum.innervisions.org.uk/tech/add-tabs-in-admin-from-a-plugin
Have fun
5 adiguba Jun 09, 2008 16:58
I will looking for that !
Thank you ;)
bye
6 edb Jun 09, 2008 16:59
Actually what we need is a hook for blogs much like the hookage for users. GetDefaultSettings -> GetUserSettings -> GetBlogSettings. Then when a plugin builds with GetBlogSettings those options show up on the appropriate blogs subtab, or perhaps on a new blogs subtab called "plugin settings". I will look more into this after I sleep and get up and work a couple more times and post in the thread for new hooks request unless someone beats me to it.
7 yabba Jun 09, 2008 19:26
Blog settings for plugins would be very cool B)
Unfortunately the only way I've found to do that ( so far ) is by suffixing ( or prefixing ... I just prefer Suffolk cos it's in a sunny part of england ) with the blog ID ... ie/ $this->Settings->set||get( 'my_unique_setting_for_blog_##' ) ... pretty ugly though :(
If it helps I can link you to another plugin that also does bugger all ( atm ), but it does add a subtab to the blogs tab .... or it did in one of it's incarnations .. *fairly* sure it still does .... if not, then the post that Afwas linked you to is the incarnation before the incarnation that did, or doesn't .... all these sketch pad plugins get blurred into one ;)
Alternatively, you can hit my blog and download the profiles plugin, which actually does something ... but on the profiles tab, but it should give you an idea how to beat the core into a miserable pulp ;)
¥
8 waltercruz Jan 10, 2009 02:45
There are some news on it? I need this too ;)
9 yabba Jan 10, 2009 19:19
Walter wrote:
There are some news on it? I need this too ;)
I look forward to your code in cvs :D
¥
hi adiGuba,
It looks like you are doing OK. The UserSettings are stored in the database and the plugin system is such that you do not need to bother how and where. Actually the UserSettings for the plugin are stored in the Plugins table and the basic B2evo UserSettings are stored in the User table. But as said you just use the plugin hook and don't bother with the details.
Until recently it was not possible to add a tab. Luckily Yabba found a way and has a test setup with custom tabs. He will answer this post shortly and will provide you with details.
Keep up the good work
Have fun