The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#182
|
|||
|
|||
Quote:
Question about the advice about posting results to multiple forums or threads - what's the strategy here if we want to enable them to upload attachments (which are they taken to, if it works). Also curious about this (or any other options, dropdown would be nice): Quote:
|
#183
|
|||
|
|||
Has anyone found out how to use this with unregistered guest?
I really like this but, don't seem to have much support! |
#184
|
||||
|
||||
This is my error: Parse error: parse error, unexpected T_STRING in /downunder/newthread.php(68) : eval()'d code on line 134
This is my Link: http://www.***.com/newthread.php?do=Mod/Super Mod Application Form / ################################################## ##################### // ######################## CUSTOMIZE VARIABLES ########################## // ################################################## ##################### //////////////////////////////////////////////////////////////////////////////////////////////////// ////// BEGIN CUSTOMIZATION BELOW//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //USERGROUPS ALLOWED //You can add or remove usegroups that are ALLOWED to use this form by changing the numbers below in the array. //You may remove this feature by adding a '//' before the 'if'. //////////////////////////////////////////////////////////////////////////////////////////////////// if (!in_array($vbulletin->userinfo['usergroupid'], array(2,5,6,7))) print_no_permission(); //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //NAME OF TEMPLATES - DO THIS BIT IF YOU ARE MAKING MORE FORMS //////////////////////////////////////////////////////////////////////////////////////////////////// // Name of the main template $maintemplate = "form"; // Name of the answer template $answertemplate = "formanswers"; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //CHOOSE WHETHER YOU WANT FORM TO BE POSTED IN A NEW THREAD, NEW POLL, REPLY TO EXISITING THREAD, PMed OR EMAILED /////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE POSTED - 1 = yes, 0 = no $formforum = "1"; //FORUM TO POST NEW THREAD IN $formforumid = "2"; //ENABLE POLL TO BE CREATED - 1 = yes, 0 = no $formpoll = "1"; $polloption[1] = "Yes"; $polloption[2] = "No"; $polloption[3] = "Maybe"; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; //EXISTING THREAD ID FOR FORM TO REPLY IN $formreplythreadid = "1"; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE PMED - 1 = yes, 0 = no $formpm = "1"; //USERNAME TO PM TO $formpmname = LEGEND; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE EMAILED - 1 = yes, 0 = no $formemail = "0"; //EMAIL ADDRESS TO EMAIL TO $formemailaddress = LEGEND@comcast.net; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //REDIRECT OPTIONS: // 0 - thank you message (thread, reply, pm, or email) // 1 - redirect to post (thread or reply) // 2 - redirect to thread (thread only) // 3 - redirect to forum (thread only) // 4 - redirect to editpost to upload attachments (thread or reply) // // Feel free to change the thank you message if you choose option 0 //////////////////////////////////////////////////////////////////////////////////////////////////// $redirectoption = "0"; $errormessage = Thank you for submitting this form!; //This is the thank you message //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //FORCE USER TO ANSWER ALL QUESTIONS - 1 = yes, 0 = no //////////////////////////////////////////////////////////////////////////////////////////////////// $answerall = "1"; //////////////////////////////////////////////////////////////////////////////////////////////////// //TITLE OF FORM (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $formtitle = Mod/Super Mod Application Form; //////////////////////////////////////////////////////////////////////////////////////////////////// //TITLE OF THREAD/POST/PM/EMAIL (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $posttitle = MOD/SUPER MOD APPLICATION; //////////////////////////////////////////////////////////////////////////////////////////////////// //PURPOSE OF FORM (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $formpurpose = The purpose of this form is to allow you to apply for Staff positions.; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //NORMAL INPUT BOX : QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $normalquestion1 = Which Position are you applying for?; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion1 = Choose one of the following; // The following choices must NOT have quotation marks $radiochoice1a = Mod; $radiochoice1b = Super Mod; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 2 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion2 = Where you ever a Mod/Super Mod before?; // The following choices must NOT have quotation marks $radiochoice2a = Yes; $radiochoice2b = No; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 3 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion3 = Have you tested before?; // The following choices must NOT have quotation marks $radiochoice3a = yes; $radiochoice3b = no; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //QUESTION 1 (do not use quotation marks or you will get a parse error) $question1 = What is your name?; $explain1 = Please enter your real name here.; //QUESTION 2 (do not use quotation marks or you will get a parse error) $question2 = What is your email?; $explain2 = Please enter your real email here.; //QUESTION 3 (do not use quotation marks or you will get a parse error) $question3 = What is your msn messenger ID?; $explain3 = Please enter your ID here.; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //LONG TEXT AREA INPUT: QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $longquestion1 = Please give a little info about you experience.; $longexplain1 = for example, What you have tested and what sites have you tested for before, do you make graphics etc.; //////////////////////////////////////////////////////////////////////////////////////////////// ////// END OF CUSTOMIZATION //////////////////////////////////////////////////////////////////// ///// DO NOT CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING!!! //////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// |
#185
|
||||
|
||||
Quote:
|
#186
|
||||
|
||||
This is that error I get:
Parse error: parse error, unexpected T_STRING in /home/thebedrock/domains/thebedrocktavern.com/public_html/Taverndownunder/newthread.php(68) : eval()'d code on line 128 This is what I edited: Code:
// ####################################################################### // ######################## CUSTOMIZE VARIABLES ########################## // ####################################################################### //////////////////////////////////////////////////////////////////////////////////////////////////// ////// BEGIN CUSTOMIZATION BELOW//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //USERGROUPS ALLOWED //You can add or remove usegroups that are ALLOWED to use this form by changing the numbers below in the array. //You may remove this feature by adding a '//' before the 'if'. //////////////////////////////////////////////////////////////////////////////////////////////////// if (!in_array($vbulletin->userinfo['usergroupid'], array(2,5,6,7))) print_no_permission(); //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //NAME OF TEMPLATES - DO THIS BIT IF YOU ARE MAKING MORE FORMS //////////////////////////////////////////////////////////////////////////////////////////////////// // Name of the main template $maintemplate = "form"; // Name of the answer template $answertemplate = "formanswers"; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //CHOOSE WHETHER YOU WANT FORM TO BE POSTED IN A NEW THREAD, NEW POLL, REPLY TO EXISITING THREAD, PMed OR EMAILED /////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE POSTED - 1 = yes, 0 = no $formforum = "1"; //FORUM TO POST NEW THREAD IN $formforumid = "2"; //ENABLE POLL TO BE CREATED - 1 = yes, 0 = no $formpoll = "1"; $polloption[1] = "Yes"; $polloption[2] = "No"; $polloption[3] = "Maybe"; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; //EXISTING THREAD ID FOR FORM TO REPLY IN $formreplythreadid = "2"; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE PMED - 1 = yes, 0 = no $formpm = "1"; //USERNAME TO PM TO $formpmname = "Abe"; //////////////////////////////////////////////////////////////////////////////////////////////////// //ENABLE FORM TO BE EMAILED - 1 = yes, 0 = no $formemail = "0"; //EMAIL ADDRESS TO EMAIL TO $formemailaddress = "youremail@yourforums.com"; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //REDIRECT OPTIONS: // 0 - thank you message (thread, reply, pm, or email) // 1 - redirect to post (thread or reply) // 2 - redirect to thread (thread only) // 3 - redirect to forum (thread only) // 4 - redirect to editpost to upload attachments (thread or reply) // // Feel free to change the thank you message if you choose option 0 //////////////////////////////////////////////////////////////////////////////////////////////////// $redirectoption = "0"; $errormessage = "Thank you for submitting this form!"; //This is the thank you message //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //FORCE USER TO ANSWER ALL QUESTIONS - 1 = yes, 0 = no //////////////////////////////////////////////////////////////////////////////////////////////////// $answerall = "1"; //////////////////////////////////////////////////////////////////////////////////////////////////// //TITLE OF FORM (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $formtitle = STAFF APPLICATION FORM; "; //////////////////////////////////////////////////////////////////////////////////////////////////// //TITLE OF THREAD/POST/PM/EMAIL (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $posttitle = STAFF APPLICATION; //////////////////////////////////////////////////////////////////////////////////////////////////// //PURPOSE OF FORM (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $formpurpose = The purpose of this form is to allow you to apply for Staff positions.; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //NORMAL INPUT BOX : QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $normalquestion1 = Which Position are you applying for?; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion1 = "Choose one of the following choices"; // The following choices must NOT have quotation marks $radiochoice1a = Mod; $radiochoice1b = Super Mod; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 2 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion2 = Where you ever a Mod/Super Mod before?; // The following choices must NOT have quotation marks $radiochoice2a = Yes; $radiochoice2b = No; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //RADIO BOX CHOICES : QUESTION 3 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $radioquestion3 = Are you experienced in any area in the Forum?; // The following choices must NOT have quotation marks $radiochoice3a = "yes"; $radiochoice3b = "no"; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //QUESTION 1 (do not use quotation marks or you will get a parse error) $question1 = "What is your name?"; $explain1 = "Please enter your real name here."; //QUESTION 2 (do not use quotation marks or you will get a parse error) $question2 = "What is your email?"; $explain2 = "Please enter your real email here."; //QUESTION 3 (do not use quotation marks or you will get a parse error) $question3 = "What is your Msn Messenger ID?"; $explain3 = "Please enter it here!."; //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //LONG TEXT AREA INPUT: QUESTION 1 (do not use quotation marks or you will get a parse error) //////////////////////////////////////////////////////////////////////////////////////////////////// $longquestion1 = "Please state what area in the forum suites you best and any sites did you staff for before."; $longexplain1 = "For example, a bit about your experience in this area."; //////////////////////////////////////////////////////////////////////////////////////////////// ////// END OF CUSTOMIZATION //////////////////////////////////////////////////////////////////// ///// DO NOT CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING!!! //////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// |
#187
|
||||
|
||||
Quote:
eg. You have: $formtitle = STAFF APPLICATION FORM; "; should be $formtitle = "STAFF APPLICATION FORM"; you have: $posttitle = STAFF APPLICATION; should be: $posttitle = "STAFF APPLICATION"; |
#188
|
||||
|
||||
In the istaructions for the hack it said to remove the quotations.
|
#189
|
||||
|
||||
Quote:
|
#190
|
|||
|
|||
Quote:
Quote:
|
#191
|
||||
|
||||
Quote:
|
#192
|
||||
|
||||
Thank you very much for you replies, one last question: What would I put in the address bar to get to the forum? I did it for vb3.09 and I had no problems.
http://www.mysite.com/newthread.php?...PLICATION FORM I didn't get any errors this time but I get this: Invalid Forum specified. If you followed a valid link, please notify the administrator what would I put there, the '$posttitle =' or the '$formtitle ='? |
#193
|
||||
|
||||
Quote:
|
#194
|
||||
|
||||
Never mine I got it working
Thanks ABE1 for you support! This is the first time I got support for a hack that was giving me trouble. |
#195
|
||||
|
||||
Quote:
|
#196
|
|||
|
|||
Hi Abe,
Not sure if you saw my question above. Your help last week was great, but my testing was incomplete and it appears that my form is not able to post to my forum. I can get the form to display now, but when I send I get 'Sorry! This forum is not accepting new posts.' Tried outputting to various forums with wide open permissions, no luck. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|