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
Png Rounded Quotes (PRQ) v.3.10 - Valid XHTML 1.0 Details »»
Png Rounded Quotes (PRQ) v.3.10 - Valid XHTML 1.0
Version: 3.00, by cclaerhout cclaerhout is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-15-2005 Last Update: 02-19-2006 Installs: 58
Template Edits
 
No support by the author.

Png Rounded Quotes (PRQ) version 3.10 - Valid XHTML 1.0

Author: C?dric Claerhout

Thanks to : Elmer, Natch and d00d

Hack description: This hack, based on Elmer?s one, turns the traditional quotes into round quotes with PNG images as border. You can use it with light and dark backgrounds without any graphical problems. For Gif supporters, just use the adobe psd file include to create pictures yourself. Should take 5 minutes, time to open Photoshop and change .png to gif extension in the code.

Zip description : Code, PSD, Pictures ready to use, and useful information.

Time to install: 10 min

Compatible browsers : IE 6 (with png transparency patch), Firefox 1.x, Firefox 1.5x, Safari.

What's new:

20 february 2006 : version 3.10
-quotes are now included in just one table (instead of two)
-width bug for optional bbcodes in IE corrected
-works now with Safari

14 february 2006 : version 3.00
-code complitely rewritten for quotes AND bbcodes ; it shoud fix some display bugs with IE
-code patched to work with Firefox 1.5
-new option for quotes : one or two bubbles (thanks majorxp). See joined pictures to understand : citationmonobulle.jpg and citationdoublebulle.jpg

22 august 2005 : version 2.2
-code rewritten
-option bbcodes interface integrated in the zip files

17 august 2005 : version 2.1
-option : php and code tags template
-update .psd file in in quotesPNG_v2.1.zip
-put a missing png picture in quotesPNG_v2.1.zip
-Bug corrected in code template

16 august 2005 :
-Valid XHTML 1.0
-I had forgotten to join the transparency background version (70%).




Instructions:


First of all, you HAVE to install that hack.
Link : https://vborg.vbsupport.ru/showthread.php?t=93415 (need vB 3.5 RC)

It will allow png picture transparency work with Internet Explorer.


Then download the zip file and follow the instructions:

1. Login to your Admin Control Panel
2. In the Styles & Templates category, click on Style Manager and expand the group of templates in your prefered style, by clicking on the [<<>>] button.
3. Select the group of templates BB Code Layout. Click the 'Expand/Collapse' button, or double-click the group name to expand or collapse the BB Code Layout ? group of templates.
3. Now select the template bbcode_quote. Double-click the template name or click the 'Customize' button to edit this template.
4. Replace all the content in the template field withd the code provided in the txt file in the zip below.
5. Upload the folder "quotes" (or quotestr) containing all the images to your misc images directory of your style :
Code:
[style]/images/misc


Notes:

>You have to increase the amount of images to use in a post through your admin cp, because this mod use images and it counts as post images.
>If new png quotes pictures don?t appear immediately in your old messages, don?t panic and just wait. If you're hurry, just write a new message and it will work.
>I give you the PDF file so that you can modify if you want the quotes. Now it?s easy to do. I give you also a picture that helps you to localise where each segment of the PSD goes.
>Of course i?ve tested this hack, both in IE and Mozilla, and it works great.





Bonus
Once installed, you can make your code, html and php tags the same look if you want. Just go into the option directory included in the zip file, and replace the templates of each of this tags by the content of the text files.
N.B : For those three bbcode, the width depends on the value indicated in "All Style option" under "Code Block Width (pixels)".

Show Your Support

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

Comments
  #92  
Old 02-17-2006, 06:39 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way try this code ; i've added nowrap with CSS style command

HTML Code:
<div style="align:left;margin-top:5px;margin-bottom:5px;width:100%;color:black;">
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="37" style="background-image:url($stylevar[imgdir_misc]/quotes/06.png);background-repeat:no-repeat;width:37px;height:24px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:37px;"></div><!-- /FF 1.5 Patch--></td>
		<td width="100%" style="background-image: url($stylevar[imgdir_misc]/quotes/07.png);background-repeat:repeat-x;width:1px;height:24px;white-space:nowrap;" valign="middle" nowrap="nowrap">
		<div style="width:100%;white-space:nowrap;vertical-align:middle;" class="smallfont" nowrap="nowrap">$vbphrase[quote]:</div></td>
		<td width="16" style="background-image: url($stylevar[imgdir_misc]/quotes/08a.png);background-repeat:no-repeat;width:16px;height:24px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:16px;"></div><!-- /FF 1.5 Patch--></td>
	<if condition="$show[username]">
		<td width="17" style="background-image: url($stylevar[imgdir_misc]/quotes/08b.png);background-repeat:no-repeat;width:17px;height:24px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:17px;"></div><!-- /FF 1.5 Patch--></td>
		<td width="100%" style="background-image: url($stylevar[imgdir_misc]/quotes/09.png);background-repeat:repeat-x;width:1px;height:24px;white-space:nowrap;" valign="middle" nowrap="nowrap">
		<div style="width:100%;white-space:nowrap;vertical-align:middle;" class="smallfont" nowrap="nowrap"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div></td>
		<td width="18" style="background-image:url($stylevar[imgdir_misc]/quotes/10.png);background-repeat:no-repeat;width:18px;height:24px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:18px;"></div><!-- /FF 1.5 Patch--></td>
	</if>
		<td width="100%" style="background-image: url($stylevar[imgdir_misc]/quotes/11.png);background-repeat:repeat-x;width:100%;height:24px;" nowrap="nowrap"></td>
		<td width="18" style="background-image:url($stylevar[imgdir_misc]/quotes/12.png);background-repeat:no-repeat;width:18px;height:24px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:18px;"></div><!-- /FF 1.5 Patch--></td>
	</tr>
	<tr>
		<td width="37" style="background-image: url($stylevar[imgdir_misc]/quotes/04.png);background-repeat:repeat-y;width:37px;height:1px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:37px;"></div><!-- /FF 1.5 Patch--></td>
		<td colspan="<if condition="$show[username]">6<else />3</if>" width="100%" style="background-image: url($stylevar[imgdir_misc]/quotes/00.png);background-repeat:repeat;width:100%;height:1px;margin-right:24px;padding-top:8px;" class="smallfont">
		<if condition="$show[username]"><i>$message</i><else />$message</if></td>
		<td width="18" style="background-image: url($stylevar[imgdir_misc]/quotes/05.png);background-repeat:repeat-y;width:18px;height:1px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:18px;"></div><!-- /FF 1.5 Patch--></td>
	</tr>
	<tr>
		<td width="37" style="background-image: url($stylevar[imgdir_misc]/quotes/01.png);width:37px;height:14px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:37px;"></div><!-- /FF 1.5 Patch--></td>
		<td colspan="<if condition="$show[username]">6<else />3</if>" width="100%" style="background-image: url($stylevar[imgdir_misc]/quotes/02.png);background-repeat:repeat-x;width:100%;height:14px;" nowrap="nowrap"></td>
		<td width="18" style="background-image: url($stylevar[imgdir_misc]/quotes/03.png);width:18px;height:14px;" nowrap="nowrap"><!-- FF 1.5 Patch--><div style="width:18px;"></div><!-- /FF 1.5 Patch--></td>
	</tr>
</table>
</div>
Reply With Quote
  #93  
Old 02-18-2006, 03:17 AM
ehjay's Avatar
ehjay ehjay is offline
 
Join Date: Nov 2001
Location: chicago
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in Safari now -- we'll see how my users respond in terms of other browsers/platforms. I'll get back to you shortly.

=]
Reply With Quote
  #94  
Old 02-20-2006, 01:22 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PRQ 3.10 is OUT - All zip files have been updated.

Changes :
-quotes are now included in just one table (instead of two)
-width bug for optional bbcodes in IE corrected
-works now with Safari
Reply With Quote
  #95  
Old 02-23-2006, 03:17 PM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heh.. I just wanted to report its not working for me with Safari browser... Thanks for the new release..
Gonna recheck it again...
Reply With Quote
  #96  
Old 02-24-2006, 02:47 PM
parajsa's Avatar
parajsa parajsa is offline
 
Join Date: Oct 2003
Location: Albania
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi there, thanks for the hack, i was wondering is just me or any body else is having the same problem, in IE i have a red light background that is not present when i browse with firefox.

Is there a way to get rid of that background?

I attached a pic to exactly show what really happen to me!

thank u in advanced
Reply With Quote
  #97  
Old 02-24-2006, 04:03 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by parajsa
hi there, thanks for the hack, i was wondering is just me or any body else is having the same problem, in IE i have a red light background that is not present when i browse with firefox.

Is there a way to get rid of that background?

I attached a pic to exactly show what really happen to me!

thank u in advanced
It would have been nice if you have read the instructions to make this hack work with IE v.6. Everything is explained. Just install the png transparency hack.
Reply With Quote
  #98  
Old 02-25-2006, 04:10 AM
parajsa's Avatar
parajsa parajsa is offline
 
Join Date: Oct 2003
Location: Albania
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout
It would have been nice if you have read the instructions to make this hack work with IE v.6. Everything is explained. Just install the png transparency hack.
Thank u very much, i did not see that :ermm:

It really solved the problem!
Reply With Quote
  #99  
Old 02-25-2006, 03:41 PM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 350Chevy
Anyway to get this working with vBAdvanced CMPS? If you try to quote something in the "news" section on vBAdvanced the whole page goes whacky.

Other than that it looks great.
Same here, I've instructed my news mods not to post anything with quotes, which is quite a feat as they are truly fond of their quotes........:ermm:
Reply With Quote
  #100  
Old 02-28-2006, 10:24 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gothicuser
Same here, I've instructed my news mods not to post anything with quotes, which is quite a feat as they are truly fond of their quotes........:ermm:
The problem comes from CMPS. My code is considered like basic text when CMPS counts the number of caracters. It means if you have specified in CMPS a X maximum caracters to display, the code included into the quote template will be counted too ! Just try to enter "0" in the maximum caracter to display of CMPS news module and you will see it will work. But i know, that's not a good solution.

You should contact Brian to ask him if there is a way to exclude the code template from the text message, otherway create a new bbcode with a short code like this :
HTML Code:
<div style="padding:$stylevar[cellpadding]px"><fieldset class="fieldset"><legend style="font-size: 11px;color:black;font-weight:bold;">Article:</legend>{param}</fieldset>
</div>
(176 caracters)
Reply With Quote
  #101  
Old 02-28-2006, 10:36 AM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats great cclaerhout, Works well, and as we only use 'Headlines' in the news forums (linking back to threads in other forums) there is no issue with the number of characters being too long.
Thanks again.
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:10 AM.


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.04982 seconds
  • Memory Usage 2,341KB
  • Queries Executed 25 (?)
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_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete