vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

Digital Jedi 12-07-2010 08:45 PM

Quote:

Originally Posted by kroko (Post 2116586)
i know this is a nicropost but dose a mod like this exsist for vb 4,8?

It's not a necropost, when it's required to post here for support. Search the 4.0 forums, "Title's Only", for "forms" and you'll find it.

nlwin 03-04-2011 10:20 PM

Will it work in vBulletin 3.8.7?
Thx

Simon Lloyd 03-07-2011 04:41 AM

Quote:

Originally Posted by nlwin (Post 2169651)
Will it work in vBulletin 3.8.7?
Thx

Yep works on 3.8.7 :)

russellw 05-01-2011 12:47 AM

I know this is an older thread now but I'm trying to debug an issue where it appears that the form hack doesn't actually look at forum posting rules when it is either creating the form OR posting it.

I presume that is because it uses settings of its' own to determine who/what/where to post a new thread.

Because the particular forum we are using the form in has a minimum post count and needs to also display the Miscellaneous options (particularly image attachment which is mandatory) we need it to be checking permissions.

I have added code to check the post count into the form hook so that part is now working fine but the variable $attachmentoption is being treated as if it were a blank value by newthread.php as the form/hook aren't checking forum permissions (this it is blank).

Basically what I need to be able to do is to set the permisison for 'canpostattachment' in the hook but have no idea how to!

When I get it working I'll post the code edits so that anyone else can add image attachments to their form and make them mandatory if required.

Cheers
Russ

Simon Lloyd 05-01-2011 12:18 PM

Russ, thats great of you to share your modifications with us, it will definitely help the community :)

nlwin 10-12-2011 08:54 PM

Quote:

Originally Posted by Simon Lloyd (Post 2170451)
Yep works on 3.8.7 :)

FYI: Got "missing security token" error messages on vB 3.8.7 PL1. Fixed by adding

PHP Code:

<input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/> 

to form templates. :D

Jo_RHU 11-26-2011 12:11 AM

Setting this up is very complicated. I'm amazed there isn't a simpler alternative, I just need a few fields adding to a newthread. I've tried the Easy Forms plugin but that doesn't appear on vbOptions list for some reason so I can't set that up either. Very tired!

If anyone knows of an easier way please let me know. I just need 4 dropdown fields that will append some small pieces of text based on the users selections in to the post content.

EDITED TO ADD: Found this plugin that did what I needed: https://vborg.vbsupport.ru/showthrea...29#post2272129 (just posting here in case anyone else is looking for a way to insert text phrases from a dropdown, I hunted for ages to find it!

Thank you the Form Hack plugin developer, it looks very powerful, just a bit complicated to set up.

Sanjiyan 03-30-2012 03:22 PM

Has anyone found away to stop users when submitting a form, from being automatically subscribed to the thread posted (by the form submitted).

I really need to find a way to stop users from getting email notifications etc as the form I've made posts to a forum they they should not see (its a MMO recruitment forum).

alan92rttt 03-30-2012 09:05 PM

Have you tried setting the security on the forum such that their user group can not see replies to that forum? That should prevent the email issue.

Sanjiyan 03-30-2012 09:11 PM

yep, I found a way in the plugin code so that when the form is submited and then posted, it does not set any subscriptions, so that was also taken care of also.

But thanks for the reply.


All times are GMT. The time now is 03:32 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.05047 seconds
  • Memory Usage 1,752KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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