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 06-22-2009 05:36 PM

Quote:

Originally Posted by Heldenverband (Post 1834925)
Dear All,

i have a problem with a break after a SECTION. The single text line after a section is not a new line. It is attached to the section description. Please see the attached screenshot.

Any ideas ?

Edit form
At end of section BBcode add \r\n

\r\n is a new line break

viper357 06-22-2009 05:42 PM

Quote:

Originally Posted by Elenna (Post 1834948)
Edit your form - in the top section, there are a few fields that deal with formatting. Look for the "answer" one. It should already have something in it, like [indent][i] and [/i][/indent].

Remove the [i] and [/i], and that will remove the italics.

Quote:

Originally Posted by bananalive (Post 1834951)
Edit Form

Answer BBcode:
HTML Code:

[INDENT][I][/I][/INDENT]

Change to
HTML Code:

[INDENT][/INDENT]


Thanks :up:

buurman 06-22-2009 05:56 PM

I have some more advanced question about whats possible...

I know its possible to mail the output to a mailadres, how do I get it to send the output (with added text to the users email?

Or at least, how do I add custom text to the output to send it as PM?

Thx in advance, I use easyforms for a while now, and can do without it anymore.. :D

buurman 06-22-2009 07:03 PM

Found out, that a output of a pulldown value works in the title, but not in a custom output.

In the custom output it is displayed as the number of the pulldown value.

In title it is "Gold" (the choice in tekst)

In the custom output it is "4"

Heldenverband 06-23-2009 04:34 AM

Quote:

Originally Posted by bananalive (Post 1834953)
Edit form
At end of section BBcode add \r\n

\r\n is a new line break


Thanks

steve71 06-24-2009 12:00 AM

Every usergroup can see the form threads except for me (the admin)

When I logout I can view them too. This only happens with one of the forms. I have admin selected in the easy form usergroup settings. I can view it as the most recent thread...but when I click on it there is no thread.

?

coffeefix 06-24-2009 01:06 AM

Quote:

Originally Posted by nalexandre (Post 1827298)
Hi, only administrator can acess the forms? I?ve already set pemissions and no sucess, can you tell me how to fix it? Everything else works nice.
I?m using Vb 3.8.1

Obrigado


I am having the same problem. I am using VB 3.8.3

and yes I have it so that multiple 'User groups are allowed to View Forms' in 'Easy Forms Options'.

steve71 06-24-2009 02:23 AM

Quote:

Originally Posted by coffeefix (Post 1836077)
I am having the same problem. I am using VB 3.8.3

and yes I have it so that multiple 'User groups are allowed to View Forms' in 'Easy Forms Options'.


For me it's the opposite...everyone except the admin (me) can view the form thread.

Quote:

Originally Posted by steve71 (Post 1836028)
Every usergroup can see the form threads except for me (the admin)

When I logout I can view them too. This only happens with one of the forms. I have admin selected in the easy form usergroup settings. I can view it as the most recent thread...but when I click on it there is no thread.

?


steve71 06-26-2009 12:51 PM

Quote:

Originally Posted by bananalive (Post 1834950)
If i get time i'll look into someway of doing this tomorrow.

Bump


Just wondering if you've had any time...even if you just added a thumbnail upload option if its easier than integrating or calling up the hook from threadthumbnails

Then we could remove the edit option for threads and prevent any altering of the form output.

Rideharder 06-26-2009 05:55 PM

Keep up the good work bananalive!
Page 76 of 76..

Elenna 06-27-2009 04:44 AM

For those that are having trouble viewing the thread that gets created by the form, check your Forum settings. The settings that have to do with this add-on (Can View Forms, etc) are only for getting to the point of submitting it the information. Who gets to see if afterwards is based on your Forum permissions.

HologramX 06-27-2009 09:05 AM

Hi Bananalive. First off, thanks for developing this great modification. It's been a great help replacing the faulty RSVP mod we used to use on our site and given us more flexibility. Good work.

We're having a small issue with one member who uses Firefox 3 on a Linux box. We have a form with three questions, two normal input=text and one WYSIWYG editor, all marked as required. When he submits his form he gets an error saying that the WYSIWYG editor question is a required field. No one else seems to suffer from this problem.

On his box the WYSIWIG editor doesn't get activated and so only the normal textarea gets displayed without the toolbar, etc. Could it be something to do with that?

bananalive 06-27-2009 04:30 PM

Quote:

Originally Posted by steve71 (Post 1837798)
Bump


Just wondering if you've had any time...even if you just added a thumbnail upload option if its easier than integrating or calling up the hook from threadthumbnails

Then we could remove the edit option for threads and prevent any altering of the form output.

Sorry, no I've been very busy lately. I will though at some point...

bananalive 06-27-2009 04:34 PM

Quote:

Originally Posted by HologramX (Post 1838329)
Hi Bananalive. First off, thanks for developing this great modification. It's been a great help replacing the faulty RSVP mod we used to use on our site and given us more flexibility. Good work.

We're having a small issue with one member who uses Firefox 3 on a Linux box. We have a form with three questions, two normal input=text and one WYSIWYG editor, all marked as required. When he submits his form he gets an error saying that the WYSIWYG editor question is a required field. No one else seems to suffer from this problem.

On his box the WYSIWIG editor doesn't get activated and so only the normal textarea gets displayed without the toolbar, etc. Could it be something to do with that?

The issue will be to do with the non-toolbar version of vb editor.

I fixed this issue few posts back, so import this file:
product-easyforms v3.7.xml (177.8 KB)

steve71 06-28-2009 10:26 AM

The https://vborg.vbsupport.ru/external/2011/07/5.gif is missing from the "field using vbulletin editor". How can add it?

bananalive 06-28-2009 04:56 PM

Quote:

Originally Posted by steve71 (Post 1838764)
The https://vborg.vbsupport.ru/external/2011/07/5.gif is missing from the "field using vbulletin editor". How can add it?

vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

bananalive 06-28-2009 05:15 PM

1 Attachment(s)
Quote:

Originally Posted by steve71 (Post 1837798)
Bump


Just wondering if you've had any time...even if you just added a thumbnail upload option if its easier than integrating or calling up the hook from threadthumbnails

Then we could remove the edit option for threads and prevent any altering of the form output.

  1. import attached product file
  2. Create a Custom Question
  3. PHP code:
    PHP Code:

    $answer '<input type="text" id="thumbnailurl" name="thumbnailurl"  value="'.htmlspecialchars($newpost[thumbnailurl]).'"  />'

  4. Form Hook: Before Submit:
    PHP Code:

    $vbulletin->input->clean_gpc('p''thumbnailurl'TYPE_STR);
    $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl']; 


steve71 06-29-2009 02:24 AM

Quote:

Originally Posted by bananalive (Post 1838970)
  1. import attached product file
  2. Create a Custom Question
  3. PHP code:
    PHP Code:

    $answer '<input type="text" id="thumbnailurl" name="thumbnailurl"  value="'.htmlspecialchars($newpost[thumbnailurl]).'"  />'

  4. Form Hook: Before Submit:
    PHP Code:

    $vbulletin->input->clean_gpc('p''thumbnailurl'TYPE_STR);
    $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl']; 


  1. I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
  2. I created a custom question and in the PHP box I put:
    $answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
  3. Form Hook Before Submit I put:
    $vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
    $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];

  4. In the new question box I created I tried pasting an image url both with and without [img] tags but no thumbnail.

