vb.org Archive

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

paulyy 07-26-2004 01:25 AM

Image Verification
 
I am wanting to duplicate the register.php page script to add it on my front page. I would ask for about 3 / 4 fiellds then they click submit, sort of a quick register. But I searched the vB files and couldn't find the Image Verification images.

I basically wanted to "re-create" the images to make them smaller to fit into my page better. Can anyone explain how the Image Verification images work, and where they are?

paulyy 07-26-2004 11:26 PM

No one know?

mattster2002 07-27-2004 11:34 AM

I'm pretty sure vB uses GD to generate the image on the fly.
So you wouldnt be able to find it in your images directory, To change the size just jump into your styles and templates editor in your control panel, select the register template under edit tempaltes and look for the line

Code:

<td rowspan="2"><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /></td>
Just change the width and height sections - I think thats prolly the easiest way.

Colin F 07-27-2004 12:02 PM

If that squeezes up you're image too much, so that it's not readable, you might try changing the settings in the php file.

The image is made in image.php, you can change this for example:
PHP Code:

    // Resized image that blows up string.
    
$image_width 201;
    
$image_height 61


mattster2002 07-27-2004 12:28 PM

Ahh thats what i was looking for Colin :) Thats two in one night you've done it ;) You're a machine!

Colin F 07-27-2004 01:33 PM

I have the advantage of it not being night here ;)

paulyy 07-27-2004 10:46 PM

Thank you :) I'll try this out.


All times are GMT. The time now is 07:05 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.01112 seconds
  • Memory Usage 1,718KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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