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)

mashie 01-14-2010 08:21 PM

Quote:

Originally Posted by Cadellin (Post 1954265)
Likewise I would be interested in a mod like this for v4.0

+1 for this Mod on 4.0!

PascalR 02-02-2010 12:35 AM

Hi guys,

sorry for the dumb question, but how do I force any thread to use this form in a specific forum?
I changed the forum id to the one I want in the plugin but when I click on "new thread", it is not showing the form options, just the normal thread description.

cheers!

Pascal

Digital Jedi 02-02-2010 11:40 PM

You have to navigate to the form URL first, and then it will post in the specified forum. Remember, it's do=form or whatever name you've given the hook.

Mondi 02-04-2010 12:42 AM

Yes - just to mention I, too, will be interested in an upgrade version for 4.0.

Hoping, hoping, hoping...

StagKill 06-22-2010 01:26 PM

+1 for vB 4.0 Upgrade.
Is it in progress?

pablo 07-07-2010 01:42 PM

would also love this for v4.0.4+ upwards.

xTerMn8R 07-22-2010 09:02 PM

Is it possible to have Unregistered Guest use these forms. I've removed the $BBuser[Email] from the answer file but that didn't help I also added the Unregistered Group to the Array in the plugin. Still wont process, I made these forms a LONG time ago, I have a comment in the form that the Email must be checked and correct or the form will not be processed. Now I dont remember if thats Something I did or if thats part of the Hack.

My Niece is using this for Dog Adoption application, she says a lot of folks don't want to register with the site so they dont fill out the application. I just wanna get it Wide open so anyone can Fill out an adoption application, whether their a registered member or not?

Thankyou,
Tom

thedvs 09-21-2010 08:30 PM

I guess this mod is dead, no port to 4.0.7 then :(

kroko 11-01-2010 12:32 AM

i know this is a nicropost but dose a mod like this exsist for vb 4,8?

pckolojim 12-05-2010 06:17 PM

Quote:

Originally Posted by brianFL1 (Post 1614924)
Sorry if this has been asked before, but is it possible to redirect to a specified page with our own URL instead of a thankyou message. Thankyou

Hi,

I needed to do this. This is how I modified.

Open the plugin and find the part starts with

Code:

if ($redirectoption == "1")
            {
                $vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]";
                eval(print_standard_redirect('redirect_postthanks'));
                exit();

There are four options. So choose the one you won't need. For example I modified fourth redirect option.

instead of

Code:

url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]";
changed to

Code:

url = 'http://www.urluwant.com' . $vbulletin->session->vars['sessionurl'] . "";
also from top you must choose the option you edited. for ex: $redirectoption = "4";

it is solved...

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.

Mazide 07-25-2012 10:03 AM

Will I be applying in the 4.2 version of vBulletin?


All times are GMT. The time now is 11:38 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.02530 seconds
  • Memory Usage 1,768KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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