Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Guest Image Verification for New Threads/Posts Details »»
Guest Image Verification for New Threads/Posts
Version: 1.0.1, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 03-23-2008 Last Update: 03-29-2008 Installs: 4
Uses Plugins Template Edits
Translations  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*==========================================*\
|| Guest Image Verification for New Threads/Posts
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x
|| Released : Mar 29, 2008
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*==========================================*/

DESCRIPTION

This hack is a port of the following hack:
https://vborg.vbsupport.ru/showthread.php?t=72026

Just like the original, it makes it so that, when a guest is creating a new thread or replying to an existing one, an image verification prompt is shown within the body of the form. The hack uses the image verification system that is bundled with vBulletin, and will work on vBulletin 3.5.x series only, as vBulletin 3.6.x+ has integrated support for guest image verification for posts.

STATISTICS

Template Changes: 1
Products to Install: 1


VERSION HISTORY

1.0.1
Corrected a few bugs.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-24-2008, 09:53 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font size="3">FAQ's:</font>

Q: Does this hack work on vBulletin 3.6.x+?
A: No, because vBulletin 3.6.x+ has this feature bundled, and you don't need any hacks for those versions.

Q: I have a quick reply showing up for guests. How do I add the image verification to that, so that people can use it?
A: See the attached text file.
Reply With Quote
  #3  
Old 03-24-2008, 11:16 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good to see you back, Anthony.
Reply With Quote
  #4  
Old 03-25-2008, 01:24 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice.. Glad to see that you are still releasing hacks for 3.5 I have always been a fan of your code
Reply With Quote
  #5  
Old 03-25-2008, 07:26 AM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing this mod remember to change some settings at vBulletin Options -> Usergroups -> Usergroup Manager -> Edit Usergroup (id:1)

The usernametooshort error ("Your username can not be shorter than 3 characters.") occurs after attempting to post as a guest due to the deletion of the $usernamecode variable from the template. I kind of liked having the username alert there anyway. If there is no need to delete a functionality then keep it.

I would like the Quick Reply option with image verification to appear for unregistered guests also. Can you include this in the product?

I've also received some error feedback from my mods:
Quote:
I've tried to move 2 threads this morning and also edit, but I receive this message:

Quote:
The string you entered for the image verification did not match what was displayed.

This was from actions within the thread.

Same move from the board using Mod tools (bottom right) works fine.
Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:

UPDATE post
SET threadid =
WHERE postid IN (952043);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE postid IN (952043)' at line 3
Error Number : 1064
Date : Tuesday, March 25th 2008 @ 03:56:34 AM
Script : http://www.***.com/inlinemod.php
Referrer : http://www.***.com/inlinemod.php
IP Address : 213.150.***.***
Username : *****
Classname : vb_database
and
Quote:
Also answer/post count not updating correctly.
Thanks.
Reply With Quote
  #6  
Old 03-25-2008, 01:15 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zylstra
The usernametooshort error ("Your username can not be shorter than 3 characters.") occurs after attempting to post as a guest due to the deletion of the $username variable from the template. I kind of liked having the username alert there anyway. If there is no need to delete a functionality then keep it.
There is an error in the instructions. Read "replace with" as "add underneath". I'll correct this later.

Quote:
Originally Posted by zylstra
I would like the Quick Reply option with image verification to appear for unregistered guests also. Can you include this in the product?
Quick reply does not show up for guests. Or does it?..

Quote:
Originally Posted by zylstra
I've tried to move 2 threads this morning and also edit, but I receive this message:

Quote:
The string you entered for the image verification did not match what was displayed.

This was from actions within the thread.

Same move from the board using Mod tools (bottom right) works fine.
I would need the instructions as to how to reproduce the error... I can't just find the cause from an error message.

Quote:
Originally Posted by zylstra
Also answer/post count not updating correctly.
I don't think this would be connected to this mod, unless moderators' tools are somehow connected to this mod. Once again, I need you to provide specific reproduction steps.
Reply With Quote
  #7  
Old 03-25-2008, 03:46 PM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
Quick reply does not show up for guests. Or does it?...
No, but I'd like it to... with the image verification.

Quote:
Originally Posted by Psionic Vision View Post
I would need the instructions as to how to reproduce the error... I can't just find the cause from an error message.
Attempt inline editing.

I've reinserted the $usernamecode variable into the templates.

I've reproduced the error that my supermod received: the "The string you entered for the image verification did not match what was displayed" message pops up after I attempt inline editing.
Reply With Quote
  #8  
Old 03-25-2008, 11:19 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
No, but I'd like it to... with the image verification.
Unfortunately, that would constitute a separate hack and therefore cannot be included into this one.

Quote:
Attempt inline editing.
Attempt inline editing of what?..
Reply With Quote
  #9  
Old 03-25-2008, 11:51 PM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
Unfortunately, that would constitute a separate hack and therefore cannot be included into this one.
Coders may include anything they'd like in a hack. So it can be included in this hack - and it would make sense to include it in this one rather than a separate one. I presume you mean that you're not inclined to include it, since it isn't explicitly stated in the hack that this one is basd upon. In that case, if you'd like more money to include it in this one, I'm up for discussing that.
Quote:
Originally Posted by Psionic Vision View Post
Attempt inline editing of what?..
Posts.
Reply With Quote
  #10  
Old 03-26-2008, 07:38 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Coders may include anything they'd like in a hack. So it can be included in this hack - and it would make sense to include it in this one rather than a separate one. I presume you mean that you're not inclined to include it, since it isn't explicitly stated in the hack that this one is basd upon. In that case, if you'd like more money to include it in this one, I'm up for discussing that.
I was speaking about the "quick reply" functionality for guests. That's a separate story that would need to be added, and it would not fall under the title of "guest image verification", because it would be a "quick reply for guests". As for the rest of your message, the rules say that public discussion of monetary matters are not allowed, so please contact me via pm. To prepare you for what follows, I can just say that you have asked me to write a "guest image verification" hack for vBulletin, but not "quick reply for guests" for vBulletin. So, yes, of course that would be separate, and my inclination (or a lack thereof) has nothing to do with it. Once quick reply is in place, however, I would have no problem adding the aforementioned functionality to this hack.

Quote:
Posts.
Thank you. I will be looking into the issue.
Reply With Quote
Reply


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 01:15 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.04313 seconds
  • Memory Usage 2,304KB
  • Queries Executed 23 (?)
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
  • (15)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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