Hi guys. I've been trying to get the equivelant of $USER (in LSQL) to work in GCommunity. I have;
use GT::Base;
use GT::Plugins qw/STOP CONTINUE/;
use Community qw/$CFG $IN $DB/;
# Inherit from base class for debug and error methods
@Plugins::Community::SupportManager::ISA = qw(GT::Base);
Community::comm_init($CFG->{'path_private'});
... but that still doesn't seem to load the user options. How do I grab details such as <%current_username%> and such?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
use strict; use GT::Base;
use GT::Plugins qw/STOP CONTINUE/;
use Community qw/$CFG $IN $DB/;
# Inherit from base class for debug and error methods
@Plugins::Community::SupportManager::ISA = qw(GT::Base);
Community::comm_init($CFG->{'path_private'});
... but that still doesn't seem to load the user options. How do I grab details such as <%current_username%> and such?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!