If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Creinold Social / Media Marketing Mod 1.0

Creinold Social / Media Marketing Mod 1.0

Started by creinold on 23 May 2010, 8:38 PM · Views: 8,581

Results 21 to 39 of 39
8 Jun 2010, 2:27 AM
#21
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #21 by creinold

Just an update, haven't had time to work on the mod, the 1.3.9D update broke some my mods and been busy fixing it. Will resume working on this mod sometime later this week.

Thanks,
Charles

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

8 Jun 2010, 2:35 AM
#22
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #22 by dbltoe

While you're rebuilding, consider a class or id versus the embedded <style>.

Anyone who uses the code in a <div> (for whatever reason) will have a tidy error since it's not "nice" to have <style> inside a <div>.

Also, this will give the user more control over the item.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2010, 3:39 AM
#23
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #23 by creinold

No problem. =)

So far the facebook portion is using facebook xfbml code and don't need a wrap. Much more flexible then my orignal code. Not sure who put their in a <div> I never had to. The first version I worked on was in a <script> provide by facebook.

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

8 Jun 2010, 3:45 AM
#24
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #24 by dbltoe

As I stated earlier, if you are trying to accurately add the item to a three column display using css, it needs to be in a div.

However, just the fact that we're trying to get to full css control should warrant the removal of the <style>

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

9 Jun 2010, 10:07 AM
#25
alwaysriding avatar

alwaysriding

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Post #25 by alwaysriding

Great! Really looking forward to this, good luck!

1 Jul 2010, 7:09 AM
#26
samuel avatar

samuel

Banned

Join Date:
Jul 2010
Posts:
1
Plugin Contributions:
0

Post #26 by samuel

Social media marketing can give you a platform for brand awareness, exposure, networking, and a huge growth in traffic & sales. But most of the people don’t know to use it correctly and fails. Hence most companies don’t adopt social media. If operated correctly social media marketing can grow your online business faster than any other means.

8 Jul 2010, 9:30 AM
#27
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Post #27 by khopek

creinold:

Got it to work! Edited the meta_tags.php in includes/modules folder to add a DB query for product images , then pulled it using html_header.php in the templates/your_custom_folder/common/

=)

Just in case...I was told in another thread, to get the correct image pulled for facebook shares via addThis to..

Creat a file named jscript_fbimage.php then paste the following code into it...

<?php
  /**
   * Add "image_src" link to <head> section for current product's image
   */
  $sql = "select p.products_id, p.products_image
           from   " . TABLE_PRODUCTS . " p
           where  p.products_status = '1'
           and    p.products_id = '" . (int)$_GET['products_id'] . "'";
  $product_info = $db->Execute($sql);

  $products_image = $product_info->fields['products_image'];
  if ($products_image == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == '1') {
    $products_image = PRODUCTS_IMAGE_NO_IMAGE;
  }
  if ($products_image != '') {
    require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE));
?>
<link rel="image_src" href="<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>" />
<?php  }

and place it in includes/modules/pages/product_info/. It has definitely worked in pulling the correct product image.

8 Jul 2010, 1:19 PM
#28
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #28 by creinold

That pretty much same code I'm using in meta_tags.php never thought of putting it in modules/pages/product_info that would make the mod file dependent. By the way if you search fir addthis sharebar. (it's in it's lab section) it pretty much what I was coding. The jerks stole my ideas. Not really I just thought it was funny.
Posted via Mobile Device

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

21 Aug 2010, 10:35 AM
#29
delights avatar

delights

Zen Follower

Join Date:
May 2006
Location:
Queensland, Australia
Posts:
254
Plugin Contributions:
0

Post #29 by delights

Where can we dowload the mod ?

21 Aug 2010, 2:32 PM
#30
delights avatar

delights

Zen Follower

Join Date:
May 2006
Location:
Queensland, Australia
Posts:
254
Plugin Contributions:
0

Post #30 by delights

or at least where we can get the "Follow us on" toolbar ?

21 Aug 2010, 2:34 PM
#31
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #31 by creinold

Sorry haven't finished it. Been busy. On two week vaca working on re roofing my house. Not sure if I willcontinue this mod since add this has pretty much have all the features I was adding.
Posted via Mobile Device

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

22 Aug 2010, 9:09 AM
#32
delights avatar

delights

Zen Follower

Join Date:
May 2006
Location:
Queensland, Australia
Posts:
254
Plugin Contributions:
0

Post #32 by delights

creinold:

Sorry haven't finished it. Been busy. On two week vaca working on re roofing my house. Not sure if I willcontinue this mod since add this has pretty much have all the features I was adding.
Posted via Mobile Device

Yea, but the Addthis toolbar dosnt have the Follow us toolbar like yours does, unless i am totally missing something ?

22 Aug 2010, 2:27 PM
#33
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #33 by creinold

Ahhh forgot about that. That I add in before I was makin my mod. Just an image with a URL for the follow us button on your facebook page. I can put that together if you like when I'm off vacation next week and back in the office. =)
Posted via Mobile Device

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

23 Aug 2010, 7:26 AM
#34
delights avatar

delights

Zen Follower

Join Date:
May 2006
Location:
Queensland, Australia
Posts:
254
Plugin Contributions:
0

Post #34 by delights

creinold:

Ahhh forgot about that. That I add in before I was makin my mod. Just an image with a URL for the follow us button on your facebook page. I can put that together if you like when I'm off vacation next week and back in the office. =)
Posted via Mobile Device

Or if you want send us a copy of the mod, i can extract the toolbar part. What ever suits you..

23 Aug 2010, 11:16 AM
#35
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Post #35 by berserker

Hello,

Looking forward to this mod.

23 Aug 2010, 3:09 PM
#36
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Post #36 by creinold

I would but like I said. I'm away from the computer till I get back to the office. ;)
Posted via Mobile Device

http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creinold_SBA5.0_alpha_version1.5_for_zencart_V1.5.0.zip

1 Sep 2010, 7:58 AM
#37
delights avatar

delights

Zen Follower

Join Date:
May 2006
Location:
Queensland, Australia
Posts:
254
Plugin Contributions:
0

Post #37 by delights

Yea, when ever you get back and get the time, no rush...

18 Sep 2010, 12:35 PM
#38
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Post #38 by helpme

That's what I am looking for also, putting the facebook, twitter and I'd like a "like" button in my header like yours.
Thanks!!

9 Sep 2011, 9:28 PM
#39
myemmadoodle avatar

myemmadoodle

New Zenner

Join Date:
Oct 2008
Posts:
45
Plugin Contributions:
0

Post #39 by myemmadoodle

Oooo, after hours of mish mashing code together, I've just about got this to work, but when I share on facebook, it says for the product name (links to the product just fine) META_TAG_FBTITLE.... I'm looking through the meta tag php and find where it's located, here's the snip of coding in the meta tag php file

define('META_TAG_FBTITLE', str_replace('"','',zen_clean_html($product_info_metatags->fields['products_name']))); 

....not sure what I'm supposed to fix to make the actual product name appear... any suggestions???:blush: