vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

Digital Jedi 01-18-2009 02:08 AM

Quote:

Originally Posted by serkangul (Post 1716032)
Hello . I, uniform, joint, box, add, want, . How do I do .

Can't understand what your saying. Sorry.

life is boost 01-26-2009 10:07 PM

Quote:

Originally Posted by Digital Jedi (Post 1706483)
Do you have the attachment option enabled in the plugin? It should be showing up wherever you put the attachment variable in the form template. The default example looks like this:

Code:

<if condition="$attachmentoption">
<tr>
<td class="alt1" colspan="3" align="center">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">$attachmentoption</div>
</td>
</tr>
</if>


ye sit is set to 1 in the form and it is in the template. i even tried a completely stock form hack and no attachment box shows up.

lugdug 01-30-2009 07:53 PM

Does anyone know how to change the font size and bold the questions as they are posted to the forum?

zglows 03-01-2009 06:27 PM

just find the questions in the template and add a class to them.
Like this:

<span class="myquestion">Question 1:</span>

biome.pat 03-24-2009 09:10 PM

Anyone know whether this works in 3.8?

RedGTiVR6 03-24-2009 09:21 PM

Yes it does.

leroub 03-25-2009 04:20 PM

Quote:

Originally Posted by biome.pat (Post 1776158)
Anyone know whether this works in 3.8?

Yes...

-------------------------------

Hi all,

how to adapt Form Hack to work with the hack VaultWiki https://vborg.vbsupport.ru/showthread.php?t=189446...

Thank you kindly help me... :up:

chesterano 04-07-2009 12:41 PM

Someone please help I getting an error when try open
http://mysite.com/newthread.php?do=form


Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT *
FROM vb_thread_fields_admin
WHERE (find_in_set( ,forums) OR forums = 0)
ORDER BY display;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'forums) OR forums = 0)
ORDER BY display' at line 3
Error Number : 1064
Request Date : Tuesday, April 7th 2009 @ 03:33:34 PM
Error Date : Tuesday, April 7th 2009 @ 03:33:34 PM
Script : http://mysite.com/newthread.php?do=form
Referrer :
IP Address : xxx.xx.xxx.xxx
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.0.45

Marvin Hlavac 04-19-2009 01:10 PM

Abe, thanks, I just added this mod to my site. Not an issue adding it to the latest vBulletin 3.8.2 version.

Chevy II 04-22-2009 02:24 AM

I'm thinking that I've done something wrong or haven't finished the install. After installing the mod I was able to run the install (example) form and it looked good. After I have made changes to the plug-in (hook) nothing has worked properly.

I have done the following so far:

-Import the XML into products.
-Edited the main plug-in (hook) to match my requirements and changed the part 1 and part 2 to match my questions.
-I've edited the form answer to also match the plug-in questions that I've added.

What am I not doing correctly, because all I get is a white screen when I attempt to run the form.

Thanks!

Stryker412 05-07-2009 07:09 PM

What's the proper code for a radio question in the form template? I added a dropdown and radio question to my form. I copied the code and used it for both but I know the radio code is wrong.

Code:

<tr>
<td class="alt2" valign="middle" colspan="2">
<select name="dropdownanswer7">
<option value="$dropdownchoice7a" <if condition="$dropdownchoice7a == $dropdownanswer7">selected="selected"</if>>$dropdownchoice7a</option>
<option value="$dropdownchoice7b" <if condition="$dropdownchoice7b == $dropdownanswer7">selected="selected"</if>>$dropdownchoice7b</option>
</select></td>
</tr>
<tr>
<td class="alt1" valign="middle" colspan="2">
<select name="radioanswer4">
<option value="$radiochoice4a" <if condition="$radiochoice4a == $radioanswer4">selected="selected"</if>>$radiochoice4a</option>
<option value="$radiochoice4b" <if condition="$radiochoice4b == $radioanswer4">selected="selected"</if>>$radiochoice4b</option>
</select></td>
</tr>


Stryker412 05-13-2009 03:43 PM

bump, anyone know?

kanzleramt 05-21-2009 12:14 PM

Is there a chance to subtract a sum out of Reputation Points for Users only who have Thanked? It makes no difference how many Rep Points are being substracted but I'd like to know how it works.

Example: "User A" has 50 Rep Points. After a submitted (given) Thanks "User A" has 49 Rep Points instead of 50.

Thanks in advance

nalexandre 06-05-2009 05:14 PM

Hi, where do i set the options of the form????

Thanks

Digital Jedi 06-05-2009 08:17 PM

Quote:

Originally Posted by nalexandre (Post 1824040)
Hi, where do i set the options of the form????



Thanks

In the plugin. Instructions are written in there too.

nalexandre 06-05-2009 09:13 PM

Thank you, i have another question,

When comes an update? No admin cp control??? I set options to post in a forum but nothing there, can you helP?

Thank you and sorry my english.

Obrigado,

Zephanor 06-08-2009 01:01 AM

Forgive me if this has been covered in the previous posts but I didn't see anything in my search... I have this installed on 3.8.x and it's working fine except for one aspect. The forms are being posted in a private forum but all replies to that forum are being received by e-mail to the guest. They can't access the forum or the thread the form generates but they are getting the e-mail updates. This didn't happen in 3.7.x and only started after I upgraded to the next version. No changes were made to the forms since they were first installed.

For example if my previous explanation wasn't clear:
  • A guest fills out a form on our forum.
  • The form is posted in an administrator forum where a poll is attached, discussions are made and votes cast.
  • Any reply to the thread the form creates generates an e-mail notification to the guest who does not have access to the private forum the form thread is posted.

If anyone has any ideas on what I can look at to fix this I would greatly appreciate it.

Thanks!

Digital Jedi 06-08-2009 08:51 AM

Quote:

Originally Posted by Zephanor (Post 1825365)
Forgive me if this has been covered in the previous posts but I didn't see anything in my search... I have this installed on 3.8.x and it's working fine except for one aspect. The forms are being posted in a private forum but all replies to that forum are being received by e-mail to the guest. They can't access the forum or the thread the form generates but they are getting the e-mail updates. This didn't happen in 3.7.x and only started after I upgraded to the next version. No changes were made to the forms since they were first installed.

For example if my previous explanation wasn't clear:
  • A guest fills out a form on our forum.
  • The form is posted in an administrator forum where a poll is attached, discussions are made and votes cast.
  • Any reply to the thread the form creates generates an e-mail notification to the guest who does not have access to the private forum the form thread is posted.

If anyone has any ideas on what I can look at to fix this I would greatly appreciate it.

Thanks!

If I recall correctly, this was a bug some other admins were having even on older versions. I can't seem to find it right now, but somewhere in this thread someone had posted some code to try and block the subscription process, but I don't think they ever reported back if they were successful or not.

Zephanor 06-09-2009 03:26 AM

Thanks for the tip. I searched the thread and the closest I came to a possible solution was post 1341 which is actually 2 pages back. /boogle

I tried making the suggested changes but unfortunately they made no difference.

