New smilies panel ?

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
ABDev
Registered User
Posts: 9
Joined: Mon Aug 15, 2005 9:47 pm
Location: Lens - France
Contact:

New smilies panel ?

Post by ABDev » Sat Jul 30, 2016 7:41 am

Hi all,
I think the smilies panel is obsolete : the management is the same than phpBB2 ...
Categories Hierarchy 2.1.7 added a new management, and I'm trying to reproduce it on Ascraeus, for the moment.

Here is a first screenshot of my works :

Smilies 2016-07-30 09-33-18.png

For the moment, a SQL query generates the treatmens. Here it is :

Code: Select all

SELECT smiley_id, GROUP_CONCAT(DISTINCT code SEPARATOR \' \') AS smiley_codes, emotion, smiley_url, smiley_width, smiley_height, display_on_posting
	FROM ' . SMILIES_TABLE . '
		GROUP BY emotion
		ORDER BY smiley_order
Don't you think this panel would need a rejuvenation ?

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 63
Joined: Sun Aug 24, 2008 2:29 pm

Re: New smilies panel ?

Post by JimA » Sat Jul 30, 2016 1:05 pm

Even though the way it looks in the screenshot, it's just a small and mainly cosmetic change, I like the idea. It would be good to make it easier and quicker to add/delete smilies that have multiple smiley codes. :)

May I ask how you handle this while adding smilies? Would you allow for multiple smiley codes to be enter in the same screen for the same smiley?
Image Jim Mossing Holsteyn - Moderator Team Member
Knowledge Base | Documentation | Board rules

No support here on Area51, please visit the Support forums over at phpBB.com

User avatar
3Di
Registered User
Posts: 694
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: New smilies panel ?

Post by 3Di » Sun Jul 31, 2016 12:57 am

Hi ABDev :)

Many years passed since, isn't? Your effort to change it it is very appreciated by me I can say.

I do have in my archives, though, the 2.1.6d version of CH if I correctly recall, feel free (if you like) to PM me a link to where to download the latest. Thanks.

There is a lot to learn and mimic from there, namely a pretty ACP and something about permissions, we shouldn't forget that the Author brought to us all of this since phpBB2, when phpBB had no sub-forums etc.. etc..

CH it was a piece of coding art, for those of us they know it. (And about 10 years ago).

BTW, I strongly believe you should open a development topic over there at .com for this (3.1, 3.2 are features frozen), if you need help I will be more than glad (in my spare time) to partecipate on your project.

Regards. :)
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

ABDev
Registered User
Posts: 9
Joined: Mon Aug 15, 2005 9:47 pm
Location: Lens - France
Contact:

Re: New smilies panel ?

Post by ABDev » Mon Aug 01, 2016 8:37 am

JimA wrote:
Sat Jul 30, 2016 1:05 pm
May I ask how you handle this while adding smilies? Would you allow for multiple smiley codes to be enter in the same screen for the same smiley?
As CH introduced it, here is how the management could be done :

Smilies 2016-08-01 07-57-36.png

A textarea tag would replace the input tag, and there would be on smiley code per line.

When editing a smiley, it would be possible to add one or many codes, modify data and/or remove one or many codes.

Hoping you like the idea ;).

@3Di : Hey, it was a long time I didn't see you :).

I have the 2.1.6h and 2.1.7 versions of CH in my archives, I prepare you all that.

Post Reply