<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Sniper_E
VIP
Posts: 1157 Joined: 14 Oct 2014, 19:01
Post
by Sniper_E » 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...
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
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 -->
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™
Sniper_E
VIP
Posts: 1157 Joined: 14 Oct 2014, 19:01
Post
by Sniper_E » 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.
Anuj Dhawan
Users
Posts: 109 Joined: 31 Aug 2015, 10:32
Post
by Anuj Dhawan » 05 Nov 2017, 16:12
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.
seacoast
Users
Posts: 159 Joined: 28 Aug 2017, 19:58
Post
by seacoast » 05 Nov 2017, 21:20
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.
Scanialady
Users
Posts: 310 Joined: 06 Apr 2015, 18:04
Post
by Scanialady » 08 Nov 2017, 19:29
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
Sniper_E
VIP
Posts: 1157 Joined: 14 Oct 2014, 19:01
Post
by Sniper_E » 08 Nov 2017, 20:21
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.
ninowebs
Users
Posts: 29 Joined: 04 Jun 2015, 23:44
Post
by ninowebs » 12 Mar 2018, 12:52
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
Voice4Vision
Users
Posts: 19 Joined: 16 Dec 2017, 05:34
Post
by Voice4Vision » 25 Apr 2018, 05:12
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
Potku
Users
Posts: 12 Joined: 27 Aug 2016, 14:57
Post
by Potku » 15 May 2018, 08:32
This is a very nice and communal (at least in our case as all the quotes are from our forum) EXT.
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. :)
Solidjeuh
Donator
Posts: 348 Joined: 13 Dec 2014, 02:40
Post
by Solidjeuh » 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 %}
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
----------------------------------------------------------------------------
dmzx
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 20 Jun 2018, 08:37
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 %}
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.
dmzx
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 21 Jun 2018, 10:05
First post updated
martin
Admin
Posts: 5105 Joined: 06 Apr 2014, 16:12
Post
by martin » 03 Oct 2019, 11:58
I will start to update them today.