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)

Quantnet 07-06-2009 06:07 PM

Which permission I need to give unregistered members to be able to view form and form result table but not submit form

Quantnet 07-06-2009 06:10 PM

Suggestion:
In the form edit,
Userids:
Comma seperated list of userids who have submitted the form

Can we replace userid by username? That would be more useful.

ConfusedCartman 07-06-2009 07:30 PM

Quote:

Originally Posted by bananalive (Post 1843844)
The prefix is a seperate field in thread database table not part of the post. $formoutput is what gets stored as the post and does not contain prefix data.

Ah, I see I've confused you. I'm taking a different route, so I'll ask a different question:

Is there any way to use PHP to append "&prefixid=f4f" onto the end of the url that is submitted? This may allow me to use an if-else statement and, if it returns true, add the actual prefix to the thread.

By the way, if there is any way you can allow users to select their own prefix, that would be a much better solution than the above. Like I said, I tried the code you offered earlier, but it didn't work. Is there any way you can add this functionality?

bananalive 07-07-2009 03:19 PM

Quote:

Originally Posted by Quantnet.org (Post 1843940)
bananalive,
Thanks, it works.
1) It would be nice to edit this phrase as well to show the red color.

2) Which template do I edit to rearrange the form result table? I like to remove/add another column, for example
3) The sort by column header still does not work. You mentioned about using javascript in 3.7. Is it implemented yet?

Thanks for all your hard work. This is a heck of a mod.

1. i might move that into phrase for next version.

2. it's hard coded atm.

3. you'll be missing two javascript files, which are needed for javascript sort table

bananalive 07-07-2009 03:23 PM

Quote:

Originally Posted by Quantnet.org (Post 1843947)
You answered to No to the question of whether a member can go back and edit/update their partially filled form.

How about give the user the option to delete their forms and enter a new one with updated info. Would it be able to have a Delete/Add button next to the form result table so the user can click to remove one of their form, and replace it with another.

Can AJAX feature be implemented in the future?

You know i'm trying to mold this into the trackitt.com feature so hope you can understand :)

form results table is currently only viewable to those who can edit forms. it is much easier to implement than updating it.

What part did you want to use ajax?

bananalive 07-07-2009 03:24 PM

Quote:

Originally Posted by Quantnet.org (Post 1843971)
Which permission I need to give unregistered members to be able to view form and form result table but not submit form

Currently it is not possible for those who cannot edit forms to view form results table. This is something i am working on for v3.7.

bananalive 07-07-2009 03:26 PM

Quote:

Originally Posted by Quantnet.org (Post 1843973)
Suggestion:
In the form edit,
Userids:
Comma seperated list of userids who have submitted the form

Can we replace userid by username? That would be more useful.

User-names would make the list very long and unmanageable. Although not ideal, user-ids are much shorter and practical to use.

bananalive 07-07-2009 03:31 PM

Quote:

Originally Posted by ConfusedCartman (Post 1844016)
Ah, I see I've confused you. I'm taking a different route, so I'll ask a different question:

Is there any way to use PHP to append "&prefixid=f4f" onto the end of the url that is submitted? This may allow me to use an if-else statement and, if it returns true, add the actual prefix to the thread.

By the way, if there is any way you can allow users to select their own prefix, that would be a much better solution than the above. Like I said, I tried the code you offered earlier, but it didn't work. Is there any way you can add this functionality?

The forms use POST actions i.e. the data is not sent via a long url containing all the data and hence is more secure.

If you open template form_view

find:
HTML Code:

<input type="hidden" name="hiddenfield3" value="$hiddenfield3" />
Add after:
HTML Code:

<input type="hidden" name="prefixid" value="f4f" />

The data is then available through $_POST[prefix] after the form is submitted.

I'll have another look at my code posted earlier and find out why it didnt work for you.

chet 07-07-2009 06:18 PM

Can this been used as a forum application form, I run a closed forum but would like users to be able to apply to join.

Thanks

WickedWeb 07-08-2009 05:29 AM

Im posting this with the disclaimer of many others. I have tried searching this thread but its huge and I've had no luck at the moment so my apology if its been answered.

If it helps any I've Installed* Rated 5 Stars and Nominated as its well deserved for all 3 in my opinion. I can do anything with this.

My problem is this. In the vb form options you can set it for the button to show up in your navbar which I have done. I use a custom template so what I need to do is assign the button a defined height and width along with a class for it to blend nicely with my layout. I have looked in the header and other locations that I can think of looking for anyway to add my desired values but I never see any reference of the button along side the other navbar buttons. Where do I need to be to achieve this?

My sincere thanks


All times are GMT. The time now is 10:14 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.02507 seconds
  • Memory Usage 1,752KB
  • 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_html_printable
  • (6)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