vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

MoB Zigmister 05-02-2007 03:30 PM

Quote:

Originally Posted by Deepdog009 (Post 1239657)
MoB Zigmister zip all three files ( both templates and plugin) in txt format and upload, I shall check it out 4 ya.???

Sincerely, thanks. Please see attachment.

samual 05-02-2007 05:43 PM

Quote:

Originally Posted by ComputerVitals (Post 1239760)
Now you have to look in your templates
"form" template.

Is that admincp>styles&templates?

ComputerVitals 05-02-2007 08:18 PM

yes

By default install you will have 2 new templates
form
formanswers

The form template is the "design" of the form you would type in and submit.
The formanswers template is the email you would get if you added an email address.

XxBuLLeTz 05-02-2007 11:21 PM

Is there anyway I can set it so when they fill out the form and submit it, it counts towards the users post. I have it set to reply to the post, but I just want it to count as an actually post.

Thanks.

Deepdog009 05-03-2007 01:53 AM

Quote:

Originally Posted by MoB Zigmister (Post 1239817)
Sincerely, thanks. Please see attachment.

Just gotts back, checking on it and will post info by morrow evening.

L8ter...;)

Deepdog009 05-03-2007 02:39 AM

Quote:

Originally Posted by MoB Zigmister (Post 1239817)
Sincerely, thanks. Please see attachment.

Error message... Parse error: syntax error, unexpected T_VARIABLE

I found yo problem MoB...

It was here in the PLUGIN...

HTML Code:

if ($answerall == "1")
    {
        if ($answer1 == '' OR $answer2 == '' OR $answer3 == '' OR $answer4 == '' OR $answer5 == '' OR $answer6 == '' OR $answer7 == '' OR $answer8 == '' OR $longanswer1 == '' OR $longanswer2 == '' OR $longanswer3 == '' OR $longanswer4 == '' OR $longanswer5 == '' OR $longanswer6 == '' OR $longanswer7 == '' OR $longanswer8 == '' OR $longanswer9 == '')

One of yo {{{ OR }}} was missing... I added it on $answer5 or 6...

Take a look at the code there and add the missing {{{ OR }}}...

Kooooooool form U have there...

Good Luck;)

MoB Zigmister 05-03-2007 03:36 AM

Quote:

Originally Posted by Deepdog009 (Post 1240303)
One of yo {{{ OR }}} was missing... I added it on $answer5 or 6...

Take a look at the code there and add the missing {{{ OR }}}...

Kooooooool form U have there...

Good Luck;)

Thanks a lot. Ahhhh.... It Works!

I took a little time adjusting the template to make it roughly fit more with the "vb" style of forms, throwing in some Legends and threads and such inside some <td>'s. But then again, sometimes you need a fair of fresh eyes to catch errors.

Thanks again.

ZomgStuff 05-04-2007 03:55 AM

Arg, I deleted some stuff off the code but it still shows up!

XxBuLLeTz 05-04-2007 09:46 AM

Quote:

Originally Posted by XxBuLLeTz (Post 1240182)
Is there anyway I can set it so when they fill out the form and submit it, it counts towards the users post. I have it set to reply to the post, but I just want it to count as an actually post.

Thanks.

Can anyone help me?

Snipa 05-04-2007 09:10 PM

i have just installed this hack, and i was going about editing it, i have been editing all 3 files to what i want them to be but my form does not show up, it just says invalid fourm specified. i am posting my codes maybe someone can give me a hand, my php skills are very rusty heh. link to form is as follows:

http://www.endeavour-guild.com/forum...d.php?do=eqapp

Snipa 05-04-2007 10:08 PM

solved just one question how do i get rid of <!-- BEGIN TEMPLATE: formanswers --> and <!-- END TEMPLATE: formanswers --> on a post that is made.

Deepdog009 05-06-2007 02:32 AM

Quote:

Originally Posted by Snipa (Post 1241618)
solved just one question how do i get rid of <!-- BEGIN TEMPLATE: formanswers --> and <!-- END TEMPLATE: formanswers --> on a post that is made.

Make changes to answers template Snipa and that should fix yo prob...

Post a pic of yo issue...

Deepdog009 05-06-2007 02:34 AM

Quote:

Originally Posted by XxBuLLeTz (Post 1241202)
Can anyone help me?


