Chuckie (@ajtruckle)

Forum Replies Created

Viewing 25 replies - 351 through 375 (of 395 total)
  • In reply to: BB Press Version 2.6.1

    Chuckie
    Participant

    @ajtruckle

    Disregard. Another plugin fault.

    In reply to: BB Press Version 2.6.1

    Chuckie
    Participant

    @ajtruckle

    My site has blown up now. Critical error.


    Chuckie
    Participant

    @ajtruckle

    Mine still show underline on mouse hover. But then I sent my CSS styling to do that anyway as my theme by default didn’t.


    Chuckie
    Participant

    @ajtruckle

    I should clarify, this is the main forums list page that shows the categories and list of forums. It is that freshness that is not up to date.

    If I click on the forum in question and shows it’s topics, then they show the right freshness.

    For example:

    Home Forum List
    Category A
    Forum A Freshness 19 hours ago

    Click Forum A
    Topic 1 1 week ago
    Topic 2 16 minutes ago

    So in the primary list it should say 16 minutes and not 19 hours.

    If I use your tool to rebuild the freshness then it gets all in sinc. But it used to be fine with the last version.

    I don’t have sub forums. Just a list of categories which each has a list of forums.


    Chuckie
    Participant

    @ajtruckle

    This works:

    		'video'      => array(
    			'controls' => true,
    			'width'    => true,
    			'height'   => true,
    		),
    		'source'     => array(
    			'src'    => true,
    			'type'	 => true
    		)

    Chuckie
    Participant

    @ajtruckle

    Is this right? I don’t want to blindly add the code so I appreciate confirmation:

    'video'      => array(
    	'controls' => true,
    	'width'    => true,
    	'height'   => true,
    ),
    'source'     => array(
    	'src'    => true
    )

    ?


    Chuckie
    Participant

    @ajtruckle

    As already mentioned I have the information displayed with the functions code tweak. Thanks for the referral to the plugin though.


    Chuckie
    Participant

    @ajtruckle

    Thanks for this Pascal. At the moment I can’t do anything because I have that stickies loop issue and the final imported topics don’t seem right. The primary list of topics is fine but then all the replies are not there. I can compare the existing phpBB forum against the results to know.

    I will wait for a reply about the recurring loop issue first.


    Chuckie
    Participant

    @ajtruckle

    My phpBB database is 3.2.7

    I was trying to look at your source code for the phpBB importer but I can’t quite follow the logic.


    Chuckie
    Participant

    @ajtruckle

    I just tried a second time on my staging area and it had the same issue for number 9 on the steps. I don’t know how many more steps there are in the import process?

    This time I checked a bit more on the topics imported and it seemed abit odd. For example, say that the topic list indicated that a topic had 5 comments. When I click the topic in many cases it has one.

    But I know it is complicated to put many issues in one bbPress topic so I won’t digress. I await your direction re importing at stage 9.


    Chuckie
    Participant

    @ajtruckle

    Thanks for this. I couldn’t work out why HTML tags were displaying for other users except me then I spotted the question about user roles.

    Adding this code in appears to fix the issue.


    Chuckie
    Participant

    @ajtruckle

    Thanks. I am putting this on hold for the moment. If you look here:

    https://stackoverflow.com/questions/58735124/how-to-redirect-with-existing-url-query-parameters-when-clicking-submit-on-a-c

    You will see that I seemed to have found a bug where the / is one character instead of 2. Either wai, it also seems that there is something that needs looking at with the bbpns notify nospam plugin. I will update you when we make progress.


    Chuckie
    Participant

    @ajtruckle

    I have just tried it and it works fine for me 🙂 I have it showing under their avatar info on the topic. Only thing I changed was “Member since:” -> “Date joined:”

    Thanks for sharing @Robkk.


    Chuckie
    Participant

    @ajtruckle

    Any comments on this?

    In reply to: Creating a topic

    Chuckie
    Participant

    @ajtruckle

    I have created my own plugin:

    https://www.dropbox.com/s/qf5hgv5ksm3z2fo/trucklesoft-autosave-tinymce.zip?dl=0

    What it does is install the “autosave” plugin as provided on the TinyMCE website. This is version 4.9.4 which at the time of writing was supported by WordPress 5.2.4.

    This plugin by design will warn you if you navigate away from a topic without pressing submit.

    What is also good is that it is compatible with “TinyMCE Advanced” so it will not reset any changes you have made to the toolbar using that plugin.


    Chuckie
    Participant

    @ajtruckle

    😀 Yep

    In reply to: Working Member List?

    Chuckie
    Participant

    @ajtruckle

    I noticed that bb_register_view is now bbp_register_view. But when I changed that the whole website threw a wobbly!

    In reply to: Working Member List?

    Chuckie
    Participant

    @ajtruckle

    I tried to import and activate this plugin and i got an error on activation:

    Fatal error: Uncaught Error: Call to undefined function bb_register_view() in …/wp-content/plugins/ts-member-list-view/member-list.php:8 Stack trace: #0 …/wp-admin/includes/plugin.php(2141): include() #1 …/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘ts-member-list-…’) #2 {main} thrown in …/wp-content/plugins/ts-member-list-view/member-list.php on line 8


    Chuckie
    Participant

    @ajtruckle

    Understood.

    This is the code in the functions php that needs updating:

    function bsp_load_spinner_topic () {
    	global $bsp_style_settings_form ;
    	//preload spinner so it is ready - css hides this
    	echo '<div id="bsp-spinner-load"></div>' ;
    	//add button - hidden by css
    	echo '<button type="submit" id="bsp_topic_submit" name="bbp_topic_submit" class="button submit">' ;
    	//leave as is if field is blanked (user may just want spinner)
    	$value = (!empty($bsp_style_settings_form['SubmittingSubmitting']) ? $bsp_style_settings_form['SubmittingSubmitting']  : '') ;
    	echo $value ;
    	//then add spinner if activated
    	if (!empty( $bsp_style_settings_form['SubmittingSpinner'])) echo '<span class="bsp-spinner"></span>' ;
    	//then finish button
    	echo '</button>' ;
    }
    	
    	
    function bsp_load_spinner_reply () {
    	global $bsp_style_settings_form ;
    	//preload spinner so it is ready - css hides this
    	echo '<div id="bsp-spinner-load"></div>' ;
    	//add button - hidden by css
    	echo '<button type="submit" id="bsp_reply_submit" name="bbp_reply_submit" class="button submit">' ;
    	//leave as is if field is blanked (user may just want spinner)
    	$value = (!empty($bsp_style_settings_form['SubmittingSubmitting']) ? $bsp_style_settings_form['SubmittingSubmitting']  : '') ;
    	echo $value ;
    	//then add spinner if activated
    	if (!empty ( $bsp_style_settings_form['SubmittingSpinner'])) echo '<span class="bsp-spinner"></span>' ;
    	//then finish button
    	echo '</button>' ;
    }

    Specifically:

    	//leave as is if field is blanked (user may just want spinner)
    	$value = (!empty($bsp_style_settings_form['SubmittingSubmitting']) ? $bsp_style_settings_form['SubmittingSubmitting']  : '') ;
    	echo $value ;
    

    So it looks to see if the user has entered a value in the settings for “Submitting” and if it is not empty echos it, else it echos nothing. Do functions like bbp_allow_revisions() work in this context?


    Chuckie
    Participant

    @ajtruckle

    I admit it is not a great solution for a end user who is not HTML syntax aware, but atleast I can now create read-only topics with table content thanks to this plugin.

    I am grateful it was still available! Thanks again.


    Chuckie
    Participant

    @ajtruckle

    This does not look like a valid link any more.


    Chuckie
    Participant

    @ajtruckle

    Thanks for this. I have now successfully created a child theme (I think) and it is live on my site.

    I am trying to find where your previous instructions are. If I recall, you said I should replicate the path to the stated files under the child theme folder? And put them there and they will be picked up?

    If so, I might give it ago. But not until I get my head around “Submitting” which I see is in the functions file.

    One step at a time.


    Chuckie
    Participant

    @ajtruckle

    Thank you. I think the problem I am going to have though is that for new topics, the right words are still Submit / Submitting. It is only editing topics that need the words replaced.

    Wouldn’t the above code replace in code contexts, based on your comment preceding the code?


    Chuckie
    Participant

    @ajtruckle

    After using the code tweak ($args['teeny'] = false;) I was then able to use this snippet:

    add_filter("mce_buttons", "tinymce_editor_buttons", 99); //targets the first line
    ​
    function tinymce_editor_buttons($buttons) {
    return array(
      "formatselect", 
      "bold",
      "italic",
      "underline",
      "bullist",
      "numlist",
      "blockquote",
      "justifyleft",
      "justifycenter",
      "justifyright",
      "code",
      "link",
      "unlink",
      "image",
      "wp_adv"
      //add more here...
      );
    }

    Chuckie
    Participant

    @ajtruckle

    I tried sending a post using a non-admin user, with the TEXT editor and thus 3 hrefobjects and it still simply went through the system. Just thought I mention.

Viewing 25 replies - 351 through 375 (of 395 total)