Chuckie (@ajtruckle)

Forum Replies Created

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

  • Chuckie
    Participant

    @ajtruckle

    I didn’t realise this had changed. My users can put one image but not three images. Maybe there could be some moderation settings to say how many.

    Does the user get notified if their post needs to be moderated?

    I agree though that once approved it needs to be in the correct place in the time line.


    Chuckie
    Participant

    @ajtruckle

    Is there any reason you can’t just use additional CSS to get things like links looking and behaving as you prefer? Just a thought … 🙂 I am only a user … 🙂


    Chuckie
    Participant

    @ajtruckle

    Sorted:

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

    Chuckie
    Participant

    @ajtruckle

    It is not working. For a standard user once I hit submit the code I end up with is:

    <video controls="controls" width="300" height="150"></video>

    It has lost the inner source item:

    <video controls="controls" width="300" height="150">
    <source src="xxxxx.mp4" type="video/mp4" /></video>
    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.

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