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)

bananalive 03-08-2009 06:50 PM

1 Attachment(s)
Quote:

Originally Posted by cookiepants (Post 1763012)
Here's a real question. I'd like to remove the "POLL:" text in the title of the forum where the forms are posted. Is that possible?

I'd also like to automatically close the threads posted using the forms, as soon as they submit the form, is that possible?

Thanks so much!

Nutmeg

'Poll:' is from vbulletin as thread is a poll.

Import attached file and add to form hook: before submit

PHP Code:

$closed true


bananalive 03-08-2009 06:51 PM

1 Attachment(s)
Quote:

Originally Posted by hobbybox (Post 1762789)
REgular users form posts are going into moderation Que - I have checked this thread and I have made sure that 'follow Moderation: YES' and the forum the posts are going into are allowed for that so im not sure what the problem can be....any help

Try attached file

cookiepants 03-08-2009 07:11 PM

Quote:

Originally Posted by bananalive (Post 1763376)
'Poll:' is from vbulletin as thread is a poll.

Import attached file and add to form hook: before submit

PHP Code:

$closed true


Wow thanks!

I think this is my favorite mod ever. Thank you so much!

Vitaly 03-08-2009 08:07 PM

I'm in process of creating forms and collecting a long list of notices :)

For now, 3 small qwestions:

1. How to define date field value in template? My template looks like this:
---------
Пользователь: {username}
URL: http://forum.dev.rcdesign.ru/member.php?u={userid}

$qn[5]: $q[5]
$qn[6]: $q[6]
$qn[7]: $q[7]
$qn[8]: $q[8]
---------

All other fields are ok, but date returns "Array" instead. Tryed this one "$q[8][day].$q[8][month].$q[8][year]" - doesn't help too. Form is used to send email.

2. How to get user email for registered users? Didn't found variable.

3. Which $ variable to use instead of {username} and {userid}?

bananalive 03-08-2009 08:30 PM

Quote:

Originally Posted by Vitaly (Post 1763436)
I'm in process of creating forms and collecting a long list of notices :)

For now, 3 small qwestions:

1. How to define date field value in template? My template looks like this:
---------
Пользователь: {username}
URL: http://forum.dev.rcdesign.ru/member.php?u={userid}

$qn[5]: $q[5]
$qn[6]: $q[6]
$qn[7]: $q[7]
$qn[8]: $q[8]
---------

All other fields are ok, but date returns "Array" instead. Tryed this one "$q[8][day].$q[8][month].$q[8][year]" - doesn't help too. Form is used to send email.

2. How to get user email for registered users? Didn't found variable.

3. Which $ variable to use instead of {username} and {userid}?

1. $qo[8]
2. {email}
3. either {username}, {userid} or $thisuser[username], $thisuser[userid]

Vitaly 03-08-2009 08:37 PM

Thanks.

What's the difference between $q[x] and $qo[x]? Is there any logic, or "qo" is reserved for date?

ahmedipa 03-08-2009 08:45 PM

thank you so much

bananalive 03-08-2009 08:53 PM

Quote:

Originally Posted by Vitaly (Post 1763457)
Thanks.

What's the difference between $q[x] and $qo[x]? Is there any logic, or "qo" is reserved for date?

$q is how it is submitted, ie. as an array for date or as a number for dropdown select, whilst $qo is output or the text, ie. imploded date array, number converted into text, etc.

Vitaly 03-08-2009 09:21 PM

Ah... thanks... now i see, that have to use $qo[x] in template for safety.

One more problem with Date field. Got email with value, but it looks like this:

1[crap]13[crap]1976

"& #92 ;" - HTML code. It was instead of \

PS. If that's a bug, but not my mistake, please wait a couple of days, until i make complete buglist

skYfIrE 03-08-2009 09:34 PM

Thanks for the mod :)


All times are GMT. The time now is 05:55 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.02408 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (5)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