![]() |
Quote:
I have 3 custom variables that I would like to combine to generate the thread title. ($subjecttitleans $subjectdateans and $subjectlocationans) I have tried two different versions of code: Code:
$newpost['title'] =& "$subjecttitleans" "$subjectdateans" "$subjectlocationans"; Code:
$newpost['title'] =& "$subjecttitleans $subjectdateans $subjectlocationans"; Code:
Parse error: parse error, unexpected '\"', expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/XXXXX/public_html/newthread.php(68) : eval()'d code on line 266 Code:
Invalid Forum specified. If you followed a valid link, please notify the administrator Sorry, I am good with templates but ignorent on code. Any help on this would be greatly appreciated. Thanks! |
Quote:
Use this: PHP Code:
|
Kick Ass! That is working flawlessly.
I eagerly await a fix to the URL parse thing. Again, thanks so much for you help and effort. |
Abe1 ..
it would be good if you add one (var) to count ( How many users completed and send the FORM ) in the FORM page .. I need to use it in my Form in order to inform them the quantity .. ( it should be an optional feature ) thank you in advance Abe1 :) .. |
Ahh, I have this working and highly customized and it is really damn near a perfect hack.
I came up with I think one last issue. When posting, it automatically subscribes the user posting to the thread. Is there any way to prevent this? |
Quote:
|
Quote:
|
This hack is awesome! I got it working and have three easy forms for requesting forums, RPG hosting or webhosting on my site. Sooooo much better than the old "post in the forum" thing...thank you thank you!
|
Version 2.7 -
- Fixed some issues with signatures, url parsing, and subsciptions - Option to name the post titles - Made template XHTML 1.0 Transitional |
Quote:
What would I need to do in order to upgrade with my three custom forms? Can I just replace the code after the customizations in the plugin? Are there any required template changes? |
Quote:
Here are the plug in edits: Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
|
Thanks. I had completly rewritten everything above the actual script code so all I needed was the URL parse issue fixed.
All I did was add the: Code:
$newpost['parseurl'] = '1'; It is now able to parse URLs and email addresses fine. Thanks again Abe1! |
Quote:
BTW, you can call me Abe. The username was taken when I came. |
Quote:
|
Quote:
|
|
Quote:
|
Well Abe, although this is working great for me, my users are never fully satisfied...lol
Again, not sure if it's possible or how involved it would be but they are looking to integrate the vB editing options/buttons (like the standard editor or WYSIWYG editor) for the "LONGQUESTION" fields. Just thought I would throw that out there to see what you think. Thanks. |
Is there a "form requires moderation" setting? Because I had a form submitted today and vB wanted to moderate it even though all usergroups have no moderation.
|
Quote:
|
Quote:
|
Quote:
I was looking at Editor Templates>>toolbar_on Example being one form I am using has 3 "longquestion" fields and even if I would have to create 3 duped but renamed "toolbar_on" templates with properly named texarea filelds I would do it. Or even if I had to enter the entire code for that template and change the textarea to "longanswer1" or whatever that would be fine. I will play around a bit later tonight but chances are I will mess things up and end up waiting on you...lol Thanks Abe. |
How are you suppose to remove the radio button questions?
|
Quote:
|
It's awesome. I just finished Installing it
|
Quote:
|
And what if you could make a form that does not only create a thread but also fills out the profile.
I meen its like editing your profile but it makes a thread too? what do you think, its for new member and introduceing. |
Quote:
|
Quote:
|
Yes I have the latest version. I have to wait for someone to submit a form because my forms (as admin) don't get moderated...
|
Quote:
i also removed all the <b> from the questions in the template and put them in the php, and made the forum support HTML, so i could get the bold questions in the post. |
Quote:
|
wow this has potential, you can really make the post look nice w/ sum HTML alterations.
He He Ha Ha Is is possible to change the edior the big msg uses into an actual WYSIWYG box? |
Quote:
Quote:
Quote:
|
Quote:
|
Take you time Abe. You have already been a huge help.
I was simply pointing it out to chatbum. :) |
Hi there - I completely LOVE your form. I am a complete newbie to PHP. I have all of it working except for one part, and was hoping someone could help me with it. :)
We want the form we created completed before we validate registrations. So, I modified the moderateuser in the phrase manager to say the following: Thank you, {1}! We require one additional step in the registration process. Please click<a href="http://phenomsonline.com/board/newthread.php?do=form"> here</a> and tell us a little more about yourself. instead of: Thank you for registering, {1}. Your account has been submitted for moderation by an administrator and will be activated shortly. You will be notified by email when this happens. To return to the forums, click <a href="{2}.php{3}">here</a>. My problem arises when the new user clicks on the link to the form. It doesn't carry over their username. Consequently, the post will not post to the thread that I have specified for it to reply to. Can anyone help me with this? I'd be most grateful. Thanking you in advance! |
Quote:
As for the were the form info gets posted, i can't help you with out you showing me the settings you did and exacly what you want done and were it goes now instead. |
Thank you for responding, Abe! Everything else is working perfectly, as far as the posting issue. I had it set to reply to a specific thread in our Adminstrator's Corner Forum. Before I modified the moderateuser to point to the form, if I manually entered the location of the form (http://phenomsonline.com/board/newthread.php?do=form) and completed it, it posted just fine.
Now, however, I have no idea where it goes with the Unregistered user. I assume that since it has no permission to post, it just goes off into neverneverland, although it says that the form completed successfully. |
Oh, and I just tried registering a new member and not clicking on the link to the form, but instead going to the index, and it says I'm logged in, so it must be passing that (username) variable somehow, correct? TIA.
|
All times are GMT. The time now is 01:28 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:
|