I haven't used the reply that much so not sure if that can be done. Ask ABE1...


If I have time I shall look into it 4 ya...

Snipa 05-07-2007 02:52 AM

Quote:

Originally Posted by Deepdog009 (Post 1242245)
Make changes to answers template Snipa and that should fix yo prob...

Post a pic of yo issue...

i have made edits to the answer template and looked for what it is posting and it is not there, here is a screenshot taken right after i hit submit and it posts it on my boards.

https://vborg.vbsupport.ru/

Deepdog009 05-07-2007 03:30 AM

Quote:

Originally Posted by Snipa (Post 1242840)
i have made edits to the answer template and looked for what it is posting and it is not there, here is a screenshot taken right after i hit submit and it posts it on my boards.

http://i57.photobucket.com/albums/g2...rmhackprob.gif

Snipa that text has gotts to be somewhere in the template or code.

Check yo answer temp... again and if its not there it gotts to be somewhere in the code, and then alter by deleting...

Make txt files of yo templates and plugin code and upload to post, and I shall take a look C...:eek:

Deepdog009 05-07-2007 03:32 AM

Im getting somewhere with POST ICONS...:eek:

Will post info soon...;)

Snipa 05-07-2007 03:57 AM

here are my codes attached...i did a find on all 3 of the involed files and found nothing so not sure what the deal is.

Kiint 05-07-2007 06:44 AM

Snipa, I had the same problem which I found an answer to in another post https://vborg.vbsupport.ru/showthrea...078post1150078


Quote:

If you have the option "Add Template Name in HTML Comments" in the General Settings set to YES you get the template info in PM and emails:

<!-- BEGIN TEMPLATE: warn_pm_alert -->
So just go to:
Vbulletin Options/General Settings
scroll down to "Add Template Name in HTML Comments" and select No

and that should fix it.

One little hint, it's a good idea to do a search for your error message before you post about it, I just refound that fix by searching for "<!-- BEGIN TEMPLATE" in this thread, so it has been answered already :)

Snipa 05-07-2007 01:31 PM

Quote:

Originally Posted by Kiint (Post 1242922)
Snipa, I had the same problem which I found an answer to in another post https://vborg.vbsupport.ru/showthrea...078post1150078




So just go to:
Vbulletin Options/General Settings
scroll down to "Add Template Name in HTML Comments" and select No

and that should fix it.

One little hint, it's a good idea to do a search for your error message before you post about it, I just refound that fix by searching for "<!-- BEGIN TEMPLATE" in this thread, so it has been answered already :)

thanks for the info, i figured it was something to do with the hack and/or something i had done in my coding, also it fixed the problem :D

ComputerVitals 05-07-2007 02:09 PM

How do I make it so,

When someone selects a radio button, pushes the submit button, it still emails, but depending on which radio button they pushed, it will direct you to a certain page.

Deepdog009 05-08-2007 03:34 PM

Quote:

Originally Posted by ComputerVitals (Post 1243043)
How do I make it so,

When someone selects a radio button, pushes the submit button, it still emails, but depending on which radio button they pushed, it will direct you to a certain page.


ComputerVitals take a look C at this post...

https://vborg.vbsupport.ru/showpost....&postcount=409

ComputerVitals 05-08-2007 06:09 PM

Quote:

Originally Posted by Deepdog009 (Post 1243733)
ComputerVitals take a look C at this post...

https://vborg.vbsupport.ru/showpost....&postcount=409

Rock and roll
Thanks Deepdog009 & rayw

Tweaked that for the radio buttons and now it work just like it did before..
Now to add your image verification to it!!

Deepdog009 05-08-2007 08:03 PM

Quote:

Originally Posted by ComputerVitals (Post 1243844)
Rock and roll
Thanks Deepdog009 & rayw

Tweaked that for the radio buttons and now it work just like it did before..
Now to add your image verification to it!!



ComputerVitals i released a Forms Pack *** add-on that helps with Java Calendar pop-up window 2 help with events.

BBcode smileys add-on 2 help with answer template look and feel.

Posticons & Subtitle add-on 2 help with posting topic image.

ABE1 Form Hack takes all credit and hopefully add these to his hack...

Good Luck:cool:

ComputerVitals 05-09-2007 02:09 AM

A little tweaking.
When you enable the:
$answerall = "1";

The error message will display if you dont fill it out.
Is there a way to add a text link for a "go back" instead of the user hitting the browser back button?
If not i'll just change the words to tell them to hit the back button.

ComputerVitals 05-16-2007 01:43 PM

I'm getting this error when I click the submit button:

Error: 'vB-Editor_.vB_Editor_001' is null or not an object

It has the yellow exclamation in the lower left of the browser when submitting.
On reference to vb_editor in the hack I have found was in the form template.
Code:

<form name="vbform" action="newthread.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
Any ideas how to fix this?

JTMON 05-16-2007 08:07 PM

Hi, I haven't found this problem searching this thread so here goes...did the edits, made sure part 1 and 2, had all working until I finished..now I get this error:

Parse error: parse error, unexpected '}' in /home/www/ticketdoctor/forums/newthread.php(71) : eval()'d code on line 608

My code is:
Code:

// #######################################################################
// ######################## CUSTOMIZE VARIABLES ##########################
// #######################################################################

////////////////////////////////////////////////////////////////////////////////////////////////////
////// BEGIN CUSTOMIZATION BELOW////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////
//VARIABLES
//Study how variables are add here to add or remove any. If you add a variable to your form, you must add it to part one and part two.
////////////////////////////////////////////////////////////////////////////////////////////////////

// Part 1
$vbulletin->input->clean_array_gpc('p', array(
'FirstNameAnswer' => TYPE_STR,
'LastNameAnswer' => TYPE_STR,
'AddressAnswer' => TYPE_STR,
'CityAnswer' => TYPE_STR,
'StateAnswer' => TYPE_STR,
'ZipcodeAnswer' => TYPE_STR,
'DOBAnswer' => TYPE_STR,
'PrimaryPhoneNumberAnswer' => TYPE_STR,
'SecondaryPhoneNumberAnswer' => TYPE_STR,
'ValidLicenseAnswer' => TYPE_STR,
'NotValidLicenseAnswer' => TYPE_STR,
'EmailAddressAnswer' => TYPE_STR,
'NewsletterSignupAnswer' => TYPE_STR,
'LicenseNumberAnswer' => TYPE_STR,
'AccidentInvolvedAnswer' => TYPE_STR,
'CriminalRecordAnswer' => TYPE_STR,
'OneTicketOnStopAnswer' => TYPE_STR,
'TicketNumberAnswer' => TYPE_STR,
'Charges1Answer' => TYPE_STR,
'Charges2Answer' => TYPE_STR,
'Charges3Answer' => TYPE_STR,
'Charges4Answer' => TYPE_STR,
'ViolationCode1Answer' => TYPE_STR,
'ViolationCode2Answer' => TYPE_STR,
'ViolationCode3Answer' => TYPE_STR,
'ViolationCode4Answer' => TYPE_STR,
'CourtToAppearInAnswer' => TYPE_STR,
'AppearanceDateAnswer' => TYPE_STR,
'AppearanceTimeAnswer' => TYPE_STR,
'HowHeardAboutUsAnswer' => TYPE_STR
));

// Part 2
$FirstNameAnswer = $vbulletin->GPC['FirstNameAnswer'];
$LastNameAnswer = $vbulletin->GPC['LastNameAnswer'];
$AddressAnswer = $vbulletin->GPC['AddressAnswer'];
$CityAnswer = $vbulletin->GPC['CityAnswer'];
$StateAnswer = $vbulletin->GPC['StateAnswer'];
$ZipcodeAnswer = $vbulletin->GPC['ZipcodeAnswer'];
$DOBAnswer = $vbulletin->GPC['DOBAnswer'];
$PrimaryPhoneNumberAnswer = $vbulletin->GPC['PrimaryPhoneNumberAnswer'];
$SecondaryPhoneNumberAnswer = $vbulletin->GPC['SecondaryPhoneNumberAnswer'];
$ValidLicenseAnswer = $vbulletin->GPC['ValidLicenseAnswer'];
$NotValidLicenseAnswer = $vbulletin->GPC['NotValidLicenseAnswer'];
$EmailAddressAnswer = $vbulletin->GPC['EmailAddressAnswer'];
$NewsletterSignupAnswer = $vbulletin->GPC['NewsletterSignupAnswer'];
$LicenseNumberAnswer = $vbulletin->GPC['LicenseNumberAnswer'];
$AccidentInvolvedAnswer = $vbulletin->GPC['AccidentInvolvedAnswer'];
$CriminalRecordAnswer = $vbulletin->GPC['CriminalRecordAnswer'];
$OneTicketOnStopAnswer = $vbulletin->GPC['OneTicketOnStopAnswer'];
$TicketNumberAnswer = $vbulletin->GPC['TicketNumberAnswer'];
$Charges1Answer = $vbulletin->GPC['Charges1Answer'];
$Charges2Answer = $vbulletin->GPC['Charges2Answer'];
$Charges3Answer = $vbulletin->GPC['Charges3Answer'];
$Charges4Answer = $vbulletin->GPC['Charges4Answer'];
$ViolationCode1Answer = $vbulletin->GPC['ViolationCode1Answer'];
$ViolationCode2Answer = $vbulletin->GPC['ViolationCode2Answer'];
$ViolationCode3Answer = $vbulletin->GPC['ViolationCode3Answer'];
$ViolationCode4Answer = $vbulletin->GPC['ViolationCode4Answer'];
$CourtToAppearInAnswer = $vbulletin->GPC['CourtToAppearInAnswer'];
$AppearanceDateAnswer = $vbulletin->GPC['AppearanceDateAnswer'];
$AppearanceTimeAnswer = $vbulletin->GPC['AppearanceTimeAnswer'];
$HowHeardAboutUsAnswer = $vbulletin->GPC['HowHeardAboutUsAnswer'];

////////////////////////////////////////////////////////////////////////////////////////////////////
//USERGROUPS ALLOWED
//You can add or remove usegroups that are ALLOWED to use this form by changing the numbers below in the array.
//To enable this feature, remove the '//' 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 AND WANT TO USE A DIFFERENT LOOKING TEMPLATE
////////////////////////////////////////////////////////////////////////////////////////////////////

// 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 = "0";

//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "2";

//ENABLE POLL TO BE CREATED - 1 = yes, 0 = no
$formpoll = "0";
$polloption[1] = "Yes";
$polloption[2] = "No";
$polloption[3] = "Maybe";

//Make poll public - 1 = yes, 0 = no
$pollpublic = "0";

////////////////////////////////////////////////////////////////////////////////////////////////////

//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no
$formreply = "0";

//EXISTING THREAD ID FOR FORM TO REPLY IN
$formreplythreadid = "12345";

////////////////////////////////////////////////////////////////////////////////////////////////////

//ENABLE FORM TO BE PMED (guests CANNOT use this option) - 1 = yes, 0 = no
$formpm = "0";

//USERNAME TO PM TO (separate multiple usernames with a ';')
$formpmname = "ticketdoctor";

////////////////////////////////////////////////////////////////////////////////////////////////////

//ENABLE FORM TO BE EMAILED - 1 = yes, 0 = no
$formemail = "1";

//EMAIL ADDRESS TO EMAIL TO (separate multiple usernames with a ';')
$formemailaddress = "computerguy@ticketdoctor.net";

////////////////////////////////////////////////////////////////////////////////////////////////////

//ENABLE ATTACHMENTS - 1 = yes, 0 = no
//attachments can only be used if the form is going to make a new thread or post
$allow_attachments = "0";

////////////////////////////////////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////////////////////////////////////
//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 (thread or reply)
//
// Feel free to change the thank you message if you choose option 0
////////////////////////////////////////////////////////////////////////////////////////////////////

$redirectoption = "0";
//This is the thank you message
$errormessage = "Thank you for submitting your ticket! Someone from our office will contact you shortly.";

////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////
//FORCE USER TO ANSWER ALL QUESTIONS - 1 = yes, 0 = no
//If you added or deleted variables, you must edit what it checked for. Search for "$answerall ==" and edit 2 lines under it.
////////////////////////////////////////////////////////////////////////////////////////////////////

$answerall = "0";

////////////////////////////////////////////////////////////////////////////////////////////////////
//TITLE OF FORM (do not use quotation marks or you will get a parse error, besides the quotes around the whole title)
////////////////////////////////////////////////////////////////////////////////////////////////////

$formtitle = "Ticket Submission Form";

////////////////////////////////////////////////////////////////////////////////////////////////////
//TITLE OF THREAD/POST/PM/EMAIL (do not use quotation marks in the title or you will get a parse error)
//You may use variables from the form for this.
////////////////////////////////////////////////////////////////////////////////////////////////////

$posttitle = "$formtitle";

////////////////////////////////////////////////////////////////////////////////////////////////////
//PURPOSE OF FORM (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
////////////////////////////////////////////////////////////////////////////////////////////////////

$formpurpose = "Use this form to submit your ticket information. If you submit it during normal business hours we will contact you within 30 minutes.";

////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////
//NORMAL INPUT BOX : QUESTION 1 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
////////////////////////////////////////////////////////////////////////////////////////////////////

$FName = "First Name:";
$LName = "Last Name:";
$MAddress = "Mailing Address:";
$City = "City:";
$State = "State:";
$ZipCode = "Zip Code:";
$DOB = "Date of Birth:";
$PrimaryPhoneNumber = "What is your primary phone number?";
$SecondaryPhoneNumber = "Please provide a second phone number where we can reach you.";
$ValidLicense = "Do you have a Valid NY State License?";
$EmailAddress = "Email Address:";
$LicenseNumber= "What is your 9 digit license number? (located on top of your Drivers License).";
$TicketNumber = "What is your ticket number (located in the upper left corner of ticket in bold, can be a letter-number combination:";
$Charges = "What are your charges? (Speeding, Passed Stop Sign, etc):";
$SectionSub = "What is the Section-Subsection code of your charge? (located above charge description, usually 4 digits and a letter)";
$CourtToAppearIn = "What Court do you need to appear in?:";
$AppearanceDate = "What is your appearance date?:";
$AppearanceTime = "What is your appearance time?:";
$HowHeardAboutUs = "How did you hear about us?:";

////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////
//RADIO BOX CHOICES : QUESTION 1 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
////////////////////////////////////////////////////////////////////////////////////////////////////

$NewsLetterSignup = "Would you like to sign up for our future Newsletter?";

// The following choices must NOT have quotation marks
$NewsLetterSignupChoicea = "Yes";
$NewsletterSignupChoiceb = "No";

$AccidentInvolved = "Was there an accident involved?";

$AccidentInvolvedChoicea = "Yes";
$AccidentInvolvedChoiceb = "No";

$OneTicketOnStop = "Did you only receive this ONE ticket on THIS stop?";

$OneTicketOnStopChoicea = "Yes";
$OneTicketOnStopChoiceb = "No";

$CriminalRecord = "Do you have a criminal record?";

$CriminalRecordChoicea = "Yes";
$CriminalRecordChoiceb = "No";

////////////////////////////////////////////////////////////////////////////////////////////////////
////// END OF CUSTOMIZATION ////////////////////////////////////////////////////////////////////

any ideas? Line 71 in newthread is eval..and the normal stuff doesn't go to line 608?


any help is mucho appreciated..thanks!

ComputerVitals 05-17-2007 03:01 AM

did you modify the lower part of the hook?
If you did, look there for line 608, looks like an extra curly is there.
If you need a free text editor with line numbers try winsyntax

JTMON 05-17-2007 04:44 AM

I even checked it with araxis merge and found no difference other than variables..maybe it's in the template?

samual 05-17-2007 02:14 PM

I added an extra raido button to this form but it is showing up on the right side of the page. What do I need to do to move it back to the other side?

JTMON 05-17-2007 05:17 PM

I found out my problem, I had chopped off the little bit of code above the variables.

Samual..you need to edit the "form" template.

JTMON 05-17-2007 06:57 PM

Any idea why the emails are sent as plain text html instead of being formatted html? I edited the formanswers template and when I preview the template its right..but both the preview at bottom of the form and email come with all the html code visible?

newforum 05-18-2007 07:55 AM

WoW really great man. Its very simple and fast.
Great HACK.

Thanks.

Saviour 05-24-2007 11:25 AM

This is an excellent hack!

Installed and working in 3.6.7.

It took me a while to get it to where I wanted it, but I'm there...and that's all that counts.

There's only one thing from keeping me from voting for this as MOTM and that's a user-friendly GUI for this thing.

Adding three or more radio buttons, check boxes, or text fields can prove to be very annoying...they don't line up properly. There's too much brain racking to figure out just what's going wrong.

It would be nice if this mod had an ACP interface that would automatically insert these fields for you once you key in the variables. If you ever need to change the form or update it...manually modifying the form, formanswers, and form plugin is a pain in the...well you know...neck!

Get that fixed...and you'll have my vote. Also, getting it supported would be another plus.

Hats off to Abe...good job!

RedGTiVR6 05-28-2007 12:11 AM

I've just upgraded to 3.6.7 and I'm running into a problem.

When regular users go to submit the forum, they get an error telling them "no thread specified".

This only happens for one user group. This tells me that there's a permission setting wrong somewhere, but I can't find where.

The user group has access to the forum and the permissions for the user group are such that they appear to be allowing the user to post in that forum.

I remember running into this when I was setting it up a while back, but now that it's been a while, I can't for the life of me figure out where to start searching for a resolution.

Any help would be appreciated.

RedGTiVR6 05-29-2007 12:11 PM

bump!

RedGTiVR6 05-31-2007 01:14 AM

well, I'm not sure what I did, but I got it working....for a little bit.

Now the users are reporting a different error.

That they don't have permission to view the page.

I've added the user group to the plug-in for this form and I can see it just fine as an admin.

Even if I send them the direct link they cannot see the form.

This tells me it's a permission issue with the form it's self and not the forum the form is in.

Am I missing something obvious here?

Anyone?

Does anyone read this thread any more?

RedGTiVR6 05-31-2007 02:06 AM

EDIT: Ok - I think I might have found the issue.

I'm trying to allow a secondary user group access to this form.

Basically, I have the user group set-up as such:

Primary User Group: Active Users
Secondary User Group: Private Testers

I have set this specific form to be accessable by Admins, Staff members, and Private Testers.

private testers are the only ones of those 3 groups to access the form as a secondary user group...

I hope what i typed just made sense.

Does this make sense to anyone as being the issue?

I did test this with a test account by changing the user group that I'm trying to test to be primary instead of secondary so I'm able to confirm that this is the issue (bug?)

Deepdog009 05-31-2007 09:58 PM

Quote:

Originally Posted by Saviour (Post 1253785)
This is an excellent hack!

Installed and working in 3.6.7.

It took me a while to get it to where I wanted it, but I'm there...and that's all that counts.

There's only one thing from keeping me from voting for this as MOTM and that's a user-friendly GUI for this thing.

Adding three or more radio buttons, check boxes, or text fields can prove to be very annoying...they don't line up properly. There's too much brain racking to figure out just what's going wrong.

It would be nice if this mod had an ACP interface that would automatically insert these fields for you once you key in the variables. If you ever need to change the form or update it...manually modifying the form, formanswers, and form plugin is a pain in the...well you know...neck!

Get that fixed...and you'll have my vote. Also, getting it supported would be another plus.

Hats off to Abe...good job!

Yea , I agree, but it ain't going to be easy...

I also hope that ABE1 will add Admincp options...

I played with some options and code to enhance this, but i found that its a bit beyond my intermediate skills. Im still learning all this stuff and man I noticed Im getting more headaches and dizzy spells. he he :D

Good Luck ABE1

Deepdog009 05-31-2007 10:02 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1258079)
EDIT: Ok - I think I might have found the issue.

I'm trying to allow a secondary user group access to this form.

Basically, I have the user group set-up as such:

Primary User Group: Active Users
Secondary User Group: Private Testers

I have set this specific form to be accessable by Admins, Staff members, and Private Testers.

private testers are the only ones of those 3 groups to access the form as a secondary user group...

I hope what i typed just made sense.

Does this make sense to anyone as being the issue?

I did test this with a test account by changing the user group that I'm trying to test to be primary instead of secondary so I'm able to confirm that this is the issue (bug?)



RedGTiVR6 what seems 2 B yo problem?

Zip up all yo files in text format and upload, I will take a look C...

Its probably something that you missed in plugin code...

RedGTiVR6 05-31-2007 10:24 PM

I've changed the user group structure.

Rather than zip it all up first, can you try it on your implementation?


All times are GMT. The time now is 06:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02446 seconds
  • Memory Usage 1,907KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete