News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Share This Topic

Started by All Colours Sam, September 06, 2009, 05:09:23 AM

Previous topic - Next topic

Arantor

And if it doesn't, it's the Themes/default/Display.template.php file...
Holder of controversial views, all of which my own.


playdiune

Quote from: 130860 on March 28, 2010, 10:43:49 PM
Quote from: playdiune on March 28, 2010, 10:21:26 PM
[


I would like also to have the images align on the right. How can i do it ? thanks



open your ./Themes/default/Display.template.php   and find this:

<div class="plainbox" style="text-align: left;">', $social_icons, '</div>



and changed to    <div class="plainbox" style="text-align: right;">', $social_icons, '</div>


if you want to remove the box  just take out the div class  like this:

<div  style="text-align: right;">', $social_icons, '</div>


I am using version 1.1.11. I cant finf that code on display.template.php.
And on this version i see no boxe around the images. here is my example:



hope you can help me. thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

mirahalo

@playdiune  please attach your display.template.php   the code is a bit different on 1.1.11

playdiune

As you can see i added the code to appear also on the end of the post.



As you can see on this post i changed also the original location of the images. I just would like them ( on the top ) to appear on the right.

thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

mirahalo


playdiune

My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

wrinkle

Quote from: 130860 on March 29, 2010, 11:09:21 AM
@wrinkle   as Arantor said this mod  modifies the display.template.php file, does your theme have that file?   if so, please attach it here.

That particular theme does not have a display.template.php. 

I have attached the display.template.php file from the themes/default/ location. 


mirahalo

mmm weird, attached file its fine,  does the mod work on the default theme?

any errors during the install?   

please attach your ./Sources/ModSettings.php   file

wrinkle

Quote from: 130860 on March 29, 2010, 09:05:16 PM
mmm weird, attached file its fine,  does the mod work on the default theme?

any errors during the install?   

please attach your ./Sources/ModSettings.php   file

It works fine on the default theme. 

ModSettings.php attached.

mirahalo

alright, please download the mod, unzipped and upload the folder named "share"   to  /Themes/ your theme/ images

wrinkle

Quote from: 130860 on March 29, 2010, 10:16:12 PM
alright, please download the mod, unzipped and upload the folder named "share"   to  /Themes/ your theme/ images

That did it.  Thanks for the help.  I would have never figured that one out.

mirahalo

yeah I completely forgot about the share folder :P     I had to install the mod and the theme on local to figure it out lol :P

Arantor

You could also have followed the parse instructions on the mod site, that would have mentioned the share folder too ;)
Holder of controversial views, all of which my own.


scimmiotto

Arantor great mod this (as usual). is there any change to set permission on users to not share the posts?
Loop code example:
The following statement is FALSE
The previous statement is TRUE.

Arantor

Quote from: scimmiotto on April 10, 2010, 02:35:06 PM
Arantor great mod this (as usual). is there any change to set permission on users to not share the posts?

I gave this mod away months ago. I never planned to put permissions in it but it's certainly possible to do.
Holder of controversial views, all of which my own.


mirahalo

Quote from: scimmiotto on April 10, 2010, 02:35:06 PM
Arantor great mod this (as usual). is there any change to set permission on users to not share the posts?


not so sure to do this,  the way I see it, the mod is for sharing, adding permissions will cut that,   but if you like I can post some instructions  on how to use the smf permission system  with this mod, just tell me your smf version.


and oh yeah, all the kudos goes to Arantor ;)

scimmiotto

Loop code example:
The following statement is FALSE
The previous statement is TRUE.

Arantor

Holder of controversial views, all of which my own.


FlatFX

Sooooooo  :D
http://vkontakte.ru/share.php [nofollow]  ;)

Open Display.template.php
Find:
'facebook' => 'http://www.facebook.com/share.php?u=%s',
Add before:
'vkontakte' => 'http://vkontakte.ru/share.php?url=%s',
Open ModSettings.php
Find:
'facebook', 'myspace',
Add before:
'vkontakte', Open Modifications.english.php
Find:
$txt['share_facebook'] = 'Facebook';
Add before:
$txt['share_vkontakte'] = 'Vkontakte';

Put into "/Themes/default/images/share/" this GIF http://img232.imageshack.us/img232/6842/vkontakte.gif [nofollow]

Enjoy!  ;)

mirahalo

mmm, is this vkontakte some sort of social network?    oh, I see it now, thanks, I will added on the next release ;)

Advertisement: