Page 2 of 3

Re: Please Wait II

Posted: 28 Nov 2014, 15:28
by Stoker
Martin just pointed out a way to do it as an extension.
Sure it will give me soem extra work. But thats the way it is with 3.1 extensions :D

Re: Please Wait II

Posted: 28 Nov 2014, 15:36
by RMcGirr83
But why via a pm?

Re: Please Wait II

Posted: 29 Nov 2014, 02:11
by martin123456
Some things can be so simple but seem so hard 3.1.x seems so hard to learn after 3.0.12 i sent an ext for him to look at thats all.

Re: Please Wait II

Posted: 29 Nov 2014, 02:41
by RMcGirr83
Which is fine but others who may read this may want the same link. Doesn't need to be top secret. ;)

Re: Please Wait II

Posted: 29 Nov 2014, 02:47
by sitesplat
I agree with Rich... Unless they were paid extension. Would be nice if you could share your finding 123456 :-)

Re: Please Wait II

Posted: 29 Nov 2014, 08:15
by Stoker
His findings will be released in next version :)

Re: Please Wait II

Posted: 29 Nov 2014, 11:16
by Stoker
The idea was to use display:none; in the existing class to hide the buttons.
Then ad "my" buttons using a template event. But unfortunately theres no event to do this.
So no update, it will have to do as it is now.

Re: Please Wait II

Posted: 29 Nov 2014, 13:39
by RMcGirr83
You can use jQuery to replace the buttons. For example there is this in quick reply

Code: Select all

id="qr_full_editor"
Just find the next input and change it. The event to do so can be core.user_setup and have it trigger if only on the viewtopic page using something like this

Code: Select all

		$page_name = substr($this->user->page['page_name'], 0, strpos($this->user->page['page_name'], '.'));
		if ($page_name == 'viewtopic')

Re: Please Wait II

Posted: 29 Nov 2014, 17:29
by Stoker
RMcGirr83 wrote:You can use jQuery to replace the buttons. For example there is this in quick reply

Code: Select all

id="qr_full_editor"
Just find the next input and change it. The event to do so can be core.user_setup and have it trigger if only on the viewtopic page using something like this

Code: Select all

		$page_name = substr($this->user->page['page_name'], 0, strpos($this->user->page['page_name'], '.'));
		if ($page_name == 'viewtopic')
Sounds complicated, but thanks ;)

Re: Please Wait II [MANUAL EDITS]

Posted: 09 Dec 2014, 05:56
by sitesplat
@Stoker , @Rich that's why I posted this: Re: Please Wait II (Post by sitesplat #16722) .
Ask the event here: https://area51.phpbb.com/phpBB/viewforum.php?f=111 . Be warned you'll need to insist many times and possibly sign up a petition with change.org for them to listen lol