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)

ErikTheRed 07-07-2011 10:37 PM

Can a form created with this mod be placed in a sidebar in the forums and/or CMS? I tried searching for my answer but couldn't find anything related.

It appears, from screenshots, that users would have to visit a specific URL to submit the form, but I'd like a small one available on most or all pages for users to submit.

HolyKiller 07-09-2011 09:35 AM

Quote:

Originally Posted by Elenna (Post 2217589)
I installed this on 4.1.4, but my administrator account(s) receive the "No Permission" error when trying to view the forms listing. Any ideas?

Admin CP -> Settings -> Options -> Easy Forms Options -> Set up permissions for every action/group. Default is "Noone can do anything", so you need to set it how it should work :]

Quote:

Originally Posted by ErikTheRed (Post 2217943)
Can a form created with this mod be placed in a sidebar in the forums and/or CMS? I tried searching for my answer but couldn't find anything related.

It appears, from screenshots, that users would have to visit a specific URL to submit the form, but I'd like a small one available on most or all pages for users to submit.

iframe for example?

Elenna 07-09-2011 01:15 PM

1 Attachment(s)
Quote:

Originally Posted by HolyKiller (Post 2218467)
Admin CP -> Settings -> Options -> Easy Forms Options -> Set up permissions for every action/group. Default is "Noone can do anything", so you need to set it how it should work :]

Options were already checked-off for me, with Administrator being allowed access to everything.

See attachment for my Options screen.

Elenna 07-09-2011 01:16 PM

Scratch the reply, above. I had to give Registered Users access to view the Form List. Now my Administrator has access.

autostick 07-10-2011 04:45 PM

Quote:

Originally Posted by ErikTheRed (Post 2217943)
Can a form created with this mod be placed in a sidebar in the forums and/or CMS? I tried searching for my answer but couldn't find anything related.

It appears, from screenshots, that users would have to visit a specific URL to submit the form, but I'd like a small one available on most or all pages for users to submit.

Yes indeedy, I am also in needy of this function. Hope to hear if there is a sidebar option or a direct URL reference for an easy form.

ascroft 07-13-2011 04:56 AM

Just to be clear it works fine for the forum it gets moved to, but the forum it was posted in in the first place still shows the header detail for the post that is no longer there...

Thanks

Mark

Quote:

Originally Posted by ascroft (Post 2217319)
Hi there Dom.

The refresh of what was the last post in a forum using a plugin seems to have stopped working probably due to another change I made using arrays to have the thread prefix working. The move itself to the correct forum is fine but not the forum details update - keen to have this working again. (think it is at the bottom of the code below)

We added a plugin that moved the thread to the correct forum (newthread_post_complete) and it has the following:

if ($fid == 1)
{
$forumid = $q['forumid'];
$dataman =& datamanager_init('Thread', $vbulletin, ERRTYPE_ARRAY, 'threadpost');
$dataman->set_existing($threadinfo);
$dataman->setr('forumid', $forumid);
$dataman->pre_save();
if (count($dataman->errors) > 0)
{
foreach ($errors as $error)
{
$errorss .= $error. "<br />";
}
$errormessage = "Form failed to submit. The following error(s) occured: <br /> ".$errorss;
eval(standard_error($errormessage));
}
else
{
$dataman->save();
$foruminfo = fetch_foruminfo($forumid);
$threadinfo = fetch_threadinfo($newpost['threadid']);
mark_thread_read($threadinfo, $foruminfo, $vbulletin->userinfo['userid'], TIMENOW);
build_thread_counters($newpost['threadid']);
build_forum_counters($forumid);
}
}


I have pasted below the code for the custom question from the form that I think is related:

$newarray = array(
158 => $vbulletin->forumcache['158'],
160 => $vbulletin->forumcache['160'],
161 => $vbulletin->forumcache['161'],
162 => $vbulletin->forumcache['162'],
163 => $vbulletin->forumcache['163'],
165 => $vbulletin->forumcache['165'],
167 => $vbulletin->forumcache['167'],
168 => $vbulletin->forumcache['168'],
169 => $vbulletin->forumcache['169'],
170 => $vbulletin->forumcache['170'],
172 => $vbulletin->forumcache['172'],
174 => $vbulletin->forumcache['174'],
175 => $vbulletin->forumcache['175'],
177 => $vbulletin->forumcache['177'],
179 => $vbulletin->forumcache['179'],
181 => $vbulletin->forumcache['181'],
61 => $vbulletin->forumcache['61'],
182 => $vbulletin->forumcache['182'],
183 => $vbulletin->forumcache['183'],
184 => $vbulletin->forumcache['184'],
186 => $vbulletin->forumcache['186'],
188 => $vbulletin->forumcache['188'],
190 => $vbulletin->forumcache['190'],
191 => $vbulletin->forumcache['191'],
193 => $vbulletin->forumcache['193'],
56 => $vbulletin->forumcache['56'],
194 => $vbulletin->forumcache['194'],
195 => $vbulletin->forumcache['195'],
197 => $vbulletin->forumcache['197'],
);
$answer = "<select name=\"$formbit[id]\" id=\"q_" . $formbit[id] . "\">";
foreach ($newarray AS $forumid => $forum)
{
if ($qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>";


I have also pasted the code for the newthread_form_start -

if (in_array($forumid, array(158,160,161,162,163,165,167,168,169,170,172, 174,175,177,179,181,61,182,183,184,186,188,190,191 ,193,56,194,195,197)))
{
header('Location: /listings/misc.php?do=form&fid=1');
}

Can you advise please?

Thank you

Mark


rootsxrocks 07-19-2011 02:12 AM

Upgraded to 4.14 and some parts of this use the forum editor and have no way to enter text if you select those, such as a description.

I have disabled until a solution is reached .

autostick 07-19-2011 02:53 AM

Is there any way to establish a link to a form from the CMS home page? Or maybe a dropdown list?

rootsxrocks 07-19-2011 03:37 AM

you could do that with a widget

Crotan 07-19-2011 03:43 AM

Quote:

Originally Posted by rootsxrocks (Post 2222271)
Upgraded to 4.14 and some parts of this use the forum editor and have no way to enter text if you select those, such as a description.

I have disabled until a solution is reached .

Yea :( I'm still waiting for a fix with 4.1.4's ck editor too, last thing I saw was his test version 4.2.7 isn't working for everybody. Me included

Quote:

Originally Posted by autostick (Post 2222281)
Is there any way to establish a link to a form from the CMS home page? Or maybe a dropdown list?

each form you create has a unique url path, so you should be able to link them anywhere, or create navbits with any of the navbar mods out there


All times are GMT. The time now is 10:20 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.02939 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
  • (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