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)

mhc1576 03-21-2007 10:22 PM

Yes it works perfect on 3.6.5

stwilson 03-22-2007 01:29 AM

Quote:

Originally Posted by Abe1 (Post 1208747)
I'm sure it's possible but I can't work on it for you.

Are you kidding? Why not? I really need it!!!

Just kidding. ;) I was curious if this was something I could do without modifying the code in this MOD. I will install it and play around to see if I can get it to do what I posted. Thanks for the reply.

Deepdog009 03-22-2007 01:43 AM

Here is a free form to use thannnks to ABE1 and Milk Carton add-on.

I placed all info in zip file so read install file. It should be easy to get it going and you can make changes as needed. I will try to post more soon as I have a change.

Zip has all html files in it with all template and plugin info inside.

Good Luck!;)

airborneCAL 03-23-2007 04:21 PM

This is going to sound very stupid, but what is the "hook" and where is it so I can get this hack going? Sorry for asking such a simple question.

blind-eddie 03-24-2007 03:28 AM

admincp/productmanager/Plugins.....

fotografik 03-24-2007 08:02 AM

Can this hack be used to insert standard, form-based replies into any thread?

Eg. In a specified forum, members reading a thread can click REPLY and then use the forms template to reply.

The instructions and descriptions only say that can insert into "any thread of your choice" which kind of implies that the thread is pre-specified by the system and not a thread where the member wants to post into.

Some clarification would be appreciated.

blind-eddie 03-24-2007 10:16 AM

It already does that, you pick which thread it goes to. Then from there it can be replied on.

Deepdog009 03-25-2007 12:14 AM

Here are 2 more free forms to use thannnks to ABE1 and Milk Carton add-on.

I placed all info in zip file so read install file. It should be easy to get it going and you can make changes as needed. I will try to post more soon as I have a chance.

Zip has all html files in it with all template and plugin info inside.

Rename both templates if needed and add plugin.

One is CSS and the other is Standard. CSS may need some code cleaning, but its the best I could do. My html and php work is still medium.

Enjoy ;)

TheMilkCarton 03-25-2007 01:27 PM

@Deepdog009..

You should have waited until I released the Image Verification add-on for this form hack. :)

And actually, for simplicity's sake I got rid of the redirect options.. but I guess I'll have to find a way to reincorporate them. ;)

FRANKTHETANK 2 03-25-2007 06:09 PM

ok listen, i have messed with this for a week now and cant get it to work. I hate editing codes caz i never do it right. Will some one please make on for me. I would greatly appreciate it. I am helping my buddy get his site up for www.westvegagurlz.com and we need this form A.S.A.P.. You can email the code to gamehaxz@yahoo.com. Or contact me on aim soulweaver2006. THANK YOU

here is the outline i am looking for

Name -

D.O.B. -

Address -

Email -

Have you ever been a model before, if yes explain -

Do you have a online portfolio, if yes what is the URL -

Please write down a paragraph that tells us about you -

-------------------------------------------------------------------------------------------------------------------

Deepdog009 03-26-2007 01:17 AM

FRANKTHETANK 2 dont worry dude I shall put forth the effort and maketh your form.

Hope this one helps...

Deepdog009 03-26-2007 01:27 AM

I say Milk Carton

I've been waiting for your update sir, and yes I will wait until you complete add-on hack before uploading more forms.

I've been getting many spammers and spiders submitting to forms. Your image verification would help greatly.


Looking foward to using it soon. ;)

Heres one for the road... CSS HOLY GRAIL!

TheMilkCarton 03-26-2007 03:58 AM

Well I apologize.. :) I haven't exactly had time or patience to test it out on other form types like PM, email, etc. Since it would require a lot of time setting up each form, since they're not exactly user friendly. :)

I could release it as is, but then I might be getting a million PMs asking why it doesn't work.

fotografik 03-26-2007 04:07 AM

Quote:

Originally Posted by blind-eddie (Post 1210967)
It already does that, you pick which thread it goes to. Then from there it can be replied on.

Thats where I am a bit confused - *I* do not want to direct it to any particular thread, rather the *member* clicks REPLY and used a form to compose his reply into the thread which he is currently in.

Here is the scenario.

a) Thread is created using forms template and posted in public - call it Thread X.
b) Members can clics REPLY in the thread and uses another form to post their replies into Thread X.

Thus, there are two forms used - one to CREATE the thread and one to REPLY within the thread.

The way that the feature is touted is that upon creation of the forms, hitting REPLY will add the reply to a thread (call it Thread A) which *I* specified during the forms creations eg all forms-based replies go into Thread A.

TheMilkCarton 03-26-2007 04:22 AM

You can use an if conditional to change the Reply button into newreply.php?do=FORM in that specific thread. Or at least you should be able to.

I did it in a specific forum to turn the New Thread button into newthread.php?do=FORM.

If your users are really smart though, they could edit the URL to submit a regular reply, bypassing the form.

And to answer your more general question, yes you can set the form up to do a New Reply instead of a New Thread.

j_86 03-27-2007 09:19 AM

Hi everyone, what is the status of this mod with the latest vBulletin 3.6? Is it fully functional?

blind-eddie 03-27-2007 08:10 PM

I have one of mine set up to a Thread in our private forum. This way my members can vote if a poll was added or post a reply. As the applicant doesnt have access to our private forums, I dont want them to see what was posted by my members if they get accepted. So, I set up that particular thread that when the thread is closed, it gets set to my admins forums. That way it is closed.



Quote:

Originally Posted by fotografik (Post 1212419)
Thats where I am a bit confused - *I* do not want to direct it to any particular thread, rather the *member* clicks REPLY and used a form to compose his reply into the thread which he is currently in.

Here is the scenario.

a) Thread is created using forms template and posted in public - call it Thread X.
b) Members can clics REPLY in the thread and uses another form to post their replies into Thread X.

Thus, there are two forms used - one to CREATE the thread and one to REPLY within the thread.

The way that the feature is touted is that upon creation of the forms, hitting REPLY will add the reply to a thread (call it Thread A) which *I* specified during the forms creations eg all forms-based replies go into Thread A.


CrashfAB 03-27-2007 10:40 PM

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?

AK47 Nemesis 03-28-2007 06:50 PM

Hi, nice hack! But i have 1 question, is it possible to use more text areas like the top question? Because i want to use it for a tournament sign up form, but i need more text fields for that. Can someone help me?

Deepdog009 03-29-2007 11:10 AM

Quote:

Originally Posted by AK47 Nemesis (Post 1214676)
Hi, nice hack! But i have 1 question, is it possible to use more text areas like the top question? Because i want to use it for a tournament sign up form, but i need more text fields for that. Can someone help me?

AK47 Nemesis take a look at pages 25, 26...
Form pics listed showing different types of forms that can be created using this hack.
ABE1 has a pic on the main instructions also.

I posted some downloads to help some with creating forms and understanding how to make advanced forms.

Good Luck

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 :)

Deepdog009 04-06-2007 08:36 PM

My bad, i meant 3.6.5

Im using test board to verify this now. Maybe its another hack causing issue.

By the way can somebody help Milk Carton with the image verification add-on?

Good Luck

Fixed it...

Deepdog009 04-06-2007 11:08 PM

Use bbcodes from smilies fields to add some color and flair to PREVIEWS and posts...

Upload smilies and insert into your answers template

Take a Peek...
;)

dutchbb 04-08-2007 09:27 AM

Quote:

Originally Posted by dutchbb (Post 1206332)
Hello Abe, can you PLEASE tell me why it doesn't work anymore. Ihave now uninstalled/installed it over and over again but the same problem keeps coming back. The form apears, I can fill it in , but after submit nothing get's posted, there is just no thread made. And yes I have selected a forum where the thread needs to be posted in. How is this possible? I used this before for a year and it always worked , it's driving me nuts?!

Ok, I finally found the cause of this problem. It's because this mod doesn't work together with the form mod because it interferes in the posting process. It took me days to found this out but I'm happy to get it solved now. Hopefully both mods can work together in future updates some day...

hal05 04-08-2007 05:11 PM

This has to be the best mod ever!

Deepdog009 04-09-2007 12:02 AM

Im still having a few troubles getting this fully loaded, but here it is NE-ways.

Hope this helps...

HTML Code:

<script type="text/javascript">
function popup(url){
  window.open(url,"","width=275,height=250,scrollbars,");
  return false;
}
</script>

<a href="http://yourlinktocalendarpopuppage.com" onclick="return popup(this.href);">One</a>




<a href="" onclick="return popup(this.href);"><img src="/images/calendar1.gif" alt="Submit Events" width="20" height="20" border="0"></a>

Use this in body of page.

This is very useful 4 many things. Im using it to send folks to CALENDAR events. Not fully perfected.

Good Luck

marlita 04-10-2007 06:21 PM

If a user fills this out & it goes into a thread, are they automatically subscribed to that thread too? What about the forum?

Deepdog009 04-10-2007 06:28 PM

Quote:

Originally Posted by marlita (Post 1224358)
If a user fills this out & it goes into a thread, are they automatically subscribed to that thread too? What about the forum?


I haven't played around very much with replys to forums, but Im sure if their a member of your forum and forums is set to subscibe, then it should work.

Marlita use your test board to verify.

Good Luck

Deepdog009 04-10-2007 06:34 PM

If you dont like the standard form in vBull then use CSS forms to help spice um up. Make changes as needed...

HTML Code:

<style type="text/css">
body{
        font-family: Arial,Helvetica,sans-serif;
        font-size: 12px;
        background: #CCD8FF;
        color: #000000;
}
.outside{
        color: #000000;
}
.radio_button_question{
        font-weight: bold;
        vertical-align: top;
}
.radio_button_answer{
        padding-right: 5px;
}
.text_field_question{
        font-weight: bold;
        vertical-align: top;
}
.file_upload_question{
        font-weight: bold;
        vertical-align: top;
}
.segment_header{
        background: #3265FF;
        color: #ffffff;
        background-repeat: repeat;
}
.text_area_question{
        font-weight: bold;
}
.check_box_question{
        font-weight: bold;
}
.check_box_answer{
        padding-right: 5px;
}
a{
        color: #0000FF;
}
a:visited{
        color: #0000FF;
}
.matrix_question{
        font-weight: bold;
}
.matrix_header{
        font-weight: bold;
        background: #3265FF;
        background-repeat: repeat;
        color: #ffffff;
}
.matrix_subquestion{
        font-weight: bold;
}
.matrix_answer_dark{
        font-weight: bold;
        background: #273254;
        color: #ffffff;
}
.matrix_answer_light{
        font-weight: bold;
        background: #4F65A9;
        color: #ffffff;
}
.matrix_td{
        border-right-width: 1px;
        border-right-color: #000000;
        border-right-style: solid;
}
.multi_scale_question{
        font-weight: bold;
}
.multi_scale_break{
        background: #3265FF;
        background-repeat: repeat;
}
.ranking_question{
        font-weight: bold;
}
.ranking_dark{
        background: #f0f0f0;
}
.text_area_matrix_question{
        font-weight: bold;
}
.page_break{
        background-color: #0000ff;
        color: #ffffff;
}
.end_of_form{
        background-color: #000000;
        color: #ffffff;
}
.left_question{
        text-align: right;
}
.right_question{
        text-align: right;
}
.form_table{
        background: #99B2FF;
        border-width: 1px;
        border-color: #000000;
        border-style: solid;
}

</style>

Good Luck!

rayw 04-11-2007 07:29 AM

I'm trying to modify this form a little bit so that I have a drop down box with a list of 2-3 forums that users can choose to post the information too. I'm not an experienced programmer so I'm having a little trouble getting this working.

Would anyone be willing to post exactly what needs to be modified for this to work correctly?

THanks! :)

Deepdog009 04-11-2007 11:36 AM

Quote:

Originally Posted by rayw (Post 1224763)
I'm trying to modify this form a little bit so that I have a drop down box with a list of 2-3 forums that users can choose to post the information too. I'm not an experienced programmer so I'm having a little trouble getting this working.

Would anyone be willing to post exactly what needs to be modified for this to work correctly?

THanks! :)

In answer template add another...>
$dropdownquestion4
$dropdownanswer4


in proper order, you may have to shift stuff around a bit...

HTML Code:

$formtitle

$radioquestion1
$bbuserinfo[username]

$question1
$answer1

$question2
$answer2

$radioquestion1
$radioanswer1

$radioquestion2
$radioanswer2

$radioquestion3
$radioanswer3

$radioquestion4
$radioanswer4

$radioquestion5
$radioanswer5

$radioquestion6
$radioanswer6

$radioquestion7
$radioanswer7

$dropdownquestion1
$dropdownanswer1

$dropdownquestion2
$dropdownanswer2

$question3
$answer3

$radioquestion8
$radioanswer8

$radioquestion9
$radioanswer9

$radioquestion10
$radioanswer10

$radioquestion11
$radioanswer11

$question4
$answer4

$dropdownquestion3
$dropdownanswer3

$question5
$answer5

$question6
$answer6

------------------------------------------------------
$vbtextquestion

$vbtextanswer

------------------------------------------------------



All times are GMT. The time now is 04:20 AM.

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.01946 seconds
  • Memory Usage 1,858KB
  • 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
  • (5)bbcode_html_printable
  • (13)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