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)

Nikola Bosnjak 07-18-2010 09:04 PM

Quote:

Originally Posted by bananalive (Post 2071004)
It will probably be to do with Tabs VB Soporte

What settings do you set here: https://vborg.vbsupport.ru/attachmen...4&d=1264001585

Try adding misc to the THIS_SCRIPT field of the tab you want to use instead of "FORUM"


Well, I might go OT now, but I think this is still a bit related to this mod.

So, I disabled Tabs VB Soporte mod, and I had to learn how to manualy remove and add new tabs. That went good, I removed all tabs exept CMS Homepage. Now, when I enable tab "Forms", I have only this two, "Homepage" and "Forms". When I click to "Forms", a miracle happens, this tab dissapears and I have again my "Forum" tab.

Then I suspected that "Forms" tab had some If-Then-Else clause that pops up this "Forum"tab, since I might be the only one who don't use forum at all. I disabled your tab, and manualy add new tab that links to my 1st form. Again, when clicked this tab dissapears and on it's place I get "Forum" tab.

Then I suspected that this has nothing to do with this mod, but with misc.php script. To test it, I disabled your mod and also deleted my tab. Now I have only Homepage. I enter url .../misc.php, and again, my "Forum" tab is back, it is active and below I have some list of smilies. So, as I suspected, I have a problem even without your mod, only I would never discover it becouse I have no reason to link to this misc.php.

Now, since your mod uses this script, you might be the right person to ask, is it normal that this script activates Forum? Is Forum mandatory for misc.php and for my future forms? Can this be somehow cracked, I browsed misc.php script and also Navbar template, but I see no instruction that would make Forum tab active.

Actualy, I suspect that I did't disable my Forum tab properly, I can't find instructions to do that. I just removed this line from my Navbar template:

Code:

                <vb:else />
                        <li><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></li>
                </vb:if>

Is there some other lines that needs to be deleted from Navbar to permanently remove Forum? I would't need it for some time and I just dont want to see this tab untill my forum is ready for use.

Sorry for OT, but it started with this mod and it still might be related, somehow:confused:

Willy T 07-18-2010 10:25 PM

Can you please make

Quote:

Usergroups Allowed to Edit Forms
Usergroups allowed to add/edit/delete forms (Permission to view Form List is recommended for these usergroups)
each on their own line? I want usergroups to be able to CREATE forms but not delete everyone's in the event someone get's angry. They can request deletion by a moderator.

Thank you!

thetgc 07-19-2010 03:07 PM

Quote:

Originally Posted by bananalive (Post 2071005)
  1. Edit Form
  2. Add the following to both Form Hook: Form Start: and Form Hook: Before Submit:
    $vbulletin->userinfo['userid'] = 0;
    $vbulletin->userinfo['username'] = 'Anonymous';

Thanks :)

But if i was to create a custom answer in lets say the type of a checkbox what what be the PHP code for the checkbox for anonymous as i want users to choose between been anonymous or not.

Thanks,

abqtj 07-19-2010 04:51 PM

This is working out very well for me! Thanks so much!

abqtj 07-19-2010 05:34 PM

Quote:

Originally Posted by Welshy2008 (Post 2055749)
ACP -> Languages & Phrases -> Phrase Manager -> look for 'downloads2', click edit, and re-name it.

Quote:

Originally Posted by lickalotapus (Post 2055926)
I couldn't find 'downloads2' but since I knew where to look I was able to figure it out. It was in the Easy Forms > Phrase section.

Thanks for pointing me in right direction!



Could someone walk me through this? I'd like to change the navbar name as well and I'm not following. I don't see "downloads2".

vilhiem 07-20-2010 01:46 AM

Is it possible to have "answers" on the form output to the "TAG" in a message ...?

Thanks!!!

alexm 07-20-2010 06:41 AM

Quote:

Originally Posted by bananalive (Post 2071013)
Using the quoted code:

I've added line which prevents form being submitted if there are no attachments.

Thanks bananalive, that's brilliant! :cool:

Dragonsys 07-20-2010 01:39 PM

Quote:

Originally Posted by Nikola Bosnjak (Post 2071256)
Well, I might go OT now, but I think this is still a bit related to this mod.

So, I disabled Tabs VB Soporte mod, and I had to learn how to manualy remove and add new tabs. That went good, I removed all tabs exept CMS Homepage. Now, when I enable tab "Forms", I have only this two, "Homepage" and "Forms". When I click to "Forms", a miracle happens, this tab dissapears and I have again my "Forum" tab.

Then I suspected that "Forms" tab had some If-Then-Else clause that pops up this "Forum"tab, since I might be the only one who don't use forum at all. I disabled your tab, and manualy add new tab that links to my 1st form. Again, when clicked this tab dissapears and on it's place I get "Forum" tab.

Then I suspected that this has nothing to do with this mod, but with misc.php script. To test it, I disabled your mod and also deleted my tab. Now I have only Homepage. I enter url .../misc.php, and again, my "Forum" tab is back, it is active and below I have some list of smilies. So, as I suspected, I have a problem even without your mod, only I would never discover it becouse I have no reason to link to this misc.php.

Now, since your mod uses this script, you might be the right person to ask, is it normal that this script activates Forum? Is Forum mandatory for misc.php and for my future forms? Can this be somehow cracked, I browsed misc.php script and also Navbar template, but I see no instruction that would make Forum tab active.

Actualy, I suspect that I did't disable my Forum tab properly, I can't find instructions to do that. I just removed this line from my Navbar template:

Code:

                <vb:else />
                        <li><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></li>
                </vb:if>

Is there some other lines that needs to be deleted from Navbar to permanently remove Forum? I would't need it for some time and I just dont want to see this tab untill my forum is ready for use.

Sorry for OT, but it started with this mod and it still might be related, somehow:confused:

In order for a Tab to work for the Forms properly, you have to use the THIS_SCRIPT tag. Since Forms uses misc.php the THIS_SCRIPT = misc. If you are not using THIS_SCRIPT properly, the tab will disappear when clicked on.
The problem here, is any page which uses the misc.php will cause this tab to highlight.

As for removing the Forum tab, you only removed the Highlighted version of the tab. So when you view a page which does not highlight Forums the Tab will reappear. Look in your NAVBAR Template you should be able to find 2 or 3 Forum Tabs in there.

Dragonsys 07-20-2010 01:43 PM

Quote:

Originally Posted by abqtj (Post 2071624)
Could someone walk me through this? I'd like to change the navbar name as well and I'm not following. I don't see "downloads2".

downloads2 is a different product. You need to look in the Phrases section for Easy Forms.

Choez 07-23-2010 07:41 PM

Hello, Many thanks for this great addon. I however have one question; I want the form to submit to 2 different forums, one is hidden from most and is intended for internal discussion, and the other is for public view. Is there anyway you could assist me with accomplishing this? Even pointing at the right area in the code would be of immense help!


All times are GMT. The time now is 10:14 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.02114 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (8)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