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)

John3971 04-05-2008 01:12 PM

hey how can i get some text with BOLD ? i tried to use the bbcode and i tried with the html code but it doesn´t work. with the bbcode you can´t save the template.

Kahoona 04-06-2008 01:08 AM

Is there a way to make some of the questions answered into the title of a thread?

ionian 04-06-2008 09:30 PM

I want to display an image and web link in the output form. Is there any way to do this?

For example,
in the form template:
Code:

  <input type="text" size="50" src="" name="normalanswer2" />
I used this url for scr tag in the form:
http://img397.imageshack.us/img397/7...resmieshd3.jpg
But, displayed the link of the image. I want to display the imege. How can I do this?

ionian 04-07-2008 09:36 PM

Please help me. How can I displaye an image in the output form?

vrokar 04-10-2008 12:33 PM

Parse error: syntax error, unexpected T_STRING in /home/siphon/public_html/forums/newthread.php(71) : eval()'d code on line 899

Getting this error. Havnt changed anything was working perfect yetserday. I did copy the form and change the name though trying to make a second. Havnt finished though. Any ideas?

Also Got

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

Like I said, no forums have been changed or anything. So im a but confused as to why this happened. Any ideas?

Mother_Dee 04-11-2008 07:14 PM

Quote:

Originally Posted by vrokar (Post 1487428)
Parse error: syntax error, unexpected T_STRING in /home/siphon/public_html/forums/newthread.php(71) : eval()'d code on line 899

Getting this error. Havnt changed anything was working perfect yetserday. I did copy the form and change the name though trying to make a second. Havnt finished though. Any ideas?

Also Got

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

Like I said, no forums have been changed or anything. So im a but confused as to why this happened. Any ideas?

newthread.php - line 71:

Code:

($hook = vBulletinHook::fetch_hook('newthread_start')) ? eval($hook) : false;

Instructions at the top of the page:

Quote:

The beauty of this hack is that once you install this hack, to make a new form all you need to do is copy the main hook, rename it to whatever you want,edit the variables in the hook, and you have a totally new form!!!
That's my guess as to your problem. :)

Deepdog009 04-12-2008 08:18 PM

Hello Folks,,,

I've been practicing on my php and it ain't easy let me tell U...

N-E ways If I get better in the next few weeks I will do an add-on 2 this, that should help most with setting it up from the HOOK line and sinker {<...fishing talk}...:eek:

Keep the ball rolling;)

Chewy954 04-12-2008 11:29 PM

any plans on a 3.7.0 version? I love this ;o

Xceptional 04-14-2008 10:43 AM

Great hack Abe, thanks, works perfectly. 1 Q, I want the same form to reply to different threads, depending on what link they clicked on to get to the form. I've included 2 variables in the link, and want the form to reply to the thread that is received in the URL from the variable.
I've been trying something like $formreplythreadid = '$variable', and get a "cannot use scalar value as array" error from funtions_newpost.php on line 267.

I've tried adding in the variables into the variable area, converting the variables to strings, to integers, just getting lost..

Any help or suggestions?:confused:

Xceptional 04-15-2008 08:23 AM

got it sorted, needed to add hidden fields in the form template that passes the variables on to the plugin code. Also added the variables to both parts in the plugin code

arkkhoax 04-17-2008 02:34 AM

Quote:

Originally Posted by Chewy954 (Post 1489403)
any plans on a 3.7.0 version? I love this ;o

It works perfect on 3.7.0 already. I am running it with no problems on my board. Even attachments work perfect.

RedeemedWarrior 04-21-2008 10:31 AM

Fantastic mod

steven s 04-24-2008 12:59 AM

Quote:

Originally Posted by arkkhoax (Post 1492644)
It works perfect on 3.7.0 already. I am running it with no problems on my board. Even attachments work perfect.

Really? Just stopped working on 3.6.10. :(
Maybe I'm just using an older version.

darkforce114 04-24-2008 01:08 AM

No longer works in 3.6.10 and 3.7.0 RC4 due to the added SECURITYTOKEN for CSRF protection.

It's to bad, was a very nice addon.

steven s 04-24-2008 01:17 AM

Quote:

Originally Posted by darkforce114 (Post 1497774)
No longer works in 3.6.10 and 3.7.0 RC4 due to the added SECURITYTOKEN for CSRF protection.

It's to bad, was a very nice addon.

I hope there is an update or I will have to reinstall 3.6.9.

jantequino 04-24-2008 01:53 AM

Quote:

Originally Posted by 1996 328ti (Post 1497778)
I hope there is an update or I will have to reinstall 3.6.9.

Abe1... PLEASE fix this for 3.6.10/3.7 RC4

Thank you :)

arkkhoax 04-24-2008 03:54 AM

[S]Does anyone know how to get this working with the new security token. I really rely heavily on this addon for a portion of my site.[/S]

Nevermind! Thank you so much. I just saw the fix. I'm making a donation too. :D

Abe1 04-24-2008 03:55 AM

Version 4.1: (04/24/2008)
  • Fixed for vb 3.6.10
  • Small bug fixed.
  • List of the 2 quick edits are in the zip file so you don't have to start making a form from scratch.

darkforce114 04-24-2008 04:39 AM

