Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2014, 11:30 PM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom BBCode help needed

I saw the BBCode pictured below on another forum and would like to use the same kind of thing on the forum I am with. I don't know how to get the BBCode set up where it looks like the picture.

Is there anyone that knows how to do this and would be willing to help me out?




That is all that they have posted on their site for people to see.

[seinfeld=Kramer]Your text here.[/seinfeld]

[seinfeld=Kramer]I must have been out of my mind. Look at you. Why don't you do something with your life? Sit around here all day, you contribute nothing to society. You're just taking up space. How could I be with someone like you? Couldn't respect myself.[/seinfeld]
Reply With Quote
  #2  
Old 10-25-2014, 11:57 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's pretty simple. First you need the image you want on your server. Then create a new bbcode.

Title: Kramer
BB Code Tag Name: kramer
Replacement:
Code:
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="bottom" style="margin: 0;padding: 0;border: 0;">
<img src="images/funny/Kramer.png">
</td>
<td align="left" valign="top" style="margin: 0;padding: 0;border: 0;">
<div style=" background-color:#ffffff;color: #000000; -moz-border-radius: 16px; -webkit-border-radius: 16px; border: 1px solid #FFFFFF; padding: 4px;font-size: 1em;">  {param} </div>
<div>
</td>
</tr>
</tbody>
</table>
Example:[ KRAMER][ /KRAMER] ( Without the spaces )

Add the images to this folder on your server, or a different one, just change it in the code, images/funny/Kramer.png

Then whenever someone uses the kramer tags it will show up.
Attached Images
File Type: jpg kramer.jpg (66.0 KB, 0 views)
Reply With Quote
Благодарность от:
Lynne
  #3  
Old 10-26-2014, 12:22 AM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much, Ozzy. I just about have it like the picture except for the small v opening up the bubble. That doesn't show. Is that a separate picture?
Reply With Quote
  #4  
Old 10-26-2014, 12:24 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it is, here is the correct code for the replacement.

Code:
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="bottom" style="margin: 0;padding: 0;border: 0;">
<img src="images/funny/Kramer.png">
</td>
<td align="left" valign="top" style="margin: 0;padding: 0;border: 0;">
<div style=" background-color:#ffffff;color: #000000; -moz-border-radius: 16px; -webkit-border-radius: 16px; border: 1px solid #FFFFFF; padding: 4px;font-size: 1em;">  {param}  </div>
<div>
<img alt="" src="images/funny/speech.png">
</div>
</td>
</tr>
</tbody>
</table>
You need to get the images/funny/speech.png
Reply With Quote
  #5  
Old 10-26-2014, 01:13 AM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did the trick. Thank you again for taking the time to help me out, Ozzy. I appreciate it.
Reply With Quote
  #6  
Old 10-26-2014, 02:15 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, glad to help.
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 06:58 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.05103 seconds
  • Memory Usage 2,235KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete