BBCode's
[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: 6472 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Mar 16th, '14, 09:23
Custom BBCodes in dropdown box.
Written by Simon
All custom BBCodes in a dropdown box.
Open styles/{YOURTHEMA}/template/posting_buttons.html
Find:
Code: Select all
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
Replace by:
Code: Select all
<select name="addbbcode_custom" onchange="bbstyle(this.form.addbbcode_custom.options[this.form.addbbcode_custom.selectedIndex].value*1);this.form.addbbcode_custom.selectedIndex = 0;">
<option value="#" selected="selected">Custom BBCodes</option>
<!-- BEGIN custom_tags -->
<option value="{custom_tags.BBCODE_ID}" title="{custom_tags.BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
<!-- END custom_tags -->
</select>
Save, upload and refresh template.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
iorG19
Translators
Status:
Offline
User theme: Dark
Posts: 60 Joined: Dec 10th, '14, 20:50
Post
by iorG19 » Dec 10th, '14, 22:43
Readers don't know what mean :
Zoek
Vervang door
Can you replace with english ? I don't speak netherlands :-)
[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: 5113 Joined: Apr 6th, '14, 14:12
Post
by martin » Dec 10th, '14, 23:06
Niether do i but tell chrome to translate all pages
[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: 6472 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Dec 11th, '14, 06:06
GEORGiOBBLOVER wrote: Readers don't know what mean :
Zoek
Vervang door
Can you replace with english ? I don't speak netherlands :-)
Yes some translations have to be made on the forum. ;)
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
kaspir
Users
Status:
Offline
User theme: Dark
Posts: 112 Joined: Aug 25th, '16, 10:50
Post
by kaspir » Jan 11th, '17, 09:29
Perfect, still works on 3.2 as I've noted here! :)
Just said goodbye to advanced bbcode box, this was the perfect alternative.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
kaspir
Users
Status:
Offline
User theme: Dark
Posts: 112 Joined: Aug 25th, '16, 10:50
Post
by kaspir » Jan 11th, '17, 10:58
On second thought, I kept abbc3 and all its neat bbcodes, then just added this custom code to this file in
/ext/vse/abbc3/styles/all/template to my liking if anyone wants likes, enjoy.
Now looks like this:
abbc3_posting_buttons.rar
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[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: 5113 Joined: Apr 6th, '14, 14:12
Post
by martin » Jan 11th, '17, 12:31
try this
xiradorn_xbbcodesilkbtn_1_4_0.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
cisco007
Users
Status:
Offline
User theme: Dark
Posts: 78 Joined: Nov 26th, '15, 21:01
Post
by cisco007 » Jan 12th, '17, 00:01
martin wrote: Jan 11th, '17, 12:31
try this
xiradorn_xbbcodesilkbtn_1_4_0.zip
before i download this martin, what is the difference on the OP and this? you icons?
[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: 5113 Joined: Apr 6th, '14, 14:12
Post
by martin » Jan 12th, '17, 00:03
No edits to any files it's an ext also adds images as the fa fa icons look plain.
11.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
cisco007
Users
Status:
Offline
User theme: Dark
Posts: 78 Joined: Nov 26th, '15, 21:01
Post
by cisco007 » Jan 12th, '17, 00:15
Ok it's the same that i've had on my forum for years now, awesome!
[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: 5113 Joined: Apr 6th, '14, 14:12
Post
by martin » Jan 12th, '17, 00:17
You prob had the same as the rest of us edits
but np
[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: 1159 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Jan 12th, '17, 03:30
I had this code in my site way before any of you did.
[ Post made via Samsung Galaxy S5 Active ]
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
kaspir
Users
Status:
Offline
User theme: Dark
Posts: 112 Joined: Aug 25th, '16, 10:50
Post
by kaspir » Jan 12th, '17, 06:50
martin wrote: Jan 12th, '17, 00:03
No edits to any files it's an ext also adds images as the fa fa icons look plain.
11.png
I learn as I go!
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
kaspir
Users
Status:
Offline
User theme: Dark
Posts: 112 Joined: Aug 25th, '16, 10:50
Post
by kaspir » Jan 16th, '17, 08:36
martin wrote: Jan 12th, '17, 00:03
No edits to any files it's an ext also adds images as the fa fa icons look plain.
11.png
Getting a problem with MOD_X commands, they just show "MODX_FIND" or MODX_DELETE" as the helpline within post drop-down. They are not pretty like here. I do not see them in ACP, so can't edit there. They also don't parse, but then again neither is my username bbcodes either.
I might have a problem with most of my bbcodes, ever since the 3.2 update many of the helplines have vanished or defaulted to w/e the language variable is I guess. I'm pretty lost on this, any help would be appreciated as many of my bbcodes are broken and it probably has nothing to do with the extension you gave me martin. I'm also posting on phpbb I guess.
[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: 6472 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Jan 18th, '17, 18:46
kaspir wrote: Jan 16th, '17, 08:36
I might have a problem with most of my bbcodes, ever since the 3.2 update many of the helplines have vanished or defaulted to w/e the language variable is I guess. I'm pretty lost on this, any help would be appreciated as many of my bbcodes are broken and it probably has nothing to do with the extension you gave me martin. I'm also posting on phpbb I guess.
To this problem the bbCodes are parsed different in 3.2 and you have to update them in your database. (otherwise they will not display correct)