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)

aflax045 06-25-2008 10:45 PM

Strange Issue. I get a security token error when using the form with a registered user, but not when I use it with an unregistered user. This makes it kind of useless. Any thoughts on why this is happening?

Deepdog009 06-26-2008 03:34 AM

Quote:

Originally Posted by Smiry Kin's (Post 1556788)
anyone edited theres to look nicer lay-out???


also how do i intergate this into vbadvanced... i cant find away
regards

*********************************************
Smiry Kin's,,, this mod works by way of http://yoursite.com/forum/newthread.php?do=form

That's the only link that activates all forms in forumhome newthreads...

What do you mean about it working in CMPS = vbadvanced???????

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

aflax045,,,
Download 4.1 zip file and read txt file by ABE1,,, it explains how to update and FIX security token issue...

aflax045 06-26-2008 02:21 PM

Quote:

Originally Posted by Deepdog009 (Post 1559138)
aflax045,,,
Download 4.1 zip file and read txt file by ABE1,,, it explains how to update and FIX security token issue...

Already had done that. It was some other issue, thanks anyway.

karnevil 07-01-2008 11:28 AM

ah haaaaaaaaaaaa edit the template too. Wicked all works lovely....will be amazingly helpful. Thankyou.

Oh I'm on 3.7 :)

GraNdMaStEr-B 07-01-2008 11:48 PM

I get this error for some reason anyone know why?

Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Deepdog009 07-02-2008 07:21 AM

Quote:

Originally Posted by GraNdMaStEr-B (Post 1564341)
I get this error for some reason anyone know why?


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

GraNdMaStEr-B,,,
I posted about your issue several times recently...>>>


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

Many have been asking about TRIPLE DROPDOWN's...>>> Install Form Hack and add ajax triple & double dropdowns...

U must have basic javascript knowledge to setup ajax dropdowns...

vithorius 07-02-2008 08:38 AM

Hi folks!

I have a doubt, and don't know if this question was already answered, so sorry if this it was. ;)


My situation:

I have two Free Classified Adds sections on my forum and I would like my users to fill a form with some formated fields so they can make new posts on those sub-forums (say forumdisplay.php?f=21 AND forumdisplay.php?f=22).

Ok, until now, I guess that this Mod is just fine for me, but I would like to remove the button "New Thread" from those sub-forums (f=21 and f=22), so users can't start new threads using the "New Thread" button.

Instead, they will have start new threads only using the form.


My question:

How do I disable the "New Thread" button only for those sub-forums? :confused:



Thank you very much to all! :up: :up:

ccplim 07-02-2008 11:59 AM

Quote:

Originally Posted by vithorius (Post 1564635)
Hi folks!

I have a doubt, and don't know if this question was already answered, so sorry if this it was. ;)


My situation:

I have two Free Classified Adds sections on my forum and I would like my users to fill a form with some formated fields so they can make new posts on those sub-forums (say forumdisplay.php?f=21 AND forumdisplay.php?f=22).

Ok, until now, I guess that this Mod is just fine for me, but I would like to remove the button "New Thread" from those sub-forums (f=21 and f=22), so users can't start new threads using the "New Thread" button.

Instead, they will have start new threads only using the form.


My question:

How do I disable the "New Thread" button only for those sub-forums? :confused:



Thank you very much to all! :up: :up:


Hi Vithorius,

If I understand your requirements correctly, this could be just the mod that you need :)

vithorius 07-02-2008 12:24 PM

Quote:

Originally Posted by ccplim (Post 1564746)
If I understand your requirements correctly, this could be just the mod that you need :)

Well...!!! How can I say this...?!?


JUST PERFECT!!! PERFECT, PERFECT, PERFECT!!!

Thank you so very, very much!!!

:up: :up: :up: :p :up:



(What a quick answer to my question! I must say that I was a bit pessimist about getting a quick answer... That was GREAT!)


Will install it right away!


https://vborg.vbsupport.ru/external/2011/07/3.gif P.S. - I must suggest that you edit the original post for this hack and put some kind of information regarding this "Edit New Thred Button" hack... It will for sure help a lot of new users! (like myself!) https://vborg.vbsupport.ru/external/2011/07/3.gif

ccplim 07-03-2008 08:00 AM

Quote:

Originally Posted by vithorius (Post 1564776)
Well...!!! How can I say this...?!?


JUST PERFECT!!! PERFECT, PERFECT, PERFECT!!!

Thank you so very, very much!!!

:up: :up: :up: :p :up:



(What a quick answer to my question! I must say that I was a bit pessimist about getting a quick answer... That was GREAT!)


Will install it right away!

You are most welcome and glad that the solution works for you :up:


Quote:

Originally Posted by vithorius (Post 1564776)
https://vborg.vbsupport.ru/external/2011/07/3.gif P.S. - I must suggest that you edit the original post for this hack and put some kind of information regarding this "Edit New Thred Button" hack... It will for sure help a lot of new users! (like myself!) https://vborg.vbsupport.ru/external/2011/07/3.gif

This is a good idea. You might want to contact Abe1 and get him to do so :)

vithorius 07-03-2008 12:57 PM

Quote:

Originally Posted by ccplim (Post 1565563)
This is a good idea. You might want to contact Abe1 and get him to do so :)

Ooops...! I was so speedy on replying that I did not even see that you are not the author of this hack... :eek: :p :rolleyes:





So, Abe, one suggestion:


https://vborg.vbsupport.ru/external/2011/07/3.gif You should put some information here on your first post informing users that you have the "Edit New Thread Button" available for all those that might nedd it!

It would be a tremendous help for us non-coders and a bit inexperienced (just like myself!) https://vborg.vbsupport.ru/external/2011/07/3.gif


Keep on the excellent work! :up: :up:

eternal_ 07-04-2008 10:10 PM

Are there any updates for 3.7? Or any mods similar to this with a simple xml upload?

brainfood 07-06-2008 07:19 PM

Hi,

This looks like a great modification and is just what I am looking for. I have recently installed vBulletin 3.72 and am wondering two things:

1) Does this modification work with 3.7x? If yes what modifications need to be done to the latest version of this modification?

2) Is there a version of this modification or something like it that has been developed specifically for 3.7x?

Thanks!

GraNdMaStEr-B 07-06-2008 09:31 PM

Quote:

Originally Posted by Deepdog009 (Post 1564581)
*********************************************

GraNdMaStEr-B,,,
I posted about your issue several times recently...>>>


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

Many have been asking about TRIPLE DROPDOWN's...>>> Install Form Hack and add ajax triple & double dropdowns...

U must have basic javascript knowledge to setup ajax dropdowns...


Well instead of reading thru 75 threads can you give me the link

GraNdMaStEr-B 07-06-2008 09:43 PM

ok I found the post but I can't seem to find where this is located at

Quote:

Open the hook (plug-in)

Find:
eval('$formsend = "' . fetch_template("$answertemplate") . '";');


REPLACE with this:
eval('$formsend = "' . fetch_template("$answertemplate", 0, false) . '";');

ccplim 07-07-2008 09:29 AM

Quote:

Originally Posted by GraNdMaStEr-B (Post 1568486)
ok I found the post but I can't seem to find where this is located at

Go to your ACP and scroll down to Plugins & Products --> Plugin Manager.

Under the Plugin System, look for "Product : Form Hack" and you should see the name of your plugin in the first column (default = Form Hack). Click on the "Edit" option to the right of the plugin and it will bring you to the Edit plugin page. Search for the codes under "Plugin PHP Code" and you should be able to find it :)

Deepdog009 07-07-2008 03:00 PM

Quote:

Originally Posted by GraNdMaStEr-B (Post 1568477)
Well instead of reading thru 75 threads can you give me the link

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

Er U GO...>>>DROPDOWNS<<<

DROPDOWN forum posting...>>>One of many<<<

Stryker412 07-09-2008 12:18 AM

Before I begin, do any of the directions need to change for 3.7.2?

Deepdog009 07-09-2008 04:11 AM

Quote:

Originally Posted by Stryker412 (Post 1570564)
Before I begin, does any of the directions need to change for 3.7.2?


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


NOPE,,, all is wonderful here...

Read instructions by ABE1 in Form Hack 4.1 download and thats about it...


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


I will be releasing a FORMs EASY PACK addon in the future...

Whats in this FORMs EASY PACK you say? FORMs...;)

Custom Forms
Standard Forms
Ajax Forms

Why??? To help newbie form hack guys & gals...

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

Stryker412 07-09-2008 06:11 PM

Is there anyway to have certain fields auto filled? I have restricted the application to registered forum users only. I'd like their e-mail, birthday, and xfire info to auto fill before they start. Is this possible?

I've created a forum for just the applications to go after being completed. I want the title of the thread to be their usernames.

Also, how do I get rid of questions and/or change their formats?

lazytown 07-09-2008 09:26 PM

For some reason this will not work for GUESTS in 3.7.2 pl1. It submits the form fine, but the thread doesn't appear in the mod section. It works fine for all other members.

Update:
I had to turn off guest image verification in order for this to work for guests...

-vissa

lazytown 07-09-2008 09:59 PM

Unfortunately all of the spam prevention options/plug-ins for this are gone. If you click the links within the first thread that point to the anti-spam plugins, they have been removed/disabled by the author.

So what are people using for spam protection / image verification / etc for this with 3.7?

-vissa

Deepdog009 07-10-2008 01:00 AM

Quote:

Originally Posted by Stryker412 (Post 1571231)
Is there anyway to have certain fields auto filled? I have restricted the application to registered forum users only. I'd like their e-mail, birthday, and xfire info to auto fill before they start. Is this possible?

I've created a forum for just the applications to go after being completed. I want the title of the thread to be their usernames.

Also, how do I get rid of questions and/or change their formats?

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

Yes Stryker412,,,
But it will require pulling info from your forum database...

I only do simple add-ons with this mod,,, ABE1 can help you better...

I been working on some options with this mod that work,,, but Im still not quite there...
This mod has deleted many brain cells and so I break away and come back when replenished...

Working several jobs,,, two wifes {computer and wife};) and two kids {dog and kid}:eek:
I need a VACATION...

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

vissa,,,
I was working on another image verification,,, but very little support using them so I put it on hold...

Stryker412 07-10-2008 03:58 PM

I can worry about the auto filling fields later, but what's the best way to delete some of the existing questions?

Shazz 07-10-2008 04:06 PM

Quote:

Originally Posted by Stryker412 (Post 1572023)
I can worry about the auto filling fields later, but what's the best way to delete some of the existing questions?

You have to open the XML file do some dirty work :o

davida500 07-11-2008 09:18 PM

I have an issue, its probably something stupif, or im probably forgetting something, so i hope you can help, it is a very small problem but if i need to do something more important in the future then it will mess everything up.

I have made a Form for reporting issues with the wesbite, this is what the code says FOR THIS SPACIFIC PART when you click Plugins and Products --> Plugin Manager --> Site Issues Form Hack

Code:

$dropdownquestion2 = "Importance:";


$dropdownchoice2a = " ";
$dropdownchoice2b = "Low";
$dropdownchoice2c = "Medium";
$dropdownchoice2d = "High";
$dropdownchoice2e = "Urgent";
$dropdownchoice2f = "Critical";

If you then go to Styles and Templates --> Current Theme --> Edit Template --> SiteForm...
You get this:

Code:


<tr>
<td class="alt2" valign="middle">
<b>$dropdownquestion2</b>
</td>
<td class="alt2" valign="middle" colspan="2">
<select name="dropdownanswer2">
<option value="$dropdownchoice2a" <if condition="$dropdownchoice2a == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2a</option>
<option value="$dropdownchoice2b" <if condition="$dropdownchoice2b == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2b</option>
<option value="$dropdownchoice2c" <if condition="$dropdownchoice2c == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2c</option>
<option value="$dropdownchoice2d" <if condition="$dropdownchoice2d == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2d</option>
<option value="$dropdownchoice2e" <if condition="$dropdownchoice2e == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2e</option>
</select></td>
</tr>

Then if you do the same thing but not go to SiteFormAnswers instead of Site Form... You get this:

Code:

<font color="white"><strong>$dropdownquestion2</font></strong>
$dropdownanswer2


When you go onto the form, it shows up fine and everything works, when it is submited it goes into the correct Forum Area, below is a picture showing the form before being submited:

http://img384.imageshack.us/img384/46/beforebp5.jpg
http://img384.imageshack.us/img384/4...53e4ea0cfe.jpg

Below is a picture showing the form after it has been submited:

http://img521.imageshack.us/img521/9744/afterlm1.jpg
http://img521.imageshack.us/img521/9...48085affa7.jpg

As you can see there is a problem were it shows the "Importance" which i think i have spelt wrong lol, but as you can see nothing is written next to it, even though i do go into the frop down menu and select an option.

Please be aware that i was not the one that set up the hack or created the forms, i just added the "Importance" drop down menu, but as you can see, my noobness makes me fail.

I think i found everything that would need editing so if someone could please point me in the right direction as to were i am going wrong and how to resolve it, i would be so greatful.

Thanks in advance,

- David

R1lover 07-11-2008 09:32 PM

is there one for 3.7.2? or will this one work?

davida500 07-11-2008 09:47 PM

Im running 3.7 and it works :)

davida500 07-12-2008 01:48 PM

Can someone help me PLEASE!!

Antivirus 07-12-2008 04:20 PM

Big fan of this mod for a while now Abe1, thanks.

One thing I recently noticed however is that the form template isn't cached when viewing newthread.php?do=form. As we all know, this causes an unnecessary query on the server.

This can be fixed by adding the following plugin to the product at hook location: cache_templates

PHP Code:

if (THIS_SCRIPT == 'newthread' AND $_REQUEST['do'] == 'form')
{
    
// Cache template for Abe1 Form Hack
    
$globaltemplates[] = 'form';
    
$globaltemplates[] = 'formanswers';


:)

davida500 07-13-2008 03:33 PM

Its ok, i fexed my problem, it was something very simple lol.

Thanks,

- David

Stryker412 07-14-2008 07:14 PM

If anyone has some time, I could use some help over IM in getting this set up for the first time.

sparkster666 07-14-2008 07:35 PM

Is there anyway you could make it so when a form is filled out the person who filled out the application is added to a group??:D

Deepdog009 07-15-2008 04:42 AM

Quote:

Originally Posted by Stryker412 (Post 1575284)
If anyone has some time, I could use some help over IM in getting this set up for the first time.

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

Stryker412,,,
What exactly do ye need help with???

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

sparkster666,,,
YES,,, but it requires some modifications to enchance this mod...
Sorry but I only do simple add-ons to this mod...

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

davida500,,,
I stop by vbulletin.org every three days... Great job finding your issue and fixing...

Stryker412 07-15-2008 12:22 PM

I want to edit the forum for a standard application to a clan/guild. I don't understand how to edit the questions and/or delete some of them already there.

eternal_ 07-15-2008 07:25 PM

I downloaded, and uploaded in my plugins, when I go to the url, it gives me this

Invalid Forum specified. If you followed a valid link, please notify the administrator.

Why is it not showing up, I did everything correctly, I didn't change the name from form, so I'm going to http://example.com/newthread.php?do=form

I'm using vb 3.7.0

eternal_ 07-15-2008 08:17 PM

Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.

ccplim 07-15-2008 11:58 PM

Quote:

Originally Posted by eternal_ (Post 1576265)
Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.

Did you delete the radio buttons entries in the formanswers template too?

RedGTiVR6 07-16-2008 01:56 AM

Quote:

Originally Posted by Antivirus (Post 1573648)
Big fan of this mod for a while now Abe1, thanks.

One thing I recently noticed however is that the form template isn't cached when viewing newthread.php?do=form. As we all know, this causes an unnecessary query on the server.

This can be fixed by adding the following plugin to the product at hook location: cache_templates

PHP Code:

if (THIS_SCRIPT == 'newthread' AND $_REQUEST['do'] == 'form')
{
    
// Cache template for Abe1 Form Hack
    
$globaltemplates[] = 'form';
    
$globaltemplates[] = 'formanswers';


:)

thanks!

RedGTiVR6 07-16-2008 02:20 AM

Quote:

Originally Posted by eternal_ (Post 1576265)
Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.


You cannot just delete the radio buttons from Part1 and Part2 of the plug-in, you also have to comment them out in the rest of that code. For instance, where it says $radioquestion1, just add a // before that entire part and it will comment it out.

You also need to remove them from the form and formanswers templates by removing the code that references it, and not JUST the $radioquestion1 part, everything that relates to it, starting with the <tr> and ending with the last </tr> that wraps that section of the code...including the radioanswer and $radiochoice code as well.


All times are GMT. The time now is 04:16 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.02771 seconds
  • Memory Usage 1,879KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (20)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