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)

Cadellin 04-21-2011 07:22 AM

Firstly once again this is a fantastic mod! However I'm having some problems using this in conjunction with the GlowHost Anti-Spam when outputting a form to a thread as the anti-spam auto-moderates it as it contains URLs and the submitting users are normally new members to my site.

The easiest way around this would be have created threads all assigned to a single user rather than the user who submitted it or Unregistered. Is that possible though?

Thanks for any help :)

ascroft 04-22-2011 05:30 AM

Dom, just noted that when I manually moved a thread just now it does update the post count etc. and correctly show the most recent post in the preview - even though it was an earlier post that I moved - so hopeful there is an easy bit of code to add to make this happen as part of the plugin - thanks.

Mark

Quote:

Originally Posted by ascroft (Post 2185433)
Hi there.

One thing I noted today, when the thread is moved to the correct forum, is that it doesn't update the 'header' type of information in the forum summary i.e. last post details, no. of threads/posts. The thread itself is there fine. Example is: http://www.shackchat.co.nz/listings/...lington-Region

I am thinking this needs more code to be added to the plugin in possibly?

Many thanks

Mark


Bruno Pisarek 04-22-2011 06:43 AM

Hi,

your mod works like a charme in vb 4.1.3 - thanks! But.. ;)

The function ?Question Typest to Hide in Form Results Poll? is very useful for me. But I miss a function like ?Question Typest to Hide in Form Results Table?! Can you tell me, if it would be possible?

The view is not very clearly arranged if a user writes to many text in the "Field using vBulletin Editor".

Is it possible to hide a field in the table view?

Best regards,
Bruno

bananalive 04-22-2011 12:59 PM

1 Attachment(s)
Quote:

Originally Posted by Bruno Pisarek (Post 2187306)
Hi,

your mod works like a charme in vb 4.1.3 - thanks! But.. ;)

The function ?Question Typest to Hide in Form Results Poll? is very useful for me. But I miss a function like ?Question Typest to Hide in Form Results Table?! Can you tell me, if it would be possible?

The view is not very clearly arranged if a user writes to many text in the "Field using vBulletin Editor".

Is it possible to hide a field in the table view?

Best regards,
Bruno

Added it as an option in attached file in Vbulletin Options -> Easy Form Options

bananalive 04-22-2011 01:01 PM

Quote:

Originally Posted by ascroft (Post 2187292)
Dom, just noted that when I manually moved a thread just now it does update the post count etc. and correctly show the most recent post in the preview - even though it was an earlier post that I moved - so hopeful there is an easy bit of code to add to make this happen as part of the plugin - thanks.

Mark

In plugin, find
PHP Code:

mark_thread_read($threadinfo$foruminfo$vbulletin->userinfo['userid'], TIMENOW); 

Add below
PHP Code:

build_thread_counters($newpost['threadid']);
        
build_forum_counters($forumid); 


bananalive 04-22-2011 01:04 PM

Quote:

Originally Posted by Cadellin (Post 2186924)
Firstly once again this is a fantastic mod! However I'm having some problems using this in conjunction with the GlowHost Anti-Spam when outputting a form to a thread as the anti-spam auto-moderates it as it contains URLs and the submitting users are normally new members to my site.

The easiest way around this would be have created threads all assigned to a single user rather than the user who submitted it or Unregistered. Is that possible though?

Thanks for any help :)

Edit Form -> Form Hook: Before Submit:
PHP Code:

$vbulletin->userinfo['userid'] = 3

Change 3 to the appropriate userid. (0 for unregistered)

bananalive 04-22-2011 01:05 PM

Quote:

Originally Posted by Darksome (Post 2185998)
New to vB but slowly picking things up. I think I will find this mod extremely useful, but I'd like to know how I can add an 'insert image' button to the vbeditor question section, next to the email and insert link buttons for example.

Or indeed, can it be replaced with all the interface options as if posting a new thread such as; post icons and the tag box?

Cheers

AdminCP -> vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

bananalive 04-22-2011 01:07 PM

Quote:

Originally Posted by Za4a Tuner (Post 2185267)
This won't work :(
The forum-id is correct (it's from my liveforum)
Can you give me a "step by step" instruction, what i have to do, that a dropdown-field with the prefixes of a specified forum will be shown?

The form should create a new thread in forum-id = 46, and the prefixes of this forum sould be listed in the form, cause they are required for a new thread!


kr Chris

Try this php code instead:

PHP Code:

require_once(DIR '/includes/functions_prefix.php');  
$thisanswer $q[$formbit[id]];  
$forumid $form['forumid'] = 46
$prefix_options fetch_prefix_html($form['forumid'], $thisanswertrue);  
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>';  
$answer .= $prefix_options;  
$answer .= '</select>'


Darksome 04-22-2011 03:15 PM

Quote:

Originally Posted by bananalive (Post 2187391)
AdminCP -> vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

Thanks so much! This is such a wonderfully good mod! :up:

zushiba 04-22-2011 03:38 PM

I found a small bug when using bbocde in a section title. We needed to make the Section titles bigger to stand out more and this is the result.
http://i.imgur.com/6pMtz.jpg

It doesn't appear to affect the functionality.


All times are GMT. The time now is 04:03 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.02865 seconds
  • Memory Usage 1,764KB
  • 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
  • (7)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