forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Oracle9 on March 20, 2007, 06:40:13 pm
-
Hello
I have cpg 1.4.10 with modpack (stramm_mod1.4.10.bridge.1)
All work fine with me .
I like igames theme and I made a small modifications to fit with modpack.
The only part I do not know how to do it is the modification in igames theme to show: Private Messages: 0 unread, total 0
Friends: 0 request(s), active 0
Any help please , I am still a PHP beginner
Regards
-
Just edit template.html adding {LOGIN_FORM} (where you wish it to appear) followed by
<span style="float:right">{LOGIN_FORM}</span>
You can, of course, use other html code to fit the way you prefer.
-
Thank you Lontano , it work and now I can see Private Messages and Friends ,
but the problem now I have 2 loging forms , the default one (which I prefer because it has the option (I forgot my password) , all I need is to display (Private Messages and Friends) . is their a way to do that ?
Thanks again for your help
-
open include/functions.inc.php and find at the bottom (IO think I named it) function loginform ...
copy the functionm and paste it into the theme.php you're actually using. Now modify it to your needs (the if-else clause, when not logged in, let it do nothing, when logged in, display the PM, buddy info)
-
Thank Lontano again , I disable the (Display login form) from the admin. config. and all is working fine now , Thanks
-
I'll try your way also , that's how we could learn
Thanks Stramm for your support :)
Best Regards