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)

RoC wonko 07-29-2012 01:42 PM

thx for getting back to me, just done it again and I am now able to create the form, but still no sign of the nav bar or quick links option, how am I going to be able to make it visible for my members?

Craigr 07-29-2012 01:53 PM

Quote:

Originally Posted by RoC wonko (Post 2352424)
thx for getting back to me, just done it again and I am now able to create the form, but still no sign of the nav bar or quick links option, how am I going to be able to make it visible for my members?

ADMIN-CP > SETTINGS > NAVIGATION MANAGER > ADD TAB

Product : Easy Forms
Target URL : forms.php
Active : Yes
Display Order : Up to you where you want it to appear. (i have 70 here)

Hit save. :up:

RoC wonko 07-29-2012 02:21 PM

Many thanks all sorted now, I think vb need cach clearing or something along those lines:D

ascroft 07-30-2012 07:22 AM

Thanks for that - worked well.

Mark

Quote:

Originally Posted by michal72 (Post 2348224)
First you need to install this bb code in admincp: AdminCp->Custom BB Codes->BB Code Manager and set for example:

Title: Map
BB Code Tag Name: map
Replacement: - code from previous post
Example: [map]Paris,France[/map]
Description: Insert Google map

then in the form output add something like:
[MAP]{qo_72},{qo_73},{qo_74}[/MAP]

For me the best results I have when I use:
[MAP]number and street, city ,country[/MAP]


bigandy 07-30-2012 02:40 PM

Same here, attachment function is broken.

Create new thread, checked.
Allow attachment, checked.

User groups can make new threads with attachment, without Easy Form.

Any fixed?

Trek 08-01-2012 03:12 AM

Has anyone ever figured out how (or even IF), you can save a field to a customfield in the user profile?

ruacononline 08-01-2012 10:50 PM

Thanks for your Good Mod.
How can I export Form Result to Excel with UTF-8 charset?

Chivava 08-02-2012 09:49 PM

Allright, i just installed Easy Forms, and know that i go to the directory of the forms.php i get this message

Code:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/14/9675814/html/forms.php on line 73

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/14/9675814/html/forms.php on line 73

Anyone knows why this is happening ?

tomlarose 08-03-2012 02:35 AM

How would I go about inserting the answers of a specific form into my database? (Not the default save to databse function)

Elenna 08-04-2012 12:07 AM

During a previous installation, I had a form set up to insert info into the database in the user profile field. If you want it inserted elsewhere, you'll need to modify as necessary. I HIGHLY HIGHLY HIGHLY recommend developing this on a test install because, if you don't know what you're doing, you can royally mess up your database.

Note: This may no longer work, try and use at your own risk. ;)


You first need to get the question number where they enter in the info - you get this in the questions list (I believe) or by editing the individual question.

Then you need to find the corresponding user profile field ID. This is seen in the "name" field on the profile field manager (i.e. "field34").

There are two basic parts to this, the first is to make the field "play nice" with the database so it doesn't break any code. Replace the $q[###] with the appropriate question number. Repeat this line for each question you have that you want to insert into the database... change the $info# AND $query# so that each line (variable) is unique.


Code:

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

$info# = addslashes($q[###]);

$query = $db->query_first_slave("UPDATE userfield SET field###='$info1' WHERE userid='$userid' LIMIT 1");

So for example, if I have a question #12 that I want put in user field 30, and a question #14 that I was in user field 33, this is what mine might look like:

Code:

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

$info1 = addslashes($q[12]);
$info2 = addslashes($q[14]);

$query1 = $db->query_first_slave("UPDATE userfield SET field30='$info1' WHERE userid='$userid' LIMIT 1");

$query2 = $db->query_first_slave("UPDATE userfield SET field33='$info1' WHERE userid='$userid' LIMIT 1");



All times are GMT. The time now is 03: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.03041 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (2)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