![]() |
Quote:
|
Sorry if this has been asked before, but is it possible to redirect to a specified page with our own URL instead of a thankyou message. Thankyou
|
Quote:
I'm guessing you went from 3.6.8 to 3.7.3? Just search for the term and you will find a solution. |
Has anyone been able to find a way to warn the user when the title is too long for the 'thread'?
I'm finding that our users are putting a very long title in. I have a field set: Please give a brief description of the problem here Well, they seem to think that brief means long.... So they go to submit a bug report, they are told by vBulletin that it's submitted...yet nothing ever shows up because the title is too long. |
Great hack!
For some reason when I import this product to a new set of forums running vBulletin 3.7.3 and try the newthread.php?do=<name> it gives me a parse error: Code:
Parse error: syntax error, unexpected T_STRING in /<taken out>/forums/newthread.php(74) : eval()'d code on line 100 |
Check around line 100 for a missing semicolon( ; ), double quote( " ), single quote( ' ) or bracket( { ).
|
Quote:
Has anyone gotten this to work where you must have a certain amount of post before you can do it. |
Quote:
Input text box....is that in teh product its self or in the form template? As for your second question, can you put those users in another group and allow only that group (and others) to use the form? On my forums I have used the active members and registered members groups. Active for those I want to be allowed to use the features of the site. |
How do I add a url into the form? It is just showing up as plain text and not as a link. Pic attached.
Attachment 86798 |
Quote:
|
Quote:
Code:
<A HREF="http://www.marineaquariumsa.com/announcement.php?f=73">New Rules </A> It doesn't work, I get a parse error :( |
Quote:
|
Quote:
|
Quote:
I want to say that it was a general compatibility issue with 3.7, however, it works fine on one of my forums running 3.7 and I haven't edited anything else with this forum that should mess it up. |
Quote:
|
I got it working.. to my mistake I had accidentally had an extra quotation in one of my variables.. whoops! :D
|
Quote:
|
I figured I would post this because I didn't see it anywhere else in a quick search through here.
If you want to have a separate activity on the online page, then there is a simple addition to the product to allow this. For example, if you have a form to submit a PM to the admins, then when a user is using that form, you could have their location/activity be "Contacting the Admins". That is just an example, it is open to whatever you want. Here is the code you must add to the product xml to get this easy addition: Code:
<plugin active="1" executionorder="5"> This works on my vBulletin v3.7.3, haven't tested older versions. Oh yeah, I think that this should be added into the base product. ;) |
Quote:
+1 for base product! :D |
Any help with post number 1258
Please :) |
Can somebody please help with why I am getting this error when I submit the form.
Fatal error: * Please complete both the subject and message fields. Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 763 |
You have to be very careful with this form as you will get data manager errors if you have multiple forms using the same variables.
My advice is to become very familiar with the form before using it. This way , you can create your own variable. Example: Instead of $question1="What is your name?"; you can write your own variable... $form_one_question1="What is your name?"; or $form_one_name="What is your name?"; Definitely not for the impatient but a great product. There are a few bugs like if you have a question: Do you have a name? If yes, please state your name. Someone can still choose no and state their name so it shows as: No My Name I have found a quick fix conditional to add to your formanswers template that works fairly well for me. Code:
<if condition="$radioanswer1other!=''">yes<else />$radioanswer1</if> So your actual code for the question assuming it is $radioquestion1 is as follows: Code:
$radioquestion1 Another thing I noticed is that HTML is not parsing in the formanswers template and any BBCode produces errors. Is there any way around this? I would like to add some styling to the form when it is posted to a thread like using Bold and Underline and possibly a hyperlink to various answers. Thanks |
I have installed this hack but for some reason the answers to the normal questions ($question) are not showing up on priview or when its submitted. :confused:
My PHP isn't very good at all so I was hoping someone for have a quick look for me? http://www.fileden.com/files/2007/3/...ot_working.txt Emma |
Part 1 and Part 2 have to be the same for your answer variables.
My suggestion is to first write down all questions and answers, then add to form. Example: $question1 = "What is the Rabbits Name?"; $explain1 = "Please enter your real name here."; In question1, you would only need to clean the answer1 (your own questions and explains dont need to be run through the vb input.) Code:
// Part 1 form template Code:
<tr> Code:
$question1 |
Hello,
Great mod, but has this mod been updated to work with vb 3.7.3 or above? Thx |
Quote:
|
Not only dosn't it display the ansewrs its still only showing the first three questions on preview (I have added them into the html).
http://www.fileden.com/files/2007/3/...t_working2.txt I know is something I am doing wrong because I am a designer and know nothing what so ever about this kind of thing. It is a very basic form I am trying to put together. |
Like I stated in a previous post, its more coder-oriented and without much documentation.
The idea is to first develop your variables list (Note:You only have to use the vbulletin cleaner on a variable which will allow user input.) So if my first question was: $question1="What is your name?"; $explain1="Please enter your name here"; Neither of those have to be passed through vb input cleaner. -only the $answer1 since it takes user input. I clean everything... even radio boxes that you think would only be a Yes or No, just in case a hacker tries to manipulate any input variables. You cannot use the same variable twice or it is overwritten resulting in possible errors. So you cannot do: $question1="What is your name?"; $question1="How old are you?"; This is basic variable handling as you are redeclaring the var resulting in it being overwritten. If you are trying to use the default form as reference as you make a custom form, the script is being executed ,corrupting default variables if you are not assigning your own. So I recommend disabling the default form if you make custom. After all your variables are assigned properly within the plugin, you then edit the form template to your liking which takes basic vbulletin template handling. And also do the same with the output template (answer template) which will be the template that posts to your thread or post. Both templates have to use the same variables as you stated in the form plugin. The easiest way I have found is to write down my questions and answers on paper or in editor so that I have a basic set. Then, I go through and create the variables, place them in the order I want in the templates, and everything should work. It takes a bit of a learning curve but well worth it. Maybe someday, the Form Hack will be enhanced to set up the form from adminCP area. |
I dont know what you mean by "cleaning" I am new to VB and I haven't a clue about PHP but this forum is an importent part of my forum.
This is how it is set up so far: Quote:
Quote:
I a run an animal welfare forum and this form will be used for animals needing homes and to let me know details about the animal so I can put those details onto the site. |
Part 1 and Part 2 need to have the same variables which rely on any questions asked.
Code:
// Part 1 |
Hello everyone. i have done all of the edits but still cannot get the attachments to show. It is enabled. i am posting to a forum, i have tried default forms and everything but still no attachments. I even removd the if statement so it just says.
$attachmentoption any help is appreciated |
I am trying to get this to work..
I keep getting this problem below when i submit the form....... so i uninstalled and started again without making any changes. I have only changed the forum to post in... The error is Quote:
Line 370 is PHP Code:
|
Does this also work with 3.7.3 ???
|
Quote:
You can open the files up and view the contents to remove or add in what you like, additionally if you keep searching there is a similar yet different hack like this HOWEVER more easily customizable... I believe it is listed as a recruitment hack etc and was originally intended for a Guild or WOW forum however the way they made it leaves the person more options for tweaking and has informaton on how to do it all! If I find the link while browsing I'll edit this post ;) EDIT: Here it is! --> Click Here <-- ** It seems more complicated when you first view that page w/ all the code snippets BUT it is not and you can tailor it to your needs very easily! Remember not to always download the first mod you go WOW over as there could be one more to your liking or need if you keep looking! S-MAN |
Quote:
|
Quote:
I found my mistake..... i had used the forum name instead of the forum number... ooops I checked out the other hack you recommended , it wasn't customizable enough for me......Thanks though This one is now working great for me (vBulletin 3.7.3 Patch Level 1) |
Hi
I am trying to put a user field automatically in the title I have tried $post[field11] in the title section and it doesn't work. Is It possible to do this? edit--------think i found the answer on page 35 edit 2 ------- Yes answer on page 35 |
Quote:
|
I have little or no coding experience at all so can't get my head round how to customise this form i can get to the form as instructed /newthread?do=form but have no idea what to do from there, i have been in the admincp and looked at form and formanswers in the templates but again don't know what to do to change this form to something i want.
Any help? |
Simon i was the same as you 3 days ago .... I now have a form that works great !!
If you "search this hack" (at the top of this page) there is a lot of info in these 86 pages... Go to admin - Plugins & Products - Plugin Manager Then "edit" form hack ... |
All times are GMT. The time now is 10:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|