3.2.x Extensions Database 3.2 / 3.3Quotes Collection

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Quotes Collection

Post by Sniper_E »

Anuj Dhawan wrote: 04 Nov 2017, 08:02 Please advise how can we change the "Quote icon" with font-awesome?
Dm may check me on this...

Simple edit if you are running phpBB 3.2 on your board.
Open: styles/prosilver/template/event/overall_header_navigation_append.html
Find This may be a partial find and not the whole line

Code: Select all

<!-- IF S_QC_EXIST --><li class="small-icon icon-quotes"><a href="{U_DM_QUOTES}" title="{L_DM_QUOTES}">{L_DM_QUOTES}</a></li><!-- ENDIF -->
Replace with Replace the preceding lines with the following

Code: Select all

<!-- IF S_QC_EXIST --><li><a href="{U_DM_QUOTES}" title="{L_DM_QUOTES}"><i class="icon fa fa-quote-right"></i> {L_DM_QUOTES}</a></li><!-- ENDIF -->

These edits below will allow Quotes Collection ext icon to work in both phpbb 3.1 and 3.2 versions.
Open: event/listener.php
Find This may be a partial find and not the whole line

Code: Select all

		operator $operator = null
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

		\phpbb\files\factory $files_factory = null
Find This may be a partial find and not the whole line

Code: Select all

		$this->dm_qc_config_table 	= $dm_qc_config_table;
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

		$this->files_factory        = $files_factory;
Find This may be a partial find and not the whole line

Code: Select all

				'PHPBB_IS_32'   => ($this->files_factory !== null) ? true : false,
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

				'PHPBB_IS_32'   => ($this->files_factory !== null) ? true : false,

Open: styles/prosilver/template/event/overall_header_navigation_append.html
Find This may be a partial find and not the whole line

Code: Select all

<!-- IF S_QC_EXIST --><li class="small-icon icon-quotes"><a href="{U_DM_QUOTES}" title="{L_DM_QUOTES}">{L_DM_QUOTES}</a></li><!-- ENDIF -->
Replace with Replace the preceding lines with the following

Code: Select all

<!-- IF S_QC_EXIST --><!-- IF not PHPBB_IS_32 --><li class="small-icon icon-quotes"><!-- ELSE --><li><i class="icon fa fa-quote-right"></i> <!-- ENDIF --><a href="{U_DM_QUOTES}" title="{L_DM_QUOTES}">{L_DM_QUOTES}</a></li><!-- ENDIF -->
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Chrome

Re: Quotes Collection

Post by Scanialady »

Info:
seems there is a little syntax error on quotescollection.css

Code: Select all

.qc-noborder-radius { border-radius: none; }
This code is ignored.

"border-radius" property can not be "none" - has to be a value "em" or "px"

https://www.w3schools.com/cssref/css3_p ... radius.asp
-
If you want to get German translations for extensions: ask me.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Quotes Collection

Post by Sniper_E »

I use none in mine at times and it works. Sometimes you need to use !important. And 0 can always be used.

Code: Select all

.qc-noborder-radius { border-radius: none; }
.qc-noborder-radius { border-radius: none !Important; }
.qc-noborder-radius { border-radius: 0; }
.qc-noborder-radius { border-radius: 0 !important; }
Any of these could be used and !important will over ride any previous settings. It refuses to be ignored.

User avatar

Anuj Dhawan
Users
Users
Posts: 109
Joined: 31 Aug 2015, 10:32
    Windows 10 Chrome

Re: Quotes Collection

Post by Anuj Dhawan »

Sniper_E wrote: 04 Nov 2017, 17:17
Anuj Dhawan wrote: 04 Nov 2017, 08:02 Please advise how can we change the "Quote icon" with font-awesome?
Dm may check me on this...
Thanks. Let me try.

User avatar

seacoast
Users
Users
Posts: 159
Joined: 28 Aug 2017, 19:58
    Windows 10 Firefox

Re: Quotes Collection

Post by seacoast »

Strange thing happening and I think it's permissions.
Only guests can see quotes and menu link to QC. Registered users and admins cannot.
I couldn't find anything in group permissions. Any idea?
Thanks.

