Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [shiner] 1.1.6 avatar question

Quote Reply
Re: [shiner] 1.1.6 avatar question In reply to
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
Subject Author Views Date
Thread 1.1.6 avatar question shiner 2287 Jun 14, 2002, 1:30 PM
Post Re: [shiner] 1.1.6 avatar question
shiner 2208 Jun 14, 2002, 1:33 PM
Thread Re: [shiner] 1.1.6 avatar question
Jagerman 2177 Jun 14, 2002, 1:39 PM
Thread Re: [Jagerman] 1.1.6 avatar question
shiner 2182 Jun 14, 2002, 1:45 PM
Thread Re: [shiner] 1.1.6 avatar question
shiner 2156 Jun 16, 2002, 7:15 AM
Thread Re: [shiner] 1.1.6 avatar question
shiner 2123 Jun 17, 2002, 1:05 PM
Thread Re: [shiner] 1.1.6 avatar question
shiner 2152 Jun 20, 2002, 5:21 AM
Post Re: [shiner] 1.1.6 avatar question
ArmyAirForces 2073 Jun 21, 2002, 7:57 AM
Post Re: [shiner] 1.1.6 avatar question
Jagerman 2086 Jun 24, 2002, 4:36 PM