HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


"like" with facebook addon and activity feed

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#96290 (In Topic #19127)
Avatar

Well-settled

"wrong logo"

Hi,
when I like something on my site with with activity feed and facebook addons installed and working correctly.  I get posts to my facebook profile under activity... that is good.  The bad is that it is using a ocportal theme wizard logo.

I would like to change the logo to the logo for my site.  Where would I find that code or where can I change that logo image at?

It seems to be coming from trimmed_logo if I can find that again. But I already changed that "trimmed_logo to the one I want and It doesn't change.


Thanks ~larryg1957
Back to the top
 
Posted
Rating:
#96291
Avatar

When you say "It doesn't change", do you mean what went out doesn't retroactively change to point to your new image, or that even new activities point to the wrong image?

Also, if the activities are triggered from the CMS zone, they will run with the theme of the CMS zone – so you'd want to change it in the default theme.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96292
Avatar

Well-settled

Chris Graham said

When you say "It doesn't change", do you mean what went out doesn't retroactively change to point to your new image, or that even new activities point to the wrong image?

Also, if the activities are triggered from the CMS zone, they will run with the theme of the CMS zone – so you'd want to change it in the default theme.
Hi Chris,
I changed the trimmed_logo for my theme and changed the theme for cms zone as well as everywhere "all zones' are now using my theme. I didn't make changes to default themes.

But since the begining and still the logo that gets posted on my activity(FB Profile) is still and with all new posts the "old" trimmed_logo(?) which was generated with the theme wizard long ago.

Now:






my new "trimmed_logo should be:




Got any Ideas where I messed up?

I did change to my theme for cms, and everything(all zones) are using my theme, (I left the default theme intact)

~larryg1957
Back to the top
 
Posted
Rating:
#96295
Avatar

Well-settled

It seems what is really going on is if there is an image file when you select "like" it will post the image.

if no image file it post the "old trimmed_logo" file.

this is an image that I had posted to a catalog entry upload.

When I click "like" it posted this to my facebook activity:




If there isn't an image it still posts the wizard generated logo(trimmed).  going to check now that the trimmed_logo(new) is actually there... in the theme_custom_images directory.
Back to the top
 
Posted
Rating:
#96300
Avatar

Perhaps the theme image you're editing isn't the actual code used. There was an issue with multiple codes for the same files, so if you were trying to work out the code without knowing it, maybe you picked the wrong one.

This is handled via OpenGraph, ocPortal puts this in HTML_HEAD:

Code

{+START,IF_EMPTY,{$META_DATA,image}}<meta property="og:image" content="{$IMG*,logo/trimmed_logo}"/>{+END}
Facebook will read the linked page for the OpenGraph image on the event of an activity which has no explicitly defined image. Similarly, ocPortal will put in logo/trimmed_logo as the OpenGraph image if the page itself has no explicitly defined image.

Check you really are editing the logo/trimmed_logo theme image.


EDIT: Said "explicitly defined" image, rather than "explicit image", to avoid confusion ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Robbie Goacher)  
Rating:
#96308
Avatar

Community saint

Chris Graham said

EDIT: Said "explicitly defined" image, rather than "explicit image", to avoid confusion ;).

You didn't even give me a chance.   :lol:

Steve
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:
 Add topic 

Quick reply   Contract

Your name:
Your message: