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)

Gooses 05-17-2006 04:19 AM

OMG! This is exactly what I have been looking for! Thank you soooo much! :banana:

rnmcd 05-17-2006 03:03 PM

I am getting this error:


Quote:

Parse error: syntax error, unexpected T_LNUMBER in /home/xxxxxxx/public_html/board/newthread.php(68) : eval()'d code on line 127
What would I need to do to fix this?

Thanks.

Cebby 05-17-2006 03:12 PM

Quote:

Originally Posted by naqalone
Thanks for the great hack.
I would like to add a field that can browse to 1 file, and another button "upload" to attach the file to the post.

Anybody can help me.:)
Thanks again.

Quote:

Originally Posted by LoOnEyToOnZ
Is it possible to attach files and make it attached into the forum thread as well if we choose post in forum ?

I have the same question - searched through all 58 pages and didn't see a reply.

This will be a great addition to my forum (will have forms for recipe input and restaurant reviews). For the recipe inout I'd like to have the option of adding attachments (pics) to the post.

Any ideas for those trying to figure this out - will open doors for more types of forms I'd think.

phill2003 05-17-2006 03:53 PM

Quote:

Originally Posted by rnmcd
I am getting this error:



What would I need to do to fix this?

Thanks.

post the code 15 lines above and below line 127 then we could have a look if its something simple...

amadergaan 05-20-2006 06:32 PM

I'm looking for some help...

I wanted to reduce the number of fields..so i deleted some of the variables...but the form still shows the the table for those variables..only blank..how do i get rid of those...

like i deleted all the radio fields....

anyone ?

kartik786 05-20-2006 06:56 PM

does this work on 3.5.3 ?

phill2003 05-20-2006 07:47 PM

Quote:

Originally Posted by amadergaan
I'm looking for some help...

I wanted to reduce the number of fields..so i deleted some of the variables...but the form still shows the the table for those variables..only blank..how do i get rid of those...

like i deleted all the radio fields....

anyone ?


You have to delete them from the templates as well....

Barteken 05-20-2006 09:29 PM

How to set the questions in the form?
what is meant with the hook?

Grtz

Ohiosweetheart 05-20-2006 09:49 PM

Ok I "think" I've done all of the customizing I need to do.

Now, when I try to go to the form, I get this parse error:
Quote:

Parse error: parse error, unexpected ':' in /home/exquisi/public_html/forums/newthread.php(68) : eval()'d code on line 187
and this page error:
Quote:

Invalid Forum specified. If you followed a valid link, please notify the administrator
I'm not using this to create a new thread but for my members to submit a story and it is emailed to us.
So is the url above still correct?? (/newthread.php?do=form)
help?

EDIT: In the form template are we supposed to edit any of this?:
Quote:

<form name="vbform" action="newthread.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
<input type="hidden" value="$formname" name="do" />
<input type="hidden" value="submit" name="action" />
I really do wish that there were more detailed instructions on editing the templates :(

Ohiosweetheart 05-20-2006 09:58 PM

Quote:

Originally Posted by kartik786
does this work on 3.5.3 ?

yes it does


All times are GMT. The time now is 07:02 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.02383 seconds
  • Memory Usage 1,744KB
  • 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
  • (9)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