Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
vbulletin.org Quote Box Details »»
vbulletin.org Quote Box
Version: 1.00, by eTiKeT? eTiKeT? is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.0 Rating:
Released: 05-31-2012 Last Update: Never Installs: 43
Re-useable Code Translations  
No support by the author.

vbulletin.org Quote Box 4.2.0

Online Demo : vbulletin.web.tr
  • Upload this image to your image/misc folder:
  • 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

Download Now

File Type: (69.6 KB, 0 views)
File Type: (19.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
nacaruncr

Comments
  #12  
Old 06-01-2012, 09:07 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O.O Now it works, so awkward.
Reply With Quote
Благодарность от:
eTiKeT?
  #13  
Old 06-02-2012, 04:31 AM
l0l4s0 l0l4s0 is offline
 
Join Date: Dec 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this, Nominate 5 Starts. Thank You.
Reply With Quote
Благодарность от:
eTiKeT?
  #14  
Old 06-02-2012, 04:37 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eTiKeT? View Post
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
Reply With Quote
Благодарность от:
eTiKeT?
  #15  
Old 06-02-2012, 08:29 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, shows very well in all styles
Reply With Quote
  #16  
Old 06-02-2012, 08:57 AM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 06-06-2012, 04:25 AM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please edit the first post for users so they can understand exactly how to make this work using vb4.2.0

Thanx in advance....
Reply With Quote
  #18  
Old 06-06-2012, 03:23 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisaly.com View Post
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.
Reply With Quote
  #19  
Old 06-06-2012, 07:28 PM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well maybe the developer will update this post so users can understand how to make it work a bit clearer...
Reply With Quote
  #20  
Old 06-08-2012, 08:03 AM
Merenguista's Avatar
Merenguista Merenguista is offline
 
Join Date: Sep 2010
Location: Morocco
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ..
Reply With Quote
  #21  
Old 06-08-2012, 10:52 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merenguista View Post
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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05141 seconds
  • Memory Usage 2,366KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete