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)

Elenna 01-15-2013 08:51 PM

Good afternoon!

We are wanting to set up a few forms to act like a database of sorts, and would like the navigation buttons (shown while viewing each form or results) to change depending on the form they have open.

For example, there are two forms, one for adding details about your pets and another for adding details about your shoes. While viewing the form itself or the Results, we'd like the button images to be customized to say "View Form" to"Add New Pet" / "Add New Shoes", or "View Form Results" to "View Pets" / "View Shoes", etc.

If that makes sense? Is there a conditional that I could use to modify those sorts of things?

Karma 01-21-2013 02:55 AM

Hello everyone, I was wondering if anybody was having the issue of the form menu not appearing in the navbar or in the quick links section and had fixed it. I've checked all the permissions a bunch of times and changed the styles thinking maybe I did something but nothing seems to work. I see a user above has the same issue but not sure if he finally got it solved. Hope to hear back from anyone about this issue. Here is the board:

http://karma.tc/ethereal

I re-enabled the navbar so you can take a look. I'd like to get it working as part of the actual menu.

smirkley 01-21-2013 04:46 AM

New navbar settings and variables in 4.2,... insert it manually in acp.

Karma 01-21-2013 06:31 AM

Quote:

Originally Posted by smirkley (Post 2398333)
New navbar settings and variables in 4.2,... insert it manually in acp.

Hey, thanks for the answer. I thought about doing it before but I guess I just didn't. Last question though, how can I make it so that the new tab can only be seen by Administrators? Under 'Show permission name' I tried putting in like administrator and such but of course it didn't work. I'm not sure on how to do that, I was just playing around with that.

PS: Is it possible to make the form post in 2 different threads? I see it says Post New Thread and allows me to select 1 so I thought maybe a little edit somewhere could make it so that it's capable of posting in 2?

Love the mod by the way! Absolutely loving it! Excellent job banana!

richardevans123 01-21-2013 12:01 PM

You'll need this, and then select your administrator group

https://vborg.vbsupport.ru/showthrea...on+enhancement

Karma 01-21-2013 02:43 PM

Quote:

Originally Posted by richardevans123 (Post 2398366)
You'll need this, and then select your administrator group

https://vborg.vbsupport.ru/showthrea...on+enhancement

Thanks for that. Installing now. :)

tommyxv 01-24-2013 08:13 PM

Who is using the table form results? Is there a way to make it searchable and allow a photo upload to table form results?

The Realist 01-27-2013 08:55 PM

Regarding the below posts.

Im trying to do the same thing with no luck so see if I can explain.

Section created called for sale and I need the post new thread button to go to the form I've created and once filled it the for sale advert is created as a thread in the sale section.

What do I need to edit, change etc?

Been away from VB for a while and lost the will to think :)




Quote:

Originally Posted by bananalive (Post 2185204)
1. Vbulletin AdminCP -> New Plugin
Hook location: newthread_form_start
Php code:
PHP Code:

if (in_array($forumid, array(1,2))) 

header'Location: http://www.youriste.com/forums/misc.php?do=form&fid=8' ) ; 


2. Add the following to the custom php question, do you get the right forumid (46) at the top of the form?
PHP Code:

print_r($form['forumid']); 


Quote:

Originally Posted by Za4a Tuner (Post 2183815)
Hello,
i have two question to this mod:

1.)
How can i link the "new thread"-button of a forum to a form?
In a forum with the ID = 46 the "new thread" should be replaced by a form with the ID = 4
If someone like to create a new thread, he should use the form nr. 4, wich "Post a new Thread" in the forum.

2.)
The forum above MUST have a prefix, but not always the same prefix => users should be able to use a prefix that fits to the form.
I created a custom question with the following php-code inside:
PHP Code:

require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
if (!
$form['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>'

The question will be shown on the form, but there are no prefixes displayed! How can i get it running?



Can anyone give me a help please?

kr Chris

Quote:

Originally Posted by Za4a Tuner (Post 2185267)
This works fine, now the button "New Thread" roots to the form :D

but:
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

Quote:

Originally Posted by bananalive (Post 2187392)
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>'


Quote:

Originally Posted by Za4a Tuner (Post 2190611)
THANKS! That did the job, works fine ;)

Do you have a paypal-account?
If yes, please let me know your mailadress, than i will donate a few pounds for your addon and the great support


The Realist 01-28-2013 02:05 PM

Anyone on the above?

jaybolt 01-29-2013 10:14 AM

HI - I have tried to find an answer in and amongst the 100 pages here but it is difficult to search for "PM" as your issue!

My Easy Form isn't sending notification PMs to the two names in the settings. I have installed it on Version 4.2.0 (I had the previous version working on older version forum and had no issues with it).

Is there anything obvious I should be looking for? Any setting or permission I may have missed?


All times are GMT. The time now is 02:42 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.03791 seconds
  • Memory Usage 1,773KB
  • 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
  • (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