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)

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.


All times are GMT. The time now is 07:36 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.04400 seconds
  • Memory Usage 1,760KB
  • 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
  • (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