vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=234385)

your24hourstore 05-26-2010 01:37 AM

1 Attachment(s)
you would have to create a plug in in admincp/plugin manager

you would put some code in it like this
Code:

if (in_array($forumid, array(5)))

      header( 'Location: http://www.hillbillygold.com/forums/misc.php?do=form&fid=1' ) ; 
 }

heres a pic of what the plug in looks like

added: hook location newthread_start you will have to edit the part that describes the forum you want to make the thread open in array(5)))

and you will have to edit the form&fid=1' one is the form number im useing all forms have their own numbers

oh yes and of course you will have to replace the www.hillbillygold.com part

Tiryaki 05-26-2010 01:59 AM

thank you very much, now it works fine :up:

promoprompt 05-27-2010 05:05 PM

Hello,

I would like to use EasyForms in different ways.
One case to use EasyForms as Inputform for Blog and CMS-Articles.

Is there any possibility to do so?

I'm sorry I am a newbie in VB.

Is anybody there to help in this?

best regards
promoprompt

Alisa Lindsay 05-27-2010 05:37 PM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2042856)
Fixed? I went on your site just now and it looks as it should?

Yeah...and it was like magic too. *chuckles*

I logged on the other morning and presto... the issue had resolved itself at some point. My bad in not noting it here sooner.

Here's the screen now (See attached screenshot)... I'm delighted...just not sure how it happened. Literally, I've done nothing that could have fixed it and my Tech Guru denies all culpability for fixing it as well. 'Tis a mystery. I'm going to credit vB Board Elves for fixing it.

Thanks and Regards.... Alisa

PS: I've downloaded the latest update, but almost afraid to install it. :D

vilhiem 05-28-2010 11:53 AM

Great Mod!

Is there any way to remove some of the "options" available on the main Forms page?

For instance, for Registered Users, I would like to remove "Export Form Results", "Form Results", etc. .. and just leave "Form Results Table" ...?

Thanks!!!

vilhiem 05-28-2010 02:26 PM

How do you calculate ...?

For instance, here are the questions:
(1) Stock Purchase Price?
(2) Stock Sale Price?
(3) Percentage Difference (calculated)

Thanks!!!

Welshy2008 05-28-2010 05:20 PM

Quote:

Originally Posted by bananalive (Post 2042851)

If you use the vB 4 default buttons use this:

PHP Code:

if ($threadinfo[threadid] == 31

$show['quickreply'] = false;
$vbphrase['reply_to_thread'] = "Your Text";


You are getting the no securitytoken error because vBulletin now has different template syntax

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="searchthreadid" value="{vb:raw threadinfo.threadid]}'" />


Also use <vb:if> instead of <if>


Thanks BananaAlive,

The button one worked perfectly. Sorry, I have already done the <vb:if> and </vb:if>, I meant how to get the border around it (Box).

Many Thanks,
Once Again,

Welshy.

Welshy2008 05-28-2010 05:26 PM

The search facilty, still doesn't work and does not return post results that I know are listed.

Any Ideas Please BA?

The following is what I have in my vB4.0.3


PHP Code:

<tr>
<
vb:if condition="$threadinfo['threadid'] == 'XXXX'">
<
td align="$stylevar[left]valign="top" width="50%">
<
fieldset class="fieldset" style="margin:0px">
<
legend><b><font size="3">Search</font> <font size="2"></b></legend>
<
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
<
tr>
<
td colspan="2">
<
tr>
<
form action="search.php?do=process&searchthreadid=XXXX" method="post">
<
table cellpadding="4" cellspacing="1" border="0">
<
tr>
<
td class=""><b><font size="2">Please enter a search word:</font></b><a name="goto_threadsearch"></a></td>
</
tr>
<
tr>
<
td align="left">
<
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<
input type="hidden" name="do" value="process" />
<
input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'" />
<
font size="3"><b>Find:</b></font> <input type="text" class="bginput" name="query" size="25" />&nbsp<input type="image" src="http://www.myforumaddress.com/images/sample.gif" alt="Search ."><br/>
</
td>
</
tr>
</
table>
</
form>
</
select></label>
</
tr>
</
fieldset></vb:if>
<
br /> 

I have also tried the following too:

PHP Code:

<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX" /> 

PHP Code:

<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX'" /> 

PHP Code:

<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']} == 'XXXX" /> 


Where XXXX is the threadID.

vilhiem 05-28-2010 10:59 PM

Three outstanding questions:

(1) Is there any way to remove some of the "options" available on the main Forms page? For instance, for Registered Users, I would like to remove "Export Form Results", "Form Results", etc. .. and just leave "Form Results Table" ...?

(2) How do you calculate ...? For instance, here are the questions:
>>> (a) Stock Purchase Price?
>>> (b) Stock Sale Price?
>>> (c) Percentage Difference (calculated)

(3) How do I change the web page title, from "Forms" to something different?

Thanks & Great Mod!

vilhiem 05-29-2010 04:11 AM

anyone ...?


All times are GMT. The time now is 02:45 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.02451 seconds
  • Memory Usage 1,776KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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