Advertisement:

Author Topic: Share This Topic  (Read 201253 times)

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Share This Topic
« Reply #60 on: September 28, 2009, 03:15:40 PM »
hey arnator
good mod here
trully i like it for 2 things
1.YOU !!
2.YOU !!
MayBe It Is 3
3.Its Just A New place not like the others all the same old place

hey take this trans for arabic
Code: [Select]
<?xml version="1.0"?>

<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">



<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">

<id>Arantor:Share_This_Topic</id>

<version>1.1</version>



<file name="$languagedir/Modifications.arabic.php">

<operation>

<search position="end" />

<add><![CDATA[

$txt['share_default_menu'] = 'شارك هذا الموضوع';

$txt['share_default_menu_desc'] = 'هنا تختار الخدمات الإجتماعية التي يمكن المشاركة معها';

$txt['share_default_tooltip'] = 'شارك هذا الموضوع في %s';

$txt['share_facebook'] = 'Facebook';

$txt['share_delicious'] = 'Del.icio.us';

$txt['share_digg'] = 'Digg';

$txt['share_reddit'] = 'Reddit';

$txt['share_stumbleupon'] = 'StumbleUpon';

$txt['share_twitter'] = 'Twitter';

]]></add>

</operation>

</file>



<file name="$languagedir/Modifications.arabic-utf8.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

$txt['share_default_menu'] = 'شارك هذا الموضوع';

$txt['share_default_menu_desc'] = 'هنا تختار الخدمات الإجتماعية التي يمكن المشاركة معها';

$txt['share_default_tooltip'] = 'شارك هذا الموضوع في %s';

$txt['share_facebook'] = 'Facebook';

$txt['share_delicious'] = 'Del.icio.us';

$txt['share_digg'] = 'Digg';

$txt['share_reddit'] = 'Reddit';

$txt['share_stumbleupon'] = 'StumbleUpon';

$txt['share_twitter'] = 'Twitter';

]]></add>

</operation>

</file>





</modification>
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Share This Topic
« Reply #61 on: September 28, 2009, 03:28:33 PM »
Hey Bro BabyLon Doesn't Work In Replacement thing
i supose he doesn't find
Code: [Select]
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
so we must replace this

Code: [Select]
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" alt="" align="middle" />

do your hoem work ;)
if any ofcourse
Best Regards
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #62 on: September 28, 2009, 03:30:14 PM »
Oh, that's correct. That's why I said no "current" system. There used to be, but it was easily abused. Many mods were down marked unfairly based on not installing properly on custom themes, so it was removed.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Share This Topic
« Reply #63 on: September 28, 2009, 03:34:04 PM »
and arabic trans ?
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #64 on: September 28, 2009, 03:36:30 PM »
If you'd like to supply the translation please do. I only speak two languages - English/British and rubbish.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Share This Topic
« Reply #65 on: September 28, 2009, 03:40:17 PM »
hey arnator
good mod here
trully i like it for 2 things
1.YOU !!
2.YOU !!
MayBe It Is 3
3.Its Just A New place not like the others all the same old place

hey take this trans for arabic
Code: [Select]
<?xml version="1.0"?>

<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">



<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">

   <id>Arantor:Share_This_Topic</id>

   <version>1.1</version>

   

   <file name="$languagedir/Modifications.arabic.php">

      <operation>

         <search position="end" />

         <add><![CDATA[

$txt['share_default_menu'] = 'شارك هذا الموضوع';

$txt['share_default_menu_desc'] = 'هنا تختار الخدمات الإجتماعية التي يمكن المشاركة معها';

$txt['share_default_tooltip'] = 'شارك هذا الموضوع في %s';

$txt['share_facebook'] = 'Facebook';

$txt['share_delicious'] = 'Del.icio.us';

$txt['share_digg'] = 'Digg';

$txt['share_reddit'] = 'Reddit';

$txt['share_stumbleupon'] = 'StumbleUpon';

$txt['share_twitter'] = 'Twitter';

]]></add>

      </operation>

   </file>

   

   <file name="$languagedir/Modifications.arabic-utf8.php" error="skip">

      <operation>

         <search position="end" />

         <add><![CDATA[

$txt['share_default_menu'] = 'شارك هذا الموضوع';

$txt['share_default_menu_desc'] = 'هنا تختار الخدمات الإجتماعية التي يمكن المشاركة معها';

$txt['share_default_tooltip'] = 'شارك هذا الموضوع في %s';

$txt['share_facebook'] = 'Facebook';

$txt['share_delicious'] = 'Del.icio.us';

$txt['share_digg'] = 'Digg';

$txt['share_reddit'] = 'Reddit';

$txt['share_stumbleupon'] = 'StumbleUpon';

$txt['share_twitter'] = 'Twitter';

]]></add>

      </operation>

   </file>

   

   

