Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications

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
  #2  
Old 12-17-2004, 12:16 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, i didn't what to do this afternoon so i've made a new hack allowing transparency (70%) background in quotes. Enjoy :-)
Reply With Quote
  #3  
Old 01-08-2005, 10:29 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Little update.
Reply With Quote
  #4  
Old 01-13-2005, 10:28 AM
imported_Boh imported_Boh is offline
 
Join Date: Jan 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would install this but I'm not smart enough to lol... I tried, but it dealt with images so I was like no thank you

But from the looks of it this is a pretty sweet mod
Reply With Quote
  #5  
Old 01-20-2005, 09:24 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you install Natch’s hack before ?
Give me more details if you want me to help you :-)
Reply With Quote
  #6  
Old 01-20-2005, 06:39 PM
VMV VMV is offline
 
Join Date: Jan 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Natch's hack hasn't worked for me. It adds two quotes to the end of URL. Fixing this shows no result too- spacer.png is displayed alone with no png images over it. I wonder if anybody has the same problems...
Reply With Quote
  #7  
Old 01-21-2005, 04:19 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got no problem with Natch's hack providing i don't use the update of the 07-01-2005.

In his message, don't take care and don't do the modification called "EDIT: 07-01-2005". It should work.

To test if png quotes are working, open a new thread or edit a message with quotes (do nothing and just save). See the notes above.
Reply With Quote
  #8  
Old 01-21-2005, 09:51 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout
I've got no problem with Natch's hack providing i don't use the update of the 07-01-2005.

In his message, don't take care and don't do the modification called "EDIT: 07-01-2005". It should work.

To test if png quotes are working, open a new thread or edit a message with quotes (do nothing and just save). See the notes above.
testing quote
Reply With Quote
  #9  
Old 01-24-2005, 11:44 AM
Dean N Steve's Avatar
Dean N Steve Dean N Steve is offline
 
Join Date: May 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou for sharing your work
Reply With Quote
  #10  
Old 02-08-2005, 02:42 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want this hack working go there


BIG UPDATE
I understand why some of you you have some difficulties with this modification.
Like i've already said, Natch has update his hack, but the new code of january 2005 doesn't work for me. I thought he didn't touch his old code. I was wrong. So i'm going to put here Natch's old hack.


In includes/functions.php:

Find
PHP Code:
// parse PHP include ##################
    
if (!is_demo_mode())
    {
        eval(
fetch_template('phpinclude_end', -10));
    } 
Add After:
PHP Code:
 $output replacePngTags($output); 

Find
PHP Code:
// ###################### Start build datastore #######################
function build_datastore($title ''$data '')
{
    global 
$DB_site;

    if (
$title != '')
    {
        
$DB_site->query("
            REPLACE INTO " 
TABLE_PREFIX "datastore
                (title, data)
            VALUES
                ('" 
addslashes(trim($title)) . "', '" addslashes(trim($data)) . "')
        "
);
    }

Add After:

the code written in alphacode.txt


"In this last bit of code, please edit the line"
PHP Code:
function replacePngTags($x,$img_path='/forum/images/'
"so that the $img_path variable points to your forumroot directory from your ['DOCUMENT_ROOT']. This is relying on your having uploaded the attached spacer.png to your forumroot/images/ folder."
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:11 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.04224 seconds
  • Memory Usage 2,303KB
  • Queries Executed 23 (?)
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
  • (4)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete