<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Sniper_E
VIP
Status:
Offline
User theme: Dark
Posts: 1160 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Nov 4th, '17, 16:17
Anuj Dhawan wrote: Nov 4th, '17, 07: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!™
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Scanialady
Users
Status:
Offline
User theme: Dark
Posts: 310 Joined: Apr 6th, '15, 16:04
Post
by Scanialady » Nov 5th, '17, 13:03
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
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Sniper_E
VIP
Status:
Offline
User theme: Dark
Posts: 1160 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Nov 5th, '17, 14: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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Anuj Dhawan
Users
Status:
Offline
User theme: Dark
Posts: 109 Joined: Aug 31st, '15, 08:32
Post
by Anuj Dhawan » Nov 5th, '17, 15:12
Sniper_E wrote: Nov 4th, '17, 16:17
Anuj Dhawan wrote: Nov 4th, '17, 07:02
Please advise how can we change the "Quote icon" with font-awesome?
Dm may check me on this...
Thanks. Let me try.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
seacoast
Users
Status:
Offline
User theme: Dark
Posts: 159 Joined: Aug 28th, '17, 17:58
Post
by seacoast » Nov 5th, '17, 20: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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Scanialady
Users
Status:
Offline
User theme: Dark
Posts: 310 Joined: Apr 6th, '15, 16:04
Post
by Scanialady » Nov 8th, '17, 18:29
Sniper_E wrote: Nov 5th, '17, 14: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
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Sniper_E
VIP
Status:
Offline
User theme: Dark
Posts: 1160 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Nov 8th, '17, 19: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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
ninowebs
Users
Status:
Offline
User theme: Dark
Posts: 29 Joined: Jun 4th, '15, 21:44
Post
by ninowebs » Mar 12th, '18, 11: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
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Voice4Vision
Users
Status:
Offline
User theme: Dark
Posts: 19 Joined: Dec 16th, '17, 04:34
Post
by Voice4Vision » Apr 25th, '18, 03: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
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Potku
Users
Status:
Offline
User theme: Dark
Posts: 12 Joined: Aug 27th, '16, 12:57
Post
by Potku » May 15th, '18, 06: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. :)
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Solidjeuh
Users
Status:
Offline
User theme: Dark
Posts: 348 Joined: Dec 13th, '14, 01:40
Post
by Solidjeuh » Jun 20th, '18, 01: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
----------------------------------------------------------------------------
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6485 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Jun 20th, '18, 06:37
Solidjeuh wrote: Jun 20th, '18, 01: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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6485 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Jun 21st, '18, 08:05
First post updated
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Scanialady
Users
Status:
Offline
User theme: Dark
Posts: 310 Joined: Apr 6th, '15, 16:04
Post
by Scanialady » Oct 3rd, '19, 08:44
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?
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5123 Joined: Apr 6th, '14, 14:12
Post
by martin » Oct 3rd, '19, 09:58
I will start to update them today.