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)

bananalive 02-20-2010 01:53 PM

Quote:

Originally Posted by iadventure (Post 1987057)
it asks me to login and I do and it still gives no access

Do you have any other products installed, there might be a conflict.

Martyh 02-20-2010 03:47 PM

Can someone tell me where I can change the border sizes in the form ?

Thanks

setishock 02-20-2010 03:55 PM

I was wondering if you were going to update this. I had to put the brakes on making wiki links cause doing it by hand is a pain.
So the xml downloaded from the 3.8.4 version will work with the 4.x version?

BiZiMDiYaR 02-20-2010 06:12 PM

Quote:

Originally Posted by setishock (Post 1987421)
I was wondering if you were going to update this. I had to put the brakes on making wiki links cause doing it by hand is a pain.
So the xml downloaded from the 3.8.4 version will work with the 4.x version?

Not yet.. but he is checking it :)

zimer 02-20-2010 06:14 PM

Seems the url's are parsed in the raw output but not the table output. Did I miss something? I'm looking at using the table output in general.

TheBigC 02-21-2010 09:26 PM

The program works well to say the least. I love it so far!!!!

I am using it as a "thread starter" for products in my forums. It is running very smooth on 4.02, minus one issue...

I can't delete a form. I can create, modify, export, etc, just can't delete. It gives the option and even confirms do I wan to delete, but them it does nothing.

Any idea?

betts02 02-21-2010 11:19 PM

can someone give me a detailed explanation of how to create a form ?

would love to use this but i am just getting used to vb and have no clue

many thanks in advance

TheBigC 02-22-2010 12:42 AM

Quote:

Originally Posted by betts02 (Post 1988434)
can someone give me a detailed explanation of how to create a form ?

would love to use this but i am just getting used to vb and have no clue

many thanks in advance

Once you install the plugin go settings/options/Vbulletin options and scroll down to the "Easy Forms Options" and enable it with the permissions you want.

Then go out the forum and click on the "Form" button that you just enabled in the admincp. The form itself literally takes maybe a minute to design.

You asked a question and admit you need help, no one started knowing VB, we are all always learning....

Martyh 02-22-2010 11:57 AM

Quote:

Originally Posted by bananalive (Post 1985835)
Remove this line from plugin: Easy Forms Part 1

PHP Code:

$threadinfo['issubscribed'] = false


That doesn't seem to do it, I also tried setting it to true.

Alex@Mk3OC 02-22-2010 01:39 PM

Does anyone else get issues with using this hack when running vBadvanced CMPS Beta 2? As the author of that reckons it's a problem with this hack?

Anseur 02-22-2010 04:39 PM

I'd just like to express how awesome this mod is. I'm using it on my live 3.8.4 site and it's great to know it's available for 4.x if/when I decide to move.

Giedreb 02-23-2010 12:11 PM

Killer mod! Two questions.

1. How to place a form into a custom page/template?
2. I need to add a custom bbcode at the start of every form message section so that when the form first comes up there is already a bbcode in the message area and the users type below it and then submit.

Stryker412 02-23-2010 02:46 PM

This mod is a HUGE leap over Abe's old hack. How can I hide the forms list from registered users but still have the ability for admins to see it to edit?

What about users who have subscribe to threads on by default? Is there a way to block a form from being able to be subscribed?

Lastly, is there a way to deny anyone from using the form if they don't have enough posts or have not been registered for x amount of days?

jimfries 02-23-2010 03:15 PM

My general users are not able to view the forum at all, they keep getting this message:
Quote:

TestUser, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
The way I'm using this form is for a "Guild Recruitment" application. The Applications are being submitted into our forums, but I am putting it into a forum that only my Officers can review, not the applicants or general population.

I'm assuming, since those members are not able to see or post normally in that forum, it is not letting them review the form at all. Is this the case? If so, how do I circumvent this? The Users that will use the form are in the 'registered users' category, and the people able to view the forum its being submitted into are listed as 'Officers'

Here are the settings I'm using:
Usergroups Allowed to View Form Lists: Everything is highlighted
Usergroups Allowed to View Forms: Everything is highlighted
Usergroups Allowed to View Form Results: Administrators, Officers
Usergroups Allowed to Edit Forms: Administrators, Officers
Navbar Link: No
Quick Links Link: Yes

