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)

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.


All times are GMT. The time now is 12:50 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.01824 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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