Log in

View Full Version : Show Thread Enhancements - vbulletin.org Quote Box


eTiKeT?
05-31-2012, 10:00 PM
vbulletin.org Quote Box 4.2.0

Online Demo : vbulletin.web.tr (http://forum.vbulletin.web.tr/showthread.php/270-vbulletin-org-Al%C4%B1nt%C4%B1-Kutusu-vbulletin-4-%C4%B0%C3%A7in)


Upload this image to your image/misc folder: https://vborg.vbsupport.ru/images/misc/q.gif


Open the additional.css template of the theme that you use and add this code to the top




/* vbulletin.web.tr - vbulletin.org Alıntı Kutusu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.bbcode_container .bbcode_quote_container { background: transparent; }

.bbcode_container div.bbcode_quote {
background: none repeat scroll 0 0 transparent;
border: 1px solid transparent;
margin: 0 0 10px; }

.bbcode_quote div.quote_container {
border-radius: 5px 5px 5px 5px;
padding: 5px 10px; }

.bbcode_container div.bbcode_quote div.message{
border-left: 3px solid #CCCCCC;
color: #9E9E9E;
margin-left: 20px;
padding: 8px 5px;
border-radius:0px; }

/* vbulletin.org Alıntı Kutusu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


Open then bbcode_quote of the same theme, replace all the codes with the ones below:




<div class="bbcode_container">
<div class="bbcode_quote">
<div class="quote_container">
<div class="bbcode_quote_container"></div>
<vb:if condition="$show['username']">
<div class="bbcode_postedby">
<img src="{vb:stylevar imgdir_misc}/q.gif" alt="{vb:rawphrase quote}" /> {vb:rawphrase originally_posted_by_x, {vb:raw username}}
<vb:if condition="$postid"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}showthread.php?{vb:raw session.sessionurl}p={vb:raw postid}#post{vb:raw postid}" rel="nofollow"><img class="inlineimg" src="{vb:stylevar imgdir_button}/viewpost-{vb:stylevar right}.png" alt="{vb:rawphrase view_post}" /></a></vb:if>
</div>
<div class="message">{vb:raw message}</div>
<vb:else />
<div class="bbcode_postedby"><b>
<img src="{vb:stylevar imgdir_misc}/q.gif" alt="{vb:rawphrase quote}" /> {vb:rawphrase quote}</b></div>
<div class="message">
{vb:raw message}</div>
</vb:if>
</div>
</div>
</div>

25 December 2012 updated

Emeralda
06-01-2012, 11:36 AM
For some reason it doesn't work for me >.<

http://prntscr.com/9z5me

I think it's something with the css.

nacaruncr
06-01-2012, 03:04 PM
It does not work me too... I think is about the additional.css because I can't see anyone change :S

regards :)

Edit:
Is there any problem is I use vBSEO?? I ask because this linke:
{vb:if "$vboptions['vbforum_url']", '/', ''}showthread.php?

New Joe
06-01-2012, 03:08 PM
Doesn't work for me either

3amalah
06-01-2012, 03:24 PM
doesn't work for me

Hakan39
06-01-2012, 03:28 PM
Malesef bende de doesen't work.

Lynne
06-01-2012, 03:46 PM
Works fine for me in a default style.

nacaruncr
06-01-2012, 04:37 PM
In others styles not work :S

eTiKeT?
06-01-2012, 05:04 PM
bbcode.css Add the template into . And vbulletin What version?

safakuygur
06-01-2012, 07:36 PM
Very good Etiket
thanks

Emeralda
06-01-2012, 09:07 PM
O.O Now it works, so awkward.

l0l4s0
06-02-2012, 04:31 AM
I love this, Nominate 5 Starts. Thank You.

nacaruncr
06-02-2012, 04:37 AM
bbcode.css Add the template into . And vbulletin What version?


Ohh I didn't see it was for 4.2.x..... I was trying in 4.1.4 :S

So, thanks anyway

Robru
06-02-2012, 08:29 AM
Thanks, shows very well in all styles :)

Emeralda
06-02-2012, 08:57 AM
Ok, I'm totally confused how or why it works.

Here it works: http://nankurunaisa.net/showthread.php?88-Japan%92s-Newest-Tourist-Trap-Toilets&p=1406&viewfull=1#post1406
But for example here: http://nankurunaisa.net/showthread.php?88-Japan%92s-Newest-Tourist-Trap-Toilets&p=1400&viewfull=1#post1400 It doesn't.

Could someone tell me what's going on with it? It seems it doesn't work for the first post, but it works in all subsequent posts.

EDIT: Or not, I just noticed this

http://nankurunaisa.net/showthread.php?2-Cherry-Thread&p=1749&viewfull=1#post1749
http://nankurunaisa.net/showthread.php?2-Cherry-Thread&p=1750&viewfull=1#post1750

EDIT2: I found it, it wasn't generating the code when there was no username, I changed it a bit for myself to show it even then, depends on taste I guess.

<div class="bbcode_container">
<div class="bbcode_quote">
<div class="quote_container">
<div class="bbcode_quote_container"></div>
<vb:if condition="$show['username']">
<div class="bbcode_postedby">
<img src="/images/misc/q.gif" alt="{vb:rawphrase quote}" /> {vb:rawphrase originally_posted_by_x, {vb:raw username}}
<vb:if condition="$postid"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}showthread.php?{vb:raw session.sessionurl}p={vb:raw postid}#post{vb:raw postid}" rel="nofollow"><img class="inlineimg" src="{vb:stylevar imgdir_button}/viewpost-{vb:stylevar right}.png" alt="{vb:rawphrase view_post}" /></a></vb:if>
</div>
<div class="message">{vb:raw message}</div>
<vb:else />
<div class="message">{vb:raw message}</div>
</vb:if>
</div>
</div>
</div>

EDIT3: Edited the code again, just the message class was enough to make it elegant.

faisaly.com
06-06-2012, 04:25 AM
Please edit the first post for users so they can understand exactly how to make this work using vb4.2.0

Thanx in advance....

Emeralda
06-06-2012, 03:23 PM
Please edit the first post for users so they can understand exactly how to make this work using vb4.2.0

Thanx in advance....

It does work, but only when quoting someone (with username for example), and it could probably even work on any other vB4 (vB3 with changing the vB codes). I posted a small edit on first page to include cases when those are quotes without a username to make them slightly more quotish.

faisaly.com
06-06-2012, 07:28 PM
Well maybe the developer will update this post so users can understand how to make it work a bit clearer...

Merenguista
06-08-2012, 08:03 AM
When I joined your forum to see the demo I loved your postbit_legacy, and I want to have one like yours if that is possible ..

Thank you ..

Mark.B
06-08-2012, 10:52 AM
When I joined your forum to see the demo I loved your postbit_legacy, and I want to have one like yours if that is possible ..

Thank you ..
It's highly nice actually. Kind of the reverse way about to my own.

Problem is, I highly doubt someone is going to create such a personalised look for their site, giving them a really distinctive look, and then promptly provide instructions for everyone to copy it.

Of course, I might be wrong, some people do share these things, but with things like this it will often be the case. I learned how to do mine myself from following various tips and articles on here, that's the best way forwards.

Merenguista
06-08-2012, 01:54 PM
It's highly nice actually. Kind of the reverse way about to my own.

Problem is, I highly doubt someone is going to create such a personalised look for their site, giving them a really distinctive look, and then promptly provide instructions for everyone to copy it.

Of course, I might be wrong, some people do share these things, but with things like this it will often be the case. I learned how to do mine myself from following various tips and articles on here, that's the best way forwards.

I visit your forum from time to time Mark, it's super nice, and envy you for having such a great forum. Me too i learned how to do mine myself from following various tips and articles on here, but too bad I'm not good enough, especially since the PHP HTML CSS are not what I love most to do :(

GameOverViper
06-17-2012, 01:56 AM
Do you have the image used available for a dark theme? The one provided doesn't look all that good on it.

Syxguns
06-19-2012, 07:39 AM
Do you have the image used available for a dark theme? The one provided doesn't look all that good on it.

Here, you didn't specify color so I just made this quick.

Edit: I'm not using this, I was just reading about it. The image may look better without the blue outline.

wisemasterchief
06-23-2012, 09:27 PM
works great for me

GameOverViper
06-25-2012, 10:15 PM
Here, you didn't specify color so I just made this quick.

Edit: I'm not using this, I was just reading about it. The image may look better without the blue outline.

Thanks, however already made myself a simple image for my forum. I don't think the blue would go with my grey/green theme either.

eTiKeT?
12-25-2012, 01:53 PM
25 December 2012 updated

Rodrigo.
02-07-2013, 04:18 PM
Great,work in vb 4.2 pch level 3

stained
04-16-2013, 10:55 AM
Thanks for this Etiket. Much nicer than the stock quote box :up:

Muhammad Rahman
06-12-2013, 01:30 AM
work fine vB 4.2.1 :up:

craigvm
06-21-2013, 09:35 AM
installed works fine on vb4.2.1

john7911
11-21-2013, 05:34 AM
Thank you :)

jjohns12
11-22-2013, 08:11 PM
Installed Works great! Thanks

yamahapaul
04-23-2014, 03:58 PM
Installed and works great but.... how do I get rid of the original VB quote bubble in thread previews as shown on the attached pic???

Syxguns
04-23-2014, 08:07 PM
Installed and works great but.... how do I get rid of the original VB quote bubble in thread previews as shown on the attached pic???

Easy to do. Go to the "Admin Control Panel" Select: Styles & Templates > Style Manager

Next to the style you want to edit select "Style Variable Editor" and press Go.

Now you may scroll way down the list till you see bbCode or you may also type "quote" in the search box which will only list the quote items under bbCode.

Now you may do with as you like. Remove the boarder, change the boarder, change the style of the boarder. place color in the boarder, etc. etc.

Good luck and have fun!

yamahapaul
04-28-2014, 02:53 PM
Any idea how I'd remove the arrow as indicated on the attached???

Syxguns
04-28-2014, 05:38 PM
That looks like an error in your PHP code that is causing that to show. Double check the code, or copy and paste it here in [CODE] tags for us to look at.