Abe1, any plans on porting a copy of this to vb 3.7.x ?

Abe1 04-24-2008 04:41 AM

Quote:

Originally Posted by darkforce114 (Post 1497859)
Abe1, any plans on porting a copy of this to vb 3.7.x ?

You can use this version fine on it.

darkforce114 04-24-2008 04:51 AM

Thank you, thank you Abe1!.

This is an awesome addition to the site. Keep em coming!.

Abe1 04-24-2008 12:24 PM

I just updated the zip file. It seems like it had the old xml file in it.

steven s 04-24-2008 12:45 PM

<font size="3">Outstanding!
Thank you!</font>

jantequino 04-24-2008 03:16 PM

Thank you Abe1!!!

I just want to verify something first....

I am currently running 3.7 Beta 5....
I do not plan to upgrade vBulletin until we have 3.7 Gold in our hands.

That being said, can I still use this newly updated Form Hack on my pre RC4 board?

Thanks!
J.J.

Abe1 04-24-2008 03:18 PM

Quote:

Originally Posted by jantequino (Post 1498241)
Thank you Abe1!!!

I just want to verify something first....

I am currently running 3.7 Beta 5....
I do not plan to upgrade vBulletin until we have 3.7 Gold in our hands.

That being said, can I still use this newly updated Form Hack on my pre RC4 board?

Thanks!
J.J.

Yes.

You should upgrade now so you dont have any down time when you do go gold.

It wont affect anything.

darkforce114 04-24-2008 05:41 PM

Quote:

Originally Posted by jantequino (Post 1498241)
Thank you Abe1!!!

I just want to verify something first....

I am currently running 3.7 Beta 5....
I do not plan to upgrade vBulletin until we have 3.7 Gold in our hands.

That being said, can I still use this newly updated Form Hack on my pre RC4 board?

Thanks!
J.J.

I can verify that it works on 3.7.0 RC4!

vyrush 04-24-2008 05:58 PM

can some one please tell me how to add more checkbox choices and question to this mod??
i did try editing the files.. but then i got and error saying..parse syntax.. eval'()33 .. something like tat.. please help.

jantequino 04-24-2008 06:34 PM

Abe1 I just downoaded 4.1 and saw your "Edits from version 4_0 to 4_1.txt" file....

If that's all we need to do, we don't actually need to REINSTALL 4.1, right?

We can just follow those instructions instead?

Thank you for being so responsive to this update! This hack is one of the primary components of my site and I'd be lost without it :)

Thank you very much!

Abe1 04-24-2008 07:29 PM

Quote:

Originally Posted by jantequino (Post 1498431)
Abe1 I just downoaded 4.1 and saw your "Edits from version 4_0 to 4_1.txt" file....

If that's all we need to do, we don't actually need to REINSTALL 4.1, right?

We can just follow those instructions instead?

Thank you for being so responsive to this update! This hack is one of the primary components of my site and I'd be lost without it :)

Thank you very much!

Correct

mike2567 04-25-2008 06:15 AM

I tried making the form fit what I need. I have gone over all my edits and I can't find the problem. I am receiving this error
Quote:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/content/m/i/k/mike2567/html/forums/newthread.php(71) : eval()'d code on line 43
can anyone help me? I am totally new at this :confused:

Nevermind, I found it!

zmmmzz 04-26-2008 10:30 PM

Thank you so much for being so responsive to this update.
This hack is very important for my site and I appreciate that you updated so fast.

I hope we see tags integration sometime.

vyrush 04-27-2008 03:08 AM

i guess no one is bother to give a reply!

laura66a 04-27-2008 02:21 PM

Can someone please show me sample of how to add a background image to the code for a form? I can find where in the template to add the background image because I am not that familiar with CSS.

Thanks.

Spinball 04-30-2008 08:51 AM

Does this work on 3.7? Or is there a 3.7 release coming soon?

Kinneas 04-30-2008 09:04 AM

It still works fine for me :)

enjoymarcus 05-01-2008 04:36 PM

Hi. Great mod. I was looking at using it for a non Vbulletin page, allowing people to submit questions/suggestions/problems etc to the forum. Is this possible? Thanks.

RMS-Chef 05-03-2008 03:11 PM

Abe, any plans in integrating/supporting the new Thread Tags and Prefix features?

ccplim 05-04-2008 05:10 AM

Great mod! Something which I really need :up:

Now, I am not a PHP/HTML guy and I forsee that I will have many questions down the road. But, I will take it slowly. Hope to get some tips from all brothers here and hope that I wouldn't become a nuisance :p

alternity 05-04-2008 10:28 PM

Hi, I'm having issues with this hack since upgrading to 3.7. The forms display correctly, but when I try to submit them I get the following text on a white background:
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.
I'm running Form Hack 4.1.
Any ideas?

dutchbb 05-05-2008 03:55 AM

Quote:

Originally Posted by alternity (Post 1508676)
Hi, I'm having issues with this hack since upgrading to 3.7. The forms display correctly, but when I try to submit them I get the following text on a white background:

I'm running Form Hack 4.1.
Any ideas?

Yes I'm having the same error message, any help from the coder please?


All times are GMT. The time now is 10:43 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.02106 seconds
  • Memory Usage 1,825KB
  • 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_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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