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 03-29-2007 11:13 AM

Quote:

Originally Posted by CrashfAB (Post 1214048)
Very interesting. So I have an introduction area where I like new users to post in. So can I use this hack for just that area then?

Yeap there are ways to use this form there, but you might want to ask the author about that. Using links in header to funnel to forms is workable.

Im putting together a forms pack, but I need a image verification first. Milk Carton is on the ball with that add-on.

Good Luck

sweede 03-30-2007 01:57 PM

I run a Warcraft Guild website. I use this hack.mod so that other wow players can post their applications to our guild. However we have some people that despite forcing a preview, still manage to submit incomplete or two word response applications.

What i want to do is modify the plugin script so that it checks to see if a user has posted an application already in that forum and exit saying "you can only apply to guild once every 30 days".

dutchbb 03-31-2007 08:07 PM

Quote:

Originally Posted by dutchbb (Post 1207530)
Thanks for the reply and yes I'm sure because I tried it as an administrator. It's not posted IN a thread but posted AS a thread in a selected forum. I can provide access if needed so you can check my settings. Please let me know.

????

MAME 04-03-2007 11:07 PM

How would I delete the long answer question in the form? I seem to be missing something?

Abe1 04-05-2007 04:24 AM

Quote:

Originally Posted by MAME (Post 1219341)
How would I delete the long answer question in the form? I seem to be missing something?

You have to edit the templates also.

Deepdog009 04-05-2007 11:31 AM

vBull 3.6.8 seems to be having some issues with posting... should up uninstall and install again?

vBull 3.5.4 is working koooooooolllll.

Deepdog009 04-05-2007 11:35 AM

Quote:

Originally Posted by MAME (Post 1219341)
How would I delete the long answer question in the form? I seem to be missing something?


HTML Code:

<tr>
<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>
</tr>

Find this in main template and remove

Also as ABE1 says you must modify both templates in ADMINCP temp area and then change plugin code here...>

HTML Code:

// Part 1
$vbulletin->input->clean_array_gpc('p', array(
'answer1' => TYPE_STR,
'answer2' => TYPE_STR,
'answer3' => TYPE_STR,
'answer4' => TYPE_STR,
'answer5' => TYPE_STR,
'radioanswer1' => TYPE_STR,
'radioanswer1other' => TYPE_STR,
'radioanswer2' => TYPE_STR,
'radioanswer2other' => TYPE_STR,
));

// Part 2
$answer1 = $vbulletin->GPC['answer1'];
$answer2 = $vbulletin->GPC['answer2'];
$answer3 = $vbulletin->GPC['answer3'];
$answer4 = $vbulletin->GPC['answer4'];
$answer5 = $vbulletin->GPC['answer5'];
$radioanswer1 = $vbulletin->GPC['radioanswer1'];
$radioanswer1other = $vbulletin->GPC['radioanswer1other'];
$radioanswer2 = $vbulletin->GPC['radioanswer2'];
$radioanswer2other = $vbulletin->GPC['radioanswer2other'];

Long answer is missing here,,, remove all lines not used in form.

Good Luck

Abe1 04-05-2007 12:40 PM

Quote:

Originally Posted by Deepdog009 (Post 1220278)
vBull 3.6.8 seems to be having some issues with posting... should up uninstall and install again?

vBull 3.5.4 is working koooooooolllll.

when was 3.6.8 released???????

Abe1 04-05-2007 01:20 PM

Quote:

Originally Posted by Shazz (Post 1220330)
But if you must know Abe1 it was Mar 1st 2007 :)

As far as I know, the last version the the 3.6.x is 3.6.5.

Shazz 04-05-2007 01:35 PM

oops thought he said 3.5.8 :)


All times are GMT. The time now is 09:09 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.02205 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_html_printable
  • (6)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