:(

wrang 06-11-2009 05:25 AM

great jobb but i have a problem.
When you should attach a file it dosent came up when you are a member etc. But when you are a moderator, admin it came upp.
I have set the USERGROUPS ALLOWED

PHP Code:

if (!in_array($vbulletin->userinfo['usergroupid'], array(6,2,7,5,23,22,31,36,30,32))) print_no_permission(); 

or is it some more place i should set it that member etc can upload a file

Quote:

Originally Posted by Deepdog009 (Post 1541021)
HabboHut,,,
  • Goto admincp and look 4 usergroup options area...
  • Open and make changes to only groups that U wish to access page...

**************************************************

I forgot about the internal usergroup option within this mod...
Look in the PLUGIN code at the top and edit the usergroup option there to allow other members grps...

I have made this but its the same

wrang 06-11-2009 06:19 PM

Now i have looking for some wrong but i cant find anything wrong

Has someone get this work for anybody else like admin, mod to attach a file in the form hack or just me

wrang 06-13-2009 07:19 AM

Sorry to nag, but is there anyone who can help me?
I searched in the threads but i dident found a solution

Digital Jedi 06-13-2009 01:52 PM

Did you check you normal usergroup settings for attachments?

wrang 06-13-2009 06:47 PM

Yes it says
Usergroup Manager - Can Upload Attachments - Yes
Forum Permissions Manager - Attachment Permissions - Yes

Digital Jedi 06-14-2009 11:07 PM

Quote:

Originally Posted by wrang (Post 1829125)
Yes it says
Usergroup Manager - Can Upload Attachments - Yes
Forum Permissions Manager - Attachment Permissions - Yes

Attachments are tricky in vB. Also check the vB Options on attachments and your Attachment Manager settings.

wrang 06-15-2009 09:00 AM

Quote:

Originally Posted by Digital Jedi (Post 1829834)
Attachments are tricky in vB. Also check the vB Options on attachments and your Attachment Manager settings.

Realy strange.
All i can see it right set yes


Thanks so far :up:

wrang 06-16-2009 03:06 PM

Now i have tested to copy a usergroup ho it work fornow to the two it dosent work, but its the same.
two usergroup cant upload a attachment

wrang 06-21-2009 08:03 PM

Same problem is it someway it can be set so all members can attach files,
I do not sort out this problem :erm: and want it to work

chrisbeau 08-12-2009 09:23 PM

I have this working for 3.7.2 and I only use the questions ($question1/2/3). All working nicely but the forum section it posts to requires prefixes, how can I go about adding which prefix to select into this form ??

BTW If I change it to does not require prefixes it works fine, but I want prefixes more than this mod so they have to stay.

Im so close to what I want please can you advise ?

How it is now:
Attachment 103173

Attachment 103174

How I want it to appear using the prefixes:

imk 08-13-2009 01:49 PM

please explain how to install better for newbs to codeing!

i installed the xml file

now where do i go to create a custom form? and where do i choose where to put it?

durdan1 08-18-2009 10:54 PM

Quote:

Originally Posted by imk (Post 1866475)
please explain how to install better for newbs to codeing!

i installed the xml file

now where do i go to create a custom form? and where do i choose where to put it?

Me too, im lost. Where is the hook?

PlaybyPlay 08-19-2009 12:48 AM

I have a problem... The prefix Moderated: comes up with these submissions, and it doesn't show up in the post count....

harakiri 10-11-2009 06:13 PM

Hi there,

first: thanks a lot for this mod :).

I'm having a little problem, where using your form to create a new post into a thread the lastpost isn't updated on the forumhome.

Is there any fix or a hint?

Regards,
Christian

(I can see the post on "get daily" and in the specific forum.. but not on the forum home)

harakiri 10-18-2009 10:14 AM

FIXED!

there's something missing @ plugins:

below:

PHP Code:

if ($formreply == "1")
{
$threadinfo verify_id('thread'$formreplythreadid01); 

add this:

PHP Code:

$foruminfo verify_id('forum'$formforumid01); 

works :)

davida500 11-03-2009 09:09 PM

Let's say I wanted to make it so when you choose a certain radio answer, a new question appears on the form. How would I go about doing that?

RedGTiVR6 12-01-2009 10:48 PM

Has anyone ever figured out how to require an attachment with this hack?

I would be very greatful for any assistance with this aspect.

Many thanks in advance!

wolfey 12-07-2009 11:07 PM

Awesome tool!

Customized everything exactly the way I needed..excellent instructions...even for a non programmer to understand!

OK simple question & fix I hope:

In the FormAnswer template for when it displays the answered questions if someone didnt answer all of them it still shows a blank space where that answer would be..

How do I make it so the completed form will not leave a space for the unanswered questions?

Thank you in advance!

Copy of part of code used in template:

Code:

$checkboxquestion1
$checkboxanswer1_1
$checkboxanswer1_2
$checkboxanswer1_3
$checkboxanswer1_4
$checkboxanswer1_5
$checkboxanswer1_6 
$checkboxanswer1_7
$checkboxanswer1_8
$checkboxanswer1_9


wolfey 01-12-2010 09:35 AM

Anyone have the answer? I've playing around with it and cant get the answers to look good

idslamyou 01-13-2010 05:50 AM

Does anyone have this installed on vb4.0? I searched for a similar mod in the vb4 forum but found nothing.

Cadellin 01-13-2010 09:38 AM

Quote:

Originally Posted by idslamyou (Post 1954174)
Does anyone have this installed on vb4.0? I searched for a similar mod in the vb4 forum but found nothing.

Likewise I would be interested in a mod like this for v4.0


All times are GMT. The time now is 05:25 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.03105 seconds
  • Memory Usage 1,841KB
  • 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
  • (3)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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