vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Buttons (https://vborg.vbsupport.ru/showthread.php?t=70379)

pip_9 10-09-2004 04:50 PM

Buttons
 
Hi I have made some custom image buttons to replace the
"Register FAQ Members List Calendar Today's Posts Search"
text links but I was wondering how do I actually put them on the site. and make the buttons go to the right places?
Also how do you highlight the butons when the mouse it put over them?
Thanks a lot for the help
Phil

Velocd 10-09-2004 05:14 PM

If you're not very familar with HTML, I recommend you learn the basics:
http://www.w3schools.com/xhtml/

The buttons are images, and if they hold the same filename as the original vB buttons, you just have to upload the images to the server (overwriting the previous buttons).

If they have different names, you'll need to edit the templates in the Admin CP finding the <img /> tag of the original buttons, and changing the path.

You cannot "highlight" buttons that are images upon hover (well, maybe with some very fancy CSS trick..). If the buttons are non-images, i.e. <input type="button" />, you can use Javascript to change button properties.

e.g.
HTML Code:

<input type="submit" value="Click Me" onmouseover="this.style.background='#452456'" />
(I think that would do something, I don't often mess with mouseover's on buttons)

pip_9 10-09-2004 07:15 PM

Hi,
I know html but the problem is there are not any exsiting buttons there is just text so where do I add the html to make the buttons show up instead of the text?
Thanks again for the help
Phil

Velocd 10-10-2004 12:48 AM

If you did a normal vBulletin installation, there shouldn't be text buttons.

Unless of course those are dead images, and your browser is properly showing the "Alt" text.

The template you need to refer to is postbit (or postbit_legacy, if you use classic style) template.


All times are GMT. The time now is 08:24 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.01090 seconds
  • Memory Usage 1,713KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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