Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 11-18-2008, 03:38 AM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #12  
Old 11-18-2008, 03:56 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 11-18-2008, 03:57 PM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 11-18-2008, 05:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 11-18-2008, 05:50 PM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 11-18-2008, 06:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
Reply With Quote
  #17  
Old 11-19-2008, 02:47 AM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(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
Reply With Quote
  #18  
Old 11-19-2008, 03:13 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not in a file, it's in a template:
Quote:
Originally Posted by Lynne View Post
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.)
Reply With Quote
  #19  
Old 11-19-2008, 10:42 AM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I have any more questions stay tuned

THANKS For Now!

Frank H. Shaw
Reply With Quote
  #20  
Old 11-22-2008, 07:07 PM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04540 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete