Version: 4.3.0, by bananalive
Developer Last Online: Nov 2023
Category: New Posting Features -
Version: 4.0.x
Rating:
Released: 01-27-2010
Last Update: 10-04-2011
Installs: 1410
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Easily create forms with no HTML or PHP knowledge. Questions can be made compulsory and are checked before the form is submitted. Forms can be previewed. (You can create multiple forms)
Screenshots
There are two posts full of screenshots of this modification
Upload the contents of upload folder to forum root (Allow Overwrite "YES" for overwrite) clientscript\easyforms.css -> \clientscript\
clientscript\easyforms.js -> \clientscript\
If this is not possible, how can I change sub links that I see when I'm using a form? Currently I'm not using a Forum on my site, only a CMS, so when a visitor goes to fill a form, now he see a links that he don't understand (FAQ, Calendar, Forum actions, Quick links) so I would like that I can hide this links or to have the same links like when I'm reading articles (Sections).
I can see that other members had a problem with deleting a form, but can not find the answer. I'm having the same problem, when I click on Delete form noting happens, and also when I want to delete a question in this (any) form, nothing happens.
EDIT: Ok, I found my way how to do it. Just put a URL manually ...misc.php?do=deleteform&fid=1. Is there some bug in this script, how to fix it? Becouse when I click some links on Form screen, I get only URL ...misc.php# and obviously nothing happens.
I've changed how it's handled for next release, so it will work for those who don't have javascript browsers.
I would like to say thanks, this is one of the best mods to have available and use.
It is extremely easy and user friendly. It has made a huge difference for our website and allows for even more opportunities without having to worry about having to get a brand new XML form created or revised.
Again, great job and many thanks, this has saved many hours of time and frustration.
For the exact same reason why I asked if it's possible to submit a form to threads 'twice'. I've looked at the code and found the section where the threads are created; but I can't get it modified to a working version, missing comments in the code of what does what :P (understandably).
Any hints or help here would be heavily appreciated.
I am setting up a custom question to ask my moderators to select a name belonging to usergroup 2.
PHP Code:
$answer .= '<select name="'.$formbit[id].'">';
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE usergroupid = 2
ORDER BY username ASC");
while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if ($row[username] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';
That works great; I've given this question the reference of shuser. This will allow my moderators to select the name they want. When they click submit, I want the name selected to have the primary usergroup changed to usergroup 18. Here is what I tried as my first test (Form Hood: Before Submit):
PHP Code:
if ($complete) {
$userinfo=fetch_userinfo($qo[shuserid]);
$user=$userinfo;
Obviously, now I realize that the usergroup update code was meant to use a userid, not the username. So, what do you suggest? I was thinking that I could find a way to use the username for searching for the userid, I need to remember how I did that in the past, and then put that into the code. Do you know how to do that off hand? I'll keep searching.
I tried the following with no luck for the top part. I think this is mostly correct, but I must be doing a variable the wrong way.
PHP Code:
if ($complete) {
$shuserid = $vbulletin->db->query_first("select userid from vBull_user where username='{$qo['shuser']}'");
$userinfo=fetch_userinfo($qo[$shuserid]);
I tried the following with no luck for the top part. I think this is mostly correct, but I must be doing a variable the wrong way.
PHP Code:
if ($complete) { $shuserid = $vbulletin->db->query_first("select userid from vBull_user where username='{$qo['shuser']}'"); $userinfo=fetch_userinfo($qo[$shuserid]);
maybe instead of if ($complete) try using if (isset($qo['shuser']))?
Also make sure that $qo['shuser'] is correct, and it's not actually something like $qo[1]