Trek 06-30-2009 01:58 AM

I have been using this for a while now and have several forms created and working fine.

I just exported and imported another form to help minimize my changes (similar form) and now when I submit the form I get the error:

You did not specify a username for your post.

If I uncheck the "post as thread" it works fine. I've tripple checked the forum ID it should be posting to, opened the forum wide open as far as perms go, still no luck.

I checked the form data in the database and I can't see anything really different than the other forms I have created.

Any ideas?

Trek 06-30-2009 04:09 AM

Ok, I finally realized that all of my other forms weren't working now either.

I found what the problem was. I installed a new mod today called "Adv. Editing Options for Mods & Admins" and it appears to be the problem. I disabled it and everything started to work as it should.

I realize this isn't your problem, but I thought I'd mention it incase there is something you could do or look into about it.

bananalive 06-30-2009 01:23 PM

Quote:

Originally Posted by steve71 (Post 1839256)
  1. I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
  2. I created a custom question and in the PHP box I put:
    $answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
  3. Form Hook Before Submit I put:
    $vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
    $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];

  4. In the new question box I created I tried pasting an image url both with and without [img] tags but no thumbnail.

Find in plugin Easy Forms Part 1:
PHP Code:

$postdm->set('userid'$postuserid); 

Add below:
PHP Code:

$postdm->set('thumbnailurl'$newpost['thumbnailurl']); 


steve71 06-30-2009 09:59 PM

Quote:

Originally Posted by bananalive (Post 1840165)
Find in plugin Easy Forms Part 1:
PHP Code:

$postdm->set('userid'$postuserid); 

Add below:
PHP Code:

$postdm->set('thumbnailurl'$newpost['thumbnailurl']); 



I tried that and then submitted an image URL with and without [url] tags in the box created in step.2


Quote:

Originally Posted by steve71 (Post 1839256)
  1. I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
  2. I created a custom question and in the PHP box I put:
    $answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
  3. Form Hook Before Submit I put:
    $vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
    $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
  4. In the new question box I created I tried pasting an image url both with and without [img] tags but no thumbnail.


Should I undo steps 1-3 and only edit the plugin Easy Forms Part 1?

dinamik 07-02-2009 09:39 AM

hello bananalive, first of all this is a great addon,
but i wonder if this will be a good ideea
you make a question like Dropdown Select or a checkbox select
and based on that you can change the category in which the form is posted in
for example
you have multiple forms that do the same thing basically with difference only in place where it gets posted.
what do you think about that?:P

vithorius 07-02-2009 09:44 AM

Man... This is a GREAT hack, but I guess that the title must be changed...! :( :confused:

Where it says "without php or html knowledge" should say "with a lot of HTML knowledge and a bit of PHP" :rolleyes: :eek: :up:

tldagent 07-02-2009 12:31 PM

Hello and thank you for this great modification.

I sort of have a problem. If I go to the form and edit the form and then enter a description and check the boxes to save or PM form details and hit save, none of it save and I'm redirected to my forum home page. I'm using VB 3.8.3 with VBSEO.

Tried many times to save, reinstalled mod, always same result.

Qwest 07-02-2009 02:44 PM

Would it be possible to use this to create a custom user registration form?

I want to make a landing page so that when a user clicks on an ad and comes to my site they see my custom easy registration form.

tldagent 07-02-2009 10:32 PM

Quote:

Originally Posted by tldagent (Post 1841389)
Hello and thank you for this great modification.

I sort of have a problem. If I go to the form and edit the form and then enter a description and check the boxes to save or PM form details and hit save, none of it save and I'm redirected to my forum home page. I'm using VB 3.8.3 with VBSEO.

Tried many times to save, reinstalled mod, always same result.

Has anyone experienced this? The form isn't working for me and I've searched here for answers and came up empty. Anyone?

MoveOver.cc 07-03-2009 09:43 AM

Hi,

Sorry if this has been asked before.

I would like to see a specific form as a module for cmps.

Is this possible and if so, how.

Thx

bananalive 07-03-2009 10:54 AM

Quote:

Originally Posted by steve71 (Post 1840411)
I tried that and then submitted an image URL with and without [url] tags in the box created in step.2





Should I undo steps 1-3 and only edit the plugin Easy Forms Part 1?

No keep that stuff.

And you might need to redo

Find in plugin Easy forms Part 1
PHP Code:

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

Replace with
PHP Code:

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


bananalive 07-03-2009 10:55 AM

Quote:

Originally Posted by dinamik (Post 1841299)
hello bananalive, first of all this is a great addon,
but i wonder if this will be a good ideea
you make a question like Dropdown Select or a checkbox select
and based on that you can change the category in which the form is posted in
for example
you have multiple forms that do the same thing basically with difference only in place where it gets posted.
what do you think about that?:P

You can copy forms which allows you to copy a form. I think this is a much easier way to have multiple forms with similar functions

bananalive 07-03-2009 10:57 AM

Quote:

Originally Posted by vithorius (Post 1841300)
Man... This is a GREAT hack, but I guess that the title must be changed...! :( :confused:

Where it says "without php or html knowledge" should say "with a lot of HTML knowledge and a bit of PHP" :rolleyes: :eek: :up:

You do not need any html/php knowledge to create a basic form. You just have to fill in the boxes with some basic details - bb code is used throughout rather than html code. There are more advanced features included which do require php knowledge such as forms hook for those who wish to do more with their form.

bananalive 07-03-2009 10:58 AM

1 Attachment(s)
Quote:

Originally Posted by tldagent (Post 1841389)
Hello and thank you for this great modification.

I sort of have a problem. If I go to the form and edit the form and then enter a description and check the boxes to save or PM form details and hit save, none of it save and I'm redirected to my forum home page. I'm using VB 3.8.3 with VBSEO.

Tried many times to save, reinstalled mod, always same result.

I'm not sure if vbseo is messing it up or whether some of the forms are missing their 'actions'.

Try importing attached file, as i have checked all forms have actions.

bananalive 07-03-2009 11:01 AM

Quote:

Originally Posted by Qwest (Post 1841453)
Would it be possible to use this to create a custom user registration form?

I want to make a landing page so that when a user clicks on an ad and comes to my site they see my custom easy registration form.

There is no function for registrations.

bananalive 07-03-2009 11:03 AM

Quote:

Originally Posted by MoveOver.cc (Post 1841891)
Hi,

Sorry if this has been asked before.

I would like to see a specific form as a module for cmps.

Is this possible and if so, how.

Thx

Create the form.

Then view the form.

View page source.

Copy the form part of the page source.

Create a new html module/page with the part of the page source copied in previous step.

MoveOver.cc 07-03-2009 11:26 AM

Thx,

Will give that a go.

MoveOver.cc 07-03-2009 11:33 AM

Hi,

Excuse my limited knowledge.

Step1 - Do I copy the the whole of the source code or just the link to the page

Step 2 - When adding a module in CMPS, is it BB Code Module, Template Module or PHP File Module

Step 3 - What do I do now.

Thanks

bananalive 07-03-2009 11:38 AM

Quote:

Originally Posted by MoveOver.cc (Post 1841962)
Hi,

Excuse my limited knowledge.

Step1 - Do I copy the the whole of the source code or just the link to the page

Step 2 - When adding a module in CMPS, is it BB Code Module, Template Module or PHP File Module

Step 3 - What do I do now.

Thanks

You want to create a template page.

Select all styles

Template Content is where you put the copied code.

You only want to copy the form part of the page source. So not the header/ navbar/ footer.

So everything from:
HTML Code:

<form action="misc.php" method="post"
To:
HTML Code:

</tr>
</table>
</form>


MoveOver.cc 07-03-2009 11:51 AM

Thanks

Have done all of that correctly.

I have worked out how to change this to a module but I cannot find how to make it appear as a module in the main cmps page.

Please help

tldagent 07-03-2009 01:43 PM

Quote:

Originally Posted by bananalive (Post 1841928)
I'm not sure if vbseo is messing it up or whether some of the forms are missing their 'actions'.

Try importing attached file, as i have checked all forms have actions.

Thanks a bunch for your prompt reply.

Imported and overwrote the current form and it still does the same thing. So I created a new form and the description seems to attach itself on a new form just fine but once I go into edit that form and check the selection boxes and hit save, it goes directly to:
Code:

http://www.philosophyforum.com/forum/#lounge
so I'm thinking it may need some re-write rules for vbseo. For some reason hitting submit opens that anchor link to the lounge.

Does anyone else using this form have vbseo with similar problems?

bananalive 07-03-2009 02:50 PM

Quote:

Originally Posted by MoveOver.cc (Post 1841983)
Thanks

Have done all of that correctly.

I have worked out how to change this to a module but I cannot find how to make it appear as a module in the main cmps page.

Please help

Can't you add it to the main page like any other module?


All times are GMT. The time now is 08:09 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.02985 seconds
  • Memory Usage 1,884KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (10)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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