Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Join Us On Facebook & Twitter Infobox ! HELP !


tkeats

Recommended Posts

I have this setup on my osc 2.3.1 test site, however.. the problem I have is when I input the 'username' for the facebook page, it directs the user to my personal username, and not the actual page.

 

Pages can have usernames, I have this setup

 

facebook.com/my.name

vs

facebook.com/my.company

 

it takes it to my.name, I want it to go to my.company

 

Any thoughts?

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

I think good article how to do it:

http://www.siliconbeachtraining.co.uk/blog/set-short-url-facebook-fan-page-business/

or simply just google for it.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

.. thats not it, I have the vanity name, in fact I have a couple of them, the issue is the module when enabled, and setup, doesnt send you to the appropriate site. It sends it to my personal 'wall' not the 'business wall'

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

if you look in the code

 

includes/modules/boxes/bm_social_box.php

 

you will see the link as follows:

 

'  <a href="http://www.new.facebook.com/profile.php?id=' . MODULE_BOXES_FACEBOOK_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'follow-us-on-facebook.png', 'Follow us on Facebook') . '</a><br><a href="http://twitter.com/' . MODULE_BOXES_TWITTER_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'follow_us_twitter.png', 'Tweet Us!') . '</a>' .

 

change the code to

 

'  <a href="http://www.facebook.com/' . MODULE_BOXES_FACEBOOK_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'follow-us-on-facebook.png', 'Follow us on Facebook') . '</a><br><a href="http://twitter.com/' . MODULE_BOXES_TWITTER_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'follow_us_twitter.png', 'Tweet Us!') . '</a>' .

 

and see what happens.

 

Mark

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...