News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Share This Topic

Started by Suki, September 06, 2009, 05:09:23 AM

Previous topic - Next topic

aw06

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

plusev

Couldnt the icons be moved to the right? Plenty of room there without having to remove anything.

Arantor

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.

aw06

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

plusev

Would you consider moving it to the right for me or letting me know how? Thx

Arantor

Moving to the right depends very much on your theme.

Impsat-1

#46
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).-
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 ;).-


Arantor

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:
<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)
<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.

plusev

That worked perfectly. Thx Arantor

Sudhakar Arjunan

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

jmil

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

Arantor

Thanks :) Good to know it's working for you.

jmil

Its nice when a plan comes together - Where is your Donation Link??

Arantor

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.

aw06

Quote from: jmil 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

Somehow the share images look smaller on your forums  :P

Quote from: Arantor 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.

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

jmil

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??

Arantor

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)

jmil

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!

aw06

Quote from: Arantor on September 28, 2009, 02:51:03 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

Advertisement: