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)

rwoscott 05-22-2008 08:11 PM

Quote:

Originally Posted by ccplim (Post 1528007)
Oh my goodness..... my form shown up alright in Internet Explorer (see attached "Internet explorer.jpg) but not in Firefox (see attached "Firefox.jpg). :eek:

What could have gone wrong? :confused: :(

It looks like you may have an incorrectly form comment somewhere. <!-- -->

ccplim 05-23-2008 12:29 AM

Quote:

Originally Posted by Alteran Ancient (Post 1528276)
It's a good thing I refuse to use Firefox. It's an over-rated, worshipless piece of pap that I only ever touch for the plugins people make for it, such as Download managers. I come for their work, not the work of Mozilla.

At least IE8 will come out with Standard mode available.

That may be true but with so many members out there, I cannot force each and everyone of them to use IE. So, well..... no choice, we have to balance between the two. :(

ccplim 05-23-2008 12:30 AM

Quote:

Originally Posted by rwoscott (Post 1528287)
It looks like you may have an incorrectly form comment somewhere. <!-- -->

Maybe? But it works in IE :confused:

I will try and remove the unwanted codes that I have commented out and see how it turn out :)

Deepdog009 05-23-2008 04:31 AM

Quote:

Originally Posted by ccplim (Post 1528485)
Maybe? But it works in IE :confused:

I will try and remove the unwanted codes that I have commented out and see how it turn out :)



ccplim,,,
Use the process of elimination by testing the original form in this mod in IE and FF,,, if all goes well with the original form,,, then next check your new form step by step until you find the issue and correct them or it...

*************************************************

Yes,,, this mod works with 3.7...
ABE1 has version 4.1 listed above,,, download and read instructions...

*************************************************

rwoscott,,,
Upload your form in .txt format and I will try to find the problem in your form...

*************************************************

grimmer,,,
I understand your post...
But can you be more specific about what you are trying to do???
I will help if what you ask,,, isn't difficult...;)

rwoscott 05-24-2008 12:57 AM

Quote:

Originally Posted by Deepdog009 (Post 1528596)
rwoscott,,,
Upload your form in .txt format and I will try to find the problem in your form...

As requested.

Deepdog009 05-24-2008 01:17 AM

Quote:

Originally Posted by rwoscott (Post 1529563)
As requested.


rwoscott,,,
I also need the other two parts...>>> (main template, anwser template)

rwoscott 05-24-2008 01:24 AM

Quote:

Originally Posted by Deepdog009 (Post 1529569)
rwoscott,,,
I also need the other two parts...>>> (main template, anwser template)

Oops.

Deepdog009 05-24-2008 05:23 AM

Quote:

Originally Posted by rwoscott (Post 1529576)
Oops.

rwoscott,,,
I setup your form and tested on my wamp pc server and my online server and all is well...

I didn't see any issues with your form,,, and so I only changed the forum id from 56 to ...>>> formforumid = "2"; and submitted... It posted without problems...

Verify that forumid's exist and try again...


**************************************************

ccplim,,,
I took a deeper look at your main template and yes rwoscott is correct about there are a few errors causing alignment problems and FF issues...

rwoscott 05-24-2008 09:52 AM

Quote:

Originally Posted by Deepdog009 (Post 1529730)
rwoscott,,,
I setup your form and tested on my wamp pc server and my online server and all is well...

I didn't see any issues with your form,,, and so I only changed the forum id from 56 to ...>>> formforumid = "2"; and submitted... It posted without problems...

Verify that forumid's exist and try again...

Very odd, I changed it to forumid "2" as well and still nothing.

:confused:

I only get a PM.

Deepdog009 05-24-2008 09:15 PM

Quote:

Originally Posted by rwoscott (Post 1529867)
Very odd, I changed it to forumid "2" as well and still nothing.

:confused:

I only get a PM.

rwoscott,,,
pm me the link 2 your form,,, and I will give it a go...

Also use the process of elimination by trying a few tests???
  • try the original form without changing the pm name
  • try changing your form pm info to empty and submit it
  • try turning off pm's and submit it
  • try checking your posting permissions

There's always a reason why its do or die...;)

xTerMn8R 05-25-2008 02:55 AM

HI all,
I recently reinstalled a few forms I had created with Forms 4.0, and am running into a few issues... The infamous "Security Token" issue which I was able to fix after reading the posts here... Thank you VERY Much ....

But for some reason MY FORMS dont use the style correctly and stretch out the center Block way over to the right side of the form making it look like crap. I loaded the default "FORM" and that displays fine... I took all the code from the top of the "Form" Template ( all the way done to the </td> after </fieldset> tag ) and inserted it into My Form but to no avail... I still have a stretched out ugly form?
Can someone Point me into the right direction to fix this...

Below is the WebHelp Template Code
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $formtitle</title>
</head>
<body>
$header
$navbar

<!-- main -->
<if condition="$preview">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="75%" align="center">
<tr>
        <td class="tcat">
                Preview
        </td>
</tr>
<tr>
        <td class="alt1">
$preview
</td>
</tr>
</table>
</if>

<br />
<form name="vbform" action="newthread.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
<input type="hidden" value="$formname" name="do" />
<input type="hidden" value="submit" name="action" />

<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="75%" align="center">
<tr>
        <td class="tcat" colspan="2">
                $vboptions[bbtitle] - $formtitle
        </td>
</tr>
<tr>
        <td class="panelsurround" align="center" colspan="2">

        <table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
        <tr>
                <td align="$stylevar[left]">
                        <fieldset class="fieldset" style="margin:0px">
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                $formpurpose

                                        </td>
                                </tr>
                </table>
        </fieldset>
</td>
</tr>
</table>
</td>
</tr>


<table width="75%" font color="#000000" border=8 bordercolorlight="#db8928" bordercolordark="742f07" bgcolor="#dcbd86" align="center">
<tr>
<td class="alt1" valign="middle">
<b>Username</b></td>
<td class="alt1" valign="middle">
<b>$bbuserinfo[username]</b></td>
</tr>
<tr>
<td class="alt1" valign="middle">
<b>Your Listed E-mail</b><br />(Be sure this is correct or your form will not be processed)</td>
<td class="alt1" valign="middle">
<b>$bbuserinfo[email]</b></td>
</tr></table>
<table width="75%" font color="#000000" border=8 bordercolorlight="#db8928" bordercolordark="742f07" bgcolor="#dcbd86" align="center">

<tr>
<td class="alt1" valign="middle">
<b>User Group</b></td>
<td class="alt1" valign="middle">
<b>$bbuserinfo[usergroupid]</b></td>
</tr>
<tr>
<td class="alt1" valign="middle">
<b>User ID</b></td>
<td class="alt1" valign="middle">
<b>$bbuserinfo[userid]</b></td>
</tr>
</table>

<table width="75%" align="center" font color="#000000" border=8 bordercolorlight="#db8928" bordercolordark="742f07" bgcolor="#dcbd86">
<td class="alt1" valign="middle">
<b>$dropdownquestion1</b>:
</td>
<td class="alt1" valign="middle" colspan="1">
<select name="dropdownanswer1">
<option value="$dropdownchoice1a" <if condition="$dropdownchoice1a == $dropdown1">selected="selected"</if>>$dropdownchoice1a</option>
<option value="$dropdownchoice1b" <if condition="$dropdownchoice1b == $dropdown1">selected="selected"</if>>$dropdownchoice1b</option>
<option value="$dropdownchoice1c" <if condition="$dropdownchoice1c == $dropdown1">selected="selected"</if>>$dropdownchoice1c</option>
<option value="$dropdownchoice1d" <if condition="$dropdownchoice1d == $dropdown1">selected="selected"</if>>$dropdownchoice1d</option>
<option value="$dropdownchoice1e" <if condition="$dropdownchoice1e == $dropdown1">selected="selected"</if>>$dropdownchoice1e</option>
<option value="$dropdownchoice1f" <if condition="$dropdownchoice1f == $dropdown1">selected="selected"</if>>$dropdownchoice1f</option>
<option value="$dropdownchoice1g" <if condition="$dropdownchoice1g == $dropdown1">selected="selected"</if>>$dropdownchoice1g</option>
<option value="$dropdownchoice1h" <if condition="$dropdownchoice1h == $dropdown1">selected="selected"</if>>$dropdownchoice1h</option>
</select></td>
</tr></table>
<table width="75%" align="center" font color="#000000" border=8 bordercolorlight="#db8928" bordercolordark="742f07" bgcolor="#dcbd86">
<tr>
<td class="alt1" valign="Top">
<b>$longquestion1</b><br />
$longexplain1</td>
<td class="alt1" valign="Top" colspan="2">
<textarea rows="20" cols="50" name="longanswer1">$longanswer1</textarea>
</td>
</tr></table>
<br>
<table width="75%" bgcolor="#dcbd86" align="center" font color="#000000" border="4" bordercolorlight="#db8928" bordercolordark="742f07">
<tr>
<td>After clicking the<b>"Submit"</b> button you will be redirected to Super Skunk's Home page. This will indicate that your request for assistance has been processed for attention. Thank you...</td>
</tr>
</table><br>
</table>
</div>
</td>
</tr><br><br>
<tr>
<td valign="top" colspan="3">
<p align="center">
<input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="submit" value="Preview" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="reset" value="Reset" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" />
</p></td></tr>
</table>

</form>

$footer
</body>
</html>

Thank you,
Tom
www.superskunkracing.org

CampinCarl 05-25-2008 06:38 AM

How do i make it so there is a drop down menu, and if the user picks one of the choices, it posts the form in the forum indicated by the drop down menu?

xTerMn8R 05-25-2008 03:12 PM

Never Mind I figured it out, it was just getting my Colspans set correctly in the Templates, Wierd how they worked before but anyway there all done and back to Normal, LOL probably better then before...

Tom

CampinCarl 05-25-2008 03:32 PM

my problem is still unsolved!

Deepdog009 05-26-2008 02:10 AM

Quote:

Originally Posted by CampinCarl (Post 1530686)
How do i make it so there is a drop down menu, and if the user picks one of the choices, it posts the form in the forum indicated by the drop down menu?


CampinCarl,,,

goto this link and yee shall find what yee ask...>>> Dropdowns

************************************************** **********


xTerMn8R,,,
glad you resolved your issue...

Also table and longanwser settings can cause some issues...;)

GPTB 05-29-2008 10:36 PM

Does this also work with vb 3.7.1 - the new release?

If this works in 3.7, then I'd like to suggest a thread is opened for this hack in the sub-forum for 3.7 mods too :)

HabboHut 05-30-2008 06:29 AM

Not sure if this has been asked before, but is it possible that you can just have normal answer boxes for all the form fields? This is what I'm trying to do, but can't work out how...

ccplim 05-30-2008 07:09 AM

Quote:

Originally Posted by HabboHut (Post 1535952)
Not sure if this has been asked before, but is it possible that you can just have normal answer boxes for all the form fields? This is what I'm trying to do, but can't work out how...

Yes you can. And this should be pretty simple and straight forward :)

edongski 06-02-2008 02:54 PM

I wish that it would be updated to use the prefixes in 3.7.1

vrokar 06-02-2008 07:42 PM

Quote:

Originally Posted by CampinCarl (Post 1530686)
How do i make it so there is a drop down menu, and if the user picks one of the choices, it posts the form in the forum indicated by the drop down menu?

Dont have the code handy at work. But set your forumid to a dropdown answer.

EX $forumid = $dropdown1

HabboHut 06-04-2008 07:47 AM

For some reason, Administrators can see the attachment option at the bottom, but normal users cannot. How can I fix this?

Deepdog009 06-04-2008 09:14 PM

Quote:

Originally Posted by HabboHut (Post 1540398)
For some reason, Administrators can see the attachment option at the bottom, but normal users cannot. How can I fix this?

HabboHut,,,
  • Goto admincp and look 4 usergroup options area...
  • Open and make changes to only groups that U wish to access page...

**************************************************

I forgot about the internal usergroup option within this mod...
Look in the PLUGIN code at the top and edit the usergroup option there to allow other members grps...

CampinCarl 06-06-2008 05:13 AM

I cant get multiple forms to work :/
i get this error when i try:
Code:

Parse error: syntax error, unexpected '<' in /usr/local/apache/htdocs/deathmatch/communitysite/index/forums/newthread.php(73) : eval()'d code on line 1

ionian 06-06-2008 06:37 AM

Quote:

Originally Posted by edongski (Post 1538831)
I wish that it would be updated to use the prefixes in 3.7.1

Yes..! It would be great update for me too :)

Deepdog009 06-08-2008 01:04 AM

Quote:

Originally Posted by CampinCarl (Post 1542067)
I cant get multiple forms to work :/
i get this error when i try:
Code:

Parse error: syntax error, unexpected '<' in /usr/local/apache/htdocs/deathmatch/communitysite/index/forums/newthread.php(73) : eval()'d code on line 1

CampinCarl,,,
That line of code helps about 10%...

Can U give a bit more info please and I will try to assist U???

absy 06-09-2008 01:43 PM

Loved using this, cant get it to work at all in 3.7.1. Getting a security token error whenever anyone tries to submit a form. Does anyone know how to stop this from happening?

Deepdog009 06-09-2008 06:25 PM

Quote:

Originally Posted by absy (Post 1545002)
Loved using this, cant get it to work at all in 3.7.1. Getting a security token error whenever anyone tries to submit a form. Does anyone know how to stop this from happening?


*************************************************


absy,,,
  • Download 4.1 ver...
  • Read Instructions on how to update S.Token...

*************************************************


Folks I've noticed that IE7 has a minor issue with ATTachmenTs... N-E-Body???
If I can see the issue I will post on why its doing that...

ravelink69 06-11-2008 01:49 PM

anyone getting this to work on 3.7.1?

Deepdog009 06-11-2008 10:48 PM

Quote:

Originally Posted by ravelink69 (Post 1546680)
anyone getting this to work on 3.7.1?


ravelink69,,,
YES,,, its working...

Which browser are U using???

Post a link to your FORM???

Attitude5ire 06-15-2008 05:48 PM

Not sure if this was asked before did a search and saw vague posts.
Is there any tweaks to do by which when it sends out email.
We can get the FROM: address to be email address of Username which sent the form.

Any help regarding this would be helpful.

redraider 06-17-2008 02:04 PM

In vbulletin 3.7x ...there is a new features to allow for thread "tagging" ...is there a way to have user input tags as a part of the form?

Smiry Kin's 06-18-2008 12:05 AM

wtf, why is this so basic? what happen to the old version where you could add forms via ACP? im sure u cud..

Smiry Kin's 06-18-2008 12:20 AM

anyone got this to intergrate with vbadvanced? cant seem to do it?..

i cant get it to work. its intalled it comes up, but i tested it, i dont recieve email/pm/thread

Deepdog009 06-18-2008 10:34 PM

Quote:

Originally Posted by Attitude5ire (Post 1550165)
Not sure if this was asked before did a search and saw vague posts.
Is there any tweaks to do by which when it sends out email.
We can get the FROM: address to be email address of Username which sent the form.

Any help regarding this would be helpful.


************************************************** *******


Attitude5ire,,,
I haven't tryed messing with the email yet,,, if I ever get lots of free time,,, I will look at email functions... ABE1 can help you better...



************************************************** *******


redraider,,,
The way this mod is setup,,, Its not easy making it more easy...
Believe me i've played with it a bit and afterwards,,, I've had to take a long break away to recoup brain cells... YES it could be done,,, but it ain't going to be easy brother...:eek:


************************************************** *******


Smiry Kin's,,,
This mod works ok...

Can you upload your form in TXT mode?
I will help U get er up and rolling if I can...

Attitude5ire 06-19-2008 02:07 PM

Thnx for reply Deep, ill scratch around stuff and see anythin i can come up with.. I did find the Vbmail function and the variables used, it uses the generic support email of board in FROM field. i jus need to change it as make it parse the senders email field.
vbmail function is $from='email'. Thnx for followup though.. not sure if ABE1 is supportin this thread.. but maybe he can post a better solution.

Sofia 06-20-2008 10:58 AM

Thanks a lot ! Great hack !!

Deepdog009 ->
I've a problem :

I alter the answer template and I added some BBcode.

Example :
[.B]$answer1[./B]


But I can't use BBcode around variable. I just want to have answer bold.

Thank you for your help :)

ccplim 06-20-2008 12:19 PM

Quote:

Originally Posted by Sofia (Post 1554420)
Thanks a lot ! Great hack !!

Deepdog009 ->
I've a problem :

I alter the answer template and I added some BBcode.

Example :
[.B]$answer1[./B]


But I can't use BBcode around variable. I just want to have answer bold.

Thank you for your help :)

Hi Sofia,

Try putting a space just before and after $answer1 as shown in my example given below. It works for me :)

[.B] $answer1 [./B]

Sofia 06-20-2008 12:36 PM

Quote:

Originally Posted by ccplim (Post 1554478)
Hi Sofia,

Try putting a space just before and after $answer1 as shown in my example given below. It works for me :)

[.B] $answer1 [./B]

Yeahhhh !!!

It works now :) Thanks a lot, ccplim ;)

ccplim 06-21-2008 02:17 AM

Quote:

Originally Posted by Sofia (Post 1554488)
Yeahhhh !!!

It works now :) Thanks a lot, ccplim ;)

You are welcome! :) With that solution given to you, it actually resolved another similar question that I have raised to deepdog009 two days back.

Man.... I have been messing with html and ajax for my form that I completely forgot about the bb codes :p

Smiry Kin's 06-23-2008 12:38 PM

anyone edited theres to look nicer lay-out???

also how do i intergate this into vbadvanced... i cant find away
regards


All times are GMT. The time now is 03:41 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.02654 seconds
  • Memory Usage 1,889KB
  • 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
  • (3)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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