vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - [BB Code] Copyright (https://vborg.vbsupport.ru/showthread.php?t=207357)

Coroner 03-03-2009 10:00 PM

[BB Code] Copyright
 
1 Attachment(s)
This is a Copyright BB Code.

It will draw a box with a (linked) copyright text.

How To:
Go into you AdminCP and add a new BB Code:

Title: Copyright
BB Code Tag Name: copyright
Replacement:
PHP Code:

<div style="margin:auto">
<
table border="0" cellpadding="0" cellspacing="0">
<
tr>
<
td>
<
div style=" background-color: #000000;color: #FFFFFF; -moz-border-radius: 16px; -webkit-border-radius: 16px; border: 1px solid #000000; padding: 4px; font-size: 1em;" />
<
span style="text-align:center;"><strong>Copyright &copy; <a href="{param}" title="{param}">{option}</a2009. All Rights Reserved.</strong></span></div>
</
td>
</
tr>
</
table>
</
div

Example:
[Copyright=php-unlimited]http://www.php-unlimited.com[/Copyright]
Description: Draws a line above the text
Use {option}: Yes
Button Image: ---

Andyrew 03-04-2009 05:44 PM

It displays above and below the box.

AzzidReign 03-04-2009 05:47 PM

Nice! I think I'll have to use this one.

Coroner 03-04-2009 06:51 PM

I'm sorry - don't know why there was the "left" tag :confused:

I changed the replacement.

merk_aus 03-14-2009 03:09 AM

is there any way to get the actual link in there at the moment it just posts the name with a messed up url?

Jasem 03-26-2009 10:22 PM

Good hack, thank you!


All times are GMT. The time now is 09:52 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.01027 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete