Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
Stoker
Site Admin
Posts: 3,846 Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Post
by Stoker » 28 Nov 2014, 13:28
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
~ The greatest achievement in life is to inspire ~
Regards Stoker
RMcGirr83
BBCoder III
Posts: 104 Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat
Post
by RMcGirr83 » 28 Nov 2014, 13:36
But why via a pm?
martin123456
BBCoder VI
Posts: 765 Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Post
by martin123456 » 29 Nov 2014, 00:11
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.
RMcGirr83
BBCoder III
Posts: 104 Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat
Post
by RMcGirr83 » 29 Nov 2014, 00:41
Which is fine but others who may read this may want the same link. Doesn't need to be top secret.
sitesplat
BBCoder II
Posts: 5 Joined: 28 Nov 2014, 01:11
BBCodes: 1000
Post
by sitesplat » 29 Nov 2014, 00:47
I agree with Rich... Unless they were paid extension. Would be nice if you could share your finding 123456
Stoker
Site Admin
Posts: 3,846 Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Post
by Stoker » 29 Nov 2014, 06:15
His findings will be released in next version
~ The greatest achievement in life is to inspire ~
Regards Stoker
Stoker
Site Admin
Posts: 3,846 Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Post
by Stoker » 29 Nov 2014, 09:16
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.
~ The greatest achievement in life is to inspire ~
Regards Stoker
RMcGirr83
BBCoder III
Posts: 104 Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat
Post
by RMcGirr83 » 29 Nov 2014, 11:39
You can use jQuery to replace the buttons. For example there is this in quick reply
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')
Stoker
Site Admin
Posts: 3,846 Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Post
by Stoker » 29 Nov 2014, 15:29
RMcGirr83 wrote: You can use jQuery to replace the buttons. For example there is this in quick reply
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
~ The greatest achievement in life is to inspire ~
Regards Stoker