Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Alternate Quote Layouts Details »»
Alternate Quote Layouts
Version: 1.00, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 05-01-2010 Last Update: Never Installs: 5
Template Edits
Re-useable Code  
No support by the author.

If you don't like the current VBulletin Quote BBCode here are some other layouts. Simply replace the contents of bbcode_quote with one of these codes. The PM codes will only show the Quote layout in PMs only.

Email Look
Code:
_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
                <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
                
            <else />
                <p><p><i>$message</i>
            </if><p><p>
_________________________________________________________
<br />
Sleek Look
Code:
<fieldset>
<legend>
Quote: 
	<if condition="$username != ''">
	Originally posted by: <b>$username</b>  <if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if>
	</span>
	</if>
	</legend>
$message
</fieldset>

Show in PM only Email Look
Code:
<if condition="THIS_SCRIPT=='private'">
_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
                <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
                
            <else />
                <p><p><i>$message</i>
            </if><p><p>
_________________________________________________________
<br />
<else />
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
	<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
	<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2" style="border:1px inset">
			<if condition="$show['username']">
				<div>
					<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
					<if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if>
				</div>
				<div style="font-style:italic">$message</div>
			<else />
				$message
			</if>
		</td>
	</tr>
	</table>
</div>
</if>
Show in PM only Sleek Look
Code:
<fieldset>
<legend>
Quote: 
	<if condition="$username != ''">
	Originally posted by: <b>$username</b>  <if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if>
	</span>
	</if>
	</legend>
$message
</fieldset>
<else />
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
	<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
	<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2" style="border:1px inset">
			<if condition="$show['username']">
				<div>
					<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
					<if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if>
				</div>
				<div style="font-style:italic">$message</div>
			<else />
				$message
			</if>
		</td>
	</tr>
	</table>
</div>
</if>

Screenshots

File Type: jpg Quote Screenshot.jpg (142.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-02-2010, 09:02 PM
vividbreeze vividbreeze is offline
 
Join Date: Sep 2007
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pics?
Reply With Quote
  #3  
Old 05-02-2010, 09:25 PM
elwachiman's Avatar
elwachiman elwachiman is offline
 
Join Date: Nov 2009
Location: Venezuela
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same question,,,pics please...
Reply With Quote
  #4  
Old 05-02-2010, 09:41 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot added. The one with lines is email view and the one in the box is sleek view. I made multiple quotes using one with just a quote, one with just quote and username, and one with just quote, username, and post id.
Reply With Quote
  #5  
Old 05-03-2010, 11:25 AM
sKippah sKippah is offline
 
Join Date: Oct 2008
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Much nicer then the default. there are quit a lot of things that are not looking so good...
thanks for your changes
Reply With Quote
  #6  
Old 05-03-2010, 01:51 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One small correction, hope you won''t mind it.

In vb 4 the template conditionals have changed.

So instead of for ex

HTML Code:
<if condition="$show['username']">
You should use:

HTML Code:
<vb:if condition="$show['username']">
Or, <else /> should be: <vb:else /> and the closing </if> instead should be: </vb:if>
Reply With Quote
  #7  
Old 05-04-2010, 10:52 AM
sKippah sKippah is offline
 
Join Date: Oct 2008
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Would be nice if the Threadstarter would correct his code
Reply With Quote
  #8  
Old 07-18-2010, 04:25 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would like to use, but I he hasn't made the corrections yet.
Reply With Quote
  #9  
Old 07-24-2010, 12:14 PM
rootrider rootrider is offline
 
Join Date: Feb 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for his 'sleek look' I took the template code and added in the content producing bit from the original template. In other words.. it's really just stripped the design part of the template. I like it..

Code:
<fieldset>
<legend>
Quote: 
	<vb:if condition="$show['username']">
	{vb:rawphrase originally_posted_by_x, {vb:raw username}}
					<vb:if condition="$postid"><a href="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>
	</vb:if>
	</legend>
{vb:raw message}
</fieldset>
Reply With Quote
  #10  
Old 07-27-2010, 05:51 PM
pportuese pportuese is offline
 
Join Date: Jul 2010
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you add the little " icon to this code too?
Reply With Quote
Reply


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 12:57 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.08274 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (2)bbcode_html
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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