forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: dumbo on April 09, 2008, 01:44:35 pm

Title: [Solved]: Getting avatar Placed for my theme
Post by: dumbo on April 09, 2008, 01:44:35 pm
I would like to place the Avatar image independently on the index page . i need to link the Avatar to the Profile of the user ..how can this be done

Place holders will be fine ...cos i have no probs with html or css

please help me :)

Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 10, 2008, 06:21:35 pm
I added the scripts that u have provided at
http://forum.coppermine-gallery.net/index.php/topic,46692.20.html

after adding this to the theme.php i get an error message when clicking on the online users (nibblers mod)

Quote
Fatal error: Call to a member function get_user_infos() on a non-object in /home/glamour/public_html/themes/vista_aero/theme.php on line 329

Please help me fix this error

Thanks

Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 10, 2008, 06:38:35 pm
I managed to move the image around the theme with css , but now the second problem remains

please login with


username:stramm
Password:coppermine

Clicking on a user link to profile shows the error i ve posted above

Please help me
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 10, 2008, 06:39:44 pm
Oops i forgot to type my site name ..its www.liveglamour.com , i wish there was an edit button  ;D
Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 11, 2008, 08:24:17 pm
theme issue... the classic theme works as expected
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 11, 2008, 08:28:22 pm
theme issue... the classic theme works as expected

but i have Altered the Dew drops theme for my current theme , what exactly in my theme needs to be change to get that final part to work fine ? :(


Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 11, 2008, 08:37:31 pm
I have no clue what the problem may be as I do not know what you've changed
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 11, 2008, 08:49:03 pm
I have atached the files , please try this
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 13, 2008, 10:15:49 pm
Yes stramm the problem is with the theme , its working fine with kuberick theme , i just tried now :( , can u please get it working on my theme ?
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 14, 2008, 09:39:45 am
Yes stramm the problem is with the theme , its working fine with kuberick theme , i just tried now :( , can u please get it working on my theme ?

sorry , its not working with other themes too :(
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 26, 2008, 06:35:41 pm
any clues Stramm :(
Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 26, 2008, 07:03:11 pm
I've tried your theme and it works as expected for me... avatar shows and is linked to the profile
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 27, 2008, 03:53:28 am
I've tried your theme and it works as expected for me... avatar shows and is linked to the profile

But on clicking on the avatar it dosent go to the profile instead shows an error :(
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 27, 2008, 08:57:32 am
U mean its working fine when u have tried ? ?

what would have gone wrong with me ? ?
Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 27, 2008, 09:05:06 am
No clue... you'd need to upload the modified theme so I can see the error
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 27, 2008, 09:10:30 am
Its already attached stramm see post # 7
Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 27, 2008, 09:13:01 am
I mean on your live site... as I can't replicate the problem on my testbed I'd need to see it on your site.
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 27, 2008, 09:52:50 am
I mean on your live site... as I can't replicate the problem on my testbed I'd need to see it on your site.

Sent the details on PM with new password
Title: Re: Getting avatar Placed for my theme
Post by: Stramm on April 27, 2008, 09:53:56 am
in your theme.php find
Code: [Select]
global $CONFIG, $lang_loginform, $REFERER;and replace it with
Code: [Select]
global $CONFIG, $lang_loginform, $REFERER, $cpg_udb;
That may be the problem...
Title: Re: Getting avatar Placed for my theme
Post by: dumbo on April 27, 2008, 12:06:51 pm
Yes that was the problem , every thing solved now :)

Thank you starmm