![]() |
Quote:
|
Quote:
Code:
/(\d+)/ PHP Code:
|
Quote:
|
Is it possible to edit a completed form if its saved to database? currently admins can view the results, delete the results but not edit the results
|
Quote:
|
Quote:
I am using vB 3.8. I have the VB blog installed, and the FB Connect mod installed besides yours. I installed the update and now I get this when trying to preview...pretty much the same. Fatal error: Call to undefined function construct_attachment_add_js() in /home/content/g/a/l/galvanm/html/app/webroot/forum/misc.php(100) : eval()'d code on line 1704 Also, when a user submits a form to a new thread, it goes into moderation. I already made sure the newpost visable is set to 1 and checked all my forum options and everything seems to be set right. Not sure what the problem is. Hopefully I can get this fixed as this is a great mod that I would love to use. |
Quote:
|
Quote:
|
Is it possible to make a form that will add the output into an existing bbcode table in a thread, :)
even if the form can be only used by me, it would make it a lot easier than keep editing a bbcode table. |
Quote:
Parse error: syntax error, unexpected T_LNUMBER, expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/topnotch/public_html/forums/misc.php(100) : eval()'d code on line 438 |
First of all... Thank you bananalive, for your quick help and responses to everyone in thread. I also see you have actually updated your help file yesterday too!
Hats off to you my friend, for being so diligent and helpful. Of course you knew there was gonna be a question or two along with this. HA! 1. I changed the code to make a single line field into a number only field Code:
From this /(d+)/ to this: /(\d+)/ But... now, when a non-compulsory number only question, is left empty, it is showing the same error and not letting the form being submited. 2. I've noticed that when I use a dropdown box field, and it is Not Compulsory, that when posted, it will print the 1st option in the post. Even though not selected by user. (I haven't tried the radios or check boxes yet, but I suspect they may do the same.) How can I make a blank/empty space at top of dropdown list, so that this doesn't happen? 3. What exactly is the Section option for and what does it do? (I've read the help file, but still haven't a clue.) |
Quote:
Edit plugin: Easy Forms Part 1 Find: PHP Code:
PHP Code:
|
OK...I've pretty much got this working the way I like it to. I still wish there was a way to use one form instead of the 60 something that I had to create to post basically the same output but to different threads. It's done though and I can change it later if a solution is found.
I do have a question about URL links though. I have one question where a user can enter a URL. It posts fine the the URL is posted just as text and not as an actual link. Can I change something so that it posts as an actual link? |
1 Attachment(s)
Quote:
The Section is not a question but more like a heading. |
Quote:
You could use conditional statement in custom output: HTML Code:
<if condition"$q[8]">[url]$q[8][/url]</if> |
OK...sorry I didn't see it. I did search the thread for an answer before posting the question but missed it somehow. My apologies.
|
OK...here is the issue. Maybe I'm trying to use this in a way that it was really not intended for and just need to find another solution.
My members wanted a place to post their favorite restaurants. I have members all across the USA and Canada plus some other countries. I created a new forum area called Restaurant Reviews. Within that forum, I created threads for all the states, provinces and "other countries". I created 60 something forms so that they click a form for their state/province and the review goes to the appropriate thread. To make the URL clickable, I would have to create custom outputs for all of those 60 something forms. Any change I make I would have to do this also. That's why it would be great if one form could be used and then the drop down question that lists all the states and provinces would direct it to the proper thread. If that can't be done though, is there another way to make URLs clickable without having to create custom outputs for all the forms? |
Quote:
Here's another question for you. I'm sure there's an easy way to do this, but I don't understand php. I'm strictly a copy and paste guy. Questions that depend on another question. Question 4 [your item for sale] is not compulsory - but... Question 5 [how many of item one?] relates to question 4 and must be filled in, if 4 is used Question 6 {your price for item?] relates to question 4 and must be filled in, if 4 is used ________________ if question 4 if filled in then both questions 5 and 6 must be filled in as well. If question 4 is left blank, then 5 and 6 must be left blank as well. I hope I've explained it well enough. Thank you for your help. So far I really like this Mod and can see a lot of uses for it. |
I'm having issues with all posts (from non admin/mods) from the forms being put in the moderation queue.
I searched this thread and checked PHP Code:
Any ideas? |
Quote:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/topnotch/public_html/forums/misc.php(100) : eval()'d code on line 438 It takes me to a page with all of my smilies. |
Quote:
I am still having the same issue as well and I already changed it to 1. I am also still having an error when I click preview as well. Anyone have any ideas on how to fix these 2 issues? Thanks, Maria |
Moderation is an issue for me also.
|
Quote:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
However, I didn't think it through all the way. What I really needed was if 'any' of the three question were used, then the other two would have to be filled in too. So I just repeated the code and changed the q#'s around like this Code:
if ($q[4] && (empty($q[5]) || empty($q[6]))) But I'm wondering if this is the proper way to do it for each set of questions, or if it should be written a different way. Thanks again for your help. *nominated for Mod of Month* |
Everything works great except that if I change to a custom layout and questions I have that have a drop down box or check box will no longer display the correct answer.
Example - Is this a trade or sale (dropdown is Trade,Sale) In the custom output I Put 'This is a: {q_2} With the the answer will be 'This is a : Array' It replaces the correct answer with 'Array' If I dont change the custom output it shows the correct answer...is there something else I need to do? Also with a custom layout none of the BBCode applies - everything is normal text UPDATE - with a drop down box no information is put into the output - checkbox shows ARRAY |
Quote:
Code:
This is a: $qo[2] |
Quote:
PHP Code:
|
The moderation issue only happens to users and not to admins. I login as a user account and it goes into moderation que.
Also note preview button does not work with attachment. |
Quote:
This results in the following: This is a: Array{2} |
Another question...
One of my questions requires inputting another members name... Is there anyway to make it so the form would check to make sure that the name being type in matches a members username? |
Quote:
|
1 Attachment(s)
Quote:
|
How many people is this happening to?
I have VB 3.8.1 installed and the following mods: FB Connect VB Classifieds Open Inviter VBblog I am willing to pay someone to fix this for me. 1. All new threads submitted through easy forms go into moderation when logged in as a user (not when logged in as admin). I'm pretty sure I have everything set up right but I may need a set of second eyes. 2. Preview button. I get an error. Please help. |
I have had the odd error when previewing a form, but it was because i had put some incorrect code in when setting up the form. plus i have 33 other mods installed and it works fine. :D
|
That was the problem - thank you...
As for the form checking the members name im not great with hooks and queries. Can you elaborate more on how to check for a real member username before the form is submitted. |
Great modifications.
I have a slight question I have my form being used in 1 section of my forum where i want to set forced Prefix's Is there a way to have it auto default the prefix to the first prefix on the list or something. I dont want to have the form user to choose the prefix, I want it that i decide the prefix level Thanks Warren |
Thank you Dom. Once again you made it easier! ( this post)
I sure do appreciate all your effort and time spent, explaining to us non-coders how to do things. :up: Your support of this mod is excellent! |
All times are GMT. The time now is 03:57 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:
|