Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Oliver

    (@mcbluna)

    Thanks a lot Robin ?? You’re the best.

    Thread Starter Oliver

    (@mcbluna)

    I’m not aware of any problems with the user view.

    Thread Starter Oliver

    (@mcbluna)

    In the file subscriptions_management.php you’ve used site_url()

    I did a search over my complete plugin folder and only bbp-private-groups and bbp-style-pack popped up

    Search "<a href="/wp-admin" (17 hits in 8 files of 6123 searched) [Extended]
    plugins/bbp-private-groups/includes/meta-box.php (1 hit)
    plugins/bbp-style-pack/includes/functions_admin.php (8 hits)
    plugins/bbp-style-pack/includes/settings_block_widgets.php (1 hit)
    plugins/bbp-style-pack/includes/settings_moderation.php (1 hit)
    plugins/bbp-style-pack/includes/settings_theme_support.php (1 hit)
    plugins/bbp-style-pack/includes/settings_topic_reply_display.php (1 hit)
    plugins/bbp-style-pack/includes/subscriptions_management.php (1 hit)
    plugins/bbp-style-pack/templates/bbpress.php (3 hits)

    Then I did a regex search and all other plugins uses site_url()

    Search "href=.*/wp-admin/.*" (34 hits in 12 files of 6123 searched) [RegEx]
    plugins/bbp-private-groups/includes/meta-box.php (1 hit)
    Line 78: <label for="group_topics"><?php _e('Please see the <a href="/wp-admin/options-general.php?page=bbp-private-group-settings&tab=topic_permissions" target="_blank">Topic Permissions settings</a> to understand the impact of this', 'bbp-private-groups'); ?></label>
    plugins/bbp-style-pack/includes/functions_admin.php (8 hits)
    Line 56: echo '<a href="/wp-admin/edit.php?post_type=topic&amp;bsp_forum_id='.$forum_id.'&amp;bsp_checkf=1">'.bbp_get_forum_topic_count( $forum_id ).'</a>' ;
    Line 60: echo '<a href="/wp-admin/edit.php?post_type=reply&amp;bbp_forum_id='.$forum_id.'&amp;bsp_checkf=1">'.bbp_get_forum_reply_count( $forum_id ).'</a>' ;
    Line 119: echo '<a href="/wp-admin/edit.php?post_type=topic&amp;author='.$author_id.'">'.bbp_get_topic_author_display_name( $topic_id ).'</a>' ;
    Line 123: echo '<a href="/wp-admin/edit.php?post_type=reply&amp;bbp_topic_id='.$topic_id.'&amp;bsp_checkt=1">'.bbp_get_topic_reply_count( $topic_id ).'</a>' ;
    Line 128: echo '<a href="/wp-admin/edit.php?post_type=topic&amp;bbp_forum_id='.$forum_id.'">'.bbp_get_forum_title( $forum_id ).'</a>' ;
    Line 160: echo '<a href="/wp-admin/edit.php?post_type=reply&amp;author='.$author_id.'">'.bbp_get_reply_author_display_name( $reply_id ).'</a>' ;
    Line 220: $retval = '<a href="/wp-admin/edit.php?post_type=topic&amp;author='.$user_id.'">'.bbp_get_user_topic_count ($user_id).'</a>' ;
    Line 223: $retval = '<a href="/wp-admin/edit.php?post_type=reply&amp;author='.$user_id.'">'.bbp_get_user_reply_count ($user_id).'</a>' ;
    plugins/bbp-style-pack/includes/settings_block_widgets.php (1 hit)
    Line 104: echo '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=la_widget">' ;
    plugins/bbp-style-pack/includes/settings_moderation.php (1 hit)
    Line 76: <?php _e('<strong>NOTE- </strong>Once activated the settings are in Dashboard>settings>forums - click <a href="/wp-admin/options-general.php?page=bbpress/#bsp-moderation" > here</a>', 'bbp-style-pack'); ?>
    plugins/bbp-style-pack/includes/settings_subscriptions_management.php (3 hits)
    Line 115: echo '<a href="' . site_url() . '/wp-admin/edit.php?post_type=forum' . '">' ;
    Line 122: echo '<a href="' . site_url() . '/wp-admin/edit.php?post_type=topic' . '">' ;
    Line 128: echo '<a href="' . site_url() . '/wp-admin/users.php' . '">' ;
    plugins/bbp-style-pack/includes/settings_theme_support.php (1 hit)
    Line 151: echo '<a href="/wp-admin/options-general.php?page=bbpress">' ;
    plugins/bbp-style-pack/includes/settings_topic_reply_display.php (1 hit)
    Line 1204: echo '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=topic_index_styling">' ;
    plugins/bbp-style-pack/includes/subscriptions_management.php (8 hits)
    Line 39: $actions['mng_subscr'] = '<a href="' . site_url() . '/wp-admin/edit.php?post_type=forum&page=forum_subscriptions&forum_id=' . $post->ID . '">' . __( 'Subscriptions', 'bbp-style-pack' ) . '</a>';
    Line 53: $actions['mng_subscr'] = '<a href="' . site_url() . '/wp-admin/edit.php?post_type=forum&page=forum_subscriptions&topic_id=' . $post->ID . '">' . __( 'Subscriptions', 'bbp-style-pack' ) . '</a>';
    Line 66: $actions['mng_subscr'] = '<a href="' . site_url() . '/wp-admin/edit.php?post_type=forum&page=forum_subscriptions&user_id=' . $user_object->ID . '">' . __( 'Subscriptions', 'bbp-style-pack' ) . '</a>';
    Line 85: echo '<a class="preview button" href="' . site_url() . '/wp-admin/edit.php?post_type=forum&page=forum_subscriptions&forum_id=' . $forum_id . '">'; _e('Manage Subscriptions', 'bbp-style-pack'); echo ' (' . $subscriber_count . ')</a>';
    Line 222: echo '<p>'.__('To manage subscriptions of a forum', 'bbp-style-pack').', <a href="' . site_url() . '/wp-admin/edit.php?post_type=forum' . '">'.__('edit the forums', 'bbp-style-pack').'</a>'.__(' and click on "Subscriptions" as an action of the forum, or edit the forum and find the "Manage Subscriptions" button (somewhere below the Forum Attributes)', 'bbp-style-pack').'</p>';
    Line 223: echo '<p>'.__('To manage subscriptions of topics', 'bbp-style-pack').', <a href="' . site_url() . '/wp-admin/edit.php?post_type=topic' . '">'.__('edit the topics', 'bbp-style-pack').'</a>'.__(' and find "Subscriptions" as an action for each topic.', 'bbp-style-pack').'</p>';
    Line 224: echo '<p>'.__('To manage subscriptions for a user', 'bbp-style-pack').', <a href="' . site_url() . '/wp-admin/users.php' . '">'.__('edit the users', 'bbp-style-pack').'</a>'.__(' and find "Subscriptions" as an action for each user.', 'bbp-style-pack').'</p>';
    Line 712: $link = '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=email">' ;
    plugins/bbp-style-pack/templates/bbpress.php (3 hits)
    Line 69: echo '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=bsp_block_theme">' ;
    Line 92: echo '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=bsp_block_theme">' ;
    Line 112: echo '<a href="/wp-admin/options-general.php?page=bbp-style-pack&tab=bsp_block_theme">' ;
    plugins/likebtn-like-button/includes/tab_buttons.php (1 hit)
    Line 814: array('%admin_ajax%'=>'<a href="'.admin_url('admin-ajax.php').'" target="_blank">/wp-admin/admin-ajax.php</a>')) ?></p>
    plugins/likebtn-like-button/includes/tab_votes.php (1 hit)
    Line 324: array('%admin_ajax%'=>'<a href="'.admin_url('admin-ajax.php').'" target="_blank">/wp-admin/admin-ajax.php</a>')) ?>
    plugins/media-library-plus/media-library-plus.php (5 hits)
    Line 2953: <a class='media-attachment' href='<?php echo esc_url_raw(site_url() . "/wp-admin/upload.php?item=" . $row->ID ) ?>'><img alt='<?php echo esc_html($row->post_title . '.' . $ext) ?>' src='<?php echo esc_url($thumbnail) ?>' /></a>
    Line 2987: echo ' <p><a href="' . site_url() . '/wp-admin/admin.php?page=mlf-folders8">Back to Media Library Folders</a></p>' . PHP_EOL;
    Line 3075: echo " <a class='$class' href='" . site_url() . "/wp-admin/admin.php?page=mlf-folders8&media-folder=" . $row->ID . "'><img alt='' src='$thumbnail' /></a>" . PHP_EOL;
    Line 3078: echo " <a class='$class mlfp-protected $author_class' data-id='$row->ID' href='" . site_url() . "/wp-admin/admin.php?page=mlf-folders8&media-folder=" . $row->folder_id . "'><img class='attachment-thumbnail' alt='' src='$thumbnail' /></a>" . PHP_EOL;
    Line 3080: echo " <a class='$class' data-id='$row->ID' href='" . site_url() . "/wp-admin/admin.php?page=mlf-folders8&media-folder=" . $row->folder_id . "'><img class='attachment-thumbnail' alt='' src='$thumbnail' /></a>" . PHP_EOL;
    Thread Starter Oliver

    (@mcbluna)

    Under Generel / Settings this is configured

    WordPress Address (URL) https://www.mcbluna.net/wp
    Site Address (URL) https://www.mcbluna.net/wp

    • This reply was modified 1 year, 1 month ago by Oliver.
    Thread Starter Oliver

    (@mcbluna)

    Setting WP_SITEURL didn’t work.

    Thread Starter Oliver

    (@mcbluna)

    Maybe it’s caused because the variable WP_SITEURL is not defined in wp-config.php. I’ll try it.

    Thread Starter Oliver

    (@mcbluna)

    Yes it is. I’ve found it on the moderation setting page:

    NOTE-?Once activated the settings are in Dashboard>settings>forums – click?here

    “here” is pointing to https://www.mcbluna.net/wp-admin/options-general.php?page=bbpress/#bsp-moderation, but in my case it should be https://www.mcbluna.net/wp/wp-admin/options-general.php?page=bbpress/#bsp-moderation

    I’ve fixed it manually in the php file and then it works.

    Thread Starter Oliver

    (@mcbluna)

    Robin you are awesome ??

    I was hoping for something like that. Just wonder why no one else brought it up yet.

    Thank you very much
    Oliver

    Thread Starter Oliver

    (@mcbluna)

    Thank you for your response ??

    Here is what I change every time

    //editor bbpress
    function bsp_enable_visual_editor( $args = array() ) {
    global $bsp_style_settings_form;
    $args['tinymce'] = array(
    'height' => 500,
    'toolbar1' => 'newdocument restoredraft undo redo | styleselect | bold italic underline strikethrough superscript subscript forecolor backcolor | link unlink | image | alignleft aligncenter alignright | bullist numlist outdent indent | cut copy paste pastetext | removeformat | visualblocks | preview',
    'plugins' => 'advlist autolink autoresize colorpicker image link lists paste preview textcolor visualblocks wordpress autosave',
    'menubar' => false,
    'statusbar' => false,
    'branding' => false,
    'autosave_restore_when_empty' => true,
    'textcolor_cols' => '10',
    'textcolor_rows' => '6',
    'textcolor_map' => '["000000","Black","993300","Burnt orange","333300","Dark olive","003300","Dark green","003366","Dark azure","000080","Navy Blue","333399","Indigo","333333","Very dark gray","800000","Maroon","FF6600","Orange","808000","Olive","008000","Green","008080","Teal","0000FF","Blue","666699","Grayish blue","808080","Gray","FF0000","Red","FF9900","Amber","99CC00","Yellow green","339966","Sea green","33CCCC","Turquoise","3366FF","Royal blue","800080","Purple","999999","Medium gray","FF00FF","Magenta","FFCC00","Gold","FFFF00","Yellow","00FF00","Lime","00FFFF","Aqua","00CCFF","Sky blue","993366","Red violet","FFFFFF","White","FF99CC","Pink","FFCC99","Peach","FFFF99","Light yellow","CCFFCC","Pale green","CCFFFF","Pale cyan","99CCFF","Light sky blue","CC99FF","Plum"
    ,"CCCCCC","cli default","F9F1A5","cli command","13A10E","cli option","61D6D6","cli option params","3B78FF","cli parameter","E74856","cli error","B4009E","cli stacktrace"
    ,"F2F2F2","log info","13A10E","log debug","C19C00","log trace","3A96DD","log warn","C50F1F","log error","881798","log fatal"
    ]'
    );
    //if full visual
    if ($bsp_style_settings_form['Show_editorsactivate'] == 3 || $bsp_style_settings_form['Show_editorsactivate'] == 4) {
    $args ['teeny'] = false ;
    }
    //if not showing editor as well
    if ($bsp_style_settings_form['Show_editorsactivate'] == 1 || $bsp_style_settings_form['Show_editorsactivate'] == 3) $args['quicktags'] = false;
    return $args;
    }

    Just wanted to give feedback. In my case the plugin ‘GDPR Cookie Consent Banner’ caused the issue. When ‘GDPR Cookie Consent Banner’ is deactivated everything works as expected.

    I’ve installed it yesterday and I’ve wondered myself why the Like icon color is not customizable.
    But with this CSS in Custom CSS (Settings/Miscellaneous) you can override it:

    .lb-style-custom .lb-like .lb-a {
      color: #ffffff;
    }
    • This reply was modified 4 years, 2 months ago by Oliver. Reason: format css

    Me too

    jQuery.Deferred exception: this._addClass is not a function _create@https://www.mcbluna.net/wp/wp-includes/js/jquery/ui/draggable.min.js?ver=1.12.1:9:685
    t.widget/</l[e]</<@https://www.mcbluna.net/wp/wp-content/plugins/media-library-plus/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?ver=5.6:6:4700
    _createWidget@https://www.mcbluna.net/wp/wp-content/plugins/media-library-plus/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?ver=5.6:6:6769
    t.widget/t[h][e]@https://www.mcbluna.net/wp/wp-content/plugins/media-library-plus/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?ver=5.6:6:4258
    t.widget.bridge/t.fn[e]/<@https://www.mcbluna.net/wp/wp-content/plugins/media-library-plus/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?ver=5.6:6:6041
    each@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:2976
    each@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:1454
    t.widget.bridge/t.fn[e]@https://www.mcbluna.net/wp/wp-content/plugins/media-library-plus/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?ver=5.6:6:5951
    @https://www.mcbluna.net/wp/wp-admin/admin.php?page=media-library-folders line 2 > injectedScript:4:43
    e@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30005
    l/</t<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30307
    setTimeout handler*l/<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30516
    c@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:28294
    add@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:28572
    then/<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30612
    s.Deferred@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:5:11068
    then@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30541
    S.fn.ready@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:31831
    @https://www.mcbluna.net/wp/wp-admin/admin.php?page=media-library-folders line 2 > injectedScript:2:22
    b@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:839
    Pe@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:48536
    append@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:49887
    html/<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:50979
    $@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:32392
    html@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:50657
    success@https://www.mcbluna.net/wp/wp-admin/admin.php?page=media-library-folders:373:43
    c@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:28294
    fireWith@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:29039
    l@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:79800
    o/<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:82254
    EventHandlerNonNull*send@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:82440
    ajax@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:78223
    s.ajax@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:5:3931
    @https://www.mcbluna.net/wp/wp-admin/admin.php?page=media-library-folders:365:12
    e@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30005
    l/</t<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30307
    setTimeout handler*l/<@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:30516
    c@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:28294
    fireWith@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:29039
    fire@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:29075
    c@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:28294
    fireWith@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:29039
    ready@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:32012
    B@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:31791
    EventListener.handleEvent*@https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:32160
    @https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:220
    @https://www.mcbluna.net/wp/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6:2:225
     undefined
Viewing 12 replies - 1 through 12 (of 12 total)