Version: 0, by rustyshack
Developer Last Online: Jan 2021
Category: Miscellaneous Hacks -
Version: 5.5.5
Rating:
Released: 04-20-2020
Last Update: 04-26-2020
Installs: 2
Template Edits
Is in Beta Stage
No support by the author.
After upgrading my forums to VB5 i was in need of a Review form for my board which I had on VB4. Unfortunately the Easy Forms plugin was disabled for VB5 so I worked to create my own form. As I have seen many saying they would like some type of form like this also, which is why I am posting this here. Also I want to help with the viability of the VB5 platorm.
Installation Instructions:
Open the text file and change the ChannelID in two places in the file to the Channel you want the thread to go in. One spot is a <DIV> at the top of the form. The other is a hidden field at the end of the forum. You can search for '23' which is the current Channel value.
Create a custom template in Style Manager.
Paste the entire attached txt file into that template.
Save the template and record the name of the template for later use.
Go to Site Builder at the top of the forum and choose "New Page.
This will create a new page and you can choose the "Display Template Module".
Drag the Display Template Module into the first slot on your new page.
Click the pencil icon to configure the module.
Enter the Page name and the name of the template, then save the module.
Save and exit out of the page builder.
Go to your new page and see the form. It should work with no other changes.
The form can be tailored to your needs you can add fields or change fields, all you need is some html and Javascript knowledge but it is very easy to change.
There is also a validation function you can extend to put more or different validation on fields. Currently it only checks for required fields.
This uses the CreateContent API which has required fields of "title" and "text".
The 'string_yy() function takes all the field values, format them with BBcode and strings it all into text form field. The form once submitted creates a post in the Channel you specify in the script.
This is an independent template that does not interfere with any other functions outside that page. It should work on all versions of VB5 although I have only tested in on 5.5.4 and 5.5.5
There is probably other and better ways to do this or improve this script.
There is no flood control or captcha, so best only make this available to registered members unless you can implement some protections against multiple submissions.
Update suggestion or modifications welcome.
The intention is that this is a template that you change to fit your needs.
So i can only support what i have created, you would be reponsible for changing the form and working out any bugs that arise from your changes.
It does not work without including the Jquery js from a CDN.
It doesn't seem to work with the native forum jquery but this also does not appear to conflict with anything.
The standard function is that it creates a new thread then redirects you to the new thread.
This could be change to take some other action.
I now works great on 2 of my VB5 forums with no changes in a basic new page.