Edit: Found it. Misc. permissions.

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Chrome

Re: Quotes Collection

Post by Scanialady »

Sniper_E wrote: 05 Nov 2017, 15:54 I use none in mine at times and it works. Sometimes you need to use !important. And 0 can always be used.

Code: Select all

.qc-noborder-radius { border-radius: none; }
.qc-noborder-radius { border-radius: none !Important; }
.qc-noborder-radius { border-radius: 0; }
.qc-noborder-radius { border-radius: 0 !important; }
Any of these could be used and !important will over ride any previous settings. It refuses to be ignored.
Not in all browsers. May be in your prefered one :D

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Quotes Collection

Post by Sniper_E »

Did you even try to use border-radius: none !important; or border-radius: 0 !important; to see if it would work?

And clear your cache after the edit, refresh your browser. I can not help you if you want at least try. Good luck with it. :thumbup:

User avatar

ninowebs
Users
Users
Posts: 29
Joined: 04 Jun 2015, 23:44
    Windows 10 Chrome

Re: Quotes Collection

Post by ninowebs »

I have the board3 portal and i have installed extension Quotes Collection that displays its contents on the index page, as I can do to have it on the portal page

tnk

User avatar

Voice4Vision
Users
Users
Posts: 19
Joined: 16 Dec 2017, 05:34
    Windows 10 Chrome

Re: Quotes Collection

Post by Voice4Vision »

I would also like to second the request for a Board 3 Portal module so that the quotes could be displayed more appropriately.

Any and all assistance is greatly appreciated!

Thank you,
Voice4Vision

User avatar

Potku
Users
Users
Posts: 12
Joined: 27 Aug 2016, 14:57
    Windows 10 Chrome

Re: Quotes Collection

Post by Potku »

This is a very nice and communal (at least in our case as all the quotes are from our forum) EXT. :smile:

Since I don't know anything about coding, I was just thinking... How difficult would it be to:
1) remove the user name that added a quote?
2) make the author of the quote a profile link (because in our case all the quotes are from our users)?

Just thinking. :)

User avatar

Solidjeuh
Donator
Donator
Posts: 348
Joined: 13 Dec 2014, 02:40
    Windows 10 Firefox

Re: Quotes Collection

Post by Solidjeuh »

I removed the current navbar image, and replaced it with Font Awesome icon.. Looks better

Code: Select all

{% if S_QC_EXIST %}
	<li data-last-responsive="true">
		<a href="{{ U_DM_QUOTES }}" rel="help" title="{{ lang('DM_QUOTES') }}" role="menuitem">
			<i class="icon fa-quora  fa-fw" aria-hidden="true"></i><span>{{ lang('DM_QUOTES') }}</span>
		</a>
	</li>
{% endif %}	
Image

I'm also still interested in how we can show the quotes on all pages, or just on the board3 Portal + Index page ..
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Quotes Collection

Post by dmzx »

Solidjeuh wrote: 20 Jun 2018, 03:39 I removed the current navbar image, and replaced it with Font Awesome icon.. Looks better

Code: Select all

{% if S_QC_EXIST %}
	<li data-last-responsive="true">
		<a href="{{ U_DM_QUOTES }}" rel="help" title="{{ lang('DM_QUOTES') }}" role="menuitem">
			<i class="icon fa-quora  fa-fw" aria-hidden="true"></i><span>{{ lang('DM_QUOTES') }}</span>
		</a>
	</li>
{% endif %}	
Image

I'm also still interested in how we can show the quotes on all pages, or just on the board3 Portal + Index page ..
Will add the code for fa icon for 3.2.x
Also update the extension with new items.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Quotes Collection

Post by dmzx »

First post updated

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Chrome

Re: Quotes Collection

Post by Scanialady »

Quotes Collection (and may be other collapsible extensions) do not work any longer after update of Collapsible Categories to 2.0.0

Which code changes are needed?

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Quotes Collection

Post by martin »

I will start to update them today.
Image

Post Reply Previous topicNext topic