2018-06-13, 07:49 AM
Hello,
I'm using https://github.com/stewartiee/Steam-Open...mlogin.php
and its adding a link to steam link in usercp by
but i want to have translation to this link text "Link to Steam Account" how would i modify the plugin to allow translation?
thanks for your help
------------------------------- edit ---------------------------------
i figured it out
learned from https://community.mybb.com/mods.php?action=view&pid=602
I'm using https://github.com/stewartiee/Steam-Open...mlogin.php
and its adding a link to steam link in usercp by
$usercp_nav_link_edit = '<tr><td class="trow1 smalltext"><a href="usercp.php?action=steam_link" class="usercp_nav_item" style="background-image: url(inc/plugins/steamlogin/img/steam_icon.png);background-position:0;background-repeat:no-repeat;">Link to Steam Account</a></td></tr>';
function steamlogin_activate()
{
......
// Add a link to our new User CP page.
find_replace_templatesets(
'usercp_nav_misc',
'#' . preg_quote('id="usercpmisc_e">') . '#i',
'id="usercpmisc_e">' . $usercp_nav_link_edit
);
}
but i want to have translation to this link text "Link to Steam Account" how would i modify the plugin to allow translation?
thanks for your help
------------------------------- edit ---------------------------------
i figured it out
learned from https://community.mybb.com/mods.php?action=view&pid=602