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)

Heaven 02-02-2013 05:14 PM

Thank you so much for this, I love it.

richardevans123 02-06-2013 03:23 PM

I have a question.

I'd like to have a quiz using the forms, and If a user gets 7 out of 10 or higher, then they are promoted to the next rank automatically. Is there any special coding that I need to add to do this?

Thanks

EDIT: Also, is there a way to close certain forms and not have members fill it out, whilst still having other forms open?

Thanks

Sios 02-14-2013 03:39 AM

So I've changed my: /forum.php/ to /index.php/ ...
I've tried going to: http://domain.com/forum/index.php?do=forms

.. And to no avail, all failure. Can someone please comment and help me out?

P.S - I'm running vBulletin 4.2.0

fwulfers 02-14-2013 03:57 PM

This is a very good mod and I am planning to use it for a Marketplace forum section. I have seen these same questions in this thread before but haven't found a solution yet.

1. All new threads should go through these forms. When you disallow users to post new threads directly in the forum, it will show an error message when they want to upload attachments with the forum. Is there a way to fix this or remove the New Thread button for these specific forums?

2. Even better, when the New Thread button is clicked, it will direct you to the forms page. Is there a way to set this up?

bananalive 02-15-2013 07:12 PM

Quote:

Originally Posted by fwulfers (Post 2404250)
This is a very good mod and I am planning to use it for a Marketplace forum section. I have seen these same questions in this thread before but haven't found a solution yet.

1. All new threads should go through these forms. When you disallow users to post new threads directly in the forum, it will show an error message when they want to upload attachments with the forum. Is there a way to fix this or remove the New Thread button for these specific forums?

2. Even better, when the New Thread button is clicked, it will direct you to the forms page. Is there a way to set this up?

2. New php plugin



Hook Location: newreply_form_start

Title: Easy Forms Reply Button

Execution Order: 5

Plugin
PHP Code:

if (in_array($threadinfo[threadid], array(1))) 
{  
header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ;  


Plugin is Active: Yes

bananalive 02-15-2013 07:12 PM

Quote:

Originally Posted by Sios (Post 2404161)
So I've changed my: /forum.php/ to /index.php/ ...
I've tried going to: http://domain.com/forum/index.php?do=forms

.. And to no avail, all failure. Can someone please comment and help me out?

P.S - I'm running vBulletin 4.2.0

http://domain.com/forum/forms.php

fwulfers 02-15-2013 08:06 PM

Quote:

Originally Posted by bananalive (Post 2404481)
2. New php plugin

Hook Location: newreply_form_start

Title: Easy Forms Reply Button

Execution Order: 5

Plugin
PHP Code:

if (in_array($threadinfo[threadid], array(1))) 
{  
header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ;  


Plugin is Active: Yes

I had to make a few adjustments but your post pointed me in the right direction. Clicking the New Thread button now goes to the correct form. Thanks so much! :up: :up:

New php plugin

Hook Location: newthread_form_start

Title: Easy Forms New Thread Button

Execution Order: 5

Plugin PHP code

PHP Code:

if (in_array($forumid, array(221)))
{  
header('Location: http://mywebsite.com/misc.php?do=form&fid=1') ;  
}
if (
in_array($forumid, array(222)))
{  
header('Location: http://mywebsite.com/misc.php?do=form&fid=2') ;  


For each forum and form, just keep adding code where the array(xxx) is the forum id and fid=xx is the form id.

Plugin is Active: Yes

leclownos 02-19-2013 12:37 PM

Hello,
I encounter a problem in the custom question, I can not put html custom code. If you have an idea please send it to me. Thank you to you. cordially
Sorry for bad english.

bananalive 02-23-2013 10:26 AM

Quote:

Originally Posted by leclownos (Post 2405179)
Hello,
I encounter a problem in the custom question, I can not put html custom code. If you have an idea please send it to me. Thank you to you. cordially
Sorry for bad english.

Use:

PHP Code:

$answer '<html here>'


leclownos 02-25-2013 07:17 PM

Thank you works very well. Is there a variable to retrieve the ID of the custom issue. And if there are other variable such as you'd give me above you can show us. Thank you cordially.

ps: "Very good hack, bravo."


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