Any help is appreciated.

Stryker412 02-23-2010 11:37 PM

Jim, the way I have mine set up (for a similar purpose) is to allow Registered users to post in your private forum but not allow them to see the forum. That way, the application can be posted but they cannot see it or the discussion about it.

jimfries 02-24-2010 12:35 AM

Set it so the Registered Users can post forum posts, and post polls... but not view and still get the same error :(

www.distortedguild.com is the website.

jimfries 02-24-2010 12:52 AM

Found it. After hours of searching on the site, in and out of admin.

If you go into the form itself, you can choose who can view or not view the form.

fishmaster 02-24-2010 02:11 AM

Can you attach images within the form?

gator777 02-24-2010 02:16 PM

This is an awesome script ...thanks for all your hard work. :)

BiZiMDiYaR 02-24-2010 03:31 PM

Quote:

Originally Posted by setishock (Post 1987421)
I was wondering if you were going to update this. I had to put the brakes on making wiki links cause doing it by hand is a pain.
So the xml downloaded from the 3.8.4 version will work with the 4.x version?

Hi,

Is this also solved yet... so the import of the 3.8.4 can be done in VB4 ? Would be a great help on it.. :)

Thanks.

angelimnot 02-24-2010 04:31 PM

Is there a way to make this mod post to 2 areas? We have them fill out a "review" form.. and then it is posting in the area of which they are reviewing... but we also need it to post to a moderator only area so they can get the proper points for filling out the review....

we_are_borg 02-24-2010 06:27 PM

Bananalive i got a template that uses transparent to let the background see trough after upgrading to vb 4.0.2 the background of the forum was not transparent any more. Can you assist to fix this.

HolyKiller 02-24-2010 11:07 PM

perfect update, works fine on 4.0.2, thx !

nitra1000 02-26-2010 09:00 PM

Hi op...

Love the mod but I have a few feature requests....

