Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Alternate Quote Layout (plus explanation for new stylers) Details »»
Alternate Quote Layout (plus explanation for new stylers)
Version: 1.00, by ronoxQ ronoxQ is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 08-21-2006 Last Update: Never Installs: 2
Template Edits
 
No support by the author.

Some people really don't like the quote layout that vBulletin uses: it's drab, it's overused, and overall, it's pretty boring to look at. This isn't a huge change: it's really almost not a mod at all. It just changes the layout a bit, so your users have something different than all the other forumgoers in the world.

I made this for www.artisansenigma.com, since I thought it would help streamline the look of the site. If you like it, please click Install! This is my first-ever vBulletin mod!

---

Installation:

This is really easy, and it can't backfire on you. In your ACP, go to the bar Styles & Templates, and click on the sub-option Style Manager. Expand the templates for the style you want to use, and find the one called bbcode_quote. Replace the entire contents of that template with the below code:

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>
_________________________________________________________
What this is doing (for new stylers): Basically, this starts off by inserting a line above the quoted area. Next, it calls the phrase vBulletin uses for quotes, and puts it in strong font. After that, it uses a conditional: if the quote refers to another person:

Code:
[quote=XXXXXX]
Then it adds your Originally_Posted_By_X phrase in there. Otherwise, it doesn't. Finally, it displays the message quotes, in italics.

As I said, it's barely a hack, and it's pretty simplified. I got the idea from Something Awful, which uses a similar template for quoting. Soon, however, I'll be adding a few other quote templates to this mod, so you have a bunch to pick from.

Hope you enjoy! ^_^

Show Your Support

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

Comments
  #2  
Old 08-21-2006, 11:34 PM
ronoxQ's Avatar
ronoxQ ronoxQ is offline
 
Join Date: Aug 2005
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for future use, if any.

If you have any other quote-related mods that you don't want disturbed by my hack, post links to them here, and I'll add a workaround to this mod!
Reply With Quote
  #3  
Old 10-11-2006, 07:01 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know if there is a way to set this for private messages only?

I'd like to change my PM inbox view to look more like it would if you were reading email.
Reply With Quote
  #4  
Old 10-16-2006, 02:29 PM
ronoxQ's Avatar
ronoxQ ronoxQ is offline
 
Join Date: Aug 2005
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
Do you know if there is a way to set this for private messages only?

I'd like to change my PM inbox view to look more like it would if you were reading email.
Hi, moonclamp! You can't just apply this mod as-is for that: the quote template is used everywhere, not just in one place. However, I'll look into it: I'm sure there's a template you can change for this, and I'll try to find out what it is for you.
Reply With Quote
  #5  
Old 10-16-2006, 06:47 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.

As far as I can see there is just the one template, but maybe a new template can be created and used somehow?
Reply With Quote
  #6  
Old 10-23-2006, 06:16 PM
ronoxQ's Avatar
ronoxQ ronoxQ is offline
 
Join Date: Aug 2005
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
Thank you.

As far as I can see there is just the one template, but maybe a new template can be created and used somehow?
Well, my strategy would be to edit the template involving responses to PMs. If you replace the "Quote Message" section in that template with something like the code I used for this modification, it should work.

However, that doesn't affect any quotes added manually by the user, unfortunately...
Reply With Quote
  #7  
Old 09-15-2008, 12:21 PM
Stagehandspace Stagehandspace is offline
 
Join Date: Jun 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add
HTML Code:
<br />
to the end of above code otherwise the reply is inline with the bottom line (thats what I found anyway)
Reply With Quote
  #8  
Old 05-02-2010, 07:46 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp View Post
Do you know if there is a way to set this for private messages only?

I'd like to change my PM inbox view to look more like it would if you were reading email.
Sorry to bump, I find this topic useful and wanted to contribute. Here is the code you are looking for:
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>
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 01:02 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.04491 seconds
  • Memory Usage 2,280KB
  • Queries Executed 21 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete