The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge Details »» | |||||||||||||||||||||||||||||
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge
Developer Last Online: Nov 2023
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
Download Now
Show Your Support
|
19 благодарности(ей) от: | ||
Alex@bulletin, Baja, Bannec, beduino, Black Snow, Cadellin, CvP, Daniel, eviljoker7075, imported_polygrinder, Karma, Life Revived, line89, madness85, Mastar, Master Of Unive, pandaplush, pcmwebmaster, SaN-DeeP |
Comments |
#1142
|
|||
|
|||
I found how to add the form to a Sticky thread in the Book Review Form, so that could work for me if there is not a way to have it displayed at the top of the forum.
However, testing the form inside the Sticky thread has lead to some issues. 1. The form is displayed inside of a scrolling box in the post. Is there a way to get it to just show the entire form in the post? 2. I also tried to get the form to redirect the submitter to the Book Review forum. The problem is that it loads that new page inside the same scrolling box that form is in on the post in the Sticky thread. Anyway around that? Thanks for the great mod and all the help you have been giving us! |
#1143
|
|||
|
|||
Quote:
HTML Code:
<vb:if condition="$foruminfo['forumid']==2"> <iframe src="misc.php?do=form&fid=1&embed=1" width="100%" height="300"></iframe> </vb:if> HTML Code:
<div id="above_threadlist" class="above_threadlist">
|
#1144
|
|||
|
|||
Thanks Dom, that worked to display the form in the forum. Is there a way to make it so that the form is shown again after they submit it? Right now if I have it set for them to see the Thank You message, it display that new page inside the box the form was in. If I set it to redirect to the forum, it also does that inside the box the form was in.
Thanks again! |
#1145
|
|||
|
|||
Quote:
HTML Code:
http://www.yoursite.com/forums/misc.php?do=form&fid=1&embed=1 |
#1146
|
|||
|
|||
Quote:
There are no errors on the page and none in the error log either but a bit of digging through my upgrade notes shows that we commented out a line in global.php because with it in vbportal refused to run. the line was: Code:
// ($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false; Cheers Russ by way of PS: After disabling the 3 hacks that used the hook and uncommenting the line, vbportal is the only thing that works - everything else just returns a blank page. There is an error in the error log (at least): Code:
PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './../global.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/global.php(350) : eval()'d code on line 49 |
#1147
|
|||
|
|||
Ok - after some snooping I found that the vbportal hook was the root cause of the evil as it was redirecting global.php to the wrong location.
I removed the hook and reinstalled Easy Forms but with the same result. A look in the db shows no hooks relating to Easy Forms - I presume from a look at the xml file there should be? Cheers Russ PS: I edited the xml and uploaded the hooks fine - still a couple of permission based errors but I'm getting there. |
#1148
|
|||
|
|||
That worked a treat Dom, thanks again.
|
#1149
|
|||
|
|||
Hi thanks for this -
1. Previously I have used a plugin as follows: if (in_array($forumid, array(53,9999))) { header( 'Location:/listings/misc.php?do=form&fid=8' ) ; } This linked a particular form to a particular forum and was called from newthread_form_start- presume I should be listing all of the forumids in this plugin that I want the form launched from? 2. Also, in the view form after applying the mods below against the question I just get a list of forums and can't select one? Kind of related to this, can I control what forums can be selected from (want the same as the forums that they form can be launched from in 1 above) and give them different names i.e. not show PW_Dunedin but Dunedin? Also the threadid picker which was previously using a custom question (thanks to you previously) seems to have stopped working - can't see the pick list any more for this. Other info - in the default for the formbody I had set the threadid to 'none' as the custom question then sorted that, but for the post thread I have to specify a forum - not sure if that is the issue? Thanks. Quote:
|
#1150
|
|||
|
|||
Quote:
PHP Code:
PHP Code for the custom question, should be: (This includes the limit to show only forums: 53,9999,34,55,66) PHP Code:
|
#1151
|
|||
|
|||
OK - thanks - progress here.
1. I have changed the plugin to launch the form from forums 53 & 65. Thanks. 2. The PHP code now shows the full forum list in the form if I don't filter - but doesn't show anything in the drop down if I restrict this. For example only including 53,65 in the array? 3. The thread prefix which is also working off a drop down doesn't show anything in the list either until I submit, then it says its missing, and then the drop down is populated. I can then select and submit - as long as the filter isn't on as per 2. The form hook before submit presently shows: $form['prefixid'] = $qo['prefix']; $forumid = $form['forumid'] = $qo['forumid']; The first row I already had for the prefix, and then added the second row now. Maybe they should be reversed? btw the PHP in the custom question for the prefix is: require_once(DIR . '/includes/functions_prefix.php'); $thisanswer = $q[$formbit[id]]; $prefix_options = fetch_prefix_html($form['forumid'], $thisanswer, true); $answer = '<select name="' . $formbit[id] . '" id="q_' . $formbit[id] . '" class="bginput">'; $answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'; $answer .= $prefix_options; $answer .= '</select>'; Finally, my initial test posted the thread in to the forum I launched the form (and is the default forum in the form body) from even though I selected another forum from the drop down list. I may have to do more testing re this point once a couple more of the other things are clarified. Many thanks for your help. Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|