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)

cookiepants 03-11-2009 05:18 AM

Quote:

Originally Posted by bananalive (Post 1763376)
'Poll:' is from vbulletin as thread is a poll.

Import attached file and add to form hook: before submit

PHP Code:

$closed true


Will that remove or delete previous posts using this hack?

SnowBot 03-11-2009 09:16 AM

Quote:

Originally Posted by lazyseller (Post 1765457)
It be nice if someone could come up with some a form pack. Im not volunteering!

I would even pay a little for it

bananalive 03-11-2009 02:00 PM

Quote:

Originally Posted by cookiepants (Post 1765463)
Will that remove or delete previous posts using this hack?

no, only new posts are created.

bananalive 03-11-2009 02:03 PM

Quote:

Originally Posted by Trek (Post 1765277)
Ok, I'm finally redoing my old form and I have to say... this really is easy! Nice work!

I've found one bug though (no idea if it's been reported already or not, too much to sort through in this thread.)

Anyway, if you don't end your form question with a ? it will automatically add a : to the end of your sentence, even if you don't want it. ;) Not a big deal, but a little annoying to assume what I want. ;)

Anyway, excellent work!

That was intention.

Find
PHP Code:

$formbit['question'] = $formbit['question'] . ":"

Replace
PHP Code:

/*$formbit['question'] = $formbit['question'] . ":";*/ 


Gizmo999 03-11-2009 07:29 PM

is it possible to change the date formatting on question and output to D/M/Y not M/D/Y?

frogster 03-12-2009 01:32 AM

Quote:

Originally Posted by bananalive (Post 1762363)
Is this for all posts, or just ones created with Easy Forms?

Just saw you had replied...It happens for any post BUT it didn't happen before I installed your update for the moderated posts issue...not sure what happened.

Thanks.

Gizmo999 03-12-2009 12:53 PM

I've got a problem where the recipient of hte email sent is getting blank emails, the PM works fine, database stores the record and if I set the email to me I see it but the person I need to can't. I'm not sure but I think it might be because the form output starts each line with an * and this seems to make the content invisible, is tere anyway to alter the character used?

its really useful to have that character before and after the question as I'm using them as delimiters to allow data import into excel, previous to this update I had to start each question with my delimiter and end each question with my delimiter.

bananalive 03-12-2009 02:16 PM

Quote:

Originally Posted by Gizmo999 (Post 1765943)
is it possible to change the date formatting on question and output to D/M/Y not M/D/Y?

Edit template: form_formbit_date

HTML Code:

<tr>
              <td class="smallfont" style="vertical-align: top; font-weight: bold;">$formbit[question]
                          <if condition="$formbit[description]!=''"><br /><i><span style="font-weight: normal;">$formbit[description]</span></i></if><if condition="$iqs && in_array($formbit[id], $iqs)"><br />$vbphrase[empty_field]</if><if condition="$formbit[inputerror]"><br />$formbit[inputerror]</if></td>
                          <td class="smallfont">
                        <table border="0" cellpadding="0" cellspacing="3">
                        <tbody><tr>
                                <td>
                                        <input class="bginput" style="font-size: 11px;" name="$formbit[id][day]" value="$formbit[day]" size="3" maxlength="2" title="$vbphrase[day]" tabindex="1" type="text">
                                        <select name="$formbit[id][month]" title="$vbphrase[month]" tabindex="1">
                                                <option value="1" <if condition="$formbit[month] == 1">selected="selected"</if>>$vbphrase[january]</option>
                                                <option value="2" <if condition="$formbit[month] == 2">selected="selected"</if>>$vbphrase[february]</option>
                                                <option value="3" <if condition="$formbit[month] == 3">selected="selected"</if>>$vbphrase[march]</option>
                                                <option value="4" <if condition="$formbit[month] == 4">selected="selected"</if>>$vbphrase[april]</option>
                                                <option value="5" <if condition="$formbit[month] == 5">selected="selected"</if>>$vbphrase[may]</option>
                                                <option value="6" <if condition="$formbit[month] == 6">selected="selected"</if>>$vbphrase[june]</option>
                                                <option value="7" <if condition="$formbit[month] == 7">selected="selected"</if>>$vbphrase[july]</option>
                                                <option value="8" <if condition="$formbit[month] == 8">selected="selected"</if>>$vbphrase[august]</option>
                                                <option value="9" <if condition="$formbit[month] == 9">selected="selected"</if>>$vbphrase[september]</option>
                                                <option value="10" <if condition="$formbit[month] == 10">selected="selected"</if>>$vbphrase[october]</option>
                                                <option value="11" <if condition="$formbit[month] == 11">selected="selected"</if>>$vbphrase[november]</option>
                                                <option value="12" <if condition="$formbit[month] == 12">selected="selected"</if>>$vbphrase[december]</option>
                                        </select>
                                        <input class="bginput" style="font-size: 11px;" name="$formbit[id][year]" value="$formbit[year]" size="5" maxlength="4" title="$vbphrase[year]" tabindex="1" type="text">
                                </td>
                        </tr>
                        </tbody></table>
                          </td>
            </tr>


bananalive 03-12-2009 02:18 PM

Quote:

Originally Posted by frogster (Post 1766164)
Just saw you had replied...It happens for any post BUT it didn't happen before I installed your update for the moderated posts issue...not sure what happened.

Thanks.

Odd, the script only runs on misc.php pages

Try disabling Easy Forms and see if you still get the problem.

bananalive 03-12-2009 02:21 PM

Quote:

Originally Posted by Gizmo999 (Post 1766426)
I've got a problem where the recipient of hte email sent is getting blank emails, the PM works fine, database stores the record and if I set the email to me I see it but the person I need to can't. I'm not sure but I think it might be because the form output starts each line with an * and this seems to make the content invisible, is tere anyway to alter the character used?

its really useful to have that character before and after the question as I'm using them as delimiters to allow data import into excel, previous to this update I had to start each question with my delimiter and end each question with my delimiter.

bold bbcode tags get replaced with asterisks by vbulletin's plain bbcode parser. so if you remove all the [b] bbcode then you won't get any asterisks interfering

hobbybox 03-12-2009 08:53 PM

First - Thank you for a great application and your support in helping people modify.

With that I have a question.

I have created one form to help members trade items. They fill out the form and it posts to a thread. I have been asked to have a button in someones post where if it is clicked, you would go to the form and that persons name would be in the form already.

I have it now as {username} / $qo1 (or whatever the variable is) so when the form is filled out that information is the thread title - example if I filled out the form would be 'Me / Name of person i type in box"

Is it possible to somehow carry the username of the persons post I am in so that $qo1 spot automaticly fills in so I would not have to type the persons name when a link from that post is clicked and you are taken to the form?

I hope im clear on what im asking - thank you in advance for your help.

anuanu 03-12-2009 09:23 PM

Maybe im dumb but everytime someone submits a new application it goes to the forum and is moderated and I have to approve it before its displayed...

It was never like this untill I updated it and im not sure how to change that.

hobbybox 03-13-2009 12:22 AM

Quote:

Originally Posted by anuanu (Post 1766798)
Maybe im dumb but everytime someone submits a new application it goes to the forum and is moderated and I have to approve it before its displayed...

It was never like this untill I updated it and im not sure how to change that.

there is a version 3.3 xmlf file floating around here that will take care of that problem.

koolasia 03-13-2009 01:48 AM

Hey,

Is it possible that when a form has optional questions and if they are not filled than these questions dont appear in the thread created ??

Vitaly 03-13-2009 05:04 AM

Looked into class_mail.php

It contains such strings:

Code:

        $fromemail = empty($vbulletin->options['bounceemail']) ? $vbulletin->options['webmasteremail'] : $vbulletin->options['bounceemail'];
        $headers .= 'Return-Path: ' . $fromemail . $delimiter;


So, it's not a problem to set right "Return-Path" (set $vbulletin->options['bounceemail'] before calling vbmail, and then restore back). "FROM" should be left intact (webmaster/admin email), to avoid trubles with spam protection.

The email selection algorithm:

1. If email field exist & filled in form - then take from there.
2. If not - then from user profile.

anuanu 03-13-2009 10:56 AM

Quote:

Originally Posted by hobbybox (Post 1766907)
there is a version 3.3 xmlf file floating around here that will take care of that problem.

Thank you that worked!

SSG.D 03-13-2009 12:29 PM

Fantastic mod!!

Got a question though: I'm trying to make a contest registration form thats e-mailed on submit.

When the E-mail arrives it looks like this:

MASTER O WAR TOURNAMENTWhat is your game name? PHOENIX What is your E-mail Address? yourname@email.net Are you a Clan Admin? Yes If Clan Admin, are you Registering your clan Or a small unit? Bulldog, nerdboy

How can I fix this to look like this:

MASTER O WAR TOURNAMENT:

What is your game name? PHOENIX
What is your E-mail Address? yourname@email.net
Are you a Clan Admin? Yes
If Clan Admin, are you Registering your clan Or a small unit? Yes
Bulldog, nerdboy

Any help would be great!!:D

LloydApter 03-13-2009 03:44 PM

Many thanks for the mod - it's exactly what I need :up:

How can I show the individual results of all submitted form replies to the relevant forum members in easy viewable format?

Something like this (in table format):

Number Name City Reply
1. John London Yes
2. Lloyd Paris No
ect.

Thanks again!

Heldenverband 03-14-2009 07:46 AM

At the moment its not working for me and i dont know why :confused:

Here the error message :

PHP Code:

WarnungCannot use a scalar value as an array in [path]/misc.php(100) : eval()'d code (Zeile 2178)

Warnung: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php (Zeile 394)

Warnung: Cannot use a scalar value as an array in [path]/vbcms_global_modules/vbcmsmodul_lasttopics.php (Zeile 129) 


LloydApter 03-14-2009 07:58 AM

Quote:

Originally Posted by LloydApter (Post 1767269)
Many thanks for the mod - it's exactly what I need :up:

How can I show the individual results of all submitted form replies to the relevant forum members in easy viewable format?

Something like this (in table format):

Number Name City Reply
1. John London Yes
2. Lloyd Paris No
ect.

Thanks again!

I have reviewed all the material and postings and didn't find any explanation of how to order the results from the form.

Say it's a form to invite people to an event and then afterwards people want to see who is going with their relevant contact details that they completed in the form and also see their names on the list. Or it's a survey and people want to see the results of the survey in worksheet format so they can analyse them... How can this be done?

Many thanks

Simon Lloyd 03-14-2009 09:25 AM

Quote:

Originally Posted by SSG.D (Post 1767170)
Fantastic mod!!

Got a question though: I'm trying to make a contest registration form thats e-mailed on submit.

When the E-mail arrives it looks like this:

MASTER O WAR TOURNAMENTWhat is your game name? PHOENIX What is your E-mail Address? yourname@email.net Are you a Clan Admin? Yes If Clan Admin, are you Registering your clan Or a small unit? Bulldog, nerdboy

How can I fix this to look like this:

MASTER O WAR TOURNAMENT:

What is your game name? PHOENIX
What is your E-mail Address? yourname@email.net
Are you a Clan Admin? Yes
If Clan Admin, are you Registering your clan Or a small unit? Yes
Bulldog, nerdboy

Any help would be great!!:D

You have to use the custom form output, here's mine, it displays something like you want:
PHP Code:

[CENTER][B][SIZE=5][COLOR=black]Top Tip[/COLOR][/SIZE][/B][/CENTER]
[
FONT=Arial Black] [SIZE=3][U]Submitted By:[/U][/SIZE][/FONT]   [FONT=Arial] [SIZE=2][I]  $q[20] [/I][/SIZE][/FONT]
[
U][FONT=Arial Black][SIZE=3]Date:[/SIZE][/FONT][/U]  [FONT=Arial]   [SIZE=2][I]  $q[21] [/I][/SIZE][/FONT]
[
U][FONT=Arial Black][SIZE=3]Tip Description[/SIZE][/FONT][/U]
 [
FONT=Arial][SIZE=2][I]$q[10] [/I][/SIZE][/FONT]
[
U][FONT=Arial Black][SIZE=3]Difficulty Of Implementation Level[/SIZE][/FONT][/U][I][FONT=Arial Black][SIZE=1](Easy......Difficult)[/SIZE][/FONT][/I]

