![]() |
Quote:
|
ok that's clear but whats with this: You can have a drop down menu or in the link like do=form&f=1. I think that mean i can give the forumID information over the link? On this way i have to create only one form and not for each Forum one...
|
Not really sure what that is, maybe the others can chime in.
|
alright, I'm getting a bit frustrated here. It seems that no matter what I do, I just can't get this to work, I'm getting two errors.
Code:
Parse error: syntax error, unexpected T_STRING in /home/.earthworms/archaicstudios/archaicstudios.net/testvb/testforums/newthread.php(74) : eval()'d code on line 190 Code:
Invalid Forum specified. If you followed a valid link, please notify the administrator |
No offence on this but before we start pouring out the solutions, you might want to had another good look at the codes in your plugin again.
I had a look at it and discovered a few missing items like ", ; and :. :) Quote:
|
Nobody knows the way over do=form&f=1? It makes a lot easier with this form... Or is there a way to to take the address in to a variable? Or is there alredy a variable? So i can take the informations from the address...
|
Does anyone know if this works with 3.7.x?
|
Quote:
edit: I went through the 3 forms again, I fixed some of the variables on the answer form, and found some missing ; on the hook, but I have no idea if anything is wrong with the template or what else is missing. Just to note, I haven't edited the imported xml file if that makes a difference. |
Hey I'm trying to get this to work with cyb advanced permissions based on post count and I'm having trouble. Anyone have any idea why? I've tried changing the execution order and it did not work. Still lets me post.
|
Quote:
I am also not a coder myself but it is through this mod that I started to have more ideas on php, html, and javascripts. Anyway, I have re-attached your plugin that I have edited. I have not tested it on my test site yet but I believed it should work (unless I happened to miss out any spot due to my tired eyes). Good luck. |
Well, the good new is that it's working, however, I'm having 2 main problems. Setting to where they have to answer all questions causes it to say, "X, you have to answer all questions" even if you have.
Also, I have it set to create a new thread, but the answers are partly out of order compared to the form, any idea to how to fix that? Also, is there a way to make it so the questions in that topic appear bold, so they stand out from the answers? |
Quote:
Code:
if ($answerall == "1") |
Quote:
I don't really understand what do you mean in your following paragraph. Quote:
|
This is my current hook. I don't know if I'm defining them wrong at the bottom or what.
|
Quote:
Code:
if ($answerall == "1") |
Quote:
|
Quote:
Quote:
Maybe the dropdown box is the problem? EDIT: As I supected, it was adding the drop down box to that line that caused the problem. So know all that's left is the order problem. EDIT2: Actually, now it just gets stuck on the thank you screen. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I am sure that this question has been asked. With over 80 pages, it is probably in there somewhere, but I have not found an exact match to my problem. So maybe someone can help me.
I want to call my copy of the hack in this way: PHP Code:
I can generate this link without problem. My form begins executing. I can echo to the screen for verification, the "p" variable, by accessing $_REQUEST['p']. I want to set the variable $formreplythreadid to this "p" variable. I have tried various variations: PHP Code:
PHP Code:
something like this: PHP Code:
PHP Code:
In all cases, I could echo the value to the screen with success; however, in all cases when I tried to assign my variables value to $formreplythreadid, the value seems to be empty. How can I set the value $formreplythreadid to a value that is generated at runtime? |
Quote:
|
Hi Daggerzz i have the same problem but with threads... I guess that is the solution... :
//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; if ($dropdownanswer1 == 'Mage'){ $formreplythreadid = "43";} if ($dropdownanswer1 == 'Warlock'){ $formreplythreadid = "34";} if ($dropdownanswer1 == 'Warrior'){ $formreplythreadid = "41";} if ($dropdownanswer1 == 'Rogue'){ $formreplythreadid = "42";} if ($dropdownanswer1 == 'Priest'){ $formreplythreadid = "40";} if ($dropdownanswer1 == 'Hunter'){ $formreplythreadid = "46";} if ($dropdownanswer1 == 'Paladin'){ $formreplythreadid = "45";} if ($dropdownanswer1 == 'Shaman'){ $formreplythreadid = "44";} //EXISTING THREAD ID FOR FORM TO REPLY IN Can you explain me where you have added this code please? $x = $_REQUEST['p']; |
Quote:
|
Quote:
Also, I'd like to beg/plead one more last time if someone can help me set up a birthday question so the three drop down menus are side by side on the same line. |
Also I will plead again someone please help me!
|
I make my question in a quote because after posted this, I saw Daggerzz's post. The problem is similar. However, I typed my question so I don't want to delete it :">
Quote:
|
Thanks to Abe I was able to get the triple drop down question working.
|
Parse error: syntax error, unexpected T_VARIABLE in /home/shawnyue/public_html/forum/newthread.php(74) : eval()'d code on line 191
|
How to add this into the templete???
$dropdownquestion1 = "Suspension Reason"; // The following choices must NOT have quotation marks $dropdownchoice1a = "Inactivity"; $dropdownchoice1b = "No Ads"; $dropdownchoice1c = "Wrong Ads "; $dropdownchoice1d = "Incorrect Placement Of Ads"; $dropdownchoice1e = "No Index Up Within 1 Week Or More"; $dropdownchoice1f = "Another Reason That Is Unlisted"; $dropdownchoice1g = "Unknown"; |
<font color="Red">Threads automatically generated state that they are "Moderated" SOLVED!
Form missing "Manage Attachments" SOLVED!</font> For those who have had this happen to them. I found the solutions. Its quite simple but easily overlooked. Please note that in my situation, the form was being posted to an admin forum that is not accessible to any registered users, just admins. 1) Login into Admin CP 2) Under "Forum and Moderators" click Forum Permissions 3) Go to the forum that the form gets submitted to. 4) Click "Edit" on the usergroup that uses the form (you may need to do this for more then just one usergroup) 5) Because in my situation, everything was set to NO. So I selected YES to "Can Post Threads", "Follow Forum Moderation Rules" and "Can Upload Attachments". 6) Save and volla. Well it worked for me. |
I didn't test my triple drop down question in IE. It shows in Firefox fine, but in IE the one drop down box does not even appear.
Edit: fixed |
In the default form template of Form Hack 4.1, there is only one place where user can use editor menu bar, emotions, etc., i.e. $messagearea
Can I create another place where user can use editor menu bar, emotions, etc. in a form? I may have only one VB TEXT AREA INPUT, but is there any way to have one more field where user can use bbcode, emoticons, etc.? |
I have 2 forms up and running but when I click submit on my newly created form it is not creating any threads, I have tried various forum numbers but nothing?
|
My solution:
Add: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
newthread.php?do=form&fid=5 or 6 or what you want thats it |
For those of you trying to use this as a "contact us" form but are frustrated with the spam, I found a solution..
Use this mod https://vborg.vbsupport.ru/showthread.php?t=186926 instead (only useful for a single contact us form to be posted as a thread).. Uses the spam prevention features of vbulletin. -vissa |
pretty please someone help me
|
after the update to 3.7.3 there is an securitytokken error using this hack.?
|
WOW will implement when its updated next
|
All times are GMT. The time now is 08:06 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:
|