vb.org Archive

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

Martyh 04-15-2009 11:18 PM

Her's one way there may be others.

While in the admin control panel select

"Forums & Moderators"

then selct "forum management"
then under controls in the middle hit "go" on one of the listed forums.

The forum ID is at the top of the page in that header.

" Help Forum: Main Category (id: 1)"

Welshy2008 04-16-2009 07:55 AM

You can also find the threadid by actually clicking on the thread that you want - you will see the thread address in the address bar at the top of your screen.

The numbers AFTER the '?t=' in that address and BEFORE the '&page=' is the actual forumid.

IE: in the case of this forum, you will see:

Code:

https://vborg.vbsupport.ru/showthread.php?t=201097&page=57
The numbers in Bold are your threadid.

bananalive 04-16-2009 10:59 AM

Quote:

Originally Posted by Welshy2008 (Post 1791887)
I tried the new plugin - But it didn't work...


I tried it with "Vbulletin" as the 'Product' first - but tht didn't work either.

Plugin Location: newreply_form_start
PHP Code:

if (in_array($threadinfo[forumid], array(15)))

header('Location: http://www.your-site.com/forum/misc.php?do=form&fid=1') ; 



bananalive 04-16-2009 11:03 AM

Quote:

Originally Posted by Martyh (Post 1791666)
Thanks,

I'll give it a try. I didn't understand the " And then you could use form hooks or hidden fields to get variable." What do I need to do there? Appreciate all and any help.

How do I get parameter from url of form posted in custom output? (must have parameter)

1. Form Hook: Form Start

PHP Code:

$hiddenfield1 $vbulletin->input->clean_gpc('g''param'TYPE_UINT);
      if (empty(
$hiddenfield1))
          {
              
$errormessage "Error, this form needs a parameter.";
                 eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
          } 

2. Form Hook: Before Submit
PHP Code:

     $hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_UINT);
      
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 

3. Use {param} in custom output.

Welshy2008 04-16-2009 01:27 PM

Quote:

Originally Posted by bananalive (Post 1792356)
Plugin Location: newreply_form_start
PHP Code:

if (in_array($threadinfo[forumid], array(15)))

header('Location: http://www.your-site.com/forum/misc.php?do=form&fid=1') ; 




Afternoon BA,

That didn't work either. :(

Any ideas as to what else I could do Please?

Have you any further ideas also, on how I can get in to "Edit" my form for the \r\n too please?


It does not automatically redirect me when I select "Edit" from the drop down menu. :eek:



Thanks.

TimberFloorAu 04-17-2009 07:08 AM

Quote:

Originally Posted by bananalive (Post 1789709)
For forms creating new threads you can allow attachments.

But can we not allow an upload within the form itself ?

bananalive 04-17-2009 09:26 AM

Quote:

Originally Posted by TimberFloorAu (Post 1793085)
But can we not allow an upload within the form itself ?

I don't understand. By checking 'Allow attachments' the user gets a manage attachments button at the bottom of the form for uploading attachments.

bananalive 04-17-2009 09:27 AM

Quote:

Originally Posted by Welshy2008 (Post 1792483)
Afternoon BA,

That didn't work either. :(

Any ideas as to what else I could do Please?

Have you any further ideas also, on how I can get in to "Edit" my form for the \r\n too please?


It does not automatically redirect me when I select "Edit" from the drop down menu. :eek:



Thanks.

It should do, I tested it on my own forum, are you changing the forumid in the array?

I'll release v3.4 soon which have that issue fixed.

Welshy2008 04-17-2009 10:55 AM

Quote:

Originally Posted by bananalive (Post 1793157)
It should do, I tested it on my own forum, are you changing the forumid in the array?

I'll release v3.4 soon which have that issue fixed.


Yes BA Mate. :(

Would you be interested in taking a brief look, if I set up an admin account for you? And PM you the details?

I understand if you are too busy or just don't want to.

Thanks.

Welshy2008 04-17-2009 10:55 AM

PS. I am using the V3.4 Now, BA.

basilrath 04-17-2009 11:21 AM

Nice work this........ used a lot on my site by members. Thank you

bananalive 04-17-2009 12:09 PM

Quote:

Originally Posted by Welshy2008 (Post 1793192)
Yes BA Mate. :(

Would you be interested in taking a brief look, if I set up an admin account for you? And PM you the details?

I understand if you are too busy or just don't want to.

Thanks.

I've uploaded v3.4 (compatible with ie now) to first post. I might get chance later if you do pm me.

jaffaman 04-17-2009 03:42 PM

Quote:

Originally Posted by TimberFloorAu (Post 1789329)
Okey Dokey, I figured out the \r\n part and added it into the answers box.

Could you please tell me what you added as i am not sure what to do.

Thanks in advance............Paul

bananalive 04-17-2009 04:02 PM

Quote:

Originally Posted by jaffaman (Post 1793362)
Could you please tell me what you added as i am not sure what to do.

Thanks in advance............Paul

Click Edit form, scroll down to form bbcode, then look for \r\n and remove it

jaffaman 04-17-2009 04:15 PM

1 Attachment(s)
I dont have the \r\n in the bbcode unless i am missing somthing.
Thanks again for the help.

bananalive 04-17-2009 04:31 PM

Quote:

Originally Posted by jaffaman (Post 1793392)
I dont have the \r\n in the bbcode unless i am missing somthing.
Thanks again for the help.

Remove[indent ] bbcode

TimberFloorAu 04-17-2009 08:11 PM

Quote:

Originally Posted by bananalive (Post 1793155)
I don't understand. By checking 'Allow attachments' the user gets a manage attachments button at the bottom of the form for uploading attachments.

I have to be the thickest guy on here lol


I seriously cannot see this "Allow Attachments" link

Welshy2008 04-17-2009 08:43 PM

You have mail BA. :D


Thanks. :)

Nadavy 04-17-2009 11:37 PM

It's a bit silly. In the settings it asks for a comma seperated list of usergroups who can view it, but instead it offers a drop down list. That makes it hard to select usergroups that are not next to each other.

TheLastSuperman 04-18-2009 02:30 AM

Quote:

Originally Posted by Nadavy (Post 1793626)
It's a bit silly. In the settings it asks for a comma seperated list of usergroups who can view it, but instead it offers a drop down list. That makes it hard to select usergroups that are not next to each other.

hold ctrl ?

Nadavy 04-18-2009 02:31 AM

Also when I use a form, at the top it says
"Parse error: syntax error, unexpected $end in /home/sitenameremoved/public_html/forums/misc.php(100) : eval()'d code(2574) : eval()'d code on line 1"

And about the previous post... if it says usergroup ID, it shouldn't offer a list.

Hornstar 04-18-2009 03:11 AM

This is incredible, I can't believe I just found this now.

Hornstar 04-18-2009 04:21 AM

I just tested this, but when you use the vbulletin editor in a few questions it will use the last question for all previous questions that used the vbulletin editor.

bananalive 04-18-2009 11:03 AM

Quote:

Originally Posted by TimberFloorAu (Post 1793520)
I have to be the thickest guy on here lol


I seriously cannot see this "Allow Attachments" link

Edit Form then Check 'Post New Thread'

(if javascript is disabled then save the form and the option will appear)

bananalive 04-18-2009 11:04 AM

Quote:

Originally Posted by hornstar1337 (Post 1793727)
I just tested this, but when you use the vbulletin editor in a few questions it will use the last question for all previous questions that used the vbulletin editor.

You can only use the vbeditor once per form. This is limited by vbulletin not me. The alternative is to use textboxes

bananalive 04-18-2009 11:46 AM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 1793848)
You can only use the vbeditor once per form. This is limited by vbulletin not me. The alternative is to use textboxes

I've found work around. Attached version can support multiple vbeditors

Mulle 04-18-2009 01:28 PM

Just what i needed!
Thanks a lot!

Nadavy 04-18-2009 05:55 PM

Banana any idea how to fix this:
"Parse error: syntax error, unexpected $end in /home/sitenameremoved/public_html/forums/misc.php(100) : eval()'d code(2574) : eval()'d code on line 1"
???

Martyh 04-18-2009 06:15 PM

I give up , whats the VBEditor ?

TimberFloorAu 04-18-2009 07:37 PM

Quote:

Originally Posted by bananalive (Post 1793847)
Edit Form then Check 'Post New Thread'

(if javascript is disabled then save the form and the option will appear)


