View Full Version : New Posting Features - Easy Forms - Create a form or multiple forms without php or html knowledge
bananalive
05-19-2009, 09:12 AM
Any luck?
I've thought of possible way to do it. Did you want to allow attachments?
jl255
05-19-2009, 09:19 AM
Does the question appear at all?
No, it doesn't appear.
bananalive
05-19-2009, 10:09 AM
No, it doesn't appear.
Check template: form_formbit_humanverify exists
jl255
05-19-2009, 12:07 PM
Check template: form_formbit_humanverify exists
yes it is there under the easy forms templates...
Simon Lloyd
05-19-2009, 05:01 PM
Bananalive, did you get time to look at this https://vborg.vbsupport.ru/showpost.php?p=1809932&postcount=987 (its on page 66 of this thread)
rtt.pyro
05-19-2009, 05:41 PM
Bananalive,
Thank you for your help!
I have one more question for you. I have everything working, but I would like to be able to have my members fill out the form from a child forum that I already have made. Is it possible to do this? If so how? I appreciate any help you can offer as I am still very new to vBulletin.
Thanks in advance.
rtt.pyro
05-20-2009, 05:12 PM
Also, if what I asked in my reply above is not possible, is there a way for my average user to get to a form if the forms are not on the quick link or nav bar without them knowing the url of it?
Thanks again
bananalive
05-21-2009, 10:44 AM
Also, if what I asked in my reply above is not possible, is there a way for my average user to get to a form if the forms are not on the quick link or nav bar without them knowing the url of it?
Thanks again
If you give them a link to the form they will be able to access it.
bananalive
05-21-2009, 10:45 AM
Bananalive,
Thank you for your help!
I have one more question for you. I have everything working, but I would like to be able to have my members fill out the form from a child forum that I already have made. Is it possible to do this? If so how? I appreciate any help you can offer as I am still very new to vBulletin.
Thanks in advance.
Create a thread in the child forum with link to the form included in it.
bananalive
05-21-2009, 10:46 AM
Bananalive, did you get time to look at this https://vborg.vbsupport.ru/showpost.php?p=1809932&postcount=987 (its on page 66 of this thread)
It's not really possible as the variables used for vbeditors are altered by easy forms to allow multiple vbeditors on one form.
bananalive
05-21-2009, 10:50 AM
3.8, this process works fine using the Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676), however I wanted to switch to your add on for it's easier interface.
Try attached file
rtt.pyro
05-21-2009, 09:59 PM
BananaLive,
I must thank you for your quick responses. You are truly an excellent developer not only in your skill as a coder but also in the level of support you provide.
Thanks again.
hello!
have one problem - when in one form (in descriptions of some question) put a link to another form like http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 after in this form if some click on this link - get mesage that that form exist not and link in web adress is like this - http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 (where comes this amp; ?
some help?
regards
macc
bananalive
05-23-2009, 10:30 AM
hello!
have one problem - when in one form (in descriptions of some question) put a link to another form like http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 after in this form if some click on this link - get mesage that that form exist not and link in web adress is like this - http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 (where comes this amp; ?
some help?
regards
macc
& is the html special character code for &. Used mainly for security, i.e. preventing harmful scripts from running on your site
Try attached file
Edit questions and save them for ones with 'error'
hello
i import new product file but error is still ...
explain - i make one form with this link - http://libar-libar.com/libar/vb/misc.php?do=form&fid=3 and in one of questions (description) i put link to another form - http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 and when domeone click to this link - comes up error message that this form not exists, with this link - http://libar-libar.com/libar/vb/misc.php?do=form&fid=1 (because on this link comes up amp;
that is my problem - regards
another links in forms is ok - works fine - only form links (in some form) works not
macc
edit: fixed - now works - thanks (changed link in description)
rtt.pyro
05-24-2009, 07:36 AM
Hi again,
I seem to have run into a new complication. I am trying to allow unregistered/guests to use a form I have set up with an image verification. The problem is, 2 image verifactions show up when a guest trys to fill out the form. Is there a way to fix this?
Thanks again!
jl255
05-25-2009, 03:56 PM
Originally Posted by bananalive View Post
Check template: form_formbit_humanverify exists
yes it is there under the easy forms templates...
yes it is there under the easy forms templates...
hi, cld you help on this matter of captcha not appearing? don't think i got a response. tks.
bananalive
05-26-2009, 09:49 AM
Hi again,
I seem to have run into a new complication. I am trying to allow unregistered/guests to use a form I have set up with an image verification. The problem is, 2 image verifactions show up when a guest trys to fill out the form. Is there a way to fix this?
Thanks again!
The captcha will show up automatically for unregistered guests (required by vbulletin). So you do not need a human verification question.
bananalive
05-26-2009, 09:52 AM
hi, cld you help on this matter of captcha not appearing? don't think i got a response. tks.
What vb version are you using?
Check following file exists: /includes/class_humanverify.php
And check the following template exists: humanverify
Elbulus
05-26-2009, 02:53 PM
Hi There great addon !
just trying to get our questions all sorted for our guild recruitment page in WoW.
Is it possible to have one of the questions where they enter the character name and then the forums turn it into a Armoury URL ?
Example:
Please Enter your character name: "Elbulus"
Then when they post the form it turns into this :
http://eu.wowarmory.com/character-sheet.xml?r=Daggerspine&n=Elbulus
So somehow make the forum see that Question 1 = {Answer 1}
http://eu.wowarmory.com/character-sheet.xml?r=Daggerspine&n={Answer 1}
Many Thanks
Elb
bananalive
05-26-2009, 04:00 PM
Hi There great addon !
just trying to get our questions all sorted for our guild recruitment page in WoW.
Is it possible to have one of the questions where they enter the character name and then the forums turn it into a Armoury URL ?
Example:
Please Enter your character name: "Elbulus"
Then when they post the form it turns into this :
http://eu.wowarmory.com/character-sheet.xml?r=Daggerspine&n=Elbulus
So somehow make the forum see that Question 1 = {Answer 1}
http://eu.wowarmory.com/character-sheet.xml?r=Daggerspine&n={Answer 1}
Many Thanks
ElbEdit form
Select option 'Redirect user after form is submitted' (at bottom)
Form Hook: Before Submit:
$form[redirecturl] = "http://eu.wowarmory.com/character-sheet.xml?r=Daggerspine&n=$q[181]";
Replace 181 with appropriate question hash
Example: http://www.bananalive.co.cc/misc.php?do=form&fid=41
Elbulus
05-26-2009, 04:42 PM
Thanks for the reply , is there a way to make it so that when you view the submitted form in it's thread it will have " Character Name: *Name* with there name being a hyperlink to there profile ?
rtt.pyro
05-27-2009, 06:18 AM
Thanks again for the help!
I have decided to use this add-on along with another add-on but it isnt working as I thought it would. I know the other add-on isnt yours, and im not sure who I should be asking, but maybe you could shed some light on to this issue.
The other add-on is called "Cyb - Auto Reply" and it can be found at https://vborg.vbsupport.ru/showthread.php?t=201305.
What i'm trying to do is this:
1.) Easy form creates a form which creates a new thread in a sub forum.
2.) Auto reply then replies to the thread that was created by easy form.
The problem is, auto reply doesnt seem to realize that easy form created a thread. I tested manually posting into the sub forum where easy form creates threads, and the auto reply worked just fine. So for whatever reason, the way easy form creates a thread is different then the way it would be created by a real user.
Do you happen to know of a way to make it so Auto reply can tell that easy form created a thread?
Thanks in advance!
bananalive
05-27-2009, 09:49 AM
Thanks again for the help!
I have decided to use this add-on along with another add-on but it isnt working as I thought it would. I know the other add-on isnt yours, and im not sure who I should be asking, but maybe you could shed some light on to this issue.
The other add-on is called "Cyb - Auto Reply" and it can be found at https://vborg.vbsupport.ru/showthread.php?t=201305.
What i'm trying to do is this:
1.) Easy form creates a form which creates a new thread in a sub forum.
2.) Auto reply then replies to the thread that was created by easy form.
The problem is, auto reply doesnt seem to realize that easy form created a thread. I tested manually posting into the sub forum where easy form creates threads, and the auto reply worked just fine. So for whatever reason, the way easy form creates a thread is different then the way it would be created by a real user.
Do you happen to know of a way to make it so Auto reply can tell that easy form created a thread?
Thanks in advance!
Find in plugin: Easy Forms Part 1
/*($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;*/
Replace:
($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
bananalive
05-27-2009, 09:52 AM
Thanks for the reply , is there a way to make it so that when you view the submitted form in it's thread it will have " Character Name: *Name* with there name being a hyperlink to there profile ?
try using the custom output.
rtt.pyro
05-27-2009, 10:27 PM
thanks! that worked perfectly!
Since this was in the code already, but turned off, does this code have any negative side effects?
thanks again.
GrossKopf
05-28-2009, 08:23 AM
Ok, maybe the answer to my question should be "If you don't know, you shouldn't install this hack." and if that's the case, I'll say thank you and uninstall.
I followed the instructions and imported the xml file but where do I go from there? How do I create a form? Am I missing something obvious?
Elenna
05-28-2009, 12:14 PM
I followed the instructions and imported the xml file but where do I go from there? How do I create a form? Am I missing something obvious?
Go to (your forum URL)/misc.php?do=forms
That should get you started. :)
bananalive
05-28-2009, 12:39 PM
thanks! that worked perfectly!
Since this was in the code already, but turned off, does this code have any negative side effects?
thanks again.
It shouldn't do. It is commented out to avoid possible conflicts with other mods, but there shouldn't really be any
bananalive
05-28-2009, 12:40 PM
Ok, maybe the answer to my question should be "If you don't know, you shouldn't install this hack." and if that's the case, I'll say thank you and uninstall.
I followed the instructions and imported the xml file but where do I go from there? How do I create a form? Am I missing something obvious?
Do as Elenna said
* Set usergroups options
admincp -> vboptions -> Easy Form Options
* View/Create forms at
http://your-forum.com/forums/misc.php?do=forms
GrossKopf
05-28-2009, 01:54 PM
Go to (your forum URL)/misc.php?do=forms
That should get you started. :)
That's what I did and it asks for me to import an XML file.
bananalive
05-28-2009, 02:00 PM
That's what I did and it asks for me to import an XML file.
Above that you should have link called: Create New Form
http://www.yourforum.om/misc.php?do=newform
GrossKopf
05-28-2009, 02:10 PM
DOH! Nevermind. I brain farted. I didn't realize I had to import that xml that was included with it a second time! Should be working now :)
GrossKopf
05-28-2009, 03:46 PM
Ok, I assume that if you don't put anything in "Custom Form Output", it just prints in one continuous line? I have the output going to a specific forum and I need line breaks and different fonts, etc.
Anyone have an example of BBCode to make it look nice in the forum post?
Baigo
05-28-2009, 05:10 PM
When I use {q_1} in thread title it doesn't work, it just shows a blank space. Any way to solve that?
Elenna
05-28-2009, 05:36 PM
Ok, I assume that if you don't put anything in "Custom Form Output", it just prints in one continuous line? I have the output going to a specific forum and I need line breaks and different fonts, etc.
Anyone have an example of BBCode to make it look nice in the forum post?
You'll need to edit the "Answer BBCode" boxes. If you don't want answers formatted in any special way, and just want a line break or two after each one, leave the first box blank, and in the second one, put in:
\r\n\r\n
bananalive
05-29-2009, 10:00 AM
When I use {q_1} in thread title it doesn't work, it just shows a blank space. Any way to solve that?
Check you are using the correct question hash - see screenshot
Baigo
05-29-2009, 03:30 PM
Thanks a lot! That was it ^^
MoveOver.cc
06-02-2009, 03:21 PM
Great mod.
Thx.
Works just fine for me.
I have added this to another message board but have forgotten how to redirect the New Thread in the specific forum to the necessary form.
Please advise.
bananalive
06-02-2009, 03:23 PM
Great mod.
Thx.
Works just fine for me.
I have added this to another message board but have forgotten how to redirect the New Thread in the specific forum to the necessary form.
Please advise.
How can I Re-direct/ force users to submit form rather than click new thread?
Create plugin newthread_start
if (in_array($forumid, array(1,2,3)))
{
header( 'Location: http://www.your-site.com/forum/misc.php?do=form&fid=1' ) ;
}
Change 1,2,3 for appropriate forumids.
MoveOver.cc
06-02-2009, 03:34 PM
Thx.
You are a star.
One more question.
If I want a member to Post Reply which leads to another form. Is this possible. If so, how.
Regards
bananalive
06-02-2009, 03:46 PM
Thx.
You are a star.
One more question.
If I want a member to Post Reply which leads to another form. Is this possible. If so, how.
Regards
How can I Re-direct/ force users to submit form when they click reply?
Create plugin newreply_form_complete
if (in_array($threadinfo[threadid], array(1,2,3)))
{
header( 'Location: http://www.your-site.com/forum/misc.php?do=form&fid=1' ) ;
}
Change 1,2,3 for appropriate threadids.
Ozidoggy
06-03-2009, 02:46 AM
I have a problem.. So far I have only tried PM and e-mail to send form. When I select one of these check boxes then click on save, I get redirected back to my forum homepage.. When I go back to the crete form it doesn't show that I have selected pm or e-mail.
When I try to fill in the form and send it...it goes nowhere.
Any ideas?
bananalive
06-03-2009, 07:22 AM
I have a problem.. So far I have only tried PM and e-mail to send form. When I select one of these check boxes then click on save, I get redirected back to my forum homepage.. When I go back to the crete form it doesn't show that I have selected pm or e-mail.
When I try to fill in the form and send it...it goes nowhere.
Any ideas?
Try importing attached product file
Ozidoggy
06-03-2009, 10:10 AM
Thanks Dom..did that via admincp... But still getting the same result :(
I an wondering if it is a VBSEO problem?
DontWannaName
06-06-2009, 04:56 AM
For some reason the last question that is also set to compulsory isnt working since it says to answer all the questions to some people who try to apply. Its a question that has the whole editor box available.
bananalive
06-06-2009, 09:07 AM
For some reason the last question that is also set to compulsory isnt working since it says to answer all the questions to some people who try to apply. Its a question that has the whole editor box available.
Those using Basic Message Editor Interface would encounter problems. Fixed in attached file.
bananalive
06-06-2009, 09:08 AM
Thanks Dom..did that via admincp... But still getting the same result :(
I an wondering if it is a VBSEO problem?
Possibly. You could try disabling vbseo then try submitting the form, see if you still get the error.
game-screen
06-06-2009, 04:15 PM
Git a little problem while trying to save changes on new created forms.
Database error in vBulletin 3.8.2:
Invalid SQL:
UPDATE forms SET title = 'xTreme Advertiser', description = 'Your job is to make us more popular.', displayorder = '1', action = '', threadtitle = '', category = '', polloptions = '', pollquestion = '', poll = '0', publicpoll = '0', multiplepoll = '0', usergroups = '', submitmessage = '', formoutput = '', attach = '0', prea = '', psta = '', preq = '', pstq = '', pres = '', psts = '', pref = '', pstf = '', beforesubmit = '', formstart = '', top = '{formtitle}', showonfl = '1', redirect = '0', redirecturl = '', email = '', forumid = '1', threadid = '', pmrec = '', polltimeout = '0', prefixid = '', preview = '1' WHERE fid = '1';
MySQL Error : Unknown column 'redirecturl' in 'field list'
bananalive
06-06-2009, 04:49 PM
Git a little problem while trying to save changes on new created forms.
Import attached file
game-screen
06-06-2009, 05:47 PM
Now my Browser (Latest stable Firefox) says: Wrong formating if i try to view the forms.
SupraGame
06-06-2009, 07:13 PM
I created a form template for guild recruiting and I have been copying the template.
The Issue I'm running into is that when I fill it out and click submit i get this error
Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.
TNCclubman
06-06-2009, 07:23 PM
If you send the results to database, is there a stat page ie total number of votes per question? Planning on using this as a ballot system to ask people to voted for 20 questions...
thanks, looks great in the sample pics!
Elenna
06-07-2009, 02:01 AM
TNC, there is a page where you view it per person who answered (in a table), but you'd have to do the counting yourself (i.e. # that answered "No" to question 6).
TNCclubman
06-07-2009, 02:12 AM
ya noticed that. was hoping there was a total column. Gonna get around 20,000 votes.
bananalive
06-07-2009, 12:15 PM
ya noticed that. was hoping there was a total column. Gonna get around 20,000 votes.
I've added option: Form Results Poll
This displays the results like in the attached screenshots.
bananalive
06-07-2009, 12:17 PM
Now my Browser (Latest stable Firefox) says: Wrong formating if i try to view the forms.
I use firefox with no issues. Try clearing out your cache.
bananalive
06-07-2009, 12:17 PM
I created a form template for guild recruiting and I have been copying the template.
The Issue I'm running into is that when I fill it out and click submit i get this error
Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.
What vbulletin version are you using?
akvaryumforum
06-07-2009, 06:12 PM
Sory for my bad English.
With custom output the dropdown answers shown wrong. When {q_x} selected, the output shown as numbers (not the value of dropdown seleciton).
bananalive
06-07-2009, 06:41 PM
Sory for my bad English.
With custom output the dropdown answers shown wrong. When {q_x} selected, the output shown as numbers (not the value of dropdown seleciton).
Use $qo[x]
SupraGame
06-07-2009, 06:45 PM
What vbulletin version are you using?
im using 3.8.1
SupraGame
06-07-2009, 07:11 PM
actually fixed.
i realized that when it copied the form. it didnt update my {q_x} {q_x} in the PM title. all i have to do is change that.
I get this when I try to go to my form. My Vb is 3.8.2
"admin, you do not have permission to access this page. This could be due to one of several reasons:
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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. "
TNCclubman
06-08-2009, 02:40 AM
I've added option: Form Results Poll
This displays the results like in the attached screenshots.
Amazing!
Thanks!!!
Simon Lloyd
06-08-2009, 06:54 AM
I get this when I try to go to my form. My Vb is 3.8.2
"admin, you do not have permission to access this page. This could be due to one of several reasons:
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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. "
Have you set the permissions in the admincp for the usergroups who can access this form for editing, then when editing the form you have to set the usergroups who can access it.
vash911
06-08-2009, 11:12 AM
Is there a way to filter the forms into different forums based upon a drop down selection or radio button.
Example-
Question:
Please Select Your Favorite Car
A: Car A
B: Car B
C: Car C
D: Car D
If the Person Selects A when he completes his form it is sent to Forum A
If the Person Selects B when he completes his form it is sent to Forum B
etc
MoveOver.cc
06-08-2009, 11:47 AM
Please explain (if possible) how I would a add the answers to the form into a table (something like excel) which added every time the form was completed.
Found the table which is cool. I am trying to use this as an event registration form where users fill out the appropriate fields and are then saved in the database. What I really need to add to this is a way that I can sort by heading (like excel) so I can work out how many users have clicked each question.
Thanks
bananalive
06-08-2009, 02:38 PM
Is there a way to filter the forms into different forums based upon a drop down selection or radio button.
Example-
Question:
Please Select Your Favorite Car
A: Car A
B: Car B
C: Car C
D: Car D
If the Person Selects A when he completes his form it is sent to Forum A
If the Person Selects B when he completes his form it is sent to Forum B
etc
Form Hook: Before Submit:
if ($qo[15] == 'Car A')
{
$form[forumid] = 16;
}
else if ($qo[15] == 'Car B')
{
$form[forumid] = 17;
}
where 15 is the question hash and 16 and 17 are the forumids or Forum A and Forum B
bananalive
06-08-2009, 02:46 PM
Please explain (if possible) how I would a add the answers to the form into a table (something like excel) which added every time the form was completed.
Found the table which is cool. I am trying to use this as an event registration form where users fill out the appropriate fields and are then saved in the database. What I really need to add to this is a way that I can sort by heading (like excel) so I can work out how many users have clicked each question.
Thanks
Have a look at the form Results poll view added here (https://vborg.vbsupport.ru/showpost.php?p=1825035&postcount=1056). That could help you. It would not be easy (if possible at all) sorting by questions.
Simon Lloyd
06-08-2009, 03:02 PM
Is there a way of redirecting the user to the thread they just created using the form after they submit it?
MoveOver.cc
06-08-2009, 03:05 PM
Thanks. That would be good.
I can see the "Add Poll" but cannot work out how to do graphs for each question like in your example.
Can I do this via a drop down box.
Thanks
bananalive
06-08-2009, 03:14 PM
Is there a way of redirecting the user to the thread they just created using the form after they submit it?
Redirect Url:
http://yourforum.com/showthread.php?p=$newpost[postid]#post$newpost[postid]
bananalive
06-08-2009, 03:15 PM
Thanks. That would be good.
I can see the "Add Poll" but cannot work out how to do graphs for each question like in your example.
Can I do this via a drop down box.
Thanks
go to forms list
Then click the dropdown menu on the right hand side of page opposite the form you want and select 'Form Results Poll'.
You can do this with any Form which has results saved to database.
MoveOver.cc
06-08-2009, 03:22 PM
I have edit form
delete form
copy form
export form
form results
and form results table
But no Form results poll.
MoveOver.cc
06-08-2009, 03:27 PM
sorted.
Simon Lloyd
06-08-2009, 07:10 PM
Bananalive, thanks for the very prompt replies over the last couple of days :)
vash911
06-09-2009, 10:18 AM
Thanks for the help this mod rules and your support for it is top notch!
krozar
06-10-2009, 10:26 AM
What I need to be able to do is have the user select which prefix to use. However this only allows a static prefix. Someone posted a code in this thread for a custom field, but it doesn't seem to work although it does show up on the list.
Anyone done this yet?
nalexandre
06-10-2009, 10:31 PM
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
TNCclubman
06-10-2009, 11:00 PM
the version for download says 3.6 but you posted 3.7 a while back that displays results of the questions. Will that be included in the official download in your first post or was that just for me?
Curious so I can know if I should download your official releases or if I will lose that cool feature in 3.7
Sakora
06-11-2009, 03:32 AM
Brilliant! thank you!
bananalive
06-11-2009, 08:31 AM
Brilliant! thank you!
Don't forgot to click Installed :)
bananalive
06-11-2009, 08:34 AM
the version for download says 3.6 but you posted 3.7 a while back that displays results of the questions. Will that be included in the official download in your first post or was that just for me?
Curious so I can know if I should download your official releases or if I will lose that cool feature in 3.7
You have the latest released version. v3.6 in first post is older version than v3.7 so if you downgrade you will lose the feature of View results Poll
v3.7 will be released soonish in first post and will be hopefully be more user friendly and easier to use. It will also contain the View Results Poll.
bananalive
06-11-2009, 08:36 AM
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
Are you pressing ctrl to select more than one usergroup.
You show be altering 'Usergroups Allowed to View Forms' in 'Easy Forms Options'
The highlighted usergroups are those who can view and submit forms
nalexandre
06-11-2009, 09:11 AM
Are you pressing ctrl to select more than one usergroup.
You show be altering 'Usergroups Allowed to View Forms' in 'Easy Forms Options'
The highlighted usergroups are those who can view and submit forms
Hi, I?ve got 2 forms, the 1st works fine with the usergroups i?ve selected, the 2nd don?t , why?
The selected usergroups are the same for both in the 'Usergroups Allowed to View Forms' in 'Easy Forms Options', in the form i give permission or not to the usergroups, right?
Obrigado
bananalive
06-11-2009, 10:14 AM
Hi, I?ve got 2 forms, the 1st works fine with the usergroups i?ve selected, the 2nd don?t , why?
The selected usergroups are the same for both in the 'Usergroups Allowed to View Forms' in 'Easy Forms Options', in the form i give permission or not to the usergroups, right?
Obrigado
What is the error message? Or is it just the standard No Permission Error?
Also check form usergroup permissions in Edit Form. Leave no usergroups selected to disable the feature.
nalexandre
06-11-2009, 10:17 AM
Hi, is the standard no permission page. I´ve already made that but still the same, what i am doing wrong?
Obrigado
Elenna
06-11-2009, 10:14 PM
I'm not sure if this is a bug or if I need to wait for a cron job to run, but it appears that it isn't updating my users' post counts when they submit a new thread. I am using version 3.7 from a few posts up.
I do have a caching mod set up, but viewed the user in AdminCP (which isn't cached) and it didn't update their post counts on that screen either.
bananalive
06-12-2009, 10:02 AM
Hi, is the standard no permission page. I?ve already made that but still the same, what i am doing wrong?
Obrigado
Have you got anything in the either of the form hook boxes?
bananalive
06-12-2009, 10:03 AM
I'm not sure if this is a bug or if I need to wait for a cron job to run, but it appears that it isn't updating my users' post counts when they submit a new thread. I am using version 3.7 from a few posts up.
I do have a caching mod set up, but viewed the user in AdminCP (which isn't cached) and it didn't update their post counts on that screen either.
I've had a look at the post counts of users at my website who have used the form to submit threads and they have all been correct. (I checked by searching for 'Find all posts by X')
damianzaremba4
06-12-2009, 02:34 PM
Hi,
When using a drop down field is it possiable to have it display the actul option rather than the number. IE if I have apple, pear, hotdog etc. and the users selects pear it would output 2 rather than "pear".
Also for some reason If I submit a vb editor field it outputs the smilies as text rather than the images :S
Thanks,
Damian
bananalive
06-12-2009, 03:41 PM
Hi,
When using a drop down field is it possiable to have it display the actul option rather than the number. IE if I have apple, pear, hotdog etc. and the users selects pear it would output 2 rather than "pear".
Also for some reason If I submit a vb editor field it outputs the smilies as text rather than the images :S
Thanks,
Damian
Use $qo[45] where 45 is the question hash
I'll have a look into the smilies issue.
Elenna
06-12-2009, 06:47 PM
I've had a look at the post counts of users at my website who have used the form to submit threads and they have all been correct. (I checked by searching for 'Find all posts by X')
Thank you for looking into it! The posts are coming up when I search for "posts by user", but not updating their post count. I'll look at my caching settings and see if it's holding things up (I have a notification using post count).
Elenna
06-12-2009, 07:02 PM
Update: I re-imported v3.6 and it is now incrementing post counts.
Also, v3.7 didn't display my custom "Thank you" message after form submission, but version 3.6 (official) did.
DontWannaName
06-13-2009, 12:36 AM
Those using Basic Message Editor Interface would encounter problems. Fixed in attached file.
Ok, that fixed it but now the prefixes for the thread title arent working.
damianzaremba4
06-13-2009, 06:01 PM
Use $qo[45] where 45 is the question hash
I'll have a look into the smilies issue.
Thanks!
AWantedHero
06-15-2009, 02:01 AM
Thank you very much! Love it!!!!!
michael5472
06-15-2009, 09:40 AM
I got this error:
Parse error: syntax error, unexpected T_STRING in /home/thebroth/public_html/misc.php(100) : eval()'d code(3544) : eval()'d code on line 1
Form works but that is annoying :)
http://www.thebrotherhoodclan.co.uk/misc.php?do=form&fid=1
bananalive
06-15-2009, 11:17 AM
Ok, that fixed it but now the prefixes for the thread title arent working.
Try attached file
bananalive
06-15-2009, 11:17 AM
Thank you very much! Love it!!!!!
Don't forgot to click Installed :)
bananalive
06-15-2009, 11:21 AM
I got this error:
Parse error: syntax error, unexpected T_STRING in /home/thebroth/public_html/misc.php(100) : eval()'d code(3544) : eval()'d code on line 1
Form works but that is annoying :)
http://www.thebrotherhoodclan.co.uk/misc.php?do=form&fid=1
Try attached file
Saviour
06-17-2009, 04:01 AM
Though the forms list shows in WOL, the form itself does not.
Is there a fix for this?
If I click a form to go to from the list, WOL shows me on the forum's Index page.
Finster
06-17-2009, 05:25 AM
Clue me in, as I am clueless, but why would someone want to create a form on on their vB?
Saviour
06-17-2009, 05:46 AM
How about if an admin was sending out little gifts to members thanking them for support?
Could use this mod to obtain mailing info.
How about moderator applications?
The list goes on and on...
Elenna
06-17-2009, 02:44 PM
We are using it for 3 different application forms, one request form, and one survey.
steve71
06-18-2009, 04:02 AM
I have the hack "Thread thumbnails" and was wondering If I can add this to the form page?
I have been inserting different hooks from the "thread thumbnails" plugin into the form "hooks" box provided but no luck.
Also anybody...what does the check box option "save to database" do? Does it give you the ability to search the forms specifically or something?
Saviour
06-18-2009, 01:38 PM
bananalive...
Forgot to mention...this is an awesome mod! Very easy to use...and I'm very happy with the results.
Thank you...so much!
Elenna
06-18-2009, 05:33 PM
Also anybody...what does the check box option "save to database" do? Does it give you the ability to search the forms specifically or something?
I can't help with your other question, but the Save to Database allows you to just save the form results, without sending it to a thread, PM, email, etc. Then you can review all the submitted answered at a later time. The option is great for surveys or polls.
TROLL
06-19-2009, 02:54 AM
I know that this is a dumb, question, but I cannot get the conditional statements to work.
I have a question (q_11) - Shipping? o Yes o No
q_11 is a yes/no field
I want the output to be <if $q_11 == "1">Yes<else>No</else></if>
I have tried everything I can think of, but it just prints the code out, including the if statements!
bananalive
06-19-2009, 07:07 AM
I know that this is a dumb, question, but I cannot get the conditional statements to work.
I have a question (q_11) - Shipping? o Yes o No
q_11 is a yes/no field
I want the output to be <if $q_11 == "1">Yes<else>No</else></if>
I have tried everything I can think of, but it just prints the code out, including the if statements!
You can use $qo[11] to display yes/no
It uses the same conditionals as templates so:
<if condition="$qo[11]==1">You selected yes<else />You selected no</if>
bananalive
06-19-2009, 07:07 AM
Though the forms list shows in WOL, the form itself does not.
Is there a fix for this?
If I click a form to go to from the list, WOL shows me on the forum's Index page.
I'll add WOL to next version.
bananalive
06-19-2009, 07:16 AM
I have the hack "Thread thumbnails" and was wondering If I can add this to the form page?
I have been inserting different hooks from the "thread thumbnails" plugin into the form "hooks" box provided but no luck.
I'm not sure if its possible but you could try this:
Find in plugin Easy Forms Part 1:/*($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;*/
Replace:
($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
Then see if you get any messages or anything.
wiiJp321035
06-20-2009, 05:21 PM
Great Mod!
Is there any way for the users to retreive their posted data and edit the data and only submit the form once?
Thanks!
steve71
06-20-2009, 09:46 PM
I'm not sure if its possible but you could try this:
Find in plugin Easy Forms Part 1:/*($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;*/
Replace:
($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
Then see if you get any messages or anything.
No luck (no errors just no change) but thanks for trying.
I notice on the forms edit page you can call up hooks..I was wondering if I might be able to call up the thread thumbnail hook? (Instead of editing the easy form hack through VB plugin manager.)
Great mod ! :)
viper357
06-22-2009, 08:27 AM
Hi, how do I remove the italics from the answers to the questions in the forms? Thanks.
Heldenverband
06-22-2009, 05:11 PM
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 ?
bananalive
06-22-2009, 05:33 PM
Great Mod!
Is there any way for the users to retreive their posted data and edit the data and only submit the form once?
Thanks!
no.
Elenna
06-22-2009, 05:33 PM
Hi, how do I remove the italics from the answers to the questions in the forms? Thanks.
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 and .
Remove the and , and that will remove the italics.
bananalive
06-22-2009, 05:33 PM
No luck (no errors just no change) but thanks for trying.
I notice on the forms edit page you can call up hooks..I was wondering if I might be able to call up the thread thumbnail hook? (Instead of editing the easy form hack through VB plugin manager.)
Great mod ! :)
If i get time i'll look into someway of doing this tomorrow.
bananalive
06-22-2009, 05:35 PM
Hi, how do I remove the italics from the answers to the questions in the forms? Thanks.
Edit Form
Answer BBcode:
Change to
bananalive
06-22-2009, 05:36 PM
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
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 and .
Remove the and , and that will remove the italics.
Edit Form
Answer BBcode:
Change to
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
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
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
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.
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
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
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
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 (https://vborg.vbsupport.ru/attachment.php?attachmentid=100598&d=1245068505) (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
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
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.
import attached product file
Create a Custom Question
PHP code:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
Form Hook: Before Submit:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
steve71
06-29-2009, 02:24 AM
import attached product file
Create a Custom Question
PHP code:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
Form Hook: Before Submit:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
I created a custom question and in the PHP box I put:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
Form Hook Before Submit I put:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
In the new question box I created I tried pasting an image url both with and without [img] tags but no thumbnail.
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?
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 (https://vborg.vbsupport.ru/showthread.php?t=215096)" 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
I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
I created a custom question and in the PHP box I put:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
Form Hook Before Submit I put:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
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:
$postdm->set('userid', $postuserid);
Add below:
$postdm->set('thumbnailurl', $newpost['thumbnailurl']);
steve71
06-30-2009, 09:59 PM
Find in plugin Easy Forms Part 1:
$postdm->set('userid', $postuserid);
Add below:
$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
I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
I created a custom question and in the PHP box I put:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
Form Hook Before Submit I put:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
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
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
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
/*($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;*/
Replace with
($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
bananalive
07-03-2009, 10:55 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
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
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
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
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
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
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:
<form action="misc.php" method="post"
To:
</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
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: 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
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?
bananalive
07-03-2009, 02:53 PM
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: 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?
You could look on vbseo website for hints.
pmflav1
07-03-2009, 04:42 PM
I have made a little script for our site and thought I would share how I did it with everyone.
This will give you a directory dropdown list in your form, which we are using to choose pictures within a Directory.
Get rid of the space in the opening IMG tags, had to put a space in them to show up in here.
Create a Custom field in your form.
In the phpcode field add the following:
$answer = '<select id=" name="'.$formbit[id].'">';
$answer .= '<option>--Select Map--</option>';
$thisanswer = $q_{$formbit[id]};
$dirPath = dir('/path/to/image');
$imgArray = array();
while (($file = $dirPath->read()) !== false)
{
$imgArray[ ] = trim($file);
}
$dirPath->close();
sort($imgArray);
$c = count($imgArray);
for($i=0; $i<$c; $i++)
{
$answer .= '<option value="'.$imgArray[$i].'">'.$imgArray[$i].'';
}
$answer .= '</select>';
Change the following to suite the dir your images are in:
$dirPath = dir('/path/to/image');
Find in plugin Easy forms Part 1
/*($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;*/
Replace with:
($hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
To get the image to show up once the form is submited, enter the following in to the Custom Form Output, change the domain and directory to suit where the image is located:
http://www.yourdomain.com/images/maps/$q[39]
There is probably an easier way of doing this, but hey it works.
Also if you wish to change the size of your images using the IMG tag then visit
http://tech.mikelopez.info/2006/03/02/php-image-resize-script/, and download their script.
This is how I used it: Custom Form Output
http://www.yourdomain.com/images/imgsize.php?w=250&h=250&constrain=1&img=/path/to/images/maps/$q[39] Replace $q[39] with your field number.
Again changing the domain and paths to suit. The paths are absolute, not relative.
pmflav1
07-04-2009, 04:45 AM
Another little hand snipped.
This will give you a dropdown list of times, in 15 min incriments. ie. 12:15pm etc....
Create a Custom field:
Enter the following into your PHP Code Filed.
$start = strtotime('1:00am');
$end = strtotime('11:59pm');
$answer = '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer = $q_{$formbit[id]};
for ($i = $start; $i <= $end; $i += 900)
{
$answer .= '<option value="'.date('g:i a', $i).'">'.date('g:i a', $i).'';
}
$answer .'</select>';
Enjoy.
The next code I will be working on is a java based countdown timer for the frontpage of our site which will let people know how much time is left before the time is reached, compared with the time set in the VB CP.
However if anyone has any ideas on this then please do share, saves re-inventing the wheel.
Cheers
MoveOver.cc
07-04-2009, 08:28 AM
"Can't you add it to the main page like any other module?"
No, I can make it a module but it is not visible on the "homepage"
bananalive
07-04-2009, 11:18 AM
"Can't you add it to the main page like any other module?"
No, I can make it a module but it is not visible on the "homepage"
vBa CMPS -> Edit Modules -> {module}
Select 'Add/Remove From Pages' from dropdown
Then you can choose which pages it is displayed on.
Hi Banana!!!
I made a MAIL form... all is just right... but the "sender" mail is mine... I want the sender to be the user who´s sending the form... is that possible?... am I clear? lol
bananalive
07-04-2009, 07:13 PM
Hi Banana!!!
I made a MAIL form... all is just right... but the "sender" mail is mine... I want the sender to be the user who?s sending the form... is that possible?... am I clear? lol
Form Plugin: Before Submit
$from = $vbulletin->userinfo[email];
Thank you so much banana!!! workin great.... your mod is EXCELENT!!!!
Quantnet
07-04-2009, 09:47 PM
This has a lot of potential. I plan to modify this mod to obtain something TOTALLY DIFFERENT.
example: http://www.trackitt.com/usa-immigration-trackers/i130-i485
Question
1) Can we sort by column headers?
2) Can users go back and complete/update partial filled forms?
3) Is there anywhere the user can control the number of cases they filled?
Thanks
jacko_162
07-04-2009, 10:29 PM
i was wondering if i have a question where someone has to put there postcode in, can i have the answer link to a URL to a map showing the postcode?
its for my classified section.
other than that excellent script. clicked install.. :)
also is it possible to highlight answers to 2x questions red and BOLD? (for example both answers should be a price!)
thank you.
hqlman
07-05-2009, 01:08 AM
I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"
Im not sure how this bug can be corrected, anyone?
pmflav1
07-05-2009, 01:40 AM
i was wondering if i have a question where someone has to put there postcode in, can i have the answer link to a URL to a map showing the postcode?
its for my classified section.
other than that excellent script. clicked install..
also is it possible to highlight answers to 2x questions red and BOLD? (for example both answers should be a price!)
thank you.
You can use the Custom Form Output for both of these if I am reading the question right
A1.
[HTML]http://www.yourmap.com/{q_*}[/HTML ]
Replacing * with your field number.
Or to have text linking:
[URL="http://www.yourmap.com/{q_*}"]Click here for map[/URL ]
Remove spaces out of closing [/URL ]
A2.
To have your answers in bold, use Custom Form Output:
[B][COLOR="Red"]{q_*}[/COLOR ][/B ]
Again, replacing * with your field number. Remove spaces out of closing [/B ] and [/COLOR ]
pmflav1
07-05-2009, 01:47 AM
I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"
Im not sure how this bug can be corrected, anyone?
Strange. Tried to replicate this, and the output is "Introduce Yourself"
Are you using a custom field?
Quantnet
07-05-2009, 02:44 AM
I have added a question with date type and it's not compulsory i.e I don't have to choose any date. However, the default format for that date field is already have Jan chosen and if I don't pick any date, it will display the error and prevent me from go to other questions.
Quantnet
07-05-2009, 02:57 AM
And date format is hardcoded. It's better to use format string from VB options (not from language preferences).
8. I'd show asterisks (*) for compulsory question with red color.
Can do so with template edit, but think, that would be useful for all as general template.
.
1) The date output is right now as 3\30\2006, how do I change it to 3/30/2006
2) Which template I need to edit to show the * in red.
steve71
07-06-2009, 12:00 AM
I've had no luck with the thumbnails but thanks for the effort and continued support. Is it possible to have the "insert image" icon added to the "field using vb editor"?
Quantnet
07-06-2009, 01:49 AM
Is there any plan in the future to store the form data as fields in the database. It will allow the sort by column in the result table.
I've seen a couple of people asking this so it would be awesome if you can add this feature.
Second, can you add a features for members to come back later to edit/update/finish their answers in the form?
This will have to do with a tracking of how many forms each member submit.
ConfusedCartman
07-06-2009, 09:30 AM
First of all, thanks for the great mod!
I'm having a bit of an issue, though, and since I'm not too well versed in PHP, I may need your help. I'm trying to work around the fact that there's no easy way to offer the user a choice of a prefix (though if there is, let me know - I tried the code you offered earlier on, but it didn't work). Anyway, I'm adding a radio selection in which the top option will include a preset prefix, and the bottom option will not include any prefix. I'm trying to use an if-else combined with a str_replace in order to add the right "prefix" (actually, it's just extra text) when the option is selected.
In Form Hook: Before Submit:
if ($q[6] == 1)
{
$formoutput = str_replace("{f4f}", "F4F:", $formoutput);
} else {
$formoutput = str_replace("{f4f}", "", $formoutput);
}
{f4f} is the placeholder that I'm using in order to place the text in the right place. I have the {f4f} placeholder in the Thread/ PM/ Email Title field, but it doesn't get replaced when I submit the form - it just remains in the title. I'm not saying it's your fault - if anything, it's probably a product of poor coding on my part. I'm not very familiar with PHP, so I just know enough to get by. Any chance you can help? It would be greatly appreciated. :)
bananalive
07-06-2009, 02:32 PM
This has a lot of potential. I plan to modify this mod to obtain something TOTALLY DIFFERENT.
example: http://www.trackitt.com/usa-immigration-trackers/i130-i485
Question
1) Can we sort by column headers?
2) Can users go back and complete/update partial filled forms?
3) Is there anywhere the user can control the number of cases they filled?
Thanks
1. In the latest version you can sort form data stored to database by headers via javascript (view results as table)
2. No.
3. You can limit how many times a user can submit the form by editing a form.
bananalive
07-06-2009, 02:36 PM
i was wondering if i have a question where someone has to put there postcode in, can i have the answer link to a URL to a map showing the postcode?
its for my classified section.
other than that excellent script. clicked install.. :)
also is it possible to highlight answers to 2x questions red and BOLD? (for example both answers should be a price!)
thank you.
You use try creating a custom output, some-else has replied with specifics a few posts up.
bananalive
07-06-2009, 02:37 PM
I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"
Im not sure how this bug can be corrected, anyone?
I can remember fixing this.
TRy attached file
bananalive
07-06-2009, 03:06 PM
I have added a question with date type and it's not compulsory i.e I don't have to choose any date. However, the default format for that date field is already have Jan chosen and if I don't pick any date, it will display the error and prevent me from go to other questions.
Try attached file
bananalive
07-06-2009, 03:07 PM
1) The date output is right now as 3\30\2006, how do I change it to 3/30/2006
2) Which template I need to edit to show the * in red.
1. Edit question and change the date spacer.
2. Findin plugin Easy Forms Part 1:
$formbit['question'] = $formbit['question'] . "*";
Replace:
$formbit['question'] = $formbit['question'] . "*";
bananalive
07-06-2009, 03:11 PM
Is it possible to have the "insert image" icon added to the "field using vb editor"?
vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes
bananalive
07-06-2009, 03:15 PM
Is there any plan in the future to store the form data as fields in the database. It will allow the sort by column in the result table.
I've seen a couple of people asking this so it would be awesome if you can add this feature.
Second, can you add a features for members to come back later to edit/update/finish their answers in the form?
This will have to do with a tracking of how many forms each member submit.
Yes that is included in v3.7
The number of times a user submits each form is recorded with v3.7 but not ability to update answers already submitted
bananalive
07-06-2009, 03:18 PM
First of all, thanks for the great mod!
I'm having a bit of an issue, though, and since I'm not too well versed in PHP, I may need your help. I'm trying to work around the fact that there's no easy way to offer the user a choice of a prefix (though if there is, let me know - I tried the code you offered earlier on, but it didn't work). Anyway, I'm adding a radio selection in which the top option will include a preset prefix, and the bottom option will not include any prefix. I'm trying to use an if-else combined with a str_replace in order to add the right "prefix" (actually, it's just extra text) when the option is selected.
In Form Hook: Before Submit:
if ($q[6] == 1)
{
$formoutput = str_replace("{f4f}", "F4F:", $formoutput);
} else {
$formoutput = str_replace("{f4f}", "", $formoutput);
}{f4f} is the placeholder that I'm using in order to place the text in the right place. I have the {f4f} placeholder in the Thread/ PM/ Email Title field, but it doesn't get replaced when I submit the form - it just remains in the title. I'm not saying it's your fault - if anything, it's probably a product of poor coding on my part. I'm not very familiar with PHP, so I just know enough to get by. Any chance you can help? It would be greatly appreciated. :)
The prefix is a seperate field in thread database table not part of the post. $formoutput is what gets stored as the post and does not contain prefix data.
Quantnet
07-06-2009, 04:31 PM
1. Edit question and change the date spacer.
2. Findin plugin Easy Forms Part 1:
$formbit['question'] = $formbit['question'] . "*";
Replace:
$formbit['question'] = $formbit['question'] . "*";
1) One thing I notice is that for the question of date type which is not required, if you don't choose any date, the result will display as //. Can you make it blank if we don't pick any date?
2) I did as told and the question now show like this
Program:*
Example http://www.quantnet.org/forum/misc.php?do=form&fid=1
bananalive
07-06-2009, 05:14 PM
1) One thing I notice is that for the question of date type which is not required, if you don't choose any date, the result will display as //. Can you make it blank if we don't pick any date?
2) I did as told and the question now show like this
Program:*
Example http://www.quantnet.org/forum/misc.php?do=form&fid=1
1. Import attached file.
2. Woops, should have been html code
Find in plugin Easy Forms Part 1:
$formbit['question'] = $formbit['question'] . "*";
Replace:
$formbit['question'] = $formbit['question'] . "<font color=red>*</font>";
Quantnet
07-06-2009, 05:26 PM
bananalive,
Thanks, it works.
1) It would be nice to edit this phrase as well to show the red color.
Please Note: Questions proceeded by an asterisk (*) are compulsory.
2) Which template do I edit to rearrange the form result table? I like to remove/add another column, for example
3) The sort by column header still does not work. You mentioned about using javascript in 3.7. Is it implemented yet?
Thanks for all your hard work. This is a heck of a mod.
Quantnet
07-06-2009, 05:35 PM
2. No.
3. You can limit how many times a user can submit the form by editing a form.
You answered to No to the question of whether a member can go back and edit/update their partially filled form.
How about give the user the option to delete their forms and enter a new one with updated info. Would it be able to have a Delete/Add button next to the form result table so the user can click to remove one of their form, and replace it with another.
Can AJAX feature be implemented in the future?
You know i'm trying to mold this into the trackitt.com feature so hope you can understand :)
Quantnet
07-06-2009, 06:07 PM
Which permission I need to give unregistered members to be able to view form and form result table but not submit form
Quantnet
07-06-2009, 06:10 PM
Suggestion:
In the form edit,
Userids:
Comma seperated list of userids who have submitted the form
Can we replace userid by username? That would be more useful.
ConfusedCartman
07-06-2009, 07:30 PM
The prefix is a seperate field in thread database table not part of the post. $formoutput is what gets stored as the post and does not contain prefix data.
Ah, I see I've confused you. I'm taking a different route, so I'll ask a different question:
Is there any way to use PHP to append "&prefixid=f4f" onto the end of the url that is submitted? This may allow me to use an if-else statement and, if it returns true, add the actual prefix to the thread.
By the way, if there is any way you can allow users to select their own prefix, that would be a much better solution than the above. Like I said, I tried the code you offered earlier, but it didn't work. Is there any way you can add this functionality?
bananalive
07-07-2009, 03:19 PM
bananalive,
Thanks, it works.
1) It would be nice to edit this phrase as well to show the red color.
2) Which template do I edit to rearrange the form result table? I like to remove/add another column, for example
3) The sort by column header still does not work. You mentioned about using javascript in 3.7. Is it implemented yet?
Thanks for all your hard work. This is a heck of a mod.
1. i might move that into phrase for next version.
2. it's hard coded atm.
3. you'll be missing two javascript files, which are needed for javascript sort table
bananalive
07-07-2009, 03:23 PM
You answered to No to the question of whether a member can go back and edit/update their partially filled form.
How about give the user the option to delete their forms and enter a new one with updated info. Would it be able to have a Delete/Add button next to the form result table so the user can click to remove one of their form, and replace it with another.
Can AJAX feature be implemented in the future?
You know i'm trying to mold this into the trackitt.com feature so hope you can understand :)
form results table is currently only viewable to those who can edit forms. it is much easier to implement than updating it.
What part did you want to use ajax?
bananalive
07-07-2009, 03:24 PM
Which permission I need to give unregistered members to be able to view form and form result table but not submit form
Currently it is not possible for those who cannot edit forms to view form results table. This is something i am working on for v3.7.
bananalive
07-07-2009, 03:26 PM
Suggestion:
In the form edit,
Userids:
Comma seperated list of userids who have submitted the form
Can we replace userid by username? That would be more useful.
User-names would make the list very long and unmanageable. Although not ideal, user-ids are much shorter and practical to use.
bananalive
07-07-2009, 03:31 PM
Ah, I see I've confused you. I'm taking a different route, so I'll ask a different question:
Is there any way to use PHP to append "&prefixid=f4f" onto the end of the url that is submitted? This may allow me to use an if-else statement and, if it returns true, add the actual prefix to the thread.
By the way, if there is any way you can allow users to select their own prefix, that would be a much better solution than the above. Like I said, I tried the code you offered earlier, but it didn't work. Is there any way you can add this functionality?
The forms use POST actions i.e. the data is not sent via a long url containing all the data and hence is more secure.
If you open template form_view
find:
<input type="hidden" name="hiddenfield3" value="$hiddenfield3" />
Add after:
<input type="hidden" name="prefixid" value="f4f" />
The data is then available through $_POST[prefix] after the form is submitted.
I'll have another look at my code posted earlier and find out why it didnt work for you.
Can this been used as a forum application form, I run a closed forum but would like users to be able to apply to join.
Thanks
WickedWeb
07-08-2009, 05:29 AM
Im posting this with the disclaimer of many others. I have tried searching this thread but its huge and I've had no luck at the moment so my apology if its been answered.
If it helps any I've Installed* Rated 5 Stars and Nominated as its well deserved for all 3 in my opinion. I can do anything with this.
My problem is this. In the vb form options you can set it for the button to show up in your navbar which I have done. I use a custom template so what I need to do is assign the button a defined height and width along with a class for it to blend nicely with my layout. I have looked in the header and other locations that I can think of looking for anyway to add my desired values but I never see any reference of the button along side the other navbar buttons. Where do I need to be to achieve this?
My sincere thanks
arkkhoax
07-08-2009, 06:06 AM
Hey! I'm having a small problem with a custom question that defaults to the users age. I'm having problems validating the input when the form is submitted.
For my custom question I have this code (this part works):
list($month,$day,$year) = explode("-",$vbulletin->userinfo['birthday']);
$year_diff = date("Y") - $year;
$month_diff = date("m") - $month;
$day_diff = date("d") - $day;
if ($month_diff < 0) $year_diff--;
elseif (($month_diff==0) && ($day_diff < 0)) $year_diff--;
$realage = $year_diff;
$answer = '<input type="text" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $realage . '" />';
I want the user to be able to change the age I default the question to. I also want to make sure that input is a valid number so I wrote a few lines to do that.
In the "Before Submit" area I have this: (my custom question has an id of 15)
$q[15] = (int)$q[15]; //make sure we only have a number
if($q[15] < 18) $q[15] = 18;
if($q[15] > 120) $q[15] = 120;
Here is where the problem comes in! When the forum is submitted or previewed the text in the age field shows up but my "Before Submit" code does not take effect. So if I were to type "cool" in the age field it shows "cool" in the preview instead of showing 18 as I would expect (type casting 'cool' to an int should return zero, zero is less than 18 so it should be set to 18).
Any help would be great! I'm sure it's just something little I am missing. I know what I am doing may seem a little silly out of context but I want it to work this way. :)
bananalive
07-10-2009, 03:30 PM
Can this been used as a forum application form, I run a closed forum but would like users to be able to apply to join.
Thanks
Non-registered users can submit forms if you desire. But using it to create new users is not a function
bananalive
07-10-2009, 03:32 PM
Im posting this with the disclaimer of many others. I have tried searching this thread but its huge and I've had no luck at the moment so my apology if its been answered.
If it helps any I've Installed* Rated 5 Stars and Nominated as its well deserved for all 3 in my opinion. I can do anything with this.
My problem is this. In the vb form options you can set it for the button to show up in your navbar which I have done. I use a custom template so what I need to do is assign the button a defined height and width along with a class for it to blend nicely with my layout. I have looked in the header and other locations that I can think of looking for anyway to add my desired values but I never see any reference of the button along side the other navbar buttons. Where do I need to be to achieve this?
My sincere thanks
Atm, you have to edit a plugin.
But in v3.7 (available very soon) you can just customise the template form_navbar
bananalive
07-10-2009, 03:33 PM
Hey! I'm having a small problem with a custom question that defaults to the users age. I'm having problems validating the input when the form is submitted.
For my custom question I have this code (this part works):
list($month,$day,$year) = explode("-",$vbulletin->userinfo['birthday']);
$year_diff = date("Y") - $year;
$month_diff = date("m") - $month;
$day_diff = date("d") - $day;
if ($month_diff < 0) $year_diff--;
elseif (($month_diff==0) && ($day_diff < 0)) $year_diff--;
$realage = $year_diff;
$answer = '<input type="text" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $realage . '" />';
I want the user to be able to change the age I default the question to. I also want to make sure that input is a valid number so I wrote a few lines to do that.
In the "Before Submit" area I have this: (my custom question has an id of 15)
$q[15] = (int)$q[15]; //make sure we only have a number
if($q[15] < 18) $q[15] = 18;
if($q[15] > 120) $q[15] = 120;
Here is where the problem comes in! When the forum is submitted or previewed the text in the age field shows up but my "Before Submit" code does not take effect. So if I were to type "cool" in the age field it shows "cool" in the preview instead of showing 18 as I would expect (type casting 'cool' to an int should return zero, zero is less than 18 so it should be set to 18).
Any help would be great! I'm sure it's just something little I am missing. I know what I am doing may seem a little silly out of context but I want it to work this way. :)
In Before Submit plugin remove any comments or use instead:
/* start comment here
end comment */
eg.
$q[15] = (int)$q[15]; /*make sure we only have a number*/
if($q[15] < 18) $q[15] = 18;
if($q[15] > 120) $q[15] = 120;
Quantnet
07-10-2009, 10:17 PM
What part did you want to use ajax?
Could we have some fields on the top of the form result table where we can filter the result table by?
If we have like 100 people submit the forms, may be the result can be filtered by one of the choice in a form question.
maybe Ajax can be used here.
Currently it is not possible for those who cannot edit forms to view form results table. This is something i am working on for v3.7.
Very much looking forward to it.
1. i might move that into phrase for next version.
2. it's hard coded atm.
3. you'll be missing two javascript files, which are needed for javascript sort table
all are welcome news.
Saviour
07-12-2009, 11:30 AM
Just noticed there's an update for this mod...v3.7beta. Are there any release notes as to what this update includes? Also, are there any upgrade instructions?
Thanks, bananalive...for another great mod!
bananalive
07-12-2009, 11:41 AM
Just noticed there's an update for this mod...v3.7beta. Are there any release notes as to what this update includes? Also, are there any upgrade instructions?
Thanks, bananalive...for another great mod!
Version history contains latest additions:
v3.7
- Added template hook for form hidden fields
- Added compulsory question * as phrase
- Form Results Table and Form Results Poll moved to templates
- Form Navbar link moved to tempalte
- JavaScript sort results table
- added permissions for Usergroups to view form results (those who can edit forms can also view form results)
Installation Instructions:
Import product file in admincp
upload easyforms.js and easyforms.css to clientscript/
Saviour
07-12-2009, 12:02 PM
Thanks, bananalive...
One thing I've noticed, though...
This is displayed on the forms..."Please Note: Questions proceeded by an asterisk (*) are compulsory." Actually, the asterik (*) does not proceed the question, but appears after the question. Also...anyway to change this and make the asterisk (*) red in color?
Quantnet
07-12-2009, 01:46 PM
Updated to 3.7 beta and upload the js files. To sort column, just click on the column header name and an arrow down will appear next to the header name.
This is not too obvious to people since it's hard to tell you can sort. Maybe we can add a filter section on top to display only the columns we want in case we have 20+ columns?
joe1989
07-13-2009, 12:27 AM
Actually, the asterik (*) does not proceed the question, but appears after the question.
"Proceed" means "to come after." Precede means before. The coder is correct; your vocabulary is backwards!
Saviour
07-13-2009, 12:43 AM
LOL...Must've been a dyslexic moment.;)
Cyricx
07-13-2009, 08:19 PM
I've been having the same problem as others in that when I create a new form and then try to save changes to it, I get redirected to my first forum without the changes being saved.
I was running an old version of VBSeO but even tried disabling it and uninstalling it and still have the issue occuring.
Quantnet
07-13-2009, 11:40 PM
bananalive,
Can you give instruction for people who want to edit the form result table template to add/arrange the column, etc
Also, is the feature for people to delete their own form enabled in this 3.7beta version yet?
Thanks
Dagothar
07-14-2009, 01:54 AM
Wow. Great work!
I haven't read thru all 81 pages of comments, yet, but perhaps you'd forgive me....
Where's your Donate link? (ADD one!) [You deserve it!]
bananalive
07-14-2009, 12:55 PM
Thanks, bananalive...
One thing I've noticed, though...
This is displayed on the forms..."Please Note: Questions proceeded by an asterisk (*) are compulsory." Actually, the asterik (*) does not proceed the question, but appears after the question. Also...anyway to change this and make the asterisk (*) red in color?
Edit Phrase: compulsory_questions_explained
bananalive
07-14-2009, 01:01 PM
Updated to 3.7 beta and upload the js files. To sort column, just click on the column header name and an arrow down will appear next to the header name.
This is not too obvious to people since it's hard to tell you can sort. Maybe we can add a filter section on top to display only the columns we want in case we have 20+ columns?
Possible collapse columns would be best, but I'm not sure atm. I'll have a ponder...
bananalive
07-14-2009, 01:01 PM
I've been having the same problem as others in that when I create a new form and then try to save changes to it, I get redirected to my first forum without the changes being saved.
I was running an old version of VBSeO but even tried disabling it and uninstalling it and still have the issue occuring.
Try v3.7
bananalive
07-14-2009, 01:23 PM
bananalive,
Can you give instruction for people who want to edit the form result table template to add/arrange the column, etc
Also, is the feature for people to delete their own form enabled in this 3.7beta version yet?
Thanks
The columns and their order is based on the current form questions.
No
bananalive
07-14-2009, 01:25 PM
Wow. Great work!
I haven't read thru all 81 pages of comments, yet, but perhaps you'd forgive me....
Where's your Donate link? (ADD one!) [You deserve it!]
Thanks,
You can click the Support Developer in the right hand side of first post of every page. Beneath Mod Information and The Developer.
Quantnet
07-14-2009, 01:28 PM
Ok, thanks
I like to move the Time column right now to the end right of the form result table and edit them as Last Updated, and also format to show the date only, not the time.
Quantnet
07-15-2009, 02:56 AM
it is much easier to implement than updating it.
This refers to my question about the ability for users to update their form answers.
I'm just curious: technically speaking, since the result are stored in database as a block of text, isn't it possible for you to do a sql update query to replace that row with the new row?
How about we change the way we store data in database as column, would it be easier for you?
I'm just throwing it up out there and hope for a chance you will ponder the possibility.
Thanks
Mimirswell
07-15-2009, 02:59 AM
When a form is submitted, I would like an automated specific prefix to be added to the thread. How would I go about doing this?
bananalive
07-15-2009, 07:03 AM
When a form is submitted, I would like an automated specific prefix to be added to the thread. How would I go about doing this?
You can specify a prefix for a thread when editing a form.
Cyricx
07-15-2009, 12:11 PM
Try v3.7
I uninstalled the forms modification.
Installed 3.7
No dice, still redirects to first forum
Uninstalled 3.7
Installed 3.6
No dice, still redirects to first forum.
If you'd like admin access to view it, I can give you a test login that'll allow you to edit the forms on my board.
Elenna
07-15-2009, 05:30 PM
It looks like the custom output is working differently for drop-down choices.
Here is an example:
Question: What is your favorite color? (single-selection drop-down)
When not using a custom output format, it displays fine, like this:
What is your favorite color?
Blue
Using a custom output it looks to display the number of the choice, rather than the choice itself, like this:
This is the custom output:
{username} tells us that their favorite color is $q[30].
(username) tells us that their favorite color is 2.
It seems to work well for the normal text fields.
Noctavia
07-16-2009, 10:34 PM
Nevermind, all fixed.
Andyrew
07-17-2009, 10:37 AM
How do i remove from a post that appears as a blank space when a user does not fill in an optional question.
Strike-Force.ne
07-17-2009, 02:31 PM
Looks very interesting, and good for an idea I have.
bananalive
07-17-2009, 03:52 PM
I uninstalled the forms modification.
Installed 3.7
No dice, still redirects to first forum
Uninstalled 3.7
Installed 3.6
No dice, still redirects to first forum.
If you'd like admin access to view it, I can give you a test login that'll allow you to edit the forms on my board.
If you pm me details of test account i'll have a look.
bananalive
07-17-2009, 03:53 PM
It looks like the custom output is working differently for drop-down choices.
Here is an example:
Question: What is your favorite color? (single-selection drop-down)
When not using a custom output format, it displays fine, like this:
What is your favorite color?
Blue
Using a custom output it looks to display the number of the choice, rather than the choice itself, like this:
This is the custom output:
{username} tells us that their favorite color is $q[30].
(username) tells us that their favorite color is 2.
It seems to work well for the normal text fields.
Use custom output:
{username} tells us that their favorite color is $qo[30].
bananalive
07-17-2009, 03:55 PM
How do i remove from a post that appears as a blank space when a user does not fill in an optional question.
Form Hook: Before Submit:
$formoutput = str_replace("", "", $formoutput);
Andyrew
07-17-2009, 05:48 PM
Thanks. :up:
Elenna
07-17-2009, 07:27 PM
Thanks again, bananalive! :)
Andyrew
07-19-2009, 11:19 AM
Form Hook: Before Submit:
$formoutput = str_replace("", "", $formoutput);
Someone has just filled in the form and it still left a space, the above code was not removed from the post. :confused:
BostWick-x
07-19-2009, 09:47 PM
I'm sorry if this has already been answered (I did search through the thread), but how would I go about creating a hook that checked to see if a users post count was above 10? I have no PHP knowledge. (At best, all I can do is look at a chunk of code and get the general understanding of what it does)
The reason I ask this is because my forum is dedicated to an online game, and I want to be able to give people the option to create a forum for their clan. I want there to be a minimum post requirement for them to be able to do this, because in the past I have had to check manually and it's sort of a pain for me to do.
Thanks!
Dagothar
07-19-2009, 11:58 PM
Thanks,
You can click the Support Developer in the right hand side of first post of every page. Beneath Mod Information and The Developer.
Ack--thought on some pages I saw a PayPal button, and was only looking for that. :embarassed:
Done. Thanks again!
bananalive
07-20-2009, 11:32 AM
Someone has just filled in the form and it still left a space, the above code was not removed from the post. :confused:
If you want to remove the question as well look at the bbcode code and text you wish removed and add it exactly into hook where X is:
Form Hook: Before Submit:
$formoutput = str_replace("X", "", $formoutput);
bananalive
07-20-2009, 11:34 AM
I'm sorry if this has already been answered (I did search through the thread), but how would I go about creating a hook that checked to see if a users post count was above 10? I have no PHP knowledge. (At best, all I can do is look at a chunk of code and get the general understanding of what it does)
The reason I ask this is because my forum is dedicated to an online game, and I want to be able to give people the option to create a forum for their clan. I want there to be a minimum post requirement for them to be able to do this, because in the past I have had to check manually and it's sort of a pain for me to do.
Thanks!
Add the following php code to Form Hook: Form Start:
if($vbulletin->userinfo['posts'] < 10)
{
$errormessage = "You need 10 posts to use this form.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}
Andyrew
07-20-2009, 03:55 PM
If you want to remove the question as well look at the bbcode code and text you wish removed and add it exactly into hook where X is:
Form Hook: Before Submit:
$formoutput = str_replace("X", "", $formoutput);
Still not removing anything. :( What i am using is a for sale listing form, and one question is does your item come with a scope. yes/no = radio checkbox.
Then if the answer is no the next question they are told to ignore, but if yes the next question they fill in the type of scope.
So if they choose "no" and don't fill in the type of scope, this is then submitted with a space/gap in the for sale thread, if i click on edit thread i have to remove from the post to remove the space/gap between the item for sale listing. Maybe i have to tell the form somehow to ignore the next question if the answer is "no"
See pic for example of gap between rows.
BostWick-x
07-20-2009, 06:13 PM
Add the following php code to Form Hook: Form Start:
if($vbulletin->userinfo['posts'] < 10)
{
$errormessage = "You need 10 posts to use this form.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}
Thank you very much, that did the trick. :)
bananalive
07-21-2009, 03:08 PM
Still not removing anything. :( What i am using is a for sale listing form, and one question is does your item come with a scope. yes/no = radio checkbox.
Then if the answer is no the next question they are told to ignore, but if yes the next question they fill in the type of scope.
So if they choose "no" and don't fill in the type of scope, this is then submitted with a space/gap in the for sale thread, if i click on edit thread i have to remove from the post to remove the space/gap between the item for sale listing. Maybe i have to tell the form somehow to ignore the next question if the answer is "no"
See pic for example of gap between rows.
Are you using custom output, if you are you can use:
<if condition="$qo[121]">$qo[121]
</if>
where 121 is question hash
Andyrew
07-21-2009, 03:29 PM
Are you using custom output,
Yes these are the lines in my output, if someone picks "no" for question 71 or 6 i then need it to remove the line with $q[10] or $q[8]
$qn[71] : $qo[71]
$q[10]
$qn[6] : $qo[6]
$q[8]
bananalive
07-21-2009, 03:39 PM
Yes these are the lines in my output, if someone picks "no" for question 71 or 6 i then need it to remove the line with $q[10] or $q[8]
$qn[71] : $qo[71]
$q[10]
$qn[6] : $qo[6]
$q[8]
$qn[71] : $qo[71]
<if condition="$qo[71] != $vbphrase[no]">$q[10]</if>
$qn[6] : $qo[6]
<if condition="$qo[6] != $vbphrase[no]">$q[8]</if>
bojomojo
07-21-2009, 04:29 PM
Hello, Is it possible that when I click on Forms in the navigation bar, it brings a drop down menu like the quick links one with the forms in it??
bananalive
07-21-2009, 05:52 PM
Hello, Is it possible that when I click on Forms in the navigation bar, it brings a drop down menu like the quick links one with the forms in it??
Disable default one in vbulletin options, then follow tutorial below adding the relevant links to the forms
How To Add Drop Down Menus To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=122523&highlight=drop+down)
almty1
07-21-2009, 10:26 PM
I have the 3.7 installed, when I try to edit a question the popup box appears and says loading. It just stays like that and never finishs loading. Everything else seems to work perfect.
bananalive
07-22-2009, 04:44 PM
I have the 3.7 installed, when I try to edit a question the popup box appears and says loading. It just stays like that and never finishs loading. Everything else seems to work perfect.
Which browser?
Fix:
Remove from template: form_formbit
onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'misc.php?do=editq&id=$formbit[id]&display=simple', 'Editing: $formbit[question]', '$formbit[type]', 'width=650px,height=400px,left=300px,top=100px,res ize=1,scrolling=1'); return false;"
bojomojo
07-23-2009, 03:54 AM
How can I include captcha in the forms?
bananalive
07-23-2009, 09:45 AM
How can I include captcha in the forms?
Add a Human Verification question.
Cyricx
07-23-2009, 01:16 PM
If you pm me details of test account i'll have a look.
I was about to do so when it's suddenly working... not sure at all what caused it, but if the problem replicates, I'll PM you. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.