vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - vbulletin.org Quote Box (https://vborg.vbsupport.ru/showthread.php?t=283790)

eTiKeT? 05-31-2012 10:00 PM

vbulletin.org Quote Box
 
1 Attachment(s)
vbulletin.org Quote Box 4.2.0

Online Demo : vbulletin.web.tr
  • Open the additional.css template of the theme that you use and add this code to the top

PHP Code:


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

.bbcode_container .bbcode_quote_container backgroundtransparent; }
 
.
bbcode_container div.bbcode_quote {
    
backgroundnone repeat scroll 0 0 transparent;
    
border1px solid transparent;
    
margin0 0 10px; }
 
.
bbcode_quote div.quote_container {
    
border-radius5px 5px 5px 5px;
    
padding5px 10px; }
 
.
bbcode_container div.bbcode_quote div.message{
    
border-left3px solid #CCCCCC;
    
color#9E9E9E;
    
margin-left20px;
    
padding8px 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:


PHP Code:

<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:
Code:

{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

Quote:

Originally Posted by eTiKeT? (Post 2335514)
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.p...ull=1#post1406
But for example here: http://nankurunaisa.net/showthread.p...ull=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.p...ull=1#post1749
http://nankurunaisa.net/showthread.p...ull=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.

Code:

<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

Quote:

Originally Posted by faisaly.com (Post 2336997)
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

Quote:

Originally Posted by Merenguista (Post 2337676)
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

Quote:

Originally Posted by Mark.B (Post 2337696)
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

1 Attachment(s)
Quote:

Originally Posted by Americanbang (Post 2340244)
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

Quote:

Originally Posted by Syxguns (Post 2340974)
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

1 Attachment(s)
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

Quote:

Originally Posted by yamahapaul (Post 2494316)
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

1 Attachment(s)
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.


All times are GMT. The time now is 06:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01341 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete