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)

Deepdog009 07-25-2007 09:08 PM

Quote:

Originally Posted by anuanu (Post 1301612)
I got a question and i have tried playing around with the code to get it to work but nope still cant...

for this code=
Code:

<tr>
<td class="alt2" valign="middle" colspan="3">
<b>$vbtextquestion</b><br />
$vbtextexplain1
<div align="center">
<table cellpadding="0" cellspacing="15" border="0">
<tr>
<td>
$messagearea
</td>
</tr>
</table>
</div>
</td>
</tr>

I have two of those 1 after the other both with different names for the $vbtextquestion and they both show up but only one of them the editor works. The other one acts like a message inside of a gif.

This is the code i have
Code:

<tr>
<td class="alt2" valign="middle" colspan="3">
<b>$vbtextquestion1</b><br />
$vbtextexplain
<div align="center">
<table cellpadding="0" cellspacing="15" border="0">
<tr>
<td>
$messagearea
</td>
</tr>
</table>
</div>
</td>
</tr>

<tr>
<td class="alt2" valign="middle" colspan="3">
<b>$vbtextquestion</b><br />
$vbtextexplain1
<div align="center">
<table cellpadding="0" cellspacing="15" border="0">
<tr>
<td>
$messagearea
</td>
</tr>
</table>
</div>
</td>
</tr>

top one works and i use the entire editor (change font size, style, smilies etc) The other one just acts as a normal fill in the blank and i cant click on any of the font sizes/styles/smilies etc.

How would i fix this?

Anuanu U will need 2 contact ABE1...

U be requesting the same var...{{{$messagearea }}}... Mod required

Im kinda busy with creating some stuff and forms so ABE1 can assist U better...

Im here 2 help with the easy stuff...

Good Luck

SuthernKumfort 07-26-2007 04:03 AM

Quote:

Originally Posted by SuthernKumfort (Post 1299842)
Can you take a look at this screenshot and tell me how to get rid of the black in the boxes in the upper part of the form. You can view the site at www.wmdgaming.com

http://www.wmdgaming.com/forums/imag...5a6fd19d7d.bmp

If someone else could take a look at this screeen shot and not be so vague, I would greatly appreciate it. I have searched high and low to find where to edit the boxes so they wouldnt be black. Can anyone help please?

StudMuffin21 07-26-2007 06:59 AM

SuthernKumfort:

To make those boxes NOT black you need to edit the form template.

To do this go to:
> Styles & Templates
> Style Manager
> Click on "EDIT TEMPLATES" using the drop-down menu from the template you are using for your site appearance
> Find and double click on "form" (about half way down the templates list)
> Open the code

Now from viewing that code, you can edit to make the questions say what ever you want and have the blocks what ever color you want, using the six (6) digit color code. Keep in mind if you modify the questions, you will also need to modify the questions in the formanswers template and the main form question plugin.

StudMuffin21 07-26-2007 07:02 AM

Deepdog009:

Attached are copies of my existing code for the SECOND form. Please keep in mind that for the form2 and formanswers2 templates, the TITLE has a description of "vBulletin" while the other two templates for the form that does work has a title of "Form Hack." I can not for the life of me figure out how to fix that so it also reads "Form Hack." I have a good feeling that is the cause of the problem. But still look at my code if you have time and would like to.

Take your time. On Sunday I leave for a 3 day backpacking trip and will not be able to have computer access until next Thursday, one week from today.

Thanks again for your continued support in this product :) :)

As before, I will remove the attachments when this problem is resolved :)

Deepdog009 07-26-2007 01:39 PM

Quote:

Originally Posted by vFan (Post 1300324)
Does anyone know the answer to my question(s) below? Thx.

vFan give ABE1 a jingle and maybe he might add this in his next updates...

If U have any easy requests I will try 2 help if time permits...

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

StudMuffin21 im checking yo form now...

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

If this Mod helps U get more Members... Please Support it...:)

anuanu 07-26-2007 04:47 PM

Well i found out what my problem was, I was trying to introduce more then 1 vbtextquestion when only 1 was allowed. Changed it to longquestion and everything works perfect for me. (Just have to remember to backup code before i delete it lol...)

anuanu 07-26-2007 04:55 PM

Quote:

Originally Posted by SuthernKumfort (Post 1301890)
If someone else could take a look at this screeen shot and not be so vague, I would greatly appreciate it. I have searched high and low to find where to edit the boxes so they wouldnt be black. Can anyone help please?

If your problem is the boxes being black and not showing your letters/words then you can just add

Code:

<font color="#C0C0C0">
to that section and your words/letters will show up white.

For example:


Code:

<tr><font color="#C0C0C0">
<td class="alt1" valign="middle">
<b>$longquestion1</b><br />
$longexplain1</td>
<td class="alt1" valign="middle" colspan="2">
<textarea rows="20" cols="70" name="longanswer1">$longanswer1</textarea>
</td>


Deepdog009 07-26-2007 09:21 PM

Quote:

Originally Posted by StudMuffin21 (Post 1301955)
Deepdog009:

Attached are copies of my existing code for the SECOND form. Please keep in mind that for the form2 and formanswers2 templates, the TITLE has a description of "vBulletin" while the other two templates for the form that does work has a title of "Form Hack." I can not for the life of me figure out how to fix that so it also reads "Form Hack." I have a good feeling that is the cause of the problem. But still look at my code if you have time and would like to.

Take your time. On Sunday I leave for a 3 day backpacking trip and will not be able to have computer access until next Thursday, one week from today.

Thanks again for your continued support in this product :) :)

As before, I will remove the attachments when this problem is resolved :)

SM21 heres the causes of error message...

//QUESTION 6 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question6 = "What is your occupation?" <... Missing {{{ ; }}}


//QUESTION 7 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question7 = "What is your in-game name?";
&question7 = "Please list the account you play most often.";

Question (7) take a look above and im sure U can C the problem...?

Last its not really a problem, but I think its best 2 add it anyways... *** below code ***

HTML Code:

// Part 1
$vbulletin->input->clean_array_gpc('p', array(
'radioanswer3other' => TYPE_STR,
'answer1' => TYPE_STR,
'answer2' => TYPE_STR,
'answer3' => TYPE_STR,
'answer4' => TYPE_STR,
'answer5' => TYPE_STR,
'answer6' => TYPE_STR,
'answer7' => TYPE_STR,
'answer8' => TYPE_STR,
'answer9' => TYPE_STR,
'answer10' => TYPE_STR,
'dropdownanswer1' => TYPE_STR,
'longanswer1' => TYPE_STR,
'longanswer2' => TYPE_STR,
'longanswer3' => TYPE_STR,
'longanswer4' => TYPE_STR,
'longanswer5' => TYPE_STR,
'longanswer6' => TYPE_STR,
'longanswer7' => TYPE_STR,
'longanswer8' => TYPE_STR,
'longanswer9' => TYPE_STR,
'longanswer10' => TYPE_STR  <... { U dont need comma on last option }
));

Good Luck:up:

StudMuffin21 07-26-2007 10:45 PM

All right, well after fixing what I had overlooked, and a few other things, it is now operational!

I did have to change the "product name" to "vBulletin" cause as I said earlier, the templates had the product name of "vBulletin.'' But it works just fine!!

Thank you so much :D:D:D:D:D:D

Fireproof 07-27-2007 02:53 AM

I'm posting the answers to the form as a New Thread! Is there a way to use one of the answers for the "thread title" that gets posted?


All times are GMT. The time now is 06:31 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.01851 seconds
  • Memory Usage 1,762KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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