vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Sarcoth 07-23-2006 05:07 AM

I haven't heard back from Abe yet, so I'll make another offer here. I'll give a $10 donation to someone if they come up with some workable coding to add a user to a membergroup within this form. Please see my request in a previous post. I'll post in another forum for help on this if I don't see an answer here within a few days.

Post here or send me a PM if you have additional questions.

Thank you!

CremeEgg 07-24-2006 12:37 PM

I have a quick question regarding the answers template.

When using vB code for formatting in the answers template you have to have spaces i.e.

Code:

[b] $answer1 [/b ]
Well I am using the WoW Items hack and want to format the answers to the questions as items, so I put in the template

Code:

[item] $normalanswer1 [/item ]
But with the spaces included the item links don't work, if I remove the spaces you can't use the template, is there anyway around this?

Abe1 07-26-2006 02:48 AM

Quote:

Originally Posted by CremeEgg
I have a quick question regarding the answers template.

When using vB code for formatting in the answers template you have to have spaces i.e.

Code:

[b] $answer1 [/b ]
Well I am using the WoW Items hack and want to format the answers to the questions as items, so I put in the template

Code:

[item] $normalanswer1 [/item ]
But with the spaces included the item links don't work, if I remove the spaces you can't use the template, is there anyway around this?

You can remove the space before the varible. See what happens then.

Abe1 07-26-2006 02:49 AM

Quote:

Originally Posted by Stajerc
is there no support now??

I don't give support to custom edits for this hack. I only support bugs that might come up in the coding of it.

It would be too much for me if I helped everyone make a custom form.

Stajerc 07-26-2006 08:02 AM

ahh i undertand, thx.

NetRover 07-26-2006 02:41 PM

Hi there, can the thread title have pre-defined text with variables from the form inserted to make a title that is a combination of both.

eg: I am "$formanswername" living in "$formanswerlocation" looking for "$formanswerrequest" etc.

many thanks for what looks like a great hack.

CremeEgg 07-27-2006 08:01 AM

Quote:

Originally Posted by Abe1
You can remove the space before the varible. See what happens then.

You get the following error

Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /*PATH TO SITE*/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 30

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

You can choose to continue, and if you do you can fill out the form ok, however if you try to preview or submit you get a blank white page and nothing happens.

jzewatsky 07-28-2006 02:03 AM

Thanks for the great plug in!

Unfortunately, I am getting the following error:

Parse error: parse error, unexpected ')' in /home/content/d/d/r/ddrcn/html/forums/newthread.php(68) : eval()'d code on line 750

I know it's just that I have an extra ")" somewhere, but I cant find where. There are only 414 lines in my newthread.php.

Any suggestions would be great!

Sarcoth 07-28-2006 12:10 PM

The error says newthread.php, but that isn't where your problem is located. Look through your form, most likely on line 750.

jzewatsky 07-28-2006 12:43 PM

Thank you Sarcoth, but my form only has 454 lines. I'm not familular with the hooks feature and how it functions, but is it possible that the two are somehow being added to eachother. If this is the case, where would I cut and paste the hook into the newthread.php to find the correct line 750?

Again, I appreciate any help!


All times are GMT. The time now is 02:21 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.03008 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
  • (5)bbcode_code_printable
  • (3)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