vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   registration image on register,php image goes not refresh (https://vborg.vbsupport.ru/showthread.php?t=196582)

Frank H. Shaw 11-18-2008 03:38 AM

I am sorry I was not asking for that!

But should I keep the

define('THIS_SCRIPT', 'register');

or

define('THIS_SCRIPT', 'registerxx');

is it safe to change?

please explain?

SEOvB 11-18-2008 03:56 AM

You should be able to keep the script named as 'register'

That's only used for conditionals, however if you changed anything that looked like "THIS_SCRIPT == register" to "THIS_SCRIPT == registerxx" then you'll also need to update the define function at the top of the register.php to registerxx

Also, you can use a free program such as Crimson Editor, that will search thru all the vBulletin files, for any reference to "register" and tell you the file and line number it appears on, that may help you some as well.

After that, I've honestly not much idea if changing the javascript around didn't help :(

Frank H. Shaw 11-18-2008 03:57 PM

Thank you for both the information the Crimson Editor and the

"THIS_SCRIPT == register" that will be a big help in understanding.

Now about the session verables or what would be used when the image refreshes its self.

registration image or force a refresh on the page it that point when the user selects the link.

THANKS

Frank H. Shaw

Lynne 11-18-2008 05:27 PM

These are the lines listed in the source code on that page in regards to the image:
HTML Code:

<script type="text/javascript" src="clientscript/vbulletin_ajax_imagereg.js?v=373"></script>
<script type="text/javascript">
<!--
vB_AJAX_ImageReg_Init();
//-->

</script>

So, you will have to look at the javascript for it.

Frank H. Shaw 11-18-2008 05:50 PM

This call the image code which I have not touched in any way but what cause the refresh of the image or refresh of the page? What file in the above script did you get this code since this line

vB_AJAX_ImageReg_Init();

is not in register.php file - what file did you get this from if you do not mind me asking?

I can only assume itis a return from a function.

One could ask is there a place where the link you select on under the image triggers a call to update the image.

Also as I said before the refesh of the page {register.php} seems to cause the image to allso change its letters in the image.

If i could understand that the place where the register.php calls whet maybe I might be closer to answreing my questions may self. But up to now I do not see where that is happening?

THANKS

Frank H. Shaw

Lynne 11-18-2008 06:56 PM

What I posted was what is on my 3.7.3 board page source (I don't have access to yours, so I have to look at mine). Its from the 'humanverify_image' template. (Darn, I just noticed you are using 3.6.8. - just look in your page source near where it says "Refresh Image" and see what is under there.)

(edit: It's the same on my 3.6.8 board.)

Frank H. Shaw 11-19-2008 02:47 AM

(edit: It's the same on my 3.6.8 board.)

What source did you find the script you posted?

<script type="text/javascript" src="clientscript/vbulletin_ajax_imagereg.js?v=373"></script>
<script type="text/javascript">
<!--
vB_AJAX_ImageReg_Init();
//-->
</script>

Give me the file name so that I can look at the source around the code my self?

THANKS

Lynne 11-19-2008 03:13 AM

It's not in a file, it's in a template:
Quote:

Originally Posted by Lynne (Post 1668243)
What I posted was what is on my 3.7.3 board page source (I don't have access to yours, so I have to look at mine). Its from the 'humanverify_image' template. (Darn, I just noticed you are using 3.6.8. - just look in your page source near where it says "Refresh Image" and see what is under there.)

(edit: It's the same on my 3.6.8 board.)


Frank H. Shaw 11-19-2008 10:42 AM

If I have any more questions stay tuned

THANKS For Now!

Frank H. Shaw

Frank H. Shaw 11-22-2008 07:07 PM

The line 37 in the file includes - md5_sums_vbulletion.php

The following:

$md5_sums = array(
'/' => array(
'register.php' => 'e789eb3131e27e2cdf90e9c9687f9f86',
),

What is happing here and can i change the file to registerxx.php - if i did what woud the impact happen to be ?

THANKS

Frank H. Shaw


All times are GMT. The time now is 05:45 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.01697 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete