vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Bobbo 10-27-2005 01:47 AM

Suzie,

I had a few instances where I got blank pages when I set mine up as well. In each case it was bad coding in my plugin php code. Usually a simple syntax error. Are you testing with the default mod or did you customize it?

bigmo 10-27-2005 04:36 AM

Hello,

i installed this hack, i was looking about something like that for days.

But now i have an question....

I´am using the hack whithin my vba-Home as a "fight-us"-Form (Clan-Page)
The problem is that the form apears in my vba-Home with logo, navbar, footer and so on. I only want to show the form itself, no other things. Which template or file i have to modify....

THX in advance!!!

Suzie 10-27-2005 09:25 PM

Quote:

Originally Posted by Bobbo
Suzie,

I had a few instances where I got blank pages when I set mine up as well. In each case it was bad coding in my plugin php code. Usually a simple syntax error. Are you testing with the default mod or did you customize it?

I did change the questions to make it a product review form. I will check my code again. Thanks.

Suzie 10-27-2005 11:16 PM

I fixed the above problem. I had changed the template name.

I have a question. On the earlier version of the form hack, when I posted a thread it would read like this ...
Quote:

Review: Papa Johns Pan Pizza
how can I add the Review: part to the thread title?

life is boost 10-28-2005 12:52 AM

Great hack here guys, one question. is there anyway to add a drop down menu to the form answers so the user can specify where the form goes? example. i have multiple areas that i would like to use this form. I tried using if statements and making multiple forms on the newthread button to direct to the correct form, but after adding 2 statements it gives an error.

so i would like to add a drop down box. this would allow them to post in either forum ID 2 or say 35.

anyway of doing this? I have tried with no luck on my own

SirJonathan 11-04-2005 01:44 PM

Hey Guys!

I'm having some serious challenges with this form.. I'm using it for a membership application to my community and I'm having some serious trouble with people filling out an entire application, putting a LOT of time and energy into it, and then bam.. losing the whole thing. They hit post and it just never goes through.

Many applications go through fine, I just have this sinking feeling that just as many aren't going through. There isn't much that's more discouraging than losing something you've really just put your heart and soul into..

Are there alternatives? Is there something I could do to make the form more secure? Has anyone else had trouble with this? =\

Thanks in advance guys, any help is much appreciated!

-Jonathan

CnB 11-04-2005 03:42 PM

seems there is a strange bug in the script
i got 3.5 gold installed
but when people fill in the form it gets posted in the assigned section
BUT the post is actually made
but in the main page from the forums where you can see all the sections
it does not show last poster and the new post icon does not change either

it only does this for the form
regular posts are not doing this

Abe1 11-04-2005 05:59 PM

Quote:

Originally Posted by CnB
seems there is a strange bug in the script
i got 3.5 gold installed
but when people fill in the form it gets posted in the assigned section
BUT the post is actually made
but in the main page from the forums where you can see all the sections
it does not show last poster and the new post icon does not change either

it only does this for the form
regular posts are not doing this

This is very strainge as this form uses the vb function to add posts and threads. Can you tell me is this when adding a new thread or new post?

CnB 11-04-2005 06:23 PM

well this is how we did it we made a post with a admin account in which all the form posts end up
so its when adding it to a post/reply to thread

silurius 11-04-2005 07:07 PM

Quote:

Originally Posted by Abe1
What happend if you disable all other hacks that use the newthread page? Try finiding out which one coses the probelm.

I finally found the problem. Disabling the sign a contract plugin re-enables your plugin. Since I need this hack more than the contract one, this will work for me for a little while.

Couple of questions:

1. I think I saw someone ask about enabling attachment uploads. Is this on the roadmap at all?

2. Someone else asked about adding dropdown (select) options as an alternative to radio. Anyone have an example of how to best accomplish this?

Abe1 11-05-2005 09:52 PM

Quote:

Originally Posted by silurius
I finally found the problem. Disabling the sign a contract plugin re-enables your plugin. Since I need this hack more than the contract one, this will work for me for a little while.

Couple of questions:

1. I think I saw someone ask about enabling attachment uploads. Is this on the roadmap at all?

2. Someone else asked about adding dropdown (select) options as an alternative to radio. Anyone have an example of how to best accomplish this?

There is an alternative to attachments right now, let your user get forwarded to the edit post page. I work on getting attachments though.


As for the drop down, I may add it one to the template.

CnB 11-06-2005 02:20 PM

Abe1
seems the issue i am having is because each time a form is submitted it ends up being posted as moderated
but only the form post do this
regular posts/replies dont do it

Abe1 11-06-2005 02:25 PM

Quote:

Originally Posted by CnB
Abe1
seems the issue i am having is because each time a form is submitted it ends up being posted as moderated
but only the form post do this
regular posts/replies dont do it

Are you sure you are using the latest version?

CnB 11-06-2005 04:42 PM

yeah version 2.7

WNxWakko 11-07-2005 01:57 AM

Quote:

Originally Posted by SirJonathan
Hey Guys!

I'm having some serious challenges with this form.. I'm using it for a membership application to my community and I'm having some serious trouble with people filling out an entire application, putting a LOT of time and energy into it, and then bam.. losing the whole thing. They hit post and it just never goes through.

Many applications go through fine, I just have this sinking feeling that just as many aren't going through. There isn't much that's more discouraging than losing something you've really just put your heart and soul into..

Are there alternatives? Is there something I could do to make the form more secure? Has anyone else had trouble with this? =\

Thanks in advance guys, any help is much appreciated!

-Jonathan

I too would like this fixed. I addresed it several pages back. Noone can use the forum unless they are logged in no matter how you tweak the settings.

krela 11-07-2005 07:02 PM

Okay this is an excellent plugin, particularly when used in conjunction with the 'First post on all thread pages' plugin too, however I have 2 questions that might make it really really useful :)

So here goes:

1) Is there any easy way of using the editor for the longanswer field. It's very hard for my users to input a lot of text withough being able to use it to format it. I've had a look, but I can't figure out how to call it in the template.

2) Would it be possible to implement a hook so that in certain forums you could replace the 'new thread' or 'new reply' buttons so that it goes to a specified form hack instead.

silurius 11-07-2005 07:51 PM

Quote:

Originally Posted by Abe1
Quote:

Originally Posted by silurius
I finally found the problem. Disabling the sign a contract plugin re-enables your plugin. Since I need this hack more than the contract one, this will work for me for a little while.

Couple of questions:

1. I think I saw someone ask about enabling attachment uploads. Is this on the roadmap at all?

2. Someone else asked about adding dropdown (select) options as an alternative to radio. Anyone have an example of how to best accomplish this?

There is an alternative to attachments right now, let your user get forwarded to the edit post page. I work on getting attachments though.


As for the drop down, I may add it one to the template.

I should have qualified my question to say that I'm using this to allow users to submit article and artistic ideas for a print magazine. So in my case I can't grant the submitter any access to the forum to which their submission gets posted.

silurius 11-07-2005 07:59 PM

Another feature request: allow dropdown/radio/checkboxes/etc. to dictate where the submission ends up.

krela 11-07-2005 08:33 PM

Quote:

Originally Posted by krela
Okay this is an excellent plugin, particularly when used in conjunction with the 'First post on all thread pages' plugin too, however I have 2 questions that might make it really really useful :)

So here goes:

1) Is there any easy way of using the editor for the longanswer field. It's very hard for my users to input a lot of text withough being able to use it to format it. I've had a look, but I can't figure out how to call it in the template.

2) Would it be possible to implement a hook so that in certain forums you could replace the 'new thread' or 'new reply' buttons so that it goes to a specified form hack instead.

Ignore request number 2, I just wrote my own hooks for it. Seems to work :)

I would love to be able to use the editor for the long fields though.

saxpics 11-08-2005 04:10 PM

This has ... possibilities. I'm wantening to use this h@x to create a form for people essentially posting classified ads ("want ads", if you prefer), because we have too many posters that tend to forget to post, say, contact information.

Three questions:

* I haven't really checked, but can you set the code to post new threads in a forum, rather than just new posts to an existing thread?
* I HAVE checked, but haven't found: is there a way to set this form's title (i.e. "Generic Form") to be user defined, rather than statically defined? Ideally, I'd like a line in the form that says something like, "What are you selling?" and that ends up being the thread's title.
* I want all the threads to be posted into a forum where my members only have permission to respond to threads already posted. Does this forum hack care about user permissions to post something with it?

krela 11-08-2005 05:00 PM

Quote:

Originally Posted by saxpics
This has ... possibilities. I'm wantening to use this h@x to create a form for people essentially posting classified ads ("want ads", if you prefer), because we have too many posters that tend to forget to post, say, contact information.

Three questions:

* I haven't really checked, but can you set the code to post new threads in a forum, rather than just new posts to an existing thread?
* I HAVE checked, but haven't found: is there a way to set this form's title (i.e. "Generic Form") to be user defined, rather than statically defined? Ideally, I'd like a line in the form that says something like, "What are you selling?" and that ends up being the thread's title.
* I want all the threads to be posted into a forum where my members only have permission to respond to threads already posted. Does this forum hack care about user permissions to post something with it?

1) Yes it can be used to post new threads
2) Yes you can use a user field to name the thread, just takes a bit of hacking
3) Yes it cares about user permissions, so will follow normal rules I believe.

krela 11-08-2005 05:02 PM

Quote:

Originally Posted by krela
Ignore request number 2, I just wrote my own hooks for it. Seems to work :)

I would love to be able to use the editor for the long fields though.

Ignore request number one too, I implemented the editor myself with a dirty but workable hack.

This is a nice plugin :)

saxpics 11-08-2005 09:06 PM

Quote:

Originally Posted by krela
1) Yes it can be used to post new threads
2) Yes you can use a user field to name the thread, just takes a bit of hacking
3) Yes it cares about user permissions, so will follow normal rules I believe.

I found out how to do #2. I'm fuzzy on #1, still. Would anyone have some info?

Abe1 11-08-2005 11:02 PM

Quote:

Originally Posted by saxpics
I found out how to do #2. I'm fuzzy on #1, still. Would anyone have some info?

Just use the first option. The default one. Just put the forumid were you want the threads created.

saxpics 11-09-2005 03:15 PM

Thank you very much. * Runs off to play with code *

welo 11-09-2005 06:39 PM

Okay, this thing is pretty cool. Am playing with setting it up while preparing to deploy our annual 'Secret Santa' gift exchange. Will click 'Install' once I have it running. :up:

One question though: How difficult would it be to add a preview feature to this thing? This could sure eliminate a lot of submitted misinformation.

saxpics 11-09-2005 08:29 PM

Yah. A preview would be kewl. I betcha the reason we cant have that now is the same reason why we can't get the WYSIWYG text editor.

Anyhow, I wanted to say that I was able to do the modifications the way I wanted (i.e., posts as a new thread, the answer to question 1 becomes the title of the thread).

I do want to ask this again, though, in a somewhat better way:

The idea behind using this Form Hack for my Forum is to make $member submit all the info in the form for "classified" ads. The info gets sent into a forum where the user can't edit anything. The unfortunate thing is, what's to stop $member from just hitting the "New Thread" button? Is there a way to disable that for a forum and link to the form instead? I do want $members to be able to add new posts to the form-submitted thread.

silurius 11-09-2005 09:45 PM

Quote:

Originally Posted by silurius
I finally found the problem. Disabling the sign a contract plugin re-enables your plugin. Since I need this hack more than the contract one, this will work for me for a little while.

