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)

wimminrule 09-08-2005 02:19 AM

Well, for some reason it's working now...thank you for your help!

Edited to say I lied. :(

Abe1 09-08-2005 12:04 PM

Quote:

Originally Posted by wimminrule
Well, for some reason it's working now...thank you for your help!

Edited to say I lied. :(

I just signup up for an acount there. If my form didn't go through, here is what it said,
Quote:

Hi, this is Abe1 the coder of the form hack. I see that this form DID pick up my Username. I have a thery behind why it doesn't post. The form uses the permissions of the cateory to alow it to post this or not. What you should do is make sure the unvalidated users are aloud to post in the section you want these posts to go.

wimminrule 09-08-2005 12:07 PM

Thanks for testing it, Abe! It did post. It seems to be an intermittent thing as to whether it carries over the username to the form, but we put some instructions to make sure to login first, if it doesn't, in the moderateuser phrase.

This is the greatest thing ever. Again, thanks so much for your hard work and for your willingness to help out a newbie!!

Stacy

Abe1 09-08-2005 10:56 PM

Quote:

Originally Posted by wimminrule
Thanks for testing it, Abe! It did post. It seems to be an intermittent thing as to whether it carries over the username to the form, but we put some instructions to make sure to login first, if it doesn't, in the moderateuser phrase.

This is the greatest thing ever. Again, thanks so much for your hard work and for your willingness to help out a newbie!!

Stacy

I guess your web site likes me :) Anyways, you can delete the account now.

CnB 09-19-2005 01:24 PM

does it work on RC3 ?

Abe1 09-19-2005 01:25 PM

Quote:

Originally Posted by CnB
does it work on RC3 ?

Yes, it should.

CnB 09-19-2005 01:45 PM

ok going to give this one a try then
since the original one for 3.0.x does not work on 3.0.9
and i need something like this so i just upgrade to 3.5 hopefully it will go final soon

CnB 09-19-2005 02:12 PM

i dont get it though
the installation says

1. Import the xml into products.

i got no directory in my vB folder named products !!!

nexialys 09-19-2005 02:15 PM

Quote:

Originally Posted by CnB
i got no directory in my vB folder named products !!!

it's not DOWNLOAD, it's IMPORT...

admincp >> Plugin System >> Manage Products

CnB 09-19-2005 06:44 PM

ah right got it now

though already got some problems

1. i tried changing the name from form to recruits
but then it does not load anymore or says Invalid Forum
2. i tried changing some stuff to what i want and i got a Invalid Forum and on the top of the page i had

Parse error: parse error in c:\apache\htdocs\forums\newthread.php(68) : eval()'d code on line 204
i also still see this same error when creating a new topic
it shows on the top of the page

it does this with the non edited xml file

eleblanc 09-19-2005 08:56 PM

I installed the forms hack from erwin. But i have a issue, maybe this one done for vb3.5 will solve my issue.

Let say i have the same form i want to use to post in multiple forum id or forum and sub forums. Do i need to create one form for each forumid, or with this new version i can create one form that will be used to post in all sub forums \forum\ for exemple. if i need to simply had forum id to the form i don't mind.

Also, once the user has posted using the form, can he edit is post and mess up the formatting?,

CnB 09-19-2005 09:53 PM

heck forgot
Abe if you want and have some spare time
can you have a look at my xml to see where i went wrong ?
i want to change the name from the form
atm its something like forums/newthread.php?do=form
i want more then 1 so want to change form to recruit for example

but i cant seem to get that since importing this one will always overwrite the first one uploaded
and this one wont work :P

nice job on this hack though , exactly what i needed

btw how do you get a post like chatbum has in this screenshot http://www.blizzedhost.com/form.gif

WNxWakko 09-19-2005 11:53 PM

After removing the radio questions and such from the template and the hook, now when the form is submitted to a thread, there is a huge blank space between the username and the answer to the first question. Seems to be about 10 blank lines. Any clue?

Abe1 09-20-2005 01:52 PM

Quote:

Originally Posted by eleblanc
I installed the forms hack from erwin. But i have a issue, maybe this one done for vb3.5 will solve my issue.

Let say i have the same form i want to use to post in multiple forum id or forum and sub forums. Do i need to create one form for each forumid, or with this new version i can create one form that will be used to post in all sub forums \forum\ for exemple. if i need to simply had forum id to the form i don't mind.

Also, once the user has posted using the form, can he edit is post and mess up the formatting?,

You can do this if you know how to edit php and html slitly. I do this on my forum. But, I dont have time to write out the steps right now. Maybe another day.

Abe1 09-20-2005 01:53 PM

Quote:

Originally Posted by WNxWakko
After removing the radio questions and such from the template and the hook, now when the form is submitted to a thread, there is a huge blank space between the username and the answer to the first question. Seems to be about 10 blank lines. Any clue?

Did you edit the answers template?

Abe1 09-20-2005 01:56 PM

Quote:

Originally Posted by CnB
heck forgot
Abe if you want and have some spare time
can you have a look at my xml to see where i went wrong ?
i want to change the name from the form
atm its something like forums/newthread.php?do=form
i want more then 1 so want to change form to recruit for example

but i cant seem to get that since importing this one will always overwrite the first one uploaded
and this one wont work :P

nice job on this hack though , exactly what i needed

btw how do you get a post like chatbum has in this screenshot http://www.blizzedhost.com/form.gif

Here you go.

CnB 09-20-2005 02:30 PM

thanks Abe
one thing though
which line do i use to see the form ?
form does not work form_recruit also wont work
both say
Invalid Forum specified. If you followed a valid link, please notify the administrator

Abe1 09-20-2005 02:31 PM

Quote:

Originally Posted by CnB
thanks Abe
one thing though
which line do i use to see the form ?
form does not work form_recruit also wont work
both say
Invalid Forum specified. If you followed a valid link, please notify the administrator

recruit

CnB 09-20-2005 03:49 PM

ok got it to work
thanks Abe

one more thing how do you get something like this http://www.blizzedhost.com/form.gif ?

another thing , lets say i post the link to the form in a thread
when i click the link it always opens up in a new window
can it be set so it will open in the same window ?
if so which line do i change for this?

WNxWakko 09-25-2005 03:30 AM

I got the answer problem fixed. Didnt realize you had two templates.

Another issue, I dont understand how to duplicate this for more forms. I copied the code, clicked add plugin (not product) pasted code, changed title, change description, fixed it to newthread_start hook. However it disables my original one.

Abe1 09-25-2005 05:51 AM

Quote:

Originally Posted by WNxWakko
I got the answer problem fixed. Didnt realize you had two templates.

Another issue, I dont understand how to duplicate this for more forms. I copied the code, clicked add plugin (not product) pasted code, changed title, change description, fixed it to newthread_start hook. However it disables my original one.

In the first line of the plugin code you have to change the name of the form.

WNxWakko 09-25-2005 10:50 AM

I did change the name. Here is what happens. Line through it and unchecked. I try to check it but it wont let it stick.

https://vborg.vbsupport.ru/

Abe1 09-25-2005 12:09 PM

Quote:

Originally Posted by WNxWakko
I did change the name. Here is what happens. Line through it and unchecked. I try to check it but it wont let it stick.

http://www.warriornation.net/temp/formss.gif

Did you click "remember active" on the bottom?

WNxWakko 09-25-2005 02:53 PM

yup your right. the active switch. sorry, never installed a plug like that before. thanks

WNxWakko 09-25-2005 03:43 PM

I have another question. I have made a form that I also need unregistered users to use. Now I opened up the usergroup in your permissions, also tried doing the // on the usergroups so all could use. Problem is, unregistered user appears as name in form, it lets me submit and gives me the message that its sent, but it never appears in the designated forum. If I am using a logged in account the form works perfect. So how to I get it to allow unregistered/guests to use the form?

Abe1 09-25-2005 06:04 PM

Quote:

Originally Posted by WNxWakko
I have another question. I have made a form that I also need unregistered users to use. Now I opened up the usergroup in your permissions, also tried doing the // on the usergroups so all could use. Problem is, unregistered user appears as name in form, it lets me submit and gives me the message that its sent, but it never appears in the designated forum. If I am using a logged in account the form works perfect. So how to I get it to allow unregistered/guests to use the form?

It will not post in that area if unregistered user can't post in that area. It uses vB forum settings. If you allow unregisted users to post in that forum, then it will work.

WNxWakko 09-25-2005 06:13 PM

ah ok that makes sense, however I tried that and it didnt work. I set that forum permission to allow for unregistered. Same problem

Abe1 09-26-2005 01:53 AM

Quote:

Originally Posted by WNxWakko
ah ok that makes sense, however I tried that and it didnt work. I set that forum permission to allow for unregistered. Same problem

Their Default has to be to allow also. I the main setting is not to see it, nothing can over ride it.

WNxWakko 09-26-2005 03:27 AM

what do you mean default? The first form hook installed or? I have the forum that is set to receive the form info with unreg all opened up. I can post as a guest in this forum with no problem to test that my settings were correct.

Abe1 09-26-2005 03:29 AM

Quote:

Originally Posted by WNxWakko
what do you mean default? The first form hook installed or? I have the forum that is set to receive the form info with unreg all opened up. I can post as a guest in this forum with no problem to test that my settings were correct.

The usergroup default. acp->usergroups->unregistered->view forums "yes"

WNxWakko 09-26-2005 03:33 AM

Yup, I turned that on, tried the form again and still doenst show up. Turned on can post, can reply, can view was already on.

Abe1 09-26-2005 03:36 AM

Quote:

Originally Posted by WNxWakko
Yup, I turned that on, tried the form again and still doenst show up. Turned on can post, can reply, can view was already on.

What happens if an ungeristered user tries to make a post in that place with out the forum?

WNxWakko 09-26-2005 03:36 AM

I tested that and made a successful post in the same forum this form goes to logged out as unregistered.

Abe1 09-26-2005 03:41 AM

Quote:

Originally Posted by WNxWakko
I tested that and made a successful post in the same forum this form goes to logged out as unregistered.

I will try to look into this. I dont have much time these days but will try to make some.

WNxWakko 09-26-2005 03:42 AM

thank you. I will keep checking back.

CnB 09-27-2005 07:11 PM

how do i add html code in the xml file ?
so i can have some mor graphical form posted

i know turning html on means security issue's
but i am willing to try this
i can always disable it again if the security gets breached

Zanix 10-01-2005 07:11 PM

Hi,

This hack is the basically the whole reason I switched over to using VB as a forum. But theres something id like to know if its possible. Is there a way to specify which forum the form gets posted in by the selection from a dropdown menu? I'm currently running a guild website for a game and have subforums inside a recruitment forum according to the classes of the characters and I want to have the form posted in the appropiate subforum by the selection of class from a dropdown menu. If this is indeed possible can someone show me how exactly I would go about doing this? Im kinda a noob when it comes to these, just started getting the hang of things..

Thanks

dutchbb 10-01-2005 07:39 PM

Sorry i dont understand where are the templates? The old hack was a bit more easy to handle.

Abe1 10-01-2005 11:20 PM

Quote:

Originally Posted by Zanix
Hi,

This hack is the basically the whole reason I switched over to using VB as a forum. But theres something id like to know if its possible. Is there a way to specify which forum the form gets posted in by the selection from a dropdown menu? I'm currently running a guild website for a game and have subforums inside a recruitment forum according to the classes of the characters and I want to have the form posted in the appropiate subforum by the selection of class from a dropdown menu. If this is indeed possible can someone show me how exactly I would go about doing this? Im kinda a noob when it comes to these, just started getting the hang of things..

Thanks

The option is in the plugin.

Abe1 10-01-2005 11:21 PM

Quote:

Originally Posted by Triple_T
Sorry i dont understand where are the templates? The old hack was a bit more easy to handle.

Check out the template section in the ACP.


All times are GMT. The time now is 09:27 PM.

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.02049 seconds
  • Memory Usage 1,835KB
  • 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
  • (18)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