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 08-05-2007 12:23 AM

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?



SuthernKumfort,

I extracted the code thats causing the black bkgd issue that U want 2 correct...
Look 4 this {{{ <td class="alt1" colspan="3"> }}} code and edit class options in Radioquestions 1,2 and 3...

HTML Code:

<tr>
<td class="alt1" colspan="3">
<b>$radioquestion1</b>
</td>
</tr><tr>
<td><input type="radio" name="radioanswer1" value="$radiochoice1a" <if

condition="$radiochoice1a == $radioanswer1">
checked="checked"</if> />

$radiochoice1a </td>
<td><input type="radio" name="radioanswer1" value="$radiochoice1b" <if

condition="$radiochoice1b == $radioanswer1">
checked="checked"</if> />

$radiochoice1b </td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="alt2" colspan="3">
<b>$radioquestion2</b>
</td></tr><tr>
<td><input type="radio" name="radioanswer2" value="$radiochoice2a" <if

condition="$radiochoice2a == $radioanswer2">
checked="checked"</if> />

$radiochoice2a </td>
<td><input type="radio" name="radioanswer2" value="$radiochoice2b" <if

condition="$radiochoice2b == $radioanswer2">
checked="checked"</if> />

$radiochoice2b </td>
<td><input type="radio" name="radioanswer2" value="$radiochoice2c" <if

condition="$radiochoice2c == $radioanswer2">
checked="checked"</if> />

$radiochoice2c </td>
</tr>
<tr>
<td class="alt1" colspan="3">
<b>$radioquestion3</b>
</td>
</tr><tr>
<td><input type="radio" name="radioanswer3" value="$radiochoice3a" <if

condition="$radiochoice3a == $radioanswer3">
checked="checked"</if> />

$radiochoice3a </td>
<td><input type="radio" name="radioanswer3" value="$radiochoice3b" <if

condition="$radiochoice3b == $radioanswer3">
checked="checked"</if> />

$radiochoice3b </td>
<td>If $radiochoice3a, please explain: <input type="text"

value="$radioanswer3other" name="radioanswer3other" />
</td>
</tr>


1.) change td class 2 alter bkgd color
2.) add css style in header of template

Example code
***********
<style>
.radio button class {
background: #FFFFFF;
}
</style>

above is added 2 header area of template

***********

<td class="alt1" colspan="3"> before changes

<td class="radio button class" colspan="3"> after changes


edit all three radioquestion td classes in radioquestions 1,2 and 3...

I hope this gets U over the hump;)

Tralala 08-05-2007 05:04 AM

Quote:

Originally Posted by Deepdog009 (Post 1309976)
Tralala back from out of town...

Sure U should be able 2 do all of that, by making a few modifications using conditionals...

Check some of the conditional mods here...


Do a search on conditionals here and over at vBulletin.com...

I hope that helps U ;)

Thanks...
I discovered Abe1's excellent "Force Users to Read a Thread" mod:
https://vborg.vbsupport.ru/showthread.php?t=151737

So I am hoping there's a way to "force users to fill out the form!"

shanevas2 08-05-2007 07:20 AM

Thank You Grunt For Link!
And Thanks For Fixing My File Deepdog009

Deepdog009 08-05-2007 02:28 PM

Quote:

Originally Posted by shanevas2 (Post 1310187)
Thank You Grunt For Link!
And Thanks For Fixing My File Deepdog009


Shanevas2 Im glad U got it sorted out and Alive and Kicking...

I liked your earlier post about { how the hell do i install it } Im still laughing on that one...:)

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

Tralala thats great U found what U where looking 4...:up:

ABE1 has mega mods that help all...
Theres another modder that uses conditionals alot and has useful hacks... check Logician mods...

Tralala 08-05-2007 04:08 PM

Quote:

Originally Posted by Deepdog009 (Post 1310406)
Tralala thats great U found what U where looking 4...:up:

ABE1 has mega mods that help all...
Theres another modder that uses conditionals alot and has useful hacks... check Logician mods...

Yes, cool, thanks. Since Abe1 wrote both I am hoping he can provide clues to integrate them. All else fails I suppose I can just "force users to read the thread" that tells them about the form.

I will search on Logician now, too. Thanks again!

SuthernKumfort 08-07-2007 04:49 AM

Quote:

Originally Posted by Deepdog009 (Post 1309976)
Tralala back from out of town...

Sure U should be able 2 do all of that, by making a few modifications using conditionals...

Check some of the conditional mods here...


Do a search on conditionals here and over at vBulletin.com...

I hope that helps U ;)



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

SuthernKumfort Im working on your form and I have a Q???... bkgd color?


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

shanevas2 im still not sure what you're asking 4, but maybe its this...>>>

http://www.yoursite/forum/newthread.php?do=name of your form here ??? :erm:

White background, black letters!

Deepdog009 08-07-2007 02:38 PM

Quote:

Originally Posted by SuthernKumfort (Post 1311655)
White background, black letters!


Look @ this POST

SuthernKumfort 08-08-2007 05:41 AM

Quote:

Originally Posted by Deepdog009 (Post 1311923)
Look @ this POST

I am totally confused. I mean TOTALLY. I got it all messed up now and most of my form is even missing!

Deepdog009 08-08-2007 12:02 PM

Quote:

Originally Posted by SuthernKumfort (Post 1312443)
I am totally confused. I mean TOTALLY. I got it all messed up now and most of my form is even missing!


SuthernKumfort I think its best that U go back 2 your post that has your form code, copy and paste it back 2 your main form template, next if U look closely at my post about editing your form 2 change background colors in only Radioquestions 1,2 and 3, it only shows edit the CLASS of those three RADIO buttons listed...

The only area of that template that U will edit is here...>>>
**********************************************
Edit only Radioquestions 1,2 and 3

<td class="alt1" colspan="3"> before changes

<td class="radio button class" colspan="3"> after changes


That should fix all yo troubles...

Tralala 08-08-2007 02:34 PM

The Form Hack seems to be working okay on my forum. I set up a job request sheet (for volunteer hours) and everyone seems to be liking it. The form results are posted into a thread.

One issue I note is that the "last post" for this thread, on FORUMHOME doesn't seem to accurately update and reflect what the last post actually is. I've had 25 responses so far and the "last post" is displaying the 22nd one.


All times are GMT. The time now is 11:15 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.02381 seconds
  • Memory Usage 1,766KB
  • 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
  • (1)bbcode_html_printable
  • (8)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