Abe, I know you're working on a few enhancements to this great hack, but do you think you might have time to look at the conflict with the sign a contract plugin some time soon? I would like to start utilizing both items. Thanks!

welo 11-10-2005 12:14 AM

Quote:

Originally Posted by saxpics
Yah. A preview would be kewl. I betcha the reason we cant have that now is the same reason why we can't get the WYSIWYG text editor.

I lean toward thinking it's more of an oversight than anything. Can't think of any practical reason to add WYSIWYG. Preview, on the other hand, should be standard issue for nearly any complex form submission protocol. Matter of fact, I don't see why VB doesn't use this on its contact form.

SirJonathan 11-14-2005 11:12 PM

Quote:

Originally Posted by SirJonathan
Hey Guys!

I'm having some serious challenges with this form.. I'm using it for a membership application to my community and I'm having some serious trouble with people filling out an entire application, putting a LOT of time and energy into it, and then bam.. losing the whole thing. They hit post and it just never goes through.

Many applications go through fine, I just have this sinking feeling that just as many aren't going through. There isn't much that's more discouraging than losing something you've really just put your heart and soul into..

Are there alternatives? Is there something I could do to make the form more secure? Has anyone else had trouble with this? =\

Thanks in advance guys, any help is much appreciated!

-Jonathan

Do I get any points for persistance? :).. *grins*.. Is there anyone who'd be willing to take a look at it for me? Any help would be greatly appreciated! Thanks guys!

-Jonathan

murat 11-16-2005 05:15 AM

Quote:

Originally Posted by silurius
Abe, I know you're working on a few enhancements to this great hack, but do you think you might have time to look at the conflict with the sign a contract plugin some time soon? I would like to start utilizing both items. Thanks!

:up:

Cyricx 11-18-2005 07:07 PM

Is there a way to add the date to the thread title?

I've already got the username in there but what I'm hoping for is like a thread title of:

Cyricx 11-18-05

Ramsesx 11-19-2005 04:02 AM

Only want to say, thank you very much for this hack abe1, it's exactly what I need and I'm sitting now plenty hours for customizing it but it's worth this time. I love you abe1 :) Erwin too :)
I would like as somebody asked before to add a dropdown list where the user can choose the forum to place the form into. This would be absolutely great.
Thanks

SirJonathan 11-21-2005 04:20 AM

Hey Abe!

Is there a way that a PHP post-back session could be added in so that when they get the error saying that not all forms were filled in and hit back the user's data isn't all lost? When they hit back or refresh, all the text they've entered would be saved. This would be a great addition and would solve a lot of my frustations with the data not going through to the forum! Thanks!

-Jonathan

welo 11-21-2005 04:56 AM

Quote:

Originally Posted by SirJonathan
...not all forms were filled in and hit back the user's data isn't all lost? When they hit back or refresh...

I've noticed this too. Am thinking about something using extract($_POST); that stores POST-data in hidden inputs (on a preview page? :)).

SirJonathan 11-21-2005 01:35 PM

That would be another great way to do it :). I'm working with a friend of mine to add post-back integration to the application, anyway that does it will work. Will let you guys know how it goes and I'll check back to see if you guys have come up with anything!

-Jonathan

Abe1 11-21-2005 01:56 PM

I know how to do this and will implement into the next version.

ZGeek 11-21-2005 08:26 PM

This might be a huge thing to ask, but is it possible to make a form that on submission PM's a moderator or other user to approve the form? Once it's approved it then emails or PM's another person?

SirJonathan 11-22-2005 05:51 PM

Awesome Abe! Thanks a ton :). And as if that wasn't enough to ask.. *grins*.. any ideas when the next version will be going out? Let me know if there's anything I can do to help. Keep up the awesome work bro :).

-Jonathan

Abe1 11-30-2005 02:59 AM

New version released. For now, the text editor only allows standard editor do to a problem. I will try to figure out how I can get the wysiwyg editor working.


All times are GMT. The time now is 03:30 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.02224 seconds
  • Memory Usage 1,852KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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