Addthis button in first post

Started by franklinrony, June 02, 2009, 12:40:11 AM

Previous topic - Next topic

backend

Quote from: frony on June 16, 2009, 02:26:43 PM
open your Modifications.english.php and search at  the end if you have this code

?>
// Addthis button
$txt['addthis_admin']='Addthis panel';
$txt['addthis_active']='Check for activate AddThis button in first post';
$txt['addthis_pub']='Addthis user';
$txt['addthis_brand']='Name of site';
$txt['addthis_language']='Addthis interface language';
$txt['addthis_options']='Add you social links';


change to this

// Addthis button
$txt['addthis_admin']='Addthis panel';
$txt['addthis_active']='Check for activate AddThis button in first post';
$txt['addthis_pub']='Addthis user';
$txt['addthis_brand']='Name of site';
$txt['addthis_language']='Addthis interface language';
$txt['addthis_options']='Add you social links';
?>

this a forum problem, i`m test the mod and work fine :)



Thanks for the help, but i cant find that code, even after applying the package, and it is actually working too.

franklinrony

piut your modifications.english.php
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

backend

Here you go:

<?php
// Version: 1.1; Modifications

$txt['youtube'] = 'YouTube';

$txt['bookmarks'] = 'My Bookmarks';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.';
$txt['bookmark_open_window'] = 'Open in new window';
$txt['bookmark_delete'] = 'Delete bookmark';
$txt['bookmark_delete_success'] = 'The bookmark was deleted successfully!';
$txt['bookmark_delete_failure'] = 'The bookmark couldn\'t be deleted.';
$txt['bookmark_add'] = 'Add bookmark';
$txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!';
$txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!';
$txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';

$txt['bookmarks'] = 'My Bookmarks';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.';
$txt['bookmark_open_window'] = 'Open in new window';
$txt['bookmark_delete'] = 'Delete bookmark';
$txt['bookmark_delete_success'] = 'The bookmark was deleted successfully!';
$txt['bookmark_delete_failure'] = 'The bookmark couldn\'t be deleted.';
$txt['bookmark_add'] = 'Add bookmark';
$txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!';
$txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!';
$txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';


$txt['gsm_read_more'] = 'Read More...';
$txt['gsm_comment'] = 'New Comment';
$txt['pleasebuymeabeer'] = 'Buy Me A Beer';
$txt['buymeabeeralt'] = 'Buy Me A Beer Through Paypal';
$txt['buymeabeer'] = 'PayPal Address For Users To Buy You A Beer';
$txt['profile_error_bad_paypal'] = 'The PayPal Address you entered was not a valid email address';
$txt['profile_error_paypal_taken'] = 'The PayPal Address you entered is already in use by another member';
$txt['buymeabeer_desc'] = 'Allows users to reward you for your posts';         

$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';?>






Thanks in advance

backend

Any update or help with my last post? thank you

franklinrony

attach the Modifications.english.php to view the modifcation  :)
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

backend

I already posted it above. Do you want me to attach it instead ?

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

backend

Here you go: thanks a lot in advance


franklinrony

i dont see the lines for addthis mod, whatever, try now, only add those lines

Quote// Addthis button
$txt['addthis_admin']='Addthis panel';
$txt['addthis_active']='Check for activate AddThis button in first post';
$txt['addthis_pub']='Addthis user';
$txt['addthis_brand']='Name of site';
$txt['addthis_language']='Addthis interface language';
$txt['addthis_options']='Add you social links';

and close properly the php file  :P
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

dreaded

#29
Hello,
  I've been able to install it on the default theme and its working great. However, the edit on the babylon theme in the Display.template.php is quite different.

So which code should i edit in the Display.template.php on the babylon theme?

PS:My ./babylon/Display.template.php // Show the topic information - icon, subject, etc.
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="titlebg">
<td valign="middle" width="15%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" alt="" align="middle" /> ', $txt[29], '
</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>


The code on the./default/Dispaly.template.php has </td>
</tr>';


but the one in ./babylon.Display.template.php has a </td>
</tr>
.

So how do i edit my ./babylon/Display.template.php for this Mod to work in my babylon theme?

thnx.

dreaded

Quote from: dreaded on September 05, 2009, 04:44:38 AM
Hello,
  I've been able to install it on the default theme and its working great. However, the edit on the babylon theme in the Display.template.php is quite different.

So which code should i edit in the Display.template.php on the babylon theme?

PS:My ./babylon/Display.template.php // Show the topic information - icon, subject, etc.
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="titlebg">
<td valign="middle" width="15%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" alt="" align="middle" /> ', $txt[29], '
</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>


The code on the./default/Dispaly.template.php has </td>
</tr>';


but the one in ./babylon.Display.template.php has a </td>
</tr>
.

So how do i edit my ./babylon/Display.template.php for this Mod to work in my babylon theme?

thnx.

Resolved! :D

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

humbleworld

Hi, will it work in SMF 1.1.10 Version? I am very interested in this MOD.

humbleworld

Hello Frony, I installed this MOD in 1.1.10. Perfect. No problem in the installation. Thanks for this MOD. Been waiting for this kind of feature in our site.

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Arantor

frony, would you mind marking this mod as being 1.1.10 compliant on the mod's page if it works without any changes?
Holder of controversial views, all of which my own.


franklinrony

Quote from: Arantor on October 20, 2009, 07:31:00 PM
frony, would you mind marking this mod as being 1.1.10 compliant on the mod's page if it works without any changes?
done :)
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Arantor

Holder of controversial views, all of which my own.


Srinib

Can someone provide the results of the screen shots or url for the site which used this MOD?

TomW

Are you planning on updating the mod so that it is compatible with SMF 2.0 RC2 ?

Advertisement: