![]() |
I don't claim to be a PHP wizard but why does it not work for me to change this code:
Code:
$posttitle = "$formtitle"; Code:
$posttitle = "$normalquestion1"; |
Here's what I use:
Code:
$formtitle = "$normalanswer1 - $answer1 - $dropdownanswer1 $answer3, $dropdownanswer2"; OHH... duh. Look at your code again, you're using $normalquestion1 instead of $normalanswer1. :) |
Quote:
|
So I'm still having problems getting the forum answers to show up. I have it set up to where after submitting the form, a new thread is created. For the most part it works fine, but not all the questions show their answers.
Any suggestions? I've been unable to get this working, and have worked on it for at least a month now :( |
I'm using this as a glorified contact-us. I noticed with 3.6.5 (patched) that guest forms are NOT being posted to the forum. If a member uses the forum, it works fine. If a guest uses it, it looks like it goes through ok but nothing shows up. Any ideas?
-vissa |
Is there a way to have more columns and a much larger selection?
|
Quote:
Good luck +++++++++++++++++++++++++++++++++++++++++++++++ StudMuffin21 So I'm still having problems getting the forum answers to show up. I have it set up to where after submitting the form, a new thread is created. For the most part it works fine, but not all the questions show their answers. +++++++++++++++++++++++++++++++++++++++++++++++ Upload your form in txt format and I will C if I can fix your issue...? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pbmansion,,, U can make your form a colossus monster if U want, I have several forms that have 30 questions and many more that are Godzilla's...;) There's no limit, the problem is making them work properly and keeping the rif raf scum, scabs, spammers and leechs out...:D |
Deepdog009
Here is the information you requested. I've gone over it many times, but can't find what I'm doing wrong. Any assistance is appreciated. :) I uploaded the files in txt format instead of posting them on the forum to save space. |
Without looking too far into it, I'd say there is a slim chance that your form templates are causing it.
You most likely didn't add $answers 4-8 and $longanswers 2-3 to the VARIABLES section in your Form plugin. For you, that section should look like: Code:
// Part 1 |
Quote:
Erm... Apparently you deleted your post.. haha. -------------------------------------------------- Edit: Does this form handle all errors correctly? For instance, when trying to submit a form where the Post Title is longer than the limit set in vBulletin Options, it gives my users "Invalid Forum Specified", instead of returning an error saying "Thread Title is too long" or whatever. I'm pretty sure it's not any of the modifications to the Form Hack that I've done, since I looked through the plugin code and can't find any references to the post title length. Edit2: Well, the "fix" is simple enough. I just had to put a maxlength="" on all the input fields that add up to make my thread title. |
<a href="https://vborg.vbsupport.ru/member.php?u=72648" target="_blank">Deepdog009</a> - thanks for your help, that fixed the invisible guest problem (turning off captcha for new guest posts -- which we don't allow in any of our forums anyways).
Now I have a second problem (I've seen it mentioned a long time ago). When a guest uses the contact us form that is posted in a thread, it becomes a thread that requires moderator approval. Other mods have gotten around this type of problem by assigning a user account to the mod that posts (like auto-bans or duplicate account reports). Has anyone solved this problem for this mod? Thanks -vissa |
Quote:
NOTE: After the problem is fixed, I will try and remember to delete these attachments. |
Quote:
sorry, but been busy and forgot 2 stop by here the last few dias. I forgot what your issue was? I will download files and post about it soon as i can:)... |
Deepdon009 and MilkCarton,
I changed the coding so it now reads correctly as you had suggested (previously that portion was not correct); however, I am still getting the same problem. On the form, all questions and blank spaces show up. When submitting the form, only the answers for questions 1, 2, 3, and 10 are displayed. I've gone over the code again a few times today and don't know what I have overlooked. |
Quote:
You need to remove the // from each line. And there is no question 10? unless you mean longanswer1 |
If I remove the // marks, I get these errors:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/cobaltli/public_html/newthread.php(71) : eval()'d code on line 638 and Invalid thread specified Yes, by question 10, 11 and 12, I mean the long answers. |
Quote:
Ok, corrected a bit of code and its ALIVE;) Studdmuffin21, I like yo name,,, N-E ways yo issue was with here...>>> HTML Code:
//////////////////////////////////////////////////////////////////////////////////////////////////// The other form already is using those titles... When U create new forms, U must create all new info {{{names}}} for main template, answers template and plugin form name must be different from the rest of your forms... ABE1 has this in hook, if your new forms dont work always double check new names of all templates and plugin info. If U get PARSE errors then its a code issue, somewhere U may have added something by mistake or using the wrong code characters. HTML Code:
//////////////////////////////////////////////////////////////////////////////////////////////////// Everything else was looking outta sight:D |
lol..yeah that name has a story behind it. Some really good lookin girl gave it to me a long time ago as a call sign when I couldn't come up with one for a laser tag game. haha...I just had to keep it.
Anyway, ok so here is what I did. As you suggested, I created two new templates. One named "form1" and the other "formanswers1" I then edited the code to read the exact name of those templates as you suggested in your post (only instead of using studmuffin21, I used form1). I feel so stupid cause I still am getting the same problem. And that is not all of the answers show up when the form is submitted. I've gone over the templates and hack several times again but did not see any problems, though keep in mind I am not a coder. Should I try to uninstall and delete everything and reinstall it? Would that make a difference? Or is there something I am missing still? And by the way, thank you very much for your continued efforts to help me resolve this problem. I do much appreciate it :D |
Hey guys,
This Form Hack is just what I need to create a standardized "Product Review" form for my forums. Unfortunately, despite my efforts, I can't get it to work. I'm far from a coder and know nothing about php or xml anyway, so that doesn't surprise me, LOL. The proposal: I've mocked up what i want my form to look like. Does anyone want to configure this hack for me for a few bucks? |
Quote:
Looking at your form preview and I-C your problem... Give me a moment and I shall resolve... :o |
Ok, found yo issue...
HTML Code:
// Part 1 Add comma's at the end and as Milk Carton was saying get rid of the {{{ // }}} and that will rectify yo issues... Good Luck;) |
Ah man! I knew it was gonna be something stupid! :( I can't believe I didn't see that.
Well it is all working now. Thank you SO very much for your help. You saved me a ton of hours of headache. :D:D:D:D:D:D |
What am i doing wrong? I have it all set up but after they fill out all the fields and click submit you get this and no new thread
No Thread specified. If you followed a valid link, please notify the administrator |
oops
|
any one?
|
Will this work with GARS?
|
Quote:
Its a plugin issue thats causing that message... When editing your new form, go one step at a time and check your form after every edit, that way U will know where the issue is if there is one... Good Luck |
The form page sends my web server to 100% and locks up my forum when trying to view a form.
-Raymond |
I can not find it?
|
Is this right?
Code:
//FORUM TO POST NEW THREAD IN |
???? any one?
|
The developer may kill me, but try putting the entire plugin code in a thread.
Well, the editable section, everything above the "Don't edit here and below" line. Please wrap it in php code tags. And don't bump threads so much, it's free support ya know. ;) Thank you. -Raymond |
Shane,
I'm not sure how you have it set up, but here is what u need to do. Referring to the code below: Where it says Code:
$forumform = "1"; Now that that is done, you need to make sure you have your forum id set up correctly. So where the code says Code:
$formforumid = "59"; That should make it work for ya. EXAMPLE: Code:
//ENABLE FORM TO BE POSTED - 1 = yes, 0 = no |
DeepDog,
If I may acquire your assistance hopefully one last time. The form I was having problems with is now working like a dream!! Thank you for creating such an easy hack. That said, I am having troubles creating a second form. I created a second plugin with the correct code (though I may need to post it later if I have troubles again. I then created a second set of templates to match that second form (making sure I made the names correctly). However, when trying to view the form I get the following error: Code:
Parse error: syntax error, unexpected T_VARIABLE in /home/cobaltli/public_html/newthread.php(71) : eval()'d code on line 217 One thought I have is that the style templates for the NEW second form have a Product name of vBulletin instead of Form Hack as do the other style templates for the first form. I could not for the life of me get tis Product name to change. In any case, any suggestions are appreciated. Thank you! |
Can you take a look at this screenshot and tell me how to get rid of the black in the boxes in the upper part of the form. You can view the site at www.wmdgaming.com
https://vborg.vbsupport.ru/ |
Does anyone know the answer to my question(s) below? Thx.
Quote:
|
Still not working. Acts like it is but not posting it.
http://www.uscarmeets.com/forumdisplay.php?f=121 Code:
//ENABLE FORM TO BE POSTED - 1 = yes, 0 = no |
Ok Shane,
Just so I understand you correctly, you want the form to be posted in the link you provided, correct? |
I got a question and i have tried playing around with the code to get it to work but nope still cant...
for this code= Code:
<tr> This is the code i have Code:
<tr> How would i fix this? |
Quote:
Shanevas2 I think its best if U let me look at yo form files... Convert into txt format and upload 2 post so that I can take a look C...??? Good Luck ********************************************* SuthernKumfort U will need 2 edit or modify your main template 2 make changes on colors of form ??? ********************************************* StudMuffin21 I can help its no problem, but at this time im helping some offline folks and others with forms, so bare with me... Upload your files as before and I shall take a look C... Thank god I love working with forms:eek: |
All times are GMT. The time now is 05:00 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:
|