</modification>
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Pinball Nation

  • Jr. Member
  • **
  • Posts: 310
Re: Share This Topic
« Reply #66 on: September 30, 2009, 06:51:40 PM »
I have the Twitter mod installed.If i install this mod.We they conflicked with each other?

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #67 on: September 30, 2009, 06:54:23 PM »
I have no idea about the Twitter mod to be honest. I don't think they'd conflict though; I see no reason they would.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Share This Topic
« Reply #68 on: October 02, 2009, 06:13:38 PM »
Looks useful!!
It looks better (graphically speaking) than using addthis to achieve the share buttons.

But I think MySpace should be added to the list.
MySpace is about as popular as Twitter and Facebook.

Do you think you'll be adding support for MySpace any time soon?

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #69 on: October 02, 2009, 06:15:47 PM »
I doubt I will. I looked into it, and adding MySpace would not only be a total rewrite, it's also a lot more work to actually manage since as far as I can find references for it (since I don't use MySpace myself) it can't be done as a simple link, which is why I chose to leave it out.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Share This Topic
« Reply #70 on: October 02, 2009, 09:33:11 PM »
Boo MySpace, for making it hard to do.

You have Twitter and Facebook on there though. For me, they're the important ones.

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #71 on: October 02, 2009, 11:41:52 PM »
That said, I'll take another look, and if it has changed I'll consider it.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Share This Topic
« Reply #72 on: October 03, 2009, 11:41:39 AM »
That said, I'll take another look, and if it has changed I'll consider it.

Here you go, so you don't have to go searching for it.
I found their page explaining it and providing code.

http://wiki.developer.myspace.com/index.php?title=How_to_Add_Post_To_MySpace_to_Your_Site

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #73 on: October 03, 2009, 04:14:10 PM »
Yes, that's the code I found originally. All of the other sites can be added via a single <a href> tag as a regular link - whereas MySpace requires a full form to be sent, even if it just represents as a single button without any user options to be added.

Thus without rewriting the entire mod just to account for this one site to be supported - and it would be a rewrite - I can't add it.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Share This Topic
« Reply #74 on: October 04, 2009, 09:58:35 AM »
OK, I understand.
Looks like MySpace is letting themselves get left out by making it this way.
I notice that a lot of sites no longer have them listed these days.

That doesn't bode well for MySpace.

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #75 on: October 04, 2009, 10:36:56 AM »
Indeed it isn't good for MySpace to do this; it does actively make it harder to target.

I do have some ideas for other sites to add though.

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,741
  • Gender: Male
  • Make The Link
    • ShopinJA.com
Re: Share This Topic
« Reply #76 on: October 04, 2009, 11:22:40 AM »
this mod is awesome it's 99.999% complete ..  ;D

All it needs as i mentioned before is a share count [Total of all Shares]

So beside the icons you will see [This topic was Shared 30 Times]
:: ShopinJA.com Powered by SMF 1.1.16 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #77 on: October 04, 2009, 11:25:41 AM »
Which as I already said is a complete rewrite.

That said, were I to bother that level of rewrite, MySpace would possibly be viable to do.

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,741
  • Gender: Male
  • Make The Link
    • ShopinJA.com
Re: Share This Topic
« Reply #78 on: October 04, 2009, 11:30:23 AM »
Which as I already said is a complete rewrite.

That said, were I to bother that level of rewrite, MySpace would possibly be viable to do.

well technically you could maybe write a mod that will piggyback off this mod 8) so you wont have to rewrite the original ... either way both means writing lol
:: ShopinJA.com Powered by SMF 1.1.16 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Share This Topic
« Reply #79 on: October 04, 2009, 11:32:35 AM »
The ability to track means the URL has to be pushed through a URL action, e.g. index.php?action=share;site=facebook;url=http://forum.com/index.php?.....

This would track the hit, then send a redirect.

This is more complex than the existing action (to simply build a link) either way it is a lot of coding but I'll see about it after I get back.

I need to modify it for RC2 anyway...