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)

frogster 04-08-2009 05:35 PM

Quote:

Originally Posted by bananalive (Post 1786717)
Have you enabled (removed comment signs around) the hook 'newthread_post_complete' in plugins for easy forms?

From:
PHP Code:

/*($hook = vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false;*/ 

To:
PHP Code:

($hook vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false


That fixed it...! Thanks a million!

Martyh 04-08-2009 06:59 PM

Hi,

Is there any way to combine the register form to a form so they can then fill out the form hit submit and it starts a thread and registers them in one step ?

Thanks

DontWannaName 04-08-2009 08:43 PM

When someone quotes the answer to a question in a topic it shows [/I][/INDENT]at the end. Is there an easy fix to that?

DontWannaName 04-09-2009 06:46 AM

I also get this > before an answer to a question, happened twice on the same question, only that one.

bananalive 04-09-2009 08:07 AM

Quote:

Originally Posted by DontWannaName (Post 1787151)
I also get this > before an answer to a question, happened twice on the same question, only that one.

> is >

Is this symbol in your question?

bananalive 04-09-2009 08:10 AM

Quote:

Originally Posted by DontWannaName (Post 1786885)
When someone quotes the answer to a question in a topic it shows [/I][/INDENT]at the end. Is there an easy fix to that?

Check Form BBcode: for the code

bananalive 04-09-2009 08:10 AM

Quote:

Originally Posted by Martyh (Post 1786830)
Hi,

Is there any way to combine the register form to a form so they can then fill out the form hit submit and it starts a thread and registers them in one step ?

Thanks

Not really.

FW FH-K?ln 04-09-2009 09:02 AM

We have a problem:

when we modified a form with support from your help-site

Code:

if ($qo[6] <> "")
{
$formoutput = preg_replace('/(\[(.*?)\])/is', '', $formoutput);
vbmail($qo[6], $threadtitle, $formoutput);
}

$qo[6] = Single Line Text Field for the user email

to send the result of the form to the user, it will delete all BBCode in the email and in the new thread.

But why?

bananalive 04-09-2009 09:10 AM

Quote:

Originally Posted by FW FH-K?ln (Post 1787217)
We have a problem:

when we modified a form with support from your help-site

Code:

if ($qo[6] <> "")
{
$formoutput = preg_replace('/(\[(.*?)\])/is', '', $formoutput);
vbmail($qo[6], $threadtitle, $formoutput);
}

$qo[6] = Single Line Text Field for the user email

to send the result of the form to the user, it will delete all BBCode in the email and in the new thread.

But why?

The php function vbmail does not support bbcode.

The alternative to removing it is to convert it into plain text:

Replace:
Code:

$formoutput = preg_replace('/(\[(.*?)\])/is', '', $formoutput);
vbmail($qo[6], $threadtitle, $formoutput);

With:
PHP Code:

require_once(DIR '/includes/class_bbcode_alt.php');
$plaintext_parser =& new vB_BbCodeParser_PlainText($vbulletinfetch_tag_list());
$plainformoutput $plaintext_parser->parse($formoutput);
vbmail($qo[6], $threadtitle$plainformoutput); 


Martyh 04-09-2009 09:21 AM

Quote:

Originally Posted by bananalive (Post 1787193)
Not really.


Thank you,


All times are GMT. The time now is 09: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.02098 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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