[Solved]: Getting avatar Placed for my theme [Solved]: Getting avatar Placed for my theme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Getting avatar Placed for my theme

Started by dumbo, April 09, 2008, 01:44:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dumbo

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 :)


dumbo

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)

QuoteFatal 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


dumbo

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

dumbo

Oops i forgot to type my site name ..its www.liveglamour.com , i wish there was an edit button  ;D

Stramm

theme issue... the classic theme works as expected

dumbo

Quote from: Stramm on April 11, 2008, 08:24:17 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 ? :(



Stramm

I have no clue what the problem may be as I do not know what you've changed

dumbo

I have atached the files , please try this

dumbo

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 ?

dumbo

Quote from: 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 ?

sorry , its not working with other themes too :(

dumbo


Stramm

I've tried your theme and it works as expected for me... avatar shows and is linked to the profile

dumbo

Quote from: 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

But on clicking on the avatar it dosent go to the profile instead shows an error :(

dumbo

U mean its working fine when u have tried ? ?

what would have gone wrong with me ? ?

Stramm

No clue... you'd need to upload the modified theme so I can see the error

dumbo

Its already attached stramm see post # 7

Stramm

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.

dumbo

Quote from: 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.

Sent the details on PM with new password

Stramm

in your theme.php find
global $CONFIG, $lang_loginform, $REFERER;
and replace it with
global $CONFIG, $lang_loginform, $REFERER, $cpg_udb;

That may be the problem...

dumbo

Yes that was the problem , every thing solved now :)

Thank you starmm