[
FONT=Arial][SIZE=2][I]$qo[17] [/I][/SIZE][/FONT]

[
U][FONT=Arial Black][SIZE=3]User Level Required to Adapt Tip[/SIZE][/FONT][/U]

[
FONT=Arial][SIZE=2][I]$qo[18] [/I][/SIZE][/FONT]

[
U][FONT=Arial Black][SIZE=3]Posted Top Tip[/SIZE][/FONT][/U]
[
toptip][I]$q[12][/I][/toptip

and here's a link for how it looks http://www.thecodecage.com/forumz/to...-new-post.html
I had to use php tags to stop it parsing!

bananalive 03-14-2009 10:36 AM

Quote:

Originally Posted by SSG.D (Post 1767170)
Fantastic mod!!

Got a question though: I'm trying to make a contest registration form thats e-mailed on submit.

When the E-mail arrives it looks like this:

MASTER O WAR TOURNAMENTWhat is your game name? PHOENIX What is your E-mail Address? yourname@email.net Are you a Clan Admin? Yes If Clan Admin, are you Registering your clan Or a small unit? Bulldog, nerdboy

How can I fix this to look like this:

MASTER O WAR TOURNAMENT:

What is your game name? PHOENIX
What is your E-mail Address? yourname@email.net
Are you a Clan Admin? Yes
If Clan Admin, are you Registering your clan Or a small unit? Yes
Bulldog, nerdboy

Any help would be great!!:D

Add to end of second Answer BBcode: box
Code:

\r\n

bananalive 03-14-2009 10:38 AM

Quote:

Originally Posted by Heldenverband (Post 1767702)
At the moment its not working for me and i dont know why :confused:

Here the error message :

PHP Code:

WarnungCannot use a scalar value as an array in [path]/misc.php(100) : eval()'d code (Zeile 2178)

Warnung: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php (Zeile 394)

Warnung: Cannot use a scalar value as an array in [path]/vbcms_global_modules/vbcmsmodul_lasttopics.php (Zeile 129) 


check your options for creating new thread

bananalive 03-14-2009 10:42 AM

Quote:

Originally Posted by koolasia (Post 1766944)
Hey,

Is it possible that when a form has optional questions and if they are not filled than these questions dont appear in the thread created ??

not unless you use custom output

bananalive 03-14-2009 10:47 AM

Quote:

Originally Posted by hobbybox (Post 1766776)
First - Thank you for a great application and your support in helping people modify.

With that I have a question.

I have created one form to help members trade items. They fill out the form and it posts to a thread. I have been asked to have a button in someones post where if it is clicked, you would go to the form and that persons name would be in the form already.

I have it now as {username} / $qo1 (or whatever the variable is) so when the form is filled out that information is the thread title - example if I filled out the form would be 'Me / Name of person i type in box"

Is it possible to somehow carry the username of the persons post I am in so that $qo1 spot automaticly fills in so I would not have to type the persons name when a link from that post is clicked and you are taken to the form?

I hope im clear on what im asking - thank you in advance for your help.

This requires Easy Forms v3.3

Add this into postbit template somewhere (or postbit_legacy)
HTML Code:

<a href="misc.php?do=form&fid=2&username=$post[username]">Trade with $post[username]</a>
Import attached file.

form Hook: Form start

PHP Code:

$hiddenfield1 $vbulletin->input->clean_gpc('g''username'TYPE_NOHTML);
if (empty(
$hiddenfield1))
    {
        
$errormessage "Error, this form needs a username.";
           eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
    } 

form Hook: Before Submit

PHP Code:

$hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_NOHTML);
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 

Then you can use {param} in custom output.

if you don't want to use custom output then add a custom question with php code:
PHP Code:

$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $hiddenfield1 '" />'


bananalive 03-14-2009 11:30 AM

Quote:

Originally Posted by LloydApter (Post 1767705)
Quote:

Originally Posted by LloydApter (Post 1767269)
Many thanks for the mod - it's exactly what I need :up:

How can I show the individual results of all submitted form replies to the relevant forum members in easy viewable format?

Something like this (in table format):

Number Name City Reply
1. John London Yes
2. Lloyd Paris No
ect.

Thanks again!

I have reviewed all the material and postings and didn't find any explanation of how to order the results from the form.

Say it's a form to invite people to an event and then afterwards people want to see who is going with their relevant contact details that they completed in the form and also see their names on the list. Or it's a survey and people want to see the results of the survey in worksheet format so they can analyse them... How can this be done?

Many thanks

  1. this uses BB Code Table & Easy Forms v3.3
  2. Create thread/post eg.
    HTML Code:

    [table]column1|column2|column3
    [/table]

  3. Form Hook: Before Submit
    PHP Code:

    if ($complete)
    {
    require_once(
    './includes/class_dm.php');
    require_once(
    './includes/class_dm_threadpost.php');
    $postid 245;
    $postinfo fetch_postinfo($postid);
    $postpagetext str_replace('[/table]'"\r\n $formoutput [/table]"$postinfo[pagetext]);
    $postdm = new vB_DataManager_Post($vbulletinERRTYPE_STANDARD);
    $postdm->set_existing($postinfo);
    $postdm->set('pagetext'$postpagetext);
    $postdm->pre_save();
    if(
    count($postdm->errors) < 1)
    {
    $postdm->save();
    }
    else
    {
    foreach (
    $errors as $error) {
                    
    $errorss .= $error"<br />";
                }
                
    $errormessage "Following errors occurred".$errorss;
                eval(
    'print_output("' fetch_template('STANDARD_ERROR') . '");');
    }
    unset(
    $postdm);

    if (
    $form[submitmessage])
    {
    $errormessage $form[submitmessage];
    }
    else
    {
    $errormessage "Form was submitted successfully. Click <a href=\"showthread.php?" $vbulletin->session->vars['sessionurl'] . "p=" $postinfo[postid] . "#post" $postinfo[postid] . "\">here</a> to view the post.";
    }


  4. Replace 245 with appropriate postid
  5. Use custom output e.g.
    Code:

    $qo[75] | $thisuser[username] | $qo[59]

hobbybox 03-14-2009 12:12 PM

thank you for the info - im going to give it a try

I installed this on a second board - and all is working great (VB 3.8.1 and Easy forms 3.3) but if logged in as a ergular user I cannot upload an attachments...I can do it as an admin so I know it works but im drawing a blank as to why another group cannot do it....

Usergroup permission for attachments set to Yes - that usergroup can add attachments in regular posts but just not the form...any ideas where im not looking?

hobbybox 03-14-2009 12:18 PM

Quote:

Originally Posted by bananalive (Post 1767768)
This requires Easy Forms v3.3

Add this into postbit template somewhere (or postbit_legacy)
HTML Code:

<a href="misc.php?do=form&fid=2&username=$post[username]">Trade with $post[username]</a>
Import attached file.

form Hook: Form start

PHP Code:

$hiddenfield1 $vbulletin->input->clean_gpc('g''username'TYPE_NOHTML);
if (empty(
$hiddenfield1))
    {
        
$errormessage "Error, this form needs a username.";
           eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
    } 

form Hook: Before Submit

PHP Code:

$hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_NOHTML);
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 

Then you can use {param} in custom output.

if you don't want to use custom output then add a custom question with php code:
PHP Code:

$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $hiddenfield1 '" />'


When the member clicks the link how can I make it so the form shows the name of the person the member is going to trade with....I just would like it so the person can see something like 'Trading With: that members name' - I dont want there to be confusion when they are filling out the form now knowing if they have the right name.


****** Scratch this one - I got all to work but im just tinkering with it to figure out how to get the {parm} into the thread title

Ok I tried and I cannot figure out how to get that hiddenvalue into the thread title - the {param} varible works in the form itself but not in the thread title

LloydApter 03-14-2009 02:19 PM

Quote:

Originally Posted by bananalive (Post 1767783)
  1. this uses BB Code Table & Easy Forms v3.3
  2. Create thread/post eg.
    HTML Code:

    [table]column1|column2|column3
    [/table]

  3. Form Hook: Before Submit
    PHP Code:

    if ($complete)
    {
    require_once(
    './includes/class_dm.php');
    require_once(
    './includes/class_dm_threadpost.php');
    $postid 245;
    $postinfo fetch_postinfo($postid);
    $postpagetext str_replace('[/table]'"\r\n $formoutput [/table]"$postinfo[pagetext]);
    $postdm = new vB_DataManager_Post($vbulletinERRTYPE_STANDARD);
    $postdm->set_existing($postinfo);
    $postdm->set('pagetext'$postpagetext);
    $postdm->pre_save();
    if(
    count($postdm->errors) < 1)
    {
    $postdm->save();
    }
    else
    {
    foreach (
    $errors as $error) {
                    
    $errorss .= $error"<br />";
                }
                
    $errormessage "Following errors occurred".$errorss;
                eval(
    'print_output("' fetch_template('STANDARD_ERROR') . '");');
    }
    unset(
    $postdm);

    if (
    $form[submitmessage])
    {
    $errormessage $form[submitmessage];
    }
    else
    {
    $errormessage "Form was submitted successfully. Click <a href=\"showthread.php?" $vbulletin->session->vars['sessionurl'] . "p=" $postinfo[postid] . "#post" $postinfo[postid] . "\">here</a> to view the post.";
    }


  4. Replace 245 with appropriate postid
  5. Use custom output e.g.
    Code:

    $qo[75] | $thisuser[username] | $qo[59]

I get to this page when I tried making these updates:

Quote:

Fatal error: Existing data passed is not an array
Called set_existing in [path]/misc.php(100) : eval()'d code(1039) : eval()'d code on line 9
Called eval in [path]/misc.php(100) : eval()'d code on line 1039
Called eval in [path]/misc.php on line 100
in [path]/includes/class_dm.php on line 235
#0 vb_error_handler(256, Existing data passed is not an array
Called set_existing in /var/www/vhtdocs/userweb61076/html/forum/misc.php(100) : eval()'d code(1039) : eval()'d code on line 9
Called eval in /var/www/vhtdocs/userweb61076/html/forum/misc.php(100) : eval()'d code on line 1039
Called eval in /var/www/vhtdocs/userweb61076/html/forum/misc.php on line 100
, /var/www/vhtdocs/userweb61076/html/forum/includes/class_dm.php, 235, Array ([existing] => ,[line] =>
Called set_existing in /var/www/vhtdocs/userweb61076/html/forum/misc.php(100) : eval()'d code(1039) : eval()'d code on line 9
Called eval in /var/www/vhtdocs/userweb61076/html/forum/misc.php(100) : eval()'d code on line 1039
Called eval in /var/www/vhtdocs/userweb61076/html/forum/misc.php on line 100
....
Thanks for all your help

bananalive 03-14-2009 02:24 PM

Quote:

Originally Posted by LloydApter (Post 1767899)
I get to this page when I tried making these updates:



Thanks for all your help

Check the postid. Below code checks postid is valid

Form Hook: Before Submit:
PHP Code:

if ($complete)
{
require_once(
'./includes/class_dm.php');
require_once(
'./includes/class_dm_threadpost.php');
$postid 245;
$postinfo fetch_postinfo($postid);
if (!
$postinfo)
{
$errormessage 'Post doesn\'t exist, please alter line $postid = 245 ';
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
}
$postpagetext str_replace('[/table]'"\r\n $formoutput [/table]"$postinfo[pagetext]);
$postdm = new vB_DataManager_Post($vbulletinERRTYPE_STANDARD);
$postdm->set_existing($postinfo);
$postdm->set('pagetext'$postpagetext);
$postdm->pre_save();
if(
count($postdm->errors) < 1)
{
$postdm->save();
}
else
{
foreach (
$errors as $error)
{
$errorss .= $error"<br />";
}
$errormessage "Following errors occurred".$errorss;
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
}
unset(
$postdm);

if (
$form[submitmessage])
{
$errormessage $form[submitmessage];
}
else
{
$errormessage "Form was submitted successfully. Click <a href=\"showthread.php?" $vbulletin->session->vars['sessionurl'] . "p=" $postinfo[postid] . "#post" $postinfo[postid] . "\">here</a> to view the post.";
}



bananalive 03-14-2009 02:29 PM

Quote:

Originally Posted by hobbybox (Post 1767828)
Ok I tried and I cannot figure out how to get that hiddenvalue into the thread title - the {param} varible works in the form itself but not in the thread title

Form Hook: Before Submit
PHP Code:

$threadtitle str_replace("{param}"$hiddenfield1$threadtitle); 


LloydApter 03-14-2009 03:38 PM

Quote:

$qo[59]
Where do I get the $qo number from, i.e. 59?

Thanks for all your help, again!

bananalive 03-14-2009 03:51 PM

1 Attachment(s)
Quote:

Originally Posted by LloydApter (Post 1767961)
Where do I get the $qo number from, i.e. 59?

Thanks for all your help, again!

That is the question hash. See circled number in attachment

LloydApter 03-14-2009 07:46 PM

Quote:

Originally Posted by bananalive (Post 1767972)
That is the question hash. See circled number in attachment

Thank you so much - works perfectly!

LloydApter 03-14-2009 08:29 PM

How do I automatically insert a a timedate stamp - 3/5/2009 11:46:06?

Thanks again

Gizmo999 03-14-2009 10:13 PM

thanks for the date change and bb code fix, all working how i want it now

Mrs.Winters 03-14-2009 10:47 PM

Quote:

Originally Posted by nelson.cabral (Post 1735153)
Hi !
I installed the plugin, but I cannot access the page misc.php?do=forms
Is there something to do after the installation to enable the product?

Answered : I should have read more carefully the description... Sorry for annoyance

Ok, I hate to ask what I think is a very dumb question. I've read through 19 of these 46 pages before I found someone that asked the same question I'm about to ask. All because I didn't want to sound dumb, but I can't take it anymore. My right arm is going numb from clicking and scrolling. I also cannot access the page misc.php?do=forms. Can someone PLEASE tell me what I have not done correctly? Everything is installed and I am able to set my usergroups and go through all the vb options settings. But once I click the link to view/create forms, no access. :confused: What am I missing in the description? It's driving me NUTS!

Andyrew 03-14-2009 10:51 PM

1 Attachment(s)
Are you getting a no permission message or what happens when you try to access forms.

Have you enabled these settings, by holding down your ctrl key while clicking the usergroups.

Mrs.Winters 03-14-2009 11:08 PM

1 Attachment(s)
Quote:

Originally Posted by Andyrew (Post 1768307)
Are you getting a no permission message or what happens when you try to access forms.

I'm getting this message:
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.

Also, before I installed, I wanted to make sure this was backwards compatiblae with my v3.6.5 and it indicates that is is compatible. But my usergroup settings does not look like yours! :eek:

The usergroup (6) admins was already selected when I went to settings. I read directions earlier in this thread that said to hold ctrl key to select more than one, so figured I'd be able to do that. Nope, can't do that at all.

Andyrew 03-14-2009 11:19 PM

Hmmm strange that your does look different than mine, can you change the options in your usergroup setting or are they just stuck as your screen shot.


All times are GMT. The time now is 06:51 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.03042 seconds
  • Memory Usage 2,019KB
  • 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_code_printable
  • (5)bbcode_html_printable
  • (16)bbcode_php_printable
  • (28)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