Gossamer Forum
Home : Products : Others : Gossamer Community :

Odd - won't install plugin options :/

Quote Reply
Odd - won't install plugin options :/
Hi,

Got a bit of a weird issue with a free plugin I'm trying to write.

Code:
$mgr->install_options('NumberOfLinksUser', [['Path_To_Glinks', '', 'Set this to the PATH of your glinks /admin/defs folder.', 'TEXT', [], [], '']]);

...yet it doesn't install that option :/

plugins.cfg looks fine, but just doesn't have the option:

Code:
'NumberOfLinksUser' => {
'meta' => {
'author' => 'Andy Newby',
'description' => 'Updates a new field in the comm_users table, called Number_Links.',
'license' => 'Freeware',
'prog_ver' => '1.1.1',
'url' => 'http://www.ultranerds.com/',
'version' => '1'
},
'version' => '1'
},

I've never used plugin options in GComm before - is there a different way that they are added in now? I know that instead of Links::Plugins::get_plugin_user_cfg() you have to use Community::Web::Plugins::get_plugin_user_cfg() now (thats not a problem) - but its not much good if there isn't any options for the plugin to get <G>

TIA

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates