[3.2][DEV] Quotes Collection

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.2][DEV] Quotes Collection

Post by dmzx »

Extension Name: Quotes Collection
Author: dmzx

Special thanks to: martin & Sniper_E

Extension Description:
The DM Quotes Collection is a simple tool, where you can start collecting quotes. These will be display on the index page in a random order. There are different settings possible in the ACP, where you also can manage the quotes.

Image Image Image

Image
- Drop support 3.1.x
- Changed code for delete button and data-ajax.
- Changed code for Collapsible Categories 2.
- Twig update.

Image
Update code for fa icon.
Update code in listener for viewtopic and viewforum.
Update code in acp controller.
Update code in acp language file.

Image
Update code in listener and added collapse.
Update code in main controller.
Update code in admin_controller.
Added permission a_dm_qc_manage in listener and language file.
Update dm_qc_index_body.html with collapse code.

Image
Update code in listener.
Update code in main controller.
Added acp_quotescollection language file.
Added admin_controller.
Update code.

Image
Code update

Image
Code update
Fix bbcode

Image
Style update

Screenshots:
Image
Image
Image
Image
Image
Image
Image

Extension Download:
Download

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `quotescollection`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `quotescollection` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/quotescollection/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Quotes Collection` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Wed Oct 09, 2019 11:42 am, edited 8 times in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
Difadon
Registered User
Posts: 55
Joined: Wed Nov 06, 2013 3:36 pm
Location: Špindlerův Mlýn
Name: Jan Nejedlý
Contact:

Re: [DEV] Quotes Collection

Post by Difadon »

Hello,

I find one bug. After install i must copy dmbody.html to styles/name/template because /app.php/quotescollection not working. :)
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Quotes Collection

Post by noth »

I do like it and it works well

The QUOTES panel appears right at the top of the index body (if you initiate index from ACP)

my only thought is that a choice in ACP for index position e.g. high, medium , low

meaning whereabouts on the index page the panel would go, high = where it is now, medium, maybe just below the forums listing and low would be right down the bottom with stats

but this is a very nice EXT - I appreciate the permissions system which allows you to choose which group can add quotes, by default this is reg users but you can easily change it :P another good one dmzx :mrgreen:
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Quotes Collection

Post by Jessica »

Glad to see this as an extension
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
Ibedejo
Registered User
Posts: 243
Joined: Tue Feb 21, 2012 12:12 am

Re: [DEV] Quotes Collection

Post by Ibedejo »

dmzx wrote:Author: dmzx
Is femu back or ... ?
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Quotes Collection

Post by noth »

when a user adds a new quote the Admin sees a handy message across the top of the site
Information: There's one new quote available, which is waiting for being released! Click here to go to your ACP.
you click the line, you go to ACP you choose to enable the quote - if YES the quote becomes visible

if NO it doesn't

THEN you see a handy message across the top of the site
Information: There's one new quote available, which is waiting for being released! Click here to go to your ACP.
oooo someone else has added a quote, that was quick!

You go to ACP, it is the same quote you chose to say NO to 3 minutes ago :|

you go back to ACP and say NO again because that is not a very good quote

THEN you see a handy message across the top of the site :geek:
Information: There's one new quote available, which is waiting for being released! Click here to go to your ACP.
oh right, it's that same quote again huh? the only way around it is to DELETE that quote or it will forever be nagging at you to accept it

I thought users could see a list of their quotes, including the ones that weren't accepted?

with this, the admin has to Delete the quotes just to stop the handy message reminding you all the time that there is a quote that hasn't been enabled :x
User avatar
Sniper_E
Registered User
Posts: 1126
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [DEV] Quotes Collection

Post by Sniper_E »

Actually if a quote is not going to be approved then it probably should be deleted.
I only see edit or delete for new quotes. Click edit to enable it or click delete to delete it.
You seem to be causing that issue.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Quotes Collection

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Quotes Collection

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Quotes Collection

Post by noth »

This is a great [DEV] no doubt about it, a busy board will love this

so, did you see that 3.1.9. ABSOLUTION is out? it's a pretty amazing style for 3.1. but this EXT does not fare well in it sadly

there are some [DIV] problems , the display is just chucked right across from one side to the other, no margins at all

need a custom body, so anyone else using this also installing Absolution? :D
Anuj Dhawan
Registered User
Posts: 378
Joined: Sat Aug 10, 2013 6:44 pm

Re: [DEV] Quotes Collection

Post by Anuj Dhawan »

It seems to work food for me:

Image

Just a side note - do you have "Max-width switch" extension installed? Keeping the switch set to "Yes" in UCP for this extension made the style to aligned to left (of browser). Setting it to "No", made it to look good. But then it was the alignment of the board and not just the "Quotes" block.
Thanks,
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Quotes Collection

Post by noth »

good point Anuj, definitely hoping that Absolution is upgraded soon

Anyway my board is fantastic with this ext, many members have seized with interest the real community aspect of this feature, most have their quotes approved, very few submit quotes that are not up to spec

the thing is, the system is intuitive enough to allow users to simply submit their prospective quotes with no instructions from me, that is worth a lot
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Quotes Collection

Post by dmzx »

Yes will update this soon again.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Quotes Collection

Post by noth »

Anuj did you manage a fix for the Absolution theme?

This is a great EXT, works well in 3.2 too but it can't cope with Absolution, the styling needs some work
nachtelb
Registered User
Posts: 158
Joined: Sun Feb 19, 2006 2:00 pm
Location: Germany
Name: Bernhard
Contact:

Re: [DEV] Quotes Collection

Post by nachtelb »

It would be great, if you use a awesome-font icon in your extension for better compatibilty with 3.2 styles.
https://www.phpbb.com/customise/db/styl ... 66#p531166
Post Reply

Return to “Extensions in Development”