![]() |
Quote:
Quote:
Quote:
|
Quote:
Anyone? |
If you're using the form to create a new thread and you're allowing for custom thread titles (I do use the form for entering book reviews, thread title will be the book title), you need to be aware that the limit for thread titles is 85 charakters. The hack does not check for this. So if your thread title is > 85 charakters, the thread creation will fail, resulting in a "no thread specified"-error during redirection.
|
OK, I have been reading this thread most of the morning trying to decide if I have the wherewithall to implement this hack. I am a novice, but I have a pretty good confidence that I can figure it out...given a little help here....but what I am not understanding is how the "multiple" forms are created. Do you have to install the hack everytime you want to create a new form and use a different name or is there a "Add/Create new form" in the AdminCP under this Product/Plugin manager's screen that Adds the new forms and templates that then need to be edited as discussed throughout this thread? I hope it is as I have described so that once I successfully build my first form the others will be easier to figure out. Please advise. :confused:
|
Quote:
|
Quote:
If you download and install the mod, the instructions are in the top part of the plug-in. You don't have to install it multiple times. you just create a new plug-in and new set of templates for each form you want. It takes a bit to understand what's going on with it and how it works but it's a great way to learn some PHP and a bit about how the forum works. |
Quote:
|
You don't reinstall it. You just create the plug-in again in the AdminCP....
|
Quote:
|
Bummer...:(
Guess I need to go buy "PHP for Dummies"! Thank you for the feedback. It would be great if someone took this hack and built an AdminCP user interface. for us rookies to be able to build and hook forms from within the Admin CP. I would be willing to contribute to that effort. Keep me posted if that becomes a reality. KF |
Is there a step by step way to customize the hack? I'm really trying to learn PHP to get this implemented on my site -- I think it would seriously rock for us! But I'm sort of lame at the PHP part.
I copied and pasted it into Notepad so I could try to read the instructions better, but I'm still a bit confused. Thanks! Nutmeg |
once I pasted it into notepad, it was very easy to edit. Thank you!!! :up:
|
Is it possible that members can create surveys from such forms which can be filled by other members?
A hack like that would be awesome !! |
I do have one question. I'd like to add more check boxes than three. How do I do that?
|
Quote:
I'm obviously getting something confused here, so if someone could clear this up for me, it'd be much appreciated. Edit: Figured it out. There is a formanswers template you need to edit, as well as the form template. Makes perfect sense now. Thanks for the great hack! |
i have this working over at http://www.leylandforum.co.uk/forum/...orum%20Reviews ive noticed that the name of the form appears as the thread title, is there anyway we can make the user choose the thread title.
Im using this for a review service, where poeple can review a cafe, product, service etc. any suggestions will be appreciated. |
Quote:
In the plugin, look for this: Quote:
|
Many thanks, much appreciated
|
I'm doing some additional form validation. Wondering how to display on the same page, i mean display errors on top & the form beneath. Right now the errors are displayed on newthread.php but the form doesn't show up beneath. I also set $_REQUEST['do'] to formname by default..Please help !!!
|
I'm getting the following error in all of the forms I've created and I'm not sure where to look to solve the issue...
Warning: Cannot use a scalar value as an array in /includes/functions_newpost.php on line 356 Any help would be greatly appreciated! Trevan P.S. Line 356 is the main line of the following function: else { $dataman->setr('forumid', $foruminfo['forumid']); } |
Hello all:
First i need to say that i am totally new with vB. I dumped my nuke-evolution site and imported database into vb. I must say this is alot of different then nuke :-) But i like to learn vB alot. ::On Topic:: I installed this nice hack ,but there is only 1 issue for me. I have 5 radioquestion down to eachother. I renamed them all,i updated the answer template and the mainhook,all is working except that the question aren't there only the answers and near the answers i get this error message: answer1 = Array['radioanswer6other']; answer2= Array['radioanswer7other']; answer3 = Array['radioanswer8other']; answer4 = Array['radioanswer9other']; answer5 = Array['radioanswer10other']; I try to find out what could be the problem,but i didnt find. Can some1 tell me what i did wrong? Thanks John:up: |
Quote:
$radioquestion2 $radioanswer2 |
Did that like this $radioquestion3
$radioanswer3 $radioanswer3other I can see the questions now with yes/no answer but still there is a error: Do you have an AAOtracker Account, if yes write your AAOtracker name here yes 6uy = Array['radioanswer6other']; Where 6uy is my giving answer in explain block |
Seems that the developer for this does not check it that often and atroll has graciously been answer a lot of questions.
Im in need of have the code on the form hook into the code for VB so that the new thread follows the permissions that I have set on the forum the post will be going into, email, poll, attachement , etc. I have a quick work around but working on something more permanent. If I can come up with it I will share with everyone. My requirements are to allow only VIP members and Registered uses with over 100 posts be able to post on the forums Im using the forms. Temporarily I am using this until I find a way to hook the form code to the forum code. if( $vbulletin->userinfo['usergroupid'] <5 ) { if($vbulletin->userinfo['posts']<100) { echo 'Sorry, you can not post here as you need to have 100 posts, you only have '.$vbulletin->userinfo['posts']; print_no_permission(); } } As an addendum, I previously had a time limit hack on this particular sub forum that allowed member to be able to only start 3 threads on a 30 day span. This hack is not playing well with it, not at all actually. Anyone have any idea how to edit the form to do this? (check to see if member or VIP has less or equal to 3 threads in 30 days and either allow or deny ability to start one?) Thank you |
Quote:
Code:
{ |
Hello,
I'm using vB 3.6.8 Patch2 in the German Translation and I installed the original English Form Hack 4.0 Version with the parameters $formforum="1", $formforumid="10" and usergroups 2,5,6,7. ACP -> Plug-in [x] activated. But till now, I couldn't succeed in seeing the form in any place in my forum. The form never appears. What may be the reason? Thanks and greetings George |
you can see it if you enter this address
http://yoursite.com/forum/newthread.php?do=form replace "yoursite" for your own domain and "forum" for the name of the folder in which you installed the forum. |
I'm currently using vB 3.6.8 - whenever uploading a file, using this hack, it gives me an error; 'Could not create file system directory to hold your attachment.'
How can I correct this? |
Also, it gives me the option to upload files as an administrator but not as a regular registered user. What might be the reason behind that?
|
Ok, I've managed to solve both of my above issues. There is just one thing left now. Is there anyway that I can make entries made through this hack to appear in a single thread, instead of it making a new thread every time someone submits it.
|
Kursed,
Yes, there is an option to have it reply to an existing thread. Search for this text: Quote:
Quote:
Note: You probably want to look just under the first text and turn off posting new thead, as I believe it might do both if you don't! |
@sylar - I hope this one will work for me togehter with hits form hack - https://vborg.vbsupport.ru/showthread.php?t=96848
Does someone know how I could have the new topic created by this form automaticly be closed? |
Any word if this will work on 3.7?
|
Quote:
|
I keep getting an error in my newthread.php on line 395 and I have no idea why. Does anyone know what causes this? I change lil stuff and the error moves around a lil to different lines in that same file... any ideas?
|
@Divine - Could be everyting, like a forgotten ; or one " to much where it shouldnt be.
|
No Divine is right since version 3.6.8 patch 2 this now creates a new error in newthread.php on line 654 and such. I had to disable the hack to get it from displaying the error code on all new posts.
Please advise |
I'll pay someone $10 to get mine working! lol
|
I'm using it on 3.7 with no problems and love it!!
|
Show off lol
|
All times are GMT. The time now is 10:55 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:
|