Quote MOD, alternative style quote?

Get help developing custom BBCodes or request one.
volgograd
Registered User
Posts: 118
Joined: Tue Aug 19, 2014 1:34 pm
Name: Anna

Re: Quote MOD, alternative style quote?

Post by volgograd » Fri Nov 07, 2014 5:17 am

It's solved! Thank you Robert and Oyabun

This give light yellow with round corners. Grey description, accepts all chars.

BBCode usage

Code: Select all

[Reference={TEXT1}]{TEXT2}[/Reference]
HTML replacement

Code: Select all

<div style="width: 65%;
background-color:#FFFAD2; 
border:1px solid #B7B7B7; 
margin:25px; padding: 25px;
border-radius: 26px;
color: #450B0B
-webkit-border-radius: 26px;
-moz-border-radiust: 26px;
font: "Times New Roman", Serif !important;">


<cite style="font-size:1.4em;
color: #B7B7B7; 
position: relative; top: -10px;
font-style:normal !important;
color:#636363">{TEXT1}</cite><br />

<span style="position: relative; top: 10px; line-height: 12px; float: left; color:#B7B7B7;  font-size:42px; padding-top: 4px; padding-right: 4px;font-family: Georgia;">"</span>

{TEXT2}

<span style="position: relative; top: 10px; line-height: 12px; float: right; color: #B7B7B7; font-size: 42px;  padding-top: 4px; padding-left: 4px; font-family: Georgia;">"</span>
</div>

volgograd
Registered User
Posts: 118
Joined: Tue Aug 19, 2014 1:34 pm
Name: Anna

Re: Quote MOD, alternative style quote?

Post by volgograd » Fri Nov 07, 2014 5:43 am

One more question: Is it right, that the BBCode does not work, if the user ignores to fill in who the quote was from. This happens right now, so it is important to explain to users how to use this bbcode. If not, it wil look ugly.

PS - It´s right as Robert said, impossible to change font style in the BB code....

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Quote MOD, alternative style quote?

Post by Jessica » Sat Nov 08, 2014 12:16 am

We have a 6 hour bump rule here, please follow it. Bumping a topic moves it to the bottom of the queue meaning it will take longer to get a reply.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
RaythXC
Registered User
Posts: 150
Joined: Wed Jun 13, 2012 1:23 pm

Re: Quote MOD, alternative style quote?

Post by RaythXC » Sun Nov 09, 2014 2:39 pm

volgograd wrote:
Oyabun1 wrote:Just adding reference to a font-family in a BBCode is largely pointless unless it is one of the very common fonts because unless the user already has the font installed on their device they will just see the default font assigned by their browser.
Very interesting... I don´t understand why?
For the users browser to be able to load the font it has to be installed on the users computer.

There is a way around it but I can't remember off the top of my head. it involves hosting the font yourself on your hosting and editing some CSS.

volgograd
Registered User
Posts: 118
Joined: Tue Aug 19, 2014 1:34 pm
Name: Anna

Re: Quote MOD, alternative style quote?

Post by volgograd » Mon Nov 10, 2014 3:28 am

I see. But I wanted to use a common font. Times New Roman.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66323
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Quote MOD, alternative style quote?

Post by Lumpy Burgertushie » Mon Nov 10, 2014 4:43 am

you can specify the font-family in the bbcode. in the one I showed above you have to specify it in both places.

the css for the box and the css for the <cite> part if you wish to.

however, I don't believe you can specify more than one font-family like you can in normal css.

and you probably have to put the font name in exactly as it is on the computer of the viewer.

for instance, it must be: Times New Roman with no quotes around it. I am not sure why it has quotes around it in the default css but dont' use them here.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Post Reply

Return to “Custom BBCode Development and Requests”