vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Easy Forms - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=201097)

DontWannaName 03-03-2009 06:14 AM

Quote:

Originally Posted by bananalive (Post 1758544)
Are you replacing 1 with the appropriate prefixid?

Yes I even set it to 1 to try. Its a prefix id inside a category, its the first area to edit when you add one and its called prefix id.

Michigan Morels 03-03-2009 06:54 AM

A weird request now.

A few years ago I had a buy/sell/advertise forum on the honor system. I just asked member to donate a certain small amt to the site fund for each item sold. It was abused greatly. They sold and I recieved almost nothing.

So.... is there a way with easy forms
to NOT submit post as "the member posting it", but rather as an "un-registered member", or "a chosen member ID#", mine or someone else.
or maybe even just collect the posters ID# and post it in the post, without the name and without the posters info in the postbit.

To reply they would be forced to use easy form rather than normal reply button. (I think I seen that somewhere in this mod).

That way, PM's and emails would not quite so easily over ride my knowledge of a sale.

Yes, I know they can still post in other forums or pm's, which item is theirs, but I can discourage that somewhat in the posts at least. At any rate I may get a little better portion than I was before.

Poor bananalive.... so many request, so little time. :)

zushiba 03-03-2009 03:35 PM

1 Attachment(s)
This is odd. I've got a form that does not have any Human verification question on it however I cannot submit the form I get
Quote:

Form failed to submit. The following error(s) occured:
The string you entered for the image verification did not match what was displayed.
I exported the form, deleted it and reuploaded it but it still throws this error. Whats going on?

EDIT: I've attached the form XML.

bananalive 03-03-2009 03:46 PM

Quote:

Originally Posted by hobbybox (Post 1758866)
That was the problem - thank you...

As for the form checking the members name im not great with hooks and queries. Can you elaborate more on how to check for a real member username before the form is submitted.

Form hook before submit
PHP Code:

if ($q[8])
{
$user $db->query_first_slave("SELECT userid FROM " TABLE_PREFIX "user WHERE username = '" $db->escape_string($q[8]) . "'");
if (!
$user)
{
$complete false;
$inputerror[8] = "Invalid User";
$iqs[] = '8';
$incompleteqs[] = $qn[8];
}



bananalive 03-03-2009 03:47 PM

Quote:

Originally Posted by xcesivvs (Post 1758927)
Great modifications.

I have a slight question

I have my form being used in 1 section of my forum where i want to set forced Prefix's

Is there a way to have it auto default the prefix to the first prefix on the list or something.

I dont want to have the form user to choose the prefix, I want it that i decide the prefix level

Thanks

Warren

Edit plugin: Easy Forms Part 1

Find:
PHP Code:

/*$newpost['prefixid'] =& '';*/ 

Replace:
PHP Code:

$newpost['prefixid'] =& '1'

Replace 1 with the appropriate prefixid

bananalive 03-03-2009 03:52 PM

Quote:

Originally Posted by Michigan Morels (Post 1759097)
A weird request now.

A few years ago I had a buy/sell/advertise forum on the honor system. I just asked member to donate a certain small amt to the site fund for each item sold. It was abused greatly. They sold and I recieved almost nothing.

So.... is there a way with easy forms
to NOT submit post as "the member posting it", but rather as an "un-registered member", or "a chosen member ID#", mine or someone else.
or maybe even just collect the posters ID# and post it in the post, without the name and without the posters info in the postbit.

To reply they would be forced to use easy form rather than normal reply button. (I think I seen that somewhere in this mod).

That way, PM's and emails would not quite so easily over ride my knowledge of a sale.

Yes, I know they can still post in other forums or pm's, which item is theirs, but I can discourage that somewhat in the posts at least. At any rate I may get a little better portion than I was before.

Poor bananalive.... so many request, so little time. :)

This isn't an ideal way to do it, but it works.
hook: before submit
PHP Code:

$vbulletin->userinfo['userid'] = 0;
$vbulletin->userinfo['username'] = 'Unregistered'


bananalive 03-03-2009 03:57 PM

Quote:

Originally Posted by zushiba (Post 1759376)
This is odd. I've got a form that does not have any Human verification question on it however I cannot submit the form I get


I exported the form, deleted it and reuploaded it but it still throws this error. Whats going on?

EDIT: I've attached the form XML.

Are you posting as guest? (Checked form looks alright to me.)

zushiba 03-03-2009 04:07 PM

Quote:

Originally Posted by bananalive (Post 1759388)
Are you posting as guest? (Checked form looks alright to me.)

Nope, Administrator. Haven't tested it with any other permission levels and I don't have any guest only questions.\


EDIT: It seems to be doing this for every form I create : /
None of them work.

I've cleared my browser cache, deleted all cookies and saved variables and I'm still having this problem.

frogster 03-03-2009 04:18 PM

Quote:

Originally Posted by frogster (Post 1758783)
How many people is this happening to?

I have VB 3.8.1 installed and the following mods:

FB Connect
VB Classifieds
Open Inviter
VBblog

I am willing to pay someone to fix this for me.

1. All new threads submitted through easy forms go into moderation when logged in as a user (not when logged in as admin). I'm pretty sure I have everything set up right but I may need a set of second eyes.

2. Preview button. I get an error.

Please help.

As apparently I am the only dumb one who has this issue...bananalive can I donate to your mod or something so maybe you can take a look at my setup as to why the form goes into moderation and why my preview button creates an error. I REALLY want to use this mod. I've used the preview button on other areas and I did not get an error.

Thanks,
Maria

bananalive 03-03-2009 05:14 PM

Quote:

Originally Posted by frogster (Post 1759405)
As apparently I am the only dumb one who has this issue...bananalive can I donate to your mod or something so maybe you can take a look at my setup as to why the form goes into moderation and why my preview button creates an error. I REALLY want to use this mod. I've used the preview button on other areas and I did not get an error.

Thanks,
Maria

do you still get the preview error if you disable attachments?


All times are GMT. The time now is 01:25 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.02266 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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