Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [shiner] 1.1.6 avatar question: Edit Log

Here is the list of edits for this post
Re: [shiner] 1.1.6 avatar question
ok - more progress, but no answers -

<%GForum::Config::tpl_get("image_url")%>

refers to the gforum subdirectory of the admin directory

cgi-bin/forum/admin/gforum

config repesents config.pm -> found in cgi-bin/forum/admin/gforum


tpl_get is a subroutine found in config.pm - This sub is "Useful to bring one or more variables into the templates."









$COMPILE{tpl_get} = __LINE__ . <<'END_OF_SUB';
sub tpl_get {
my (@vars) = @_;
return { map { $_ => $GForum::CFG->{$_} } @vars }
}
END_OF_SUB






This lead me to look for vars - but the coding says that these items are hand coded in admin/gforum/config/data.pm

so there I found this!!!



'user_icons' => {
'AIPN' => 'aipn.jpg',
'Dale Jarret #1' => 'gem2.gif',
'Doc' => 'doc.jpg',
'Jeff Gordon #1' => 'gordon.jpg',
'Lil\' E #1' => 'earnhart.jpg',
'Lil\' E #2' => 'gemini2.jpg',
'Sterling Marlin' => 'marlin.jpg',
'Tony Stewart' => 'stewart.jpg',
'Yankees' => 'NYY.gif',
'Yoda' => 'scarp.jpg',
'md' => 'md.jpg',
'walking man' => 'walking.gif',
'whirl' => 'whirl.jpg'



it should read:

'user_icons' => {},

PROBLEM SOLVED!!! Whewwww!

Last edited by:

shiner: Jun 20, 2002, 5:59 AM

Edit Log: