vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

Intex 06-12-2004 08:14 AM

Nice1 Erwin - I used your hack from 2.x. Good job :).

[high]* Intex will add over the weekend[/high]

MindTrix 06-12-2004 11:47 AM

Sounds super sweet, im going to try this out. Ohh and BrentWilson we cant see your demo because it asks us to sign up

nexialys 06-12-2004 11:54 AM

good work Erwin.... btw i lost a client by your fault... ;) but it's for good, i was not to do it as well as your hack!

KTBleeding 06-12-2004 01:05 PM

Quote:

Originally Posted by KTBleeding
Cool!

Is there anyway to make it so registered members have to have atleast 10 posts to fill out a certain form?

I got unlazy and attempted the conditionals myself and got it working. If anyone else wants to make it so users have to have a certain post count to be able to fill out the form, do this.

In the "form" template..

Find:
HTML Code:

                <tr>
                  <td> $formpurpose </td>
                </tr>
              </table>
              </fieldset></td>
          </tr>
        </table></td>
    </tr>

Add After:
HTML Code:

<if condition="$bbuserinfo[posts] >= 10">
(change 10 to whatever post count you want required)

Now find:
HTML Code:

</form>
Add After:
HTML Code:

<else />
    <tr>
      <td class="alt2" valign="middle">TEXT YOU WANT UNQUALIFIED USERS TO SEE.</td>
    </tr>
  </table>
</td>
</tr>
</table>
</if>


Works great!
[high]* KTBleeding clicks install[/high]

BamaStangGuy 06-12-2004 01:30 PM

Quote:

Originally Posted by MindTrix
Sounds super sweet, im going to try this out. Ohh and BrentWilson we cant see your demo because it asks us to sign up

Fixed it sorry about that.

MTHA if you need help on customizing it let me know

romanticyao 06-12-2004 04:36 PM

thanx erwin~ i have waited so long for this one~:nervous:

BarHopper 06-12-2004 09:29 PM

This sia stupid question, but where are the two templates?

Erwin 06-12-2004 10:08 PM

Quote:

Originally Posted by BarHopper
This sia stupid question, but where are the two templates?

They are the 2 text files in the ZIP files. :) "form" and "formanswers".

KTBleeding 06-12-2004 10:08 PM

Quote:

Originally Posted by BarHopper
This sia stupid question, but where are the two templates?

Included in the zip. form.txt and formanwers.txt (I believe, I'm at work right now and don't have access to see if that's correct.)

KTBleeding 06-12-2004 10:12 PM

Quote:

Originally Posted by Erwin
They are the 2 text files in the ZIP files. :) "form" and "formanswers".

Beat me to it. :(


All times are GMT. The time now is 09:46 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.01346 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (5)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
  • (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