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

Reply
 
Thread Tools
PNG Rounded Quotes (PRQ) Details »»
PNG Rounded Quotes (PRQ)
Version: 1.00, by cclaerhout cclaerhout is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-16-2004 Last Update: Never Installs: 0
 
No support by the author.

Png Rounded Quotes (PRQ)
Author: C?dric Claerhout
Thanks to : Dexter, Natch and d00d
Hack description: This hack, based on Dexter?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.
Zip description : Code, PSD, Pictures ready to use, and useful information.
Time to install: 10 min
Test forum : Here



Instructions


First of all, you HAVE to install that hack.
Link : https://vborg.vbsupport.ru/showthread.php?t=77465

It will allow png picture transparency work with Internet Explorer.
This great hack is really easy to install.

Another similar hack exists. Go at the bottom of this message if you don't like the above one.



Then download the zip file and follow the instructions (it?s a copy of Dexter?ones ; i?m french and my english is no more good):
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" containing all the images to your images directory at your forums




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 ; your forum ?cache? (don?t know if it?s the correct word ? ?memory? would be may be better) must be adapted. Any way it will works with new messages.
>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 (I?ve change the original code to make it work).





If you didn't like the above hack making png files transparent with IE, here is another one created by Natch.
Link : https://vborg.vbsupport.ru/showthread.php?t=67413

Update : Natch has update his hack, but the new code of january 2005 doesn't work for me. It's goal was to avoid to specify the width and the height of each png pictures. To install Natch's old hack (the one that is working) GO THERE

Show Your Support

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

Comments
  #12  
Old 02-09-2005, 12:15 PM
imported_yoyoyoyo imported_yoyoyoyo is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for sharing. So Natch's old code will work with 3.0.6? I just tried installing it and got an unexpected T error

edit: I think this is the culprit:

PHP Code:
        $new_tag=str_replace($image.$quote,$replace_src_wi  th
I assume that should be: $new_tag=str_replace($image.$quote,$replace_src_wi th

that is strange: in my c&p it is adding a space!

people should also know that the "quotes" images folder needs to be renamed with a small Q instead of a large one, and it goes inside the images/misc folder
Reply With Quote
  #13  
Old 02-09-2005, 02:31 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First : Thanks to warn me about the "Q". That's corrected.

Second : you've right again, there was a problem with that strange space... And may be somewhere else. I don't know how it has happened. The problem comes each time i paste the code... Strange. To avoid that, i've pasted the code in a txt file. Hope it will work this time.

Please tell me that it works this time ;-)
I've tested on two forums and it goes well.


PRQ works with Vbulletin 3.06

Look at the test forum.
Reply With Quote
  #14  
Old 02-10-2005, 08:31 AM
Scootmans Scootmans is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i do to remove the grey frame around the qoute note?

Look at the attached file
Reply With Quote
  #15  
Old 02-10-2005, 11:49 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you're using Internet Explorer. Png transparency doesn't work with this browser. But there is a solution like it's already written on the top. You HAVE to install Natch?s hack. See post n?10.
Reply With Quote
  #16  
Old 02-10-2005, 12:46 PM
Scootmans Scootmans is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok whare can i find the, "In includes/functions.php:" ? i am newbie on this
Reply With Quote
  #17  
Old 02-10-2005, 01:27 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well well well... Let's start by the beginning.

A "Hack" is a modification of your php files. This files are those you put to your server. Remember : you download vbulletin in a zip file then you expand it and many files have appeared.

So to find "includes/functions.php" you must connect to your server ; go to the root of your forum folder, then you'll see "includes" directory. Click on it. You will find then "functions.php". Transfer it to your desk. Make a copy. Open it with your notepad or better with EditPad (look in google). Then follow the manual ;-)

Search and find - put above (before) / below (after) - (or) replace - save - replace the file on your server and test it.

For more help go to vbulletin.org
Reply With Quote
  #18  
Old 02-10-2005, 01:34 PM
Scootmans Scootmans is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks for all help..
Reply With Quote
  #19  
Old 02-11-2005, 02:56 AM
imported_yoyoyoyo imported_yoyoyoyo is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack slowed my forum down for some members, especially those on AOL, so I had to remove it, and now it is running at the normal speed for everyone. Personally I didn't see any difference in speed, but a few others did. Once it was gone all was well with them. They said it caused a "lag"
Reply With Quote
  #20  
Old 02-11-2005, 06:41 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 yoyoyoyo
this hack slowed my forum down for some members, especially those on AOL, so I had to remove it, and now it is running at the normal speed for everyone. Personally I didn't see any difference in speed, but a few others did. Once it was gone all was well with them. They said it caused a "lag"
... Strange. I didn't see any lag exept when i were using the new version of Natch?s hack (that didn't work anyway). Positive point : you're the first one to tell me that the Postbit Modifications is working lol

If other people find the hack cause a "lag", please tell it.
Reply With Quote
  #21  
Old 02-20-2005, 04:48 AM
AV2 AV2 is offline
 
Join Date: Jan 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On firefox my code works excellently on IE it gives me errors for some of the PNG's but not all... any ideas?
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 10:10 AM.


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.04769 seconds
  • Memory Usage 2,308KB
  • 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_php
  • (1)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
  • (2)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