vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   QuickReply with image verification for Guests (https://vborg.vbsupport.ru/showthread.php?t=174852)

ru55ian 04-02-2008 12:09 AM

QuickReply with image verification for Guests
 
Hey all, i have been looking for something like this for v3.6.8

there seems to be two mod's for 3.5.4 when you combine both will give you that function, but nothing for 3.6.8

https://vborg.vbsupport.ru/showthread.php?t=174769
and
https://vborg.vbsupport.ru/showthread.php?t=174068

Just wondering if anyone can possibly help me out with this... would really appreciate it.

Regards.

ru55ian 04-06-2008 09:52 PM

looks like nobody else is interested in getting this mod for 3.6.8

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.

ru55ian 04-06-2008 10:24 PM

1 Attachment(s)
Forgot to add an image:

Mr.Abdullah 07-25-2008 08:37 PM

I need also

zmmmzz 07-28-2008 10:21 PM

i need this too!! its a really cool mod


All times are GMT. The time now is 08:19 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.01065 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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