vb.org Archive

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

bigrover 08-18-2010 08:46 PM

OK, that did get the message into forum #3, but the posting updated the forum statistics on the forums display page for both forum #2 and forum #3, including the title of the post, the user and the posting date & time stamp. Forum #2 now shows 11 threads but when you open it there are only 10. Forum #2 is the forum specified as the destination in the form itself, and it is being over-ridden to send the form to #3.

If you would like to hack around on my box to see what is going on, send me a PM.

riskofficer 08-19-2010 08:53 AM

Hello!

My database already contains 300 inputs with 10 columns each. Speed of generating new exports decreased dramticaly, but im planning that database will be thousends of inputs for next few years. Is there any solves of such problem? May be prepare export file not on demand but by schedule?

bananalive 08-19-2010 10:16 AM

Quote:

Originally Posted by bigrover (Post 2085988)
OK, that did get the message into forum #3, but the posting updated the forum statistics on the forums display page for both forum #2 and forum #3, including the title of the post, the user and the posting date & time stamp. Forum #2 now shows 11 threads but when you open it there are only 10. Forum #2 is the forum specified as the destination in the form itself, and it is being over-ridden to send the form to #3.

If you would like to hack around on my box to see what is going on, send me a PM.

Try this:
PHP Code:

$form['forumid'] = 3;  
if (
$forumid $form['forumid'])
{
    
$foruminfo verify_id('forum'$forumid01);
    
$forumperms fetch_permissions($forumid);


$foruminfo is used later in the script to rebuild thread counters.

bananalive 08-19-2010 10:19 AM

Quote:

Originally Posted by riskofficer (Post 2086203)
Hello!

My database already contains 300 inputs with 10 columns each. Speed of generating new exports decreased dramticaly, but im planning that database will be thousends of inputs for next few years. Is there any solves of such problem? May be prepare export file not on demand but by schedule?

Are your inputs containing bb code which needs to be parsed?

If they are not, then you could stop the bbcode parsing, which should speed up process.

riskofficer 08-19-2010 10:35 AM

Quote:

Originally Posted by bananalive (Post 2086227)
Are your inputs containing bb code which needs to be parsed?

If they are not, then you could stop the bbcode parsing, which should speed up process.

Hmm, how can I stop bbcode parsing for easyforms?

The problem is, even "Form Results" where I can edit database, generating too long, and each new entry making this time longer. May be split on pages "Form Results" and @From Results table".

But "Form results Poll" and "Export to Excel" will still generating too long and hang up server.

May be option "ondemand-real-time/schedule" is better?

Willy T 08-20-2010 12:45 AM

Hey Bananalive- this is about my 3-4th request without a single reply so I guess I need to keep trying.

Can you please assist with making

Quote:

Usergroups Allowed to Edit Forms
Usergroups allowed to add/edit/delete forms (Permission to view Form List is recommended for these usergroups)
each on their own line? I want usergroups to be able to CREATE forms but not delete everyone's in the event someone get's angry. They can request deletion by a moderator.

Greatly appreciate the help.

joeman 08-20-2010 05:14 PM

Hey banana I tried adding this to my 4.0.6 and it seems like a great plugin but when I try to click on it from a tab from an addition tab plugin, I get an error code that says:

(Message)
"Error, this form does not exist."

Do you have any idea why it says I'm getting an error that the form I made doesn't exist or have you seen that problem before?

Thanks

bchertov 08-24-2010 02:14 AM

This looks like a great idea, but I've got no idea how this works!
Is there a help file or tutorial or fully explained example someplace?

bigrover 08-24-2010 03:34 AM

The code you posted below worked. Now I need to figure out how to store the current forum when the form is called, then apply it in this script. I'm going to do some looking for a variable that may contain this information, then figure out how to store it and retrieve it when needed. If anyone has any suggestions I would greatly appreciate it.

I do have to say I really like this script, particularly the ability to format the output as desired with conditional statements based on the form data. It works great. Thanks Bananalive, good work.

Bchertov, I managed to figure this out mainly by reading through all the pages of this thread, then installing it on a development site and just hacking out a form and watching what happened.

Quote:

Originally Posted by bananalive (Post 2086225)
Try this:
PHP Code:

$form['forumid'] = 3;  
if (
$forumid $form['forumid'])
{
    
$foruminfo verify_id('forum'$forumid01);
    
$forumperms fetch_permissions($forumid);


$foruminfo is used later in the script to rebuild thread counters.


laric 08-24-2010 11:23 AM

Quote:

Originally Posted by laric (Post 2075189)
I love this mod.
I have a weird usage for it perhaps.

I am using it for guild applications for our gaming guild.

Thus I need the full form posted to the officers forum. (Works just fine)

Then I need a subset of the form posted to the 'highend' members forum.

How would I go about to do that?

I am somewhat familiar with php but not very familiar with the vb structure of the code.

I guess I need a hook/plugin somewhere?

Bananalive. Any chance that you could help me with this one. This is the last part I need before I can move from my old SMF forum over to my new VB forum.


All times are GMT. The time now is 04:54 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.02532 seconds
  • Memory Usage 1,757KB
  • 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
  • (6)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