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

Reply
 
Thread Tools
BBCode: [wonders] Details »»
BBCode: [wonders]
Version: 1.02, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-25-2006 Last Update: 06-02-2006 Installs: 24
Re-useable Code Additional Files  
No support by the author.

Ok, this is my first "OFFICIAL" release so go easy on me. It's a small one - nothing fancy, while I work on the Bible script. This should be able to work on all 3.5.x and possibly 3.0.x versions (I've not tested it). I've always wanted something like this, but decided this morning to "just do it."

I would rate this an easy modification - most everyone should be able to install this.

If you have previously installed this hack, please replace the code with the new code (below) and remove your old images and insert the new ones (they are numbered differently).

Step 1: Upload the images to your images folder. If you upload them elsewhere, change the location in step 2 (replacement code) to accomodate.

Step 2: Go to your admincp => Custom BB Codes => Add New BB Code

Title Wonders

Tag wonders

Replacement (replace www.yoursite.com with your URL/path to images directory) Also, please note that you can alter the color of the wonder text in this area
<font color="#FE0202">wonders {param}</font>
Code:
<table cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="2"><img src="http://www.yoursite.com/images/cloud_101.gif" width="236" height="30" alt=""></td>
        <td style="background-image: url(http://www.yoursite.com/images/cloud_102.gif);background-repeat:repeat-x;width:100%;height:30;" nowrap="nowrap" alt=""></td>
        <td colspan="2"><img src="http://www.yoursite.com/images/cloud_103.gif" width="161" height="30" alt=""></td>
    </tr>
    <tr>
        <td><img src="http://www.yoursite.com/images/cloud_104.gif" width="126" height="44" alt=""></td>
        <td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_105.gif)"></td>
        <td><img src="http://www.yoursite.com/images/cloud_106.gif" width="51" height="44" alt=""></td>
    </tr>
    <tr>
        <td style="background-image: url(http://www.yoursite.com/images/cloud_107.gif);repeat:repeat-y;width:126;height:100%;" nowrap="nowrap" alt=""></td>
        <td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_105.gif)" "background-repeat:no-repeat" alt=""><table border="0"><tr><td><font color="#FE0202">wonders {param}</font></td></tr></table></td>
        <td style="background-image: url(http://www.yoursite.com/images/cloud_108.gif);repeat:repeat-y width:51 height:100%;" nowrap="nowrap" alt=""></td>
    </tr>
    <tr>
        <td><img src="http://www.yoursite.com/images/cloud_109.gif" width="126" height="44" alt=""></td>
        <td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_105.gif)"></td>
        <td><img src="http://www.yoursite.com/images/cloud_110.gif" width="51" height="44" alt=""></td>
    </tr>
    <tr>
        <td colspan="2"><img src="http://www.yoursite.com/images/cloud_111.gif" width="236" height="30" alt=""></td>
        <td style="background-image: url(http://www.yoursite.com/images/cloud_112.gif);background-repeat:repeat-x;width:100%;height:30;" nowrap="nowrap" alt=""></td>
        <td colspan="2"><img src="http://www.yoursite.com/images/cloud_113.gif" width="161" height="30" alt=""></td>
    </tr>
    <tr>
        <td><img src="http://www.yoursite.com/images/spacer.gif" width="126" height="1" alt=""></td>
        <td><img src="http://www.yoursite.com/images/spacer.gif" width="110" height="1" alt=""></td>
        <td><img src="http://www.yoursite.com/images/spacer.gif" width="100%" height="1" alt=""></td>
        <td><img src="http://www.yoursite.com/images/spacer.gif" width="110" height="1" alt=""></td>
        <td><img src="http://www.yoursite.com/images/spacer.gif" width="51" height="1" alt=""></td>
    </tr>
</table>
Example [wonders]what today will be like[/wonders]

Description This is for a short text wonder bubble.

Use {option} No

Button Image (Optional) No

Save

Temporary demo location (fits 100% of your style):
http://www.christianboards.org/showt...=5731#post5731

Feel free to alter this as needed. This is my gift to you!

Version History

1.02 I've edited it a second time to include changes made by peterska2 in which she helped me fix a repeat-y issue that plagued larger "wonders." A special thanks goes to her for helping me fix that issue. Thank you.

1.01 I've edited the code to clean it up a little.

Show Your Support

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

Comments
  #12  
Old 05-27-2006, 12:16 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The bubble is made up of 13 images, cut up so that they form tables and rows (to fit correctly). There are even images that have nothing in them, but its for making sure it flows corrrectly. The two images 03 and 11 are a set width, but I have set them to flow 100% of the remainder of the width of the post (repeating horizontally - repeat-x).

Btw, I won't be back until Tuesday to answer any other questions due to going out of town. I hope this answers your question. If not, I will try to explain better when I return.
Reply With Quote
  #13  
Old 05-31-2006, 04:40 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway to change the text color yet? Dark forums with that, don't work out nicly.....
Reply With Quote
  #14  
Old 05-31-2006, 10:38 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As in what's inside the bubble? If so, it might have to be a CSS replacement as I fought with other issues on that. Not sure. I'll be gone most of the day but I could play around with that tomorrow.
Reply With Quote
  #15  
Old 05-31-2006, 08:22 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot
anyway to change the text color yet? Dark forums with that, don't work out nicly.....
Have you tried just changing the font color through BBCode?
Reply With Quote
  #16  
Old 06-01-2006, 06:37 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a thought... you may be able to play around with this line
Code:
        <td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_07.gif)" "background-repeat:no-repeat" alt="">wonders {param}</td>
by adding a color tag before the ending </td> tag and enclosing the "wonders {param}"
Code:
<font color="#FE0202">wonders {param}</font>
which would make the result look like this:
Code:
        <td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_07.gif)" "background-repeat:no-repeat" alt="">wonders {param}</td>
Reply With Quote
  #17  
Old 06-01-2006, 06:58 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by christianb
which would make the result look like this:
I think you mean it would look like this:

Code:
<td colspan="3" style="background-image: url(http://www.yoursite.com/images/cloud_07.gif)" "background-repeat:no-repeat" alt=""><font color="#FE0202">wonders {param}</font></td>
:bunny:
Reply With Quote
  #18  
Old 06-01-2006, 08:23 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not the best on expressions, but yes.
Reply With Quote
  #19  
Old 06-01-2006, 11:52 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're aware (I hope) that the ends don't render correctly if there is more than a few simple lines of text right?
Reply With Quote
  #20  
Old 06-02-2006, 12:19 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do know that - couldn't figure out (that day) how to set that correctly. I was thinking about doing a repeat-x;repeat-y; but never got on it. I will try to work on that tomorrow.

Edit. Actually I'd have to re construct the bubble, keep the current repeat-x and use repeat-y on the new ones - 6 and 8 won't work.
Reply With Quote
  #21  
Old 06-03-2006, 05:54 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack has been updated, with peterska2's help on the repeat-y issue. All users who have installed this hack, please remove the original code and images and replace with updated.
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 11:18 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.06407 seconds
  • Memory Usage 2,315KB
  • 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
  • (5)bbcode_code
  • (2)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