vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Bold Italic Underline buttons (https://vborg.vbsupport.ru/showthread.php?t=55352)

DeMuro1 07-17-2003 07:59 AM

Bold Italic Underline buttons
 
so I'm struggling through making an easily updateable website. My aim is to make no HTML knowledge needed. Kind of reinvent the wheel.

Anyway, I want buttons like the ones that in the post reply windows. Bold italic underline mostly but hyperlink would be good too.

Can anyone help me out here. The view source for this page shows
PHP Code:

<td nowrap><font face="verdana, arial, helvetica" size="1">
        <
input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')" title="BOLD (alt+b)" accesskey="b" 
        
><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')" title="ITALIC (alt+i)" accesskey="i" 
        
><input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')" title="UNDERLINE (alt+u)" accesskey="u" >
        &
nbsp

Thius bit of code but there are severeal problems.
1. I'm afraid there may be some sort of liscenceing or copyright law
2. I hate plagerism even if I can't spell it
3. I'd like to be able to say someone showed me and then I did it thus making me feel more gratified in the end.

Any help would be greatly appreciated

Gary King 07-17-2003 01:23 PM

I believe #1 is correct.

Would be best if you could find a script similiar to vBulletin's somewhere online, that is freely distributed. I'm sure there are several.

If not, then you should learn from vB's code, instead of simply copying it. Once you have learned and educated yourself, then you can write your own code for this, and only refer back to vB's when you need to! :)


All times are GMT. The time now is 02:39 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.00939 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)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