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


All times are GMT. The time now is 01:50 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.02245 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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