vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Easy Forms (Old Thread) (https://vborg.vbsupport.ru/showthread.php?t=200340)

bananalive 01-08-2009 02:22 PM

Quote:

Originally Posted by ssslippy (Post 1704607)
The * and : are linked together. So if the question is not mandatory it removes the :. Also note that when you put a ? proper grammar says you should not have a : after it. I would totally remove the : and the person creating the form can add it.

I'd noticed that as well and have already changed it for the next release.

If you wish to remove the ':' from the questions:
Find and remove in the product file this line:
PHP Code:

$formbit['question'] = $formbit['question'] . ":"

$formbit['question'] = $formbit['question'] . ":";
Quote:

Originally Posted by ssslippy (Post 1704607)
Also I tried using the regular expression ^[a-zA-Z0-9\s]+$ which i use to restrict on user names of people who register on my forum. This only allows normal english and numbers.

I get this error

Code:

Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in [path]/misc.php(97) : eval()'d code on line 596

You need to add / to beginning and end of the code.
Code:

/^[a-zA-Z0-9\s]+$/

ShMilO 01-08-2009 03:49 PM

first i have to say good work
i really liked this form mod

my question is this

is there a way for non registered users ( default group 2 )
to fill forms ???
now it asks to login

in my forum i want a form for guests to fill so they can ask for an invite

bananalive 01-08-2009 04:23 PM

Quote:

Originally Posted by ShMilO (Post 1705259)
first i have to say good work
i really liked this form mod

my question is this

is there a way for non registered users ( default group 2 )
to fill forms ???
now it asks to login

in my forum i want a form for guests to fill so they can ask for an invite

There was one line prohibiting guests posting new thread which I've replaced now and will be in the next release. In the next release will also be human verification option to reduce spam.

bananalive 01-08-2009 04:29 PM

Has anyone tested this on vb 3.8? I'll upgrade to it today/ tomorrow, hopefully it will work.

bananalive 01-08-2009 04:31 PM

Here's pre-release v1.8 - should all be working

Note: You will need to select the usergroups allowed to view/edit forms

v1.8
- Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons
- Human verification question
- Multiple dropdown select for form usergroup permissions (still optional - leave blank to not use)
- Option to show link to form list in navbar and quick links (separate options)
- Form can be emailed

Gleedo 01-08-2009 04:53 PM

Quote:

Originally Posted by bananalive (Post 1705298)
Here's pre-release v1.8 - should all be working

Hi Banana, Just installed this new pre-release and noticed that when your configure EasyForms in the vBulletin options - there is an option that I think should not be there lol:

Option = Auto insert link to tournaments in navbar?

I think that must have accidentaly made it in by mistake from the tournaments mod :p

EDIT: Also just noticed that on a 3.7.3 PL1 system, the quick links option is not displaying like it does on my 3.7.4 system. Although on my 3.7.4 system, i do have the tournaments mod installed, but not on my 3.7.3.

ShMilO 01-08-2009 04:58 PM

Quote:

Originally Posted by bananalive (Post 1705286)
There was one line prohibiting guests posting new thread which I've replaced now and will be in the next release. In the next release will also be human verification option to reduce spam.

thx

is there an ETA on the next release ?

or maybe you can write the line that allows guests to post the form

bananalive 01-08-2009 04:59 PM

Quote:

Originally Posted by Gleedo (Post 1705323)
Hi Banana, Just installed this new pre-release and noticed that when your configure EasyForms in the vBulletin options - there is an option that I think should not be there lol:

Option = Auto insert link to tournaments in navbar?

I think that must have accidentaly made it in by mistake from the tournaments mod :p

Yes i copied the code from tournaments mod to save re-typing it out and forgot to rename that bit. Fixed in attached file.

Also if the question ends with a '?' then the form will not add a ':' on the end of it.

bananalive 01-08-2009 05:01 PM

Quote:

Originally Posted by ShMilO (Post 1705328)
thx

is there an ETA on the next release ?

or maybe you can write the line that allows guests to post the form

I would post the line here but a lot of the code has changed in v1.8

You can download v1.8 here - I don't think anything major will be added (if anything at all) before I release it properly in the first post of the thread

bananalive 01-08-2009 05:04 PM

Quote:

Originally Posted by Gleedo (Post 1705323)
EDIT: Also just noticed that on a 3.7.3 PL1 system, the quick links option is not displaying like it does on my 3.7.4 system. Although on my 3.7.4 system, i do have the tournaments mod installed, but not on my 3.7.3.

Just checked and it works fine on vbulletin v3.7.5 with tournament mod installed and both display. also tested it with tournament mod disabled and the links still displayed.


All times are GMT. The time now is 08:57 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.01224 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)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
  • (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