3.1.x Extensions Database 3.1 / 3.2Link bbCode Extension

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
Previous topicNext topic
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Midway
Translators
Translators
Status: Offline
User theme: Dark
Posts: 115
Joined: Dec 8th, '14, 09:27
    Windows 7 Firefox

Re: Link bbCode Extension

Post by Midway »

You can add in linkbbcode.css
and in language/en/common.php

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Link bbCode Extension

Post by ivailo95 »

Midway wrote: Mar 4th, '19, 13:22 You can add in linkbbcode.css
and in language/en/common.php
um what is the way to add new colour?

Code: Select all

dl.extra-box {
    border-radius: 5px;
    display: block;
    margin-bottom: 5px;
    min-height: 59px;
    padding: 10px 10px 8px;
    position: relative;
    width: 300px;
	text-decoration: none !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	color: #ffffff !important;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
dl.extra-box dt a {
    color: #333333 !important;
    display: block;
    font-weight: bold;
    padding-bottom: 5px;
    text-decoration: none !important;
}
dl.extra-box dd a, dl.download-contrib dd {
    color: #ffffff !important;
    display: block;
    font-weight: bold;
    padding-right: 40px;
    text-decoration: none !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

dl.extra-box.orange, .big-tag.orange {
    background: rgba(0, 0, 0, 0) linear-gradient(45deg, #ffc561 0%, #ff8a2b 100%) repeat scroll 0 0;
}

.extra-boxs.orange {
    background-color: #ff8a2b;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.blue, .big-tag.blue {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #698cc0 0%, #7ca7e4 100%) repeat scroll 0 0;
}

.extra-boxs.blue {
    background-color: #7ca7e4;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.light-blue, .big-tag.light-blue {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #a9cded 0%, #56b1df 100%) repeat scroll 0 0;
}

.extra-boxs.light-blue {
    background-color: #56b1df;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.dirty-blue, .big-tag.dirty-blue {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #8492a5 0%, #9ca9bc 100%) repeat scroll 0 0;
}

.extra-boxs.dirty-blue {
    background-color: #9ca9bc;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.purple, .big-tag.purple {
    background: rgba(0, 0, 0, 0) linear-gradient(45deg, #8d7fcc 0%, #9262cc 100%) repeat scroll 0 0;
}

.extra-boxs.purple {
    background-color: #9262cc;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.green, .big-tag {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #95b178 0%, #b1d28e 100%) repeat scroll 0 0;
}

.extra-boxs.green {
    background-color: #b1d28e;
    border-color: #6b92bd;
    color: #171515;
}

dl.extra-box.download dd.extras {
    color: #fff;
    margin-top: 0.5em;
}

dl.extra-box.download dd.extras a {
    color: #d21a4e !important;
    display: inline;
    padding: 0;
    text-shadow: none;
}

dl.download::before {
    background: rgba(0, 0, 0, 0) url("./images/download-arrow.png") no-repeat scroll 0 0;
    content: "";
    display: block;
    height: 50px;
    position: absolute;
    right: 5px;
    top: 0;
    width: 47px;
}

dl.download dt {
    position: relative;
    text-transform: uppercase;
} 
Feed like a disease
And bring them to their knees
They'll pay for their deceit

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Painkiller88
Users
Users
Status: Offline
User theme: Dark
Posts: 63
Joined: Jan 3rd, '19, 23:51
    Windows 10 Firefox

Re: Link bbCode Extension

Post by Painkiller88 »

This is already the correct file u have here.

This is the code for a new color, in this example it is the code for the orange box:

dl.extra-box.orange, .big-tag.orange {
background: rgba(0, 0, 0, 0) linear-gradient(45deg, #ffc561 0%, #ff8a2b 100%) repeat scroll 0 0;
}

.extra-boxs.orange {
background-color: #ff8a2b;
border-color: #6b92bd;
color: #171515;
}

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Link bbCode Extension

Post by ivailo95 »

I want to add red colour cuz orange already have

Code: Select all

dl.extra-box.red, .big-tag.red {
    background: rgba(0, 0, 0, 0) linear-gradient(45deg, #ffc561 0%, #ff8a2b 100%) repeat scroll 0 0;
}

.extra-boxs.red {
    background-color: #ff8a2b;
    border-color: #6b92bd;
    color: #FF0000;
this is my test board and when i added this colour

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Link bbCode Extension

Post by martin »

Why use hex ? use rgb colours that way you can style it far better.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Link bbCode Extension

Post by ivailo95 »

martin wrote: Mar 6th, '19, 13:37 why use hex ? use rgb colours that way you can style it far better.

Code: Select all

dl.extra-box.red, .big-tag.red {
    background: rgb(219, 30, 30) linear-gradient(45deg, #ffc561 0%, #ff8a2b 100%) repeat scroll 0 0;
}

.extra-boxs.red {
    background-color: #ff8a2b;
    border-color: #6b92bd;
    color: #FF0000;
you mean that?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Link bbCode Extension

Post by ivailo95 »

i tryed to add dark blue and red colour but nos success

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Firefox

Re: Link bbCode Extension

Post by ivailo95 »

How can i add them? :roll: :

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 145
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Link bbCode Extension

Post by ssl »

Hi
This extension is not compatible with 3.3.x phpBB version.
Is an update being considered?

This extension work fine with 3.2.9 phpBB version

Thanks a lot
phpBB: 3.3.15 | PHP: 8.5
[Some French translation of extensions]

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 145
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Link bbCode Extension

Post by ssl »

Up!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Link bbCode Extension

Post by martin »

This ext is for 3.1 as the tag in the topic shows.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 145
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Link bbCode Extension

Post by ssl »

Hi
:rolling:
Yes I know but in fact I'm just asking if there were any plans to update it to 3.3.x versions of phpBB?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Link bbCode Extension

Post by martin »

Screenshot from 2020-10-03 13-42-35.png
Just tested and it works fine on 3.3.1
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

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 145
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Link bbCode Extension

Post by ssl »

OK thanks, i try

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Link bbCode Extension

Post by martin »

As you can see it also works here.
Download-link
dmzx-web.net

Previous topicNext topic