Mate, ok but this harks back a couple of pages on here , when I asked a question.. which could be why we cannot get this to function 100%

We cannot define a THREAD, because we use VBSEO.

We want to define specific threads and forum ids, but VBSEO rewrites the output of these.

Now, is it just a case, of turn vbseo of, grab the actual thread id and forum id. Such as

f= 23
t=97630

Turn VBSEO back on, then place into the form elements, the F and T values ?

If thats the case, we have tried that, and it doesnt parse the thread id correctly, but does post the form result into the correct forum id.

Ste

Simon Lloyd 04-19-2009 07:44 AM

Quote:

Originally Posted by TimberFloorAu (Post 1794103)
Mate, ok but this harks back a couple of pages on here , when I asked a question.. which could be why we cannot get this to function 100%

We cannot define a THREAD, because we use VBSEO.

We want to define specific threads and forum ids, but VBSEO rewrites the output of these.

Now, is it just a case, of turn vbseo of, grab the actual thread id and forum id. Such as

f= 23
t=97630

Turn VBSEO back on, then place into the form elements, the F and T values ?

If thats the case, we have tried that, and it doesnt parse the thread id correctly, but does post the form result into the correct forum id.

Ste

I use VBSEO on my site and VB 3.8.2 and this mod works perfectly!

Simon Lloyd 04-19-2009 07:45 AM

Quote:

Originally Posted by Martyh (Post 1794062)
I give up , whats the VBEditor ?

Click the reply button and hey presto! you are in it! :)

TimberFloorAu 04-19-2009 08:05 AM

then please explain how you link the posting of a forms results to a specific thread, please give instructions and a demo link.,

bananalive 04-19-2009 08:25 AM

Quote:

Originally Posted by TimberFloorAu (Post 1794320)
then please explain how you link the posting of a forms results to a specific thread, please give instructions and a demo link.,

The url of vbseo gets rewritten like this: (for thread)

http://www.yoursite.com/forum/forumtitle/threadid-threadtitle.html

To get forumid with vbseo, go to forum then put mouse over new thread button.

http://www.yoursite.com/forum/newthread.php?do=newthread&f=forumid

bananalive 04-19-2009 08:26 AM

Quote:

Originally Posted by Nadavy (Post 1794050)
Banana any idea how to fix this:
"Parse error: syntax error, unexpected $end in /home/sitenameremoved/public_html/forums/misc.php(100) : eval()'d code(2574) : eval()'d code on line 1"
???

Have you got anything in the form hooks?

SAT2M 04-19-2009 09:03 AM

I have problem to view form,My forum language is persian (Right to Left) , form in mozila shown correctly (right to left) but in IE shown incorrect (left to right)

What I was doing?

Martyh 04-19-2009 10:19 AM

Quote:

Originally Posted by Simon Lloyd (Post 1794315)
Click the reply button and hey presto! you are in it! :)

lol,, I was looking for some kind of program called VB Editor.

Billspaintball 04-19-2009 11:24 AM

Been playing round with this for the last couple of weeks.
Its does a lot but theres a couple of things that I need thar are missing.

1 - Data submitted to the database.
Any plans on adding an editing feature for this?

2 - The entire data is entered into one field (output) in the database :eek:
Any plans on having each form field entered as seperate field in the DB table?
eg Output1, Output2,Output3,Output4,Output5 etc

bananalive 04-19-2009 02:01 PM

Quote:

Originally Posted by SAT2M (Post 1794329)
I have problem to view form,My forum language is persian (Right to Left) , form in mozila shown correctly (right to left) but in IE shown incorrect (left to right)

What I was doing?

which part is not displaying properly, the quesitons?

bananalive 04-19-2009 02:03 PM

Quote:

Originally Posted by Billspaintball (Post 1794358)
Been playing round with this for the last couple of weeks.
Its does a lot but theres a couple of things that I need thar are missing.

1 - Data submitted to the database.
Any plans on adding an editing feature for this?

2 - The entire data is entered into one field (output) in the database :eek:
Any plans on having each form field entered as seperate field in the DB table?
eg Output1, Output2,Output3,Output4,Output5 etc

I'll prob not add editing feature, but i might add option to somehow store data individually.


All times are GMT. The time now is 07:58 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.03838 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_php_printable
  • (24)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