Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Re: [EZFrag] How to use this function in a CGI script

Quote Reply
Re: [EZFrag] How to use this function in a CGI script In reply to
Hi,

Hard to know really, but something like this maybe?

Code:
use RC::Forum;

my $prefix = 'whatever_';

my ($hits,$the_loop) = RC::Forum::query(
'forum_id_fk', '9,15,1,35,16,33,48,18,2,6,37,14,42,19,21,4,5,11,12,13,7,30,29,28,41',
"post_username", $user_username,
"post_root_id", 0,
"mh", 5,
"sb", "post_latest_reply",
"so", "asc",
"cols", "post_id,post_subject,post_replies,post_thread_hot",
"index", "p_rfl",
"days_within", 90
);

foreach (@$the_loop) {
# should have a hashref here
}

Hope that helps.

Cheers

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!
Subject Author Views Date
Thread How to use this function in a CGI script EZFrag 6405 Apr 3, 2008, 2:46 AM
Thread Re: [EZFrag] How to use this function in a CGI script
EZFrag 6288 Apr 3, 2008, 2:58 AM
Thread Re: [EZFrag] How to use this function in a CGI script
Andy 6333 Apr 3, 2008, 3:33 AM
Thread Re: [Andy] How to use this function in a CGI script
EZFrag 6270 Apr 3, 2008, 4:37 AM
Thread Re: [EZFrag] How to use this function in a CGI script
Andy 6315 Apr 3, 2008, 4:55 AM
Thread Re: [Andy] How to use this function in a CGI script
EZFrag 6269 Apr 3, 2008, 5:16 AM
Thread Re: [EZFrag] How to use this function in a CGI script
Andy 6275 Apr 3, 2008, 5:30 AM
Thread Re: [Andy] How to use this function in a CGI script
EZFrag 6281 Apr 3, 2008, 5:38 AM
Thread Re: [EZFrag] How to use this function in a CGI script
Andy 6285 Apr 3, 2008, 6:02 AM
Thread Re: [Andy] How to use this function in a CGI script
EZFrag 6264 Apr 3, 2008, 6:26 AM
Post Re: [EZFrag] How to use this function in a CGI script
Andy 6264 Apr 3, 2008, 6:31 AM