In order of realism...
1. Dates format.... (in the uk it's DD/MM/YY), perhaps a selectable format...
2. Prefix's I would for the user to be able to select a prefix...
3. Redirect to newly created thread...

5. If it's possible I would like my users to enter a postcode the first x digits will form the prefix... and the last x digits the rest of the title...

Hornstar 02-26-2010 11:19 PM

Hi, I just removed the[indent] tag for the answers as I wanted everything aligned to the left. However I noticed that the indent tag also created space above and below the text and with it gone it is now squishy.

How do I make it so there is a line between each question?

bananalive 02-27-2010 02:27 PM

Quote:

Originally Posted by hornstar1337 (Post 1992418)
Hi, I just removed the[indent] tag for the answers as I wanted everything aligned to the left. However I noticed that the indent tag also created space above and below the text and with it gone it is now squishy.

How do I make it so there is a line between each question?

Add \r\n to the end of the answer bbcode

bananalive 02-27-2010 02:39 PM

Quote:

Originally Posted by nitra1000 (Post 1992333)
Hi op...

Love the mod but I have a few feature requests....

In order of realism...
1. Dates format.... (in the uk it's DD/MM/YY), perhaps a selectable format...
2. Prefix's I would for the user to be able to select a prefix...
3. Redirect to newly created thread...

5. If it's possible I would like my users to enter a postcode the first x digits will form the prefix... and the last x digits the rest of the title...

1. is available in latest version, edit appropriate question
3. use the following in : http://www.yoursite.com/forums/showthread.php?p=$newpost[postid]#post$newpost[postid]
5. You would have to use the form hooks to achieve that.

bananalive 02-27-2010 02:42 PM

Quote:

Originally Posted by we_are_borg (Post 1990618)
Bananalive i got a template that uses transparent to let the background see trough after upgrading to vb 4.0.2 the background of the forum was not transparent any more. Can you assist to fix this.

I'm not sure, i think it will be to do with class blockrow

bananalive 02-27-2010 02:46 PM

Quote:

Originally Posted by angelimnot (Post 1990516)
Is there a way to make this mod post to 2 areas? We have them fill out a "review" form.. and then it is posting in the area of which they are reviewing... but we also need it to post to a moderator only area so they can get the proper points for filling out the review....

Only by copying the post thread php code to form hook: before submit:

PHP Code:

/*change this*/
$secondforumid 5;
if (
$complete)
    {
        if (!
$vbulletin->userinfo['userid'])
        {
            
$vbulletin->input->clean_array_gpc('p', array(
                
'humanverify' => TYPE_ARRAY,
            ));
            
$newpost['humanverify'] = $vbulletin->GPC['humanverify'];
        }
        require_once(
DIR '/includes/functions_editor.php');
        require_once(
DIR '/includes/functions_bigthree.php');
        require_once(
'./includes/class_dm.php');
        require_once(
'./includes/class_dm_threadpost.php'); 
        require_once(
'./includes/functions_databuild.php');
        if (!
$closed)
        {
            
$open 1;
        }
        else
        {
            
$open 0;
        }
        
$threaddm = new vB_DataManager_Thread_FirstPost($vbulletinERRTYPE_STANDARD);
        
/*$foruminfo = fetch_foruminfo($forumid);*/
        
$threaddm->set_info('forum',$foruminfo);
        
$threaddm->set_info('user'$vbulletin->userinfo);
        
$threaddm->set('forumid'$secondforumid);
        
$threaddm->set('userid'$vbulletin->userinfo['userid']);
        
$threaddm->set('title'$threadtitle);
        
$threaddm->set('pagetext'$formoutput); 
        
$allow_smilie '1';
        
$visible '1';
        
$threaddm->set('open'$open);
        if (
$form[prefixid])
        {
            
$threaddm->set('prefixid'$form[prefixid]); 
        }
        if (
$form[iconid])
        {
            
$threaddm->set('iconid'$iconid); 
        }
        
$threaddm->set('allowsmilie'$allow_smilie);
        
$threaddm->set('visible'$visible);
        
$threaddm->pre_save();
        
$threadid $threaddm->save();
        unset(
$threaddm);
        
build_thread_counters($threadid);
        
build_forum_counters($forumid);  
        if (!empty(
$threaddm->errors))
        {
            
$errorss .= $threaddm->errors;
            
$errormessage "Form failed to submit. The following error(s) occured: <br /> ".$errorss;
            eval(
standard_error($errormessage));
        }
        
$threadinfo fetch_threadinfo($threadid);
        
$newpost['postid'] = $threadinfo['firstpostid'];
        
mark_thread_read($threadinfo$foruminfo$vbulletin->userinfo['userid'], TIMENOW);
        
/*($hook = vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false;*/
        
if ($form[poll] == 1)
        {
            
$question $form[pollquestion];
            
$threadinfo verify_id('thread'$threadid01);
            
$polloptions count($polloption);
            
$vbulletin->GPC['options'] = $polloption;
            
$counter 0;
            
$optioncount 0;
            
$badoption '';
            while (
$counter++ < $polloptions)
            {
                if (
$vbulletin->options['maxpolllength'] AND vbstrlen($vbulletin->GPC['options']["$counter"]) > $vbulletin->options['maxpolllength'])
                {
                    
$badoption .= iif($badoption', ') . $counter;
                }
                if (!empty(
$vbulletin->GPC['options']["$counter"]))
                {
                    
$optioncount++;
                }
            }
            
$poll datamanager_init('Poll'$vbulletinERRTYPE_STANDARD);
            
$counter 0;
            while (
$counter++ < $polloptions)
            {
                if (
$vbulletin->GPC['options']["$counter"] != '')
                {
                    
$poll->set_option($vbulletin->GPC['options']["$counter"]);
                }
            }
            
$poll->set('question'$question);
            
$poll->set('dateline'TIMENOW);
            
$poll->set('active''1');
            
$poll->set('public'$form['publicpoll']);
            
$poll->set('multiple'$form['multiplepoll']);
            
$pollid $poll->save();
            
$threadman datamanager_init('Thread'$vbulletinERRTYPE_STANDARD'threadpost');
            
$threadman->set_existing($threadinfo);
            
$threadman->set('pollid'$pollid);
            
$threadman->save();
        }
    } 


bananalive 02-27-2010 02:47 PM

Quote:

Originally Posted by BiZiMDiYaR (Post 1990480)
Hi,

Is this also solved yet... so the import of the 3.8.4 can be done in VB4 ? Would be a great help on it.. :)

Thanks.

Yes solved in the latest version

bananalive 02-27-2010 02:48 PM

Quote:

Originally Posted by fishmaster (Post 1990073)
Can you attach images within the form?

You can use the attachment manager for posting new threads, but not for replies to existing threads.

bananalive 02-27-2010 02:52 PM

Quote:

Originally Posted by Stryker412 (Post 1989662)
This mod is a HUGE leap over Abe's old hack. How can I hide the forms list from registered users but still have the ability for admins to see it to edit?

You can set Form Permissions by Editing Form
Quote:

What about users who have subscribe to threads on by default? Is there a way to block a form from being able to be subscribed?
Subscriptions dont currently work with the form so you wont have that problem.
Quote:

Lastly, is there a way to deny anyone from using the form if they don't have enough posts or have not been registered for x amount of days?
Form Hook: Form Start
PHP Code:

if ($vbulletin->userinfo['posts']<5)
{
print_no_permission();



bananalive 02-27-2010 02:54 PM

Quote:

Originally Posted by Giedreb (Post 1989561)
Killer mod! Two questions.

1. How to place a form into a custom page/template?
2. I need to add a custom bbcode at the start of every form message section so that when the form first comes up there is already a bbcode in the message area and the users type below it and then submit.

1. Nope

2. Add the custom bbcode to beginning of: Edit Form -> Answer BB code:

bananalive 02-27-2010 02:56 PM

Quote:

Originally Posted by TheBigC (Post 1988383)
The program works well to say the least. I love it so far!!!!

I am using it as a "thread starter" for products in my forums. It is running very smooth on 4.02, minus one issue...

I can't delete a form. I can create, modify, export, etc, just can't delete. It gives the option and even confirms do I wan to delete, but them it does nothing.

Any idea?

Is your Javascript enabled in your browser and have you uploaded the easyforms.js to \clientscript\

Martyh 02-27-2010 03:22 PM

Quote:

Originally Posted by bananalive (Post 1985835)
Remove this line from plugin: Easy Forms Part 1

PHP Code:

$threadinfo['issubscribed'] = false


That doesn't seem to do it, I also tried setting it to true.

Any help is appreciated.

steve71 02-27-2010 06:48 PM

Some sort of glitch. The hack installed ok and I can view the forms but when I edit them I am missing some selections.

Post new thread text box is there, but does not show the drop-down menu to select the forum as shown in bananalive's screenshot: https://vborg.vbsupport.ru/attachmen...4&d=1264688078

Also I cannot delete forms or delete parts of a form like a text question etc.

VB 4.0.2

HolyKiller 02-27-2010 08:04 PM

Hi, i have problem with setting group rights up for this hack. If i set which usergroup can do specific action and save settings, everything is fine, but when i edit vbulletin options via "Show All Settings" and then save changes, half of my usergroups lose their rights for Easy Forms. If i recheck settings, the are NOT marked.

Using vB 4.0.2 PL1

Please try && fix it ;)

Thanks

Holy

Selcor 02-27-2010 09:41 PM

Is displayed wrong on my forum (vb 4.0.2). View the image: http://img705.imageshack.us/img705/4742/capr.png

Probe with several skins and does not change ...

rfsforums 02-28-2010 02:50 AM

Quote:

Questions proceeded by an asterisk (*) are compulsory.
but they are actually followed by an asterisk. I've searched everywhere I can think of, where would I find this statement so that I can change it?

Thanks again for a great Mod!

steve71 02-28-2010 11:18 AM

Quote:

Originally Posted by steve71 (Post 1993118)
Some sort of glitch. The hack installed ok and I can view the forms but when I edit them I am missing some selections.

Post new thread text box is there, but does not show the drop-down menu to select the forum as shown in bananalive's screenshot: https://vborg.vbsupport.ru/attachmen...4&d=1264688078

Also I cannot delete forms or delete parts of a form like a text question etc.

VB 4.0.2



My bad...wrong version xml. Working great now :)


All times are GMT. The time now is 04:18 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.02591 seconds
  • Memory Usage 1,900KB
  • 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
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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