![]() |
Can I add this as a link in the toolbar?
|
Yes just link the php as normal
|
Im having trouble understanding how to creat a form? It says
2 - Edit the main hook (plug-in) - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully! but I have no idea what the heck that means. Plus in the description is says this hack is totally customizable via the admincp? |
Great hack, but I'm having one problem.
The posts to a forum are being posted as Moderated. The forum permissions are set to be Non Moderated. How do I fix this? Thanks! |
Quote:
|
Ok, I'm doing something wrong. I'm a total noob to vbulletin so please explain. I am getting the same results as this person:
https://vborg.vbsupport.ru/showpost....6&postcount=22 Can someone explain in step by step instructions what I need to do to remove the empty fields and get the fields I want to display? Here's my actual form: http://flotserver.net/forums/newthread.php?do=flotapp |
I'm starting to get spam through this, and as another user mentioned, the threads are marked for moderation for some reason.
I was hoping the captcha alternative (asking questions) could be applied to this mod. -vissa |
I appologize if my question's been answered before, but 17 pages of questions was a lot to look through at 1:30am. I figured if I asked my question, maybe it would be answered before I have time to go through all 17 pages. If this is a common error, maybe a readme included with the hack could be written to address this problem?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Is there anyway to get rid of the message box at the bottom, the submit thread TEXT BOX....i just need the long question......not the piece under it...thanks
Peace ps..N/M, just get rid of the $message area in the template..... |
I have just installed this, however before i click install. Which templates need editing and also i am confused regarding creating a custom form.
Thanks in advance for all help. |
Quote:
|
Thanks found that, figured out how to create a new form. All i get when i go to it is a blank page.
sorted out the blank page thing just cannot get it to post in the correct forum or thread now. |
You have to make changes to the FORM HACK Plugin....
Its a little tricky. First thing is making changes to the Plugin, this is where your questions, email addys, username, etc must be edited. MAKE SURE U READ THIS AREA SPECIFICALLY. After the questions and stuff have been changed to your liking, then make the changes to the template. Peace |
Looking for this also. The mod is easy to use once you get the hang of it but I need to pass one of the variable as the title, anyone?:)
Quote:
|
Is there a chance we get this hack for 3.6.4 please?
|
Quote:
|
this is really a great mod, i'm currently adjusting it to submit different kinds of content but have already completed one form which allows you to submit news, thanks very much abe!
The code is quite well commented already but i just wanted to do something in return so here is a quick overview on how to create a news submit form. The extra thing i've added here is the ability to insert a link to the source of the news (via a question in the submit form) and then a 'link' url at the end of the created thread. bit hard to understand, just take a look at the screenshots and you'll see what i mean, so let's get started with the code! 1.First of all install the mod, just follow the instructions. 2. then go to plugins> add plugin for the PHP code part. i created a plugin and named it 'submit_news', the name doesn't really matter, as long as it's understandable for you. set the hook to 'newthread_start'. Then paste this code into the Plugin PHP Code field: Code:
// To add more then one form, copy this whole text, and creat a new plug-in with the hook location 'newthread_start'. IMPORTANT: i didn't change the main script, you should insert it after this code, you can find the code in the original 'form hack' plugin. i'm not going to explain all of the changes but they are actually fairly simple, many questions were just taken out because i didn't need them, it's important to use this name though, so it matches when you want to load the form later: $formname = "submit_news"; |
here's part 2 of the explanation, it was too long to fit in one post!
4.Alright, that's all for the code, now we need to adjust the templates, you can copy the code and after that make adjustments to it yourself. first the 'newsform' template, go to 'styles & templates> all template options' and select 'new template' name the template 'newsform'. The name 'newsform' is important, because this links back to the php code part! this will provide the look of the submit form, here's the entire code: Code:
$stylevar[htmldoctype] 5.Now the final template called 'newsformanswers' (again, the name is important, it's linked to the PHP code part!) use the same procedure as with the other template but now use this simple code instead: yes, that's really all there is to it!!! the $vbtextanswer is the text filled out and is the main description of the news, the $answer1 variable is the actual link to the news taken from the submitted form, i've used the BB code URL tag and named the text inbetween 'link', of course you can change that to anything you want, for example: "more", "source" , "view news here". Alright, i know this explanation is quite simple but if you use the exact same code it should work fine, i hope you found this usefull, if you have any questions don't hesitate. I've taken this a bit further myself by using vbadvanced CMPS, it's free and quite good for what i need, the submitted news goes into a forum, and the CMPS then takes that data from the forum and posts it in a news layout on a different page. One thing i would like to implement is a sort of browse button to directly add attachments, any idea if that's possible? |
Quote:
|
Love the mod, but I'm now getting crazy spam through this. I use it as a "contact us" which gets posted in a mod-only section. PLEASE -- is there any way to add Captcha or some other human-entry question that must be answered correctly to prevent the spam?
Thanks -vissa |
Quote:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, service@xxxxxxdotde and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. |
Is this hack use usergroup permissions?
|
Quote:
Peace |
The attachments are a great improvement but do you think it's possible to also include the thread rating (stars) in the form?
I'm using it as a 'write a review' form and it would be nice to have the rating included in the database instead of using static content. |
Quote:
Am I just stupid or what do I need to change to get this to work? :confused: |
Is there a way to make the $posttitle one of the inputs? For instance, if I create a field called "Title" and allow a user to type a title, how do I make that show up as the actual $posttitle?
EDIT: I figured it out :) It works great now. |
That is the only thing that is missing for us. :)
Quote:
|
man people this mod isn't that hard to grasp. you add your variables to parts 1 and 2 and define ur question variables on the plugin. your questions form is friggin html - not that tricky. if u want something to show up, you type it. if its a variable from the plugin, you call it with a dollar sign ($). on the answer form, its just bbcode - you wanna answer to show up you call it with the $ and if you want to bold it you friggin' bbcode bold the thing.
as far as the 5-star ratings, why would you rate a form that isn't filled out? you would only need to rate the data on the form, which lucky for everyone who is using this hack, the data is posted as either a thread or a post and if you've got the rating system turned on, well presto chango you can rate the threads/posts that submitting your form creates. hal05 - $posttitle = "$title". make sure you put title in part 1 and 2 and change the code below part 2 where it says by default $posttitle = $formtitle. |
Quote:
If you want to [.B][/B.] your questions, for example, you'll have to put a space inbetween the [.B] tag and your variable (and also at the end before the closing [/B.] tag. Otherwise, you'll get a parse error when you try to save it. So, your bolded question would look like this: [.B]<space>$variable<space>[/B.] Furthermore, not all BBCode gives a parse error if you don't do this. i.e. [.SIZE=4][/SIZE.] works fine without the <space>. Note: The periods or dots are put in the above code so I could get them to appear here. |
I would love to have this work on my site, I can see lot's of uses. Excellent MOD!!!!
I have to be honest, the instructions are beyond me.... I've tried to install this and followed the instructions.... Simple for the not so newbies, but, again, beyond me. I'll keep checking for explicate, understandable instructions (at least for me) :) |
So can anyone help me? I still can't get this to work and get the "internal server error" message....
|
I have a problem here.... Here's my form http://www.shuhalo.com/home/newthread.php?do=form
It looks just how I want it, BUT it won't post the info right... It posts the radio buttons first and only 3 of the questions. I want it to post the same order as the form is laid out. |
I've been getting the following displayed on any form that has been submitted:
<!-- BEGIN TEMPLATE: applyanswers --> and at the bottom: <!-- END TEMPLATE: applyanswers --> Where can I remove these so they do not show up on any post made by the form? I've been looking through the templates and plugin code but can't find them. Please help. |
Hey NightPhoenix,
It sounds like you need to go to your StyleManager in the admincp, and modify the "formanswers" template that's created by default. I had the same problem, and all that's needed is to place the desired variables on that template in the order you want them in, and voila. I use my page for recruiting too - lol. http://www.adversaryguild.com/forums...ad.php?do=form One thing i'd personally like to see is posting the answers in a tabular format similar to the manner in which the questions are given. I've been able to semi get what I want by putting html code on the formanswers template. The only real trick to using html code on that page is that you have to butt it all up against each other on a single line - or as close as you can get it. If you don't have it on a single line, for every line of code you have on that page, you will get a blank space on the output page. Perhaps there's a setting he has to allow html code for the output somewhere - not sure. Also, if anyone has figured out a way to get one of the dropdown answers to be a variable for the replythread or forum post id, i'd greatly appreciate some insight. I see where he suggests using "do=form&f=1" in the comments field, but i'm not certain how to define that in the html side to post there. Thanks! |
I love this hack :D but I have an issue LOL
I installed it, created a nice looking form and decided I wanted a second form. Did was said in the instructions but then I went back to check up on both forms and neither worked. So I disabled the new form and voila my old form worked again. Whatever I try it doesn't seem to work with two forms. What am I doing wrong? Am I missing something? Thanks in advance :D eta It's solved... |
Hey All,
It seems like this is a common question... What I have is a dropdown menu that based on the user's selection, I would like it to be able to reply to an already existent thread. Here's my code thus far: Code:
//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no Code:
////////////////////////////////////////////////////// Here's what I have from my template: Code:
<tr> Example: If they select dropdownchoice 1b from here, the corresponding thread that $formreplythreadid would be to 34, 1c would go to 31, so on and so forth. Any thoughts? Sample code would be great if anyone can provide any :) |
All times are GMT. The time now is 02:42 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:
|