Advertisement:

Author Topic: Share This Topic  (Read 341695 times)

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Share This Topic
« Reply #40 on: September 10, 2009, 04:07:21 AM »
o ok, thats kool, keep it nice and simple as it is now  8)

for now i changed your code
Quote
'twitter' => 'http://twitter.com/home?status=%s',

To
Quote
'twitter' => 'http://twitter.com/home?status=-Topic Shared From "Website Name"- %s',
:: ShopinJA.com Powered by SMF 1.1.19 | 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 plusev

  • Jr. Member
  • **
  • Posts: 294
Re: Share This Topic
« Reply #41 on: September 11, 2009, 02:03:03 AM »
Couldnt the icons be moved to the right? Plenty of room there without having to remove anything.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #42 on: September 11, 2009, 04:06:50 AM »
I suppose they could, that would be doable and in hindsight would be preferential - just having it where it is was the mod originally requested.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Share This Topic
« Reply #43 on: September 11, 2009, 08:13:02 AM »
i was thinking the same ... but i think to the left quickly draws attention to it
:: ShopinJA.com Powered by SMF 1.1.19 | 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 plusev

  • Jr. Member
  • **
  • Posts: 294
Re: Share This Topic
« Reply #44 on: September 14, 2009, 12:20:34 AM »
Would you consider moving it to the right for me or letting me know how? Thx

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #45 on: September 14, 2009, 07:05:24 AM »
Moving to the right depends very much on your theme.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Impsat-1

  • Jr. Member
  • **
  • Posts: 320
Re: Share This Topic
« Reply #46 on: September 22, 2009, 11:58:40 PM »
Wow... Arantor, GREAT MOD!!!, Excellent... tested, installed & fine working in SMF v1.1.10 Theme own... Thanks from Argentina for guy's like you man, have a great time... Regards!!! 8).-


Wow... Arantor, MOD Genial!!!, Excelente... testeado, instalado y trabajando perfecto en SMF v1.1.10 Theme propio... desde Argentina GRACIAS por tipos como tu hombre... que la pases Barbaro... Saludos Cordiales!!! 8).-
« Last Edit: September 23, 2009, 12:02:10 AM by Nahuel-1 »
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-

Offline plusev

  • Jr. Member
  • **
  • Posts: 294
Re: Share This Topic
« Reply #47 on: September 23, 2009, 12:37:26 AM »

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #48 on: September 23, 2009, 03:14:40 AM »
Nahuel-1: Glad you appreciate it :)

plusev: There are two edits to be made to Themes/default/Display.template.php versus the base one.

Leave the first edit in place, it's as it should be.

The second edit needs to be reverted thus:
Code: (find) [Select]
', $social_icons, '
Code: (replace) [Select]
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
This will leave you with:
Code: [Select]
<h3 class="catbg3">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
<span>', $txt['author'], '</span>
<span id="top_subject">', $txt['topic'], ': ', $context['subject'], ' &nbsp;(', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')</span>
</h3>';

which is default.

I believe you should then replace that with: (I'm not a CSS guy so this may be wrong)
Code: [Select]
<h3 class="catbg3">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
<span>', $txt['author'], '</span>
<span id="top_subject">', $txt['topic'], ': ', $context['subject'], ' &nbsp;(', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')</span>
<span align="right">', $social_icons, '</span>
</h3>';

This edit would work fine in any 2.0 installation where the custom theme doesn't replace the Display.template.php file.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline plusev

  • Jr. Member
  • **
  • Posts: 294
Re: Share This Topic
« Reply #49 on: September 23, 2009, 11:14:23 PM »
That worked perfectly. Thx Arantor

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,227
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Share This Topic
« Reply #50 on: September 26, 2009, 02:54:48 PM »
will try to embed over my website with dziner studio theme
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline jmil

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Share This Topic
« Reply #51 on: September 28, 2009, 01:54:55 PM »
Wow - Added this Mod with a very Custom theme - Parsed it and added the changes to the Custom Theme Template.

Works like a Champ.

Nice job  ;) to the Authors!!!!

www.forums.midatlanticxriders.com

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #52 on: September 28, 2009, 01:55:58 PM »
Thanks :) Good to know it's working for you.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline jmil

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Share This Topic
« Reply #53 on: September 28, 2009, 02:01:18 PM »
Its nice when a plan comes together - Where is your Donation Link??

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #54 on: September 28, 2009, 02:03:56 PM »
I don't think I got round to updating all my mods with my Donate button; it's on some of my other mods' pages though.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Share This Topic
« Reply #55 on: September 28, 2009, 02:39:07 PM »
Wow - Added this Mod with a very Custom theme - Parsed it and added the changes to the Custom Theme Template.

Works like a Champ.

Nice job  ;) to the Authors!!!!

www.forums.midatlanticxriders.com

Somehow the share images look smaller on your forums  :P

I don't think I got round to updating all my mods with my Donate button; it's on some of my other mods' pages though.

Add a Rate this mod link as well
:: ShopinJA.com Powered by SMF 1.1.19 | 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 jmil

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Share This Topic
« Reply #56 on: September 28, 2009, 02:48:32 PM »
Yes add a Rate this Mod link would be nice!!

I do have one question though - On the Face book Link it simply says "Login" and then the Site name. Is it supposed to capture the Topic too??

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,621
    • StoryBB/StoryBB on GitHub
Re: Share This Topic
« Reply #57 on: September 28, 2009, 02:51:03 PM »
As far as I know there is no current rating system in the mod site.

As for the Facebook link, it can only capture the topic if you allow access to guests (because that's how Facebook expects it)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline jmil

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Share This Topic
« Reply #58 on: September 28, 2009, 03:01:44 PM »
Quote
As for the Facebook link, it can only capture the topic if you allow access to guests (because that's how Facebook expects it)

Makes total sense!!! Thank you!

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Share This Topic
« Reply #59 on: September 28, 2009, 03:05:32 PM »
As far as I know there is no current rating system in the mod site.

Almost sure their was at one point in time, allot of mods have a 'rate this mod' link

http://www.simplemachines.org/community/index.php?topic=106295.0

That mod has one .. but it goes to the mod site, so i guess it was stripped out  ::)
:: ShopinJA.com Powered by SMF 1.1.19 | 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