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)

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


All times are GMT. The time now is 09:22 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.02394 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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