ronthai (@ronthai)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 69 total)

  • ronthai
    Participant

    @ronthai

    Yes, now I see it, but have no idea, but looking at the link you gave ..

    body.bbPress should be body.bbpress for one (no CAPITAL B)
    You could try the ” ! important ” attribute with it just before the “;”

    and what the “>” are doing in the css, is something I have never seen

    But since the menu does not come from bbPress, but from the WP side, maybe you should look there.

    Sorry, could not be of more (any) help


    ronthai
    Participant

    @ronthai

    Nevermind, I found the problem. I remembered I did this before:

    I have a statistics plugin that uses the server time instead of the WP timezone settings.

    Therefore I added <?php date_default_timezone_set('Asia/Bangkok'); ?> to the plugins php and that was in the sidebar always present.

    Now I removed it the Edit Allowed Time works correct.


    ronthai
    Participant

    @ronthai

    I just did some more checking and set the UTC to the standard UTC+0

    That made no diference on new posts edit time, still had to set it above 420 minutes.
    I think this means that the edit time is related to the IP address/location, since my location is UTC+7

    To test this you could use a VPN and pretend to be in an other location/timezone.


    ronthai
    Participant

    @ronthai

    Yes, UTC+7 in options-general.php

    I have the time display on custum (j F Y), but that should not interfere.


    ronthai
    Participant

    @ronthai

    You are saying it looks right for me, but not for you. Then maybe this is the issue you have:

    If you are using IE as a browser,
    it needs a hard/forced refresh after every css edit: CTRL+F5

    FireFox, does not need hard/forced refresh


    ronthai
    Participant

    @ronthai

    I still don’t see any “wrong” color links.
    This is what I see (3 pages partial views)
    1. after login: http://img706.imageshack.us/img706/5176/x9mb.jpg
    2. main forum: http://img62.imageshack.us/img62/7595/v84r.jpg
    3. topics: http://img43.imageshack.us/img43/2623/ni4f.jpg

    Also, not sure if you intended, but the user/pwd you gave, gives access to the WordPress admin area as FULL Admin. I could create, delete anything.


    ronthai
    Participant

    @ronthai

    Have you solved this?

    I seem to have the same (bbpress 2.5.1) participants do not see the edit link. I have it set to 60 minutes in the settings.
    I reverted back to theme TwentyThirteen, but the same issue.


    ronthai
    Participant

    @ronthai

    Strange, I just never got to see the right bar with the login, but now I can see it.

    But I don’t know what you mean with the navigation highlight.
    All you links (breadcrum, forum, sub-forums,topics) are a middle blue color and get just a little bit lighter when hovering over them.


    ronthai
    Participant

    @ronthai

    I looked at this a few days ago and I and probably others also have not got a clue what you are talking about.

    You give a user/pwd, why? There is not place to login in.
    Just a header logo with a strange link to the same page and very large text and a footer with a link to another site.

    In reply to: Hide Sidebar

    ronthai
    Participant

    @ronthai

    It helps if we know which theme you use.

    OK, you want the avatar (profile image) in members
    What members page do you mean? The avatar is already in the users profile page, well it should be. As far as I know bbPress offers no full list of all members.


    ronthai
    Participant

    @ronthai

    Darn, 10 minutes just past, could not edit anymore.
    Why are we doing so difficult?
    Simple css did the job as always: .bbpress .wpns_wrapper { display:none ! important;}


    ronthai
    Participant

    @ronthai

    Nothing seems to work, either gone WP side also or no changes.

    Maybe it could be done inside the php?
    Only if it is easy, the page number under the forums page is not the end of the world.

    
    /*
    Plugin Name: Page navi slider
    Plugin URI: 
    Description: An advanced, fully customizable and actually responsive navigation plugin using jQuery slider 
    Version: 1.2.2
    Author: Iznogood1
    Author URI: denisns1@free.fr
    */
    
    //Installation / Uninstallation
    require_once(dirname( __FILE__ ) . '/inc/install.php');
    
    //Administration
    require_once(dirname( __FILE__ ) . '/inc/settings.php');
    
    //Display the plugin
    require_once(dirname( __FILE__ ) . '/inc/frontend.php');
    
    //Version
    function wpns_version(){
    	$v=get_plugin_data(__File__);
    	return $v['Version'];
    }
    
    //Load style and JS
    function wpns_style_and_scripts() {
    	wp_register_style('page_navi_slider_style', plugins_url('style/page-navi-slider.css', __FILE__) );
      wp_enqueue_style('page_navi_slider_style' );
    	wp_enqueue_script('page-navi-slider-script',  plugins_url('/js/page-navi-slider.min.js', __FILE__),	array( 'jquery', 'jquery-ui-slider' ), true);
    	wp_enqueue_script('jQueryUiTouch',  plugins_url('/js/jquery.ui.touch-punch.min.js', __FILE__),	array( 'jquery' ), true);
    	if(ereg('MSIE 7',$_SERVER['HTTP_USER_AGENT'])){
    		wp_register_style('page_navi_slider_styleIE', plugins_url('style/page-navi-slider.ie.css', __FILE__) );
    		wp_enqueue_style('page_navi_slider_styleIE' );
    	} 
    }
    
    //Localization
    load_plugin_textdomain( 'page-navi-slider', '', dirname( plugin_basename( __FILE__ ) ) . '/lang' );
    
    //Actions and filtes
    add_action( 'wp_enqueue_scripts', 'wpns_style_and_scripts' );
    register_activation_hook(__FILE__, 'wpns_install' ); 
    register_deactivation_hook(__FILE__, 'wpns_remove_auto_display' ); 
    register_uninstall_hook(__FILE__, 'wpns_uninstall');
    wpns_auto_display();
    
    //Main function
    function page_navi_slider(){
    	//Prepare pagination	
    	global $wp_query, $wp_rewrite;
    	$wp_query->query_vars['paged'] > 1 ? $current = $wp_query->query_vars['paged'] : $current = 1;
    	$pagination = array(
    		'base' => @add_query_arg('page','%#%'),
    		'total' => $wp_query->max_num_pages,
    		'current' => $current,
    		'show_all' => all,
    		'type' => 'array',
    		prev_next => false,
    	);
    	
    	if( $wp_rewrite->using_permalinks() )
    		$pagination['base'] = user_trailingslashit( trailingslashit( remove_query_arg( 's', get_pagenum_link( 1 ) ) ) . 'page/%#%/', 'paged' );
    	
    	if( !empty($wp_query->query_vars['s']) )
    		$pagination['add_args'] = array( 's' => str_replace( ' ' , '+', get_query_var( 's' ) ) );
    	
    	//Display the plugin
    	$page_links=paginate_links( $pagination );
    	wpns_frontend($current,$wp_query->max_num_pages,$page_links,get_option('wpns_settings'));
    }
    

    ronthai
    Participant

    @ronthai

    Nope, also removes it from the WP side


    ronthai
    Participant

    @ronthai

    OK thanks added some to the trac 1918


    ronthai
    Participant

    @ronthai

    Thanks,
    It is only 1 change in the widget.php, so just changed the core file.
    line 871 (bbPress2.5.1) bbp_topic_last_active_time to bbp_topic_post_date


    ronthai
    Participant

    @ronthai

    Has anybody got this already also for the Recent Replies widget?


    ronthai
    Participant

    @ronthai

    To style the widget use this, I did it to mine and now is just a background with text and lines.
    Title stripped, border stripped, ect.
    Adjust it as needed.

    #bbp_replies_widget-2 {width: 400px ! important; height: 500px ! important;  float:right;}
    #bbp_replies_widget-2 .widget-title { display:none ! important }
    #bbp_replies_widget-2 { border: none ! important; box-shadow: none ! important; background-color: #DDE8F4 ! important; }
    

    It could be that yours has a different number #bbp_replies_widget-2, so maybe 1 or 3 or 4
    You can find it in the Page Source of your forum or use Firebug
    I use the ID instead of the class, incase of using the widget more then once. Then you can style them separate.


    ronthai
    Participant

    @ronthai

    I would like the Recent Replies widget to have a setting to select for which forum(s), just like the Recent Topics has.


    ronthai
    Participant

    @ronthai

    This problem of replies not showing also happens here on this bbPress Support forum.
    It happened to me 3 times that the reply did not show and after I made a second reply to the same topic they both showed up.


    ronthai
    Participant

    @ronthai

    My guess is the problem with the post order changes, when an admin does an edit will not be solved anytime soon.
    Therefore I created my own solution and removed the “Reply” from the topic and replies, which in my case is the cause from the problem. I already had a QUOTE link in there from a plugin, so that solved the reply to reply issue anyway.

    I also added a “Post New Reply” button at the top of the topic page.
    Had a “Post New Topic” button already in the Topics overview.


    ronthai
    Participant

    @ronthai

    Solved this with an extra link in the menu or in the admin bar if you use the plugin “Blue Admin”
    https://wordpress.org/plugins/blue-admin/other_notes/

    Instruction are here:

    Menu link to Profile

    In reply to: Menu link to Profile

    ronthai
    Participant

    @ronthai

    If your theme supports blank pages (Page Attributes), use that to give the “illusion” that it is not a redirect.

    The above link+php is for the edit page.
    If you look at the link after URL you see: partial_url/php_code/last_part_of_the_URL

    The last part of the URL is what you have to change for the topics, replies, favorites, subscriptions or edit

    In reply to: Menu link to Profile

    ronthai
    Participant

    @ronthai

    I just added to my menu all forum links from a user:
    topics, replies, favorites, subscriptions, edit
    all under 1 main “Your Forum Settings & Stats” Dropdown, but just call it anything you want.

    Get the plugin “WP exec PHP” : https://wordpress.org/plugins/wp-exec-php/
    No security risk, since you can set the permission for who can add php to pages and such.

    Create pages for any links to the profile you want and add the following REDIRECT with php-code in it (adjust to your own domain)

    <meta http-equiv="refresh" content="0;URL=http://domain.com/forums/users/<?php global $current_user;
          get_currentuserinfo();
    
         echo  $current_user->user_login . "";
          
    ?>/edit/">

    You could delay the refresh and add a little text to the page, or anything you want.

    With many thanks to Diggories (above somewhere) for the php code to get the username in a URL


    ronthai
    Participant

    @ronthai


    ronthai
    Participant

    @ronthai

    deactivate it and then delete it under installed plugins in WP
    Then install the old version you have by uploading it with install new plugin in WP.
    If you don’t have an old version on your computer you can download the version you want here

Viewing 25 replies - 26 through 50 (of 69 total)