Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 04-07-2008, 04:55 PM
ru55ian's Avatar
ru55ian ru55ian is offline
 
Join Date: May 2007
Location: Canada
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ImageVerification help needed

Maybe someone can help me finish it? So far i was able to get quickreply to show up for guests by installing this: https://vborg.vbsupport.ru/showthread.php?t=174769

and then I was able to add verification into the quickreply by adding this to the ShowThread template

after:


Code:
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
					</div>
</fieldset>
I have added:


Code:
<if condition="$bbuserinfo['userid'] == 0">
<fieldset class="fieldset">
	<legend>$vbphrase[image_verification]</legend>
	<table cellpadding="0" cellspacing="$stylevar[formspacer]"  border="0" width="100%">
	<tr>
		<td width="100%" valign="top">
			$vbphrase[please_enter_the_text]<br /><br />
			<img id="progress_imagereg" style="display: none; float:$stylevar[right]" src="$stylevar[imgdir_misc]/progress.gif" alt="" />
			<input id="imagestamp" type="text" class="bginput" name="imagestamp" size="10" maxlength="6" />
			<input id="imagehash" type="hidden" name="imagehash" value="$imagehash" />
		</td>
		<td valign="bottom" align="center">
			<img id="imagereg" src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" />
			<span id="refresh_imagereg" style="display:none"><a href="#">$vbphrase[refresh_image]</a></span>
		</td>
	</tr>
	</table>
</fieldset>
<script type="text/javascript" src="clientscript/vbulletin_ajax_imagereg.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vB_AJAX_ImageReg_Init();
//-->
</script>
<br />
</if>
Now i am stuck because when quickreply shows up, verification image is not showing up, instead default Vbulletin image shows up in it's place, when i click refresh, i get an HTML error. I know there is a mistake somewhere, but i am no coder, therefore i am unable to find it. if anyone can help i would really appreciate it.


Regards.
Attached Images
File Type: jpg quickreply.jpg (20.0 KB, 0 views)
Reply With Quote
  #2  
Old 04-11-2008, 10:47 PM
ru55ian's Avatar
ru55ian ru55ian is offline
 
Join Date: May 2007
Location: Canada
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anybody? i am still in need of help.
Reply With Quote
  #3  
Old 07-25-2008, 08:38 PM
Mr.Abdullah Mr.Abdullah is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help .!
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 03:45 PM.


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.03373 seconds
  • Memory Usage 2,188KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete