]> git.mxchange.org Git - friendica-addons.git/commitdiff
Update newmemberwidget with new global support forum
authorS.Krumbholz <alfred@skrumbholz.de>
Thu, 12 Oct 2017 13:44:00 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2017 13:44:00 +0000 (15:44 +0200)
I've changed the path of the global support forum to https://forum.friendi.ca/profile/helpers.

newmemberwidget/newmemberwidget.php

index 437b47b1d2b2cc8fdd7dff7bfba441fc7a345f40..d837efc24d8b98902df88f4964e598f138f3807d 100644 (file)
@@ -23,7 +23,7 @@ function newmemberwidget_network_mod_init ( $a, $b) {
        $t .= '<h3>'.t('New Member').'</h3>'.EOL;
        $t .= '<a href="newmember" id="newmemberwidget-tips">' . t('Tips for New Members') . '</a><br />'.EOL;
        if (get_config('newmemberwidget','linkglobalsupport')==1)
-           $t .= '<a href="https://helpers.pyxis.uberspace.de/profile/helpers" target="_new">'.t('Global Support Forum').'</a><br />'.EOL;
+           $t .= '<a href="https://forum.friendi.ca/profile/helpers" target="_new">'.t('Global Support Forum').'</a><br />'.EOL;
        if (get_config('newmemberwidget','linklocalsupport')==1)
            $t .= '<a href="'.$a->get_baseurl().'/profile/'.get_config('newmemberwidget','localsupport').'" target="_new">'.t('Local Support Forum').'</a><br />'.EOL;
        $ft = get_config('newmemberwidget','freetext');
@@ -50,7 +50,7 @@ function newmemberwidget_plugin_admin(&$a, &$o){
     $o = replace_macros($t, array(
        '$submit' => t('Save Settings'),
        '$freetext' => array( "freetext", t("Message"), get_config( "newmemberwidget", "freetext" ), t("Your message for new members. You can use bbcode here.")),
-       '$linkglobalsupport' => array( "linkglobalsupport", t('Add a link to global support forum'), get_config( 'newmemberwidget', 'linkglobalsupport'), t('Should a link to the global support forum be displayed?')." (<a href='https://helpers.pyxis.uberspace.de/profile/helpers'>@helpers</a>)"),
+       '$linkglobalsupport' => array( "linkglobalsupport", t('Add a link to global support forum'), get_config( 'newmemberwidget', 'linkglobalsupport'), t('Should a link to the global support forum be displayed?')." (<a href='https://forum.friendi.ca/profile/helpers'>@helpers</a>)"),
        '$linklocalsupport' => array( "linklocalsupport", t('Add a link to the local support forum'), get_config( 'newmemberwidget', 'linklocalsupport'), t('If you have a local support forum and want to have a link displayed in the widget, check this box.')),
        '$localsupportname' => array( "localsupportname", t('Name of the local support group'), get_config( 'newmemberwidget', 'localsupport'), t('If you checked the above, specify the <em>nickname</em> of the local support group here (i.e. helpers)')),
     ));