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)

zglows 11-16-2007 03:22 PM

a want the popup that goes like: please write something
but i think this is java on the template, right?

CMF 11-17-2007 12:40 PM

Quote:

Originally Posted by CMF (Post 1382310)
Thank you attroll and Brundlefly for you help :)

I now have the form working exactly as I would like it to, except for one thing:
How can I change the poll title?

Thanks again :D

Anyone? :confused:

attroll 11-17-2007 04:04 PM

Quote:

Originally Posted by CMF (Post 1384333)
Anyone? :confused:

Can't you change it just like you do with any other poll in the forums.

CMF 11-18-2007 12:03 AM

Quote:

Originally Posted by attroll (Post 1384447)
Can't you change it just like you do with any other poll in the forums.

I can, but what I mean is:
At the moment the poll question/title is automatically set as the title of the thread, I however would like for it to be automatically set to something else.

Thanks for getting back to me :)

attroll 11-18-2007 02:38 AM

I am confused as to why you want a poll in a form in the first place? If a person wants users to reply to polls and to vote in them then why aren?t they posting them in the forums? Why do they want to post them in a form?

Don?t take this wrong I am just asking.

CMF 11-18-2007 01:51 PM

No offence taken.

I am using the form for application purposes, I run a gaming clan.
If someone wants to join my clan the must apply - using the form.

When they post the form, the form gets posted into a private forum which only current clan members can view. They can then see the new application, comment on it, and vote in the poll whether or not they want to let the user join or not.

At the moment however, it's not entirely clear what the poll is there for so they all comment on the applications saying they want them in the clan or not, but nobody uses the poll lol :D

jheigl 11-21-2007 04:27 AM

I am having a lot of trouble customizing this to what I need. Can the coder or anyone else for that matter make it to what I need please? I will give you exactly what I need if anyone is willing to do it for me. Thanks!

Brundlefly 11-21-2007 12:05 PM

Quote:

Originally Posted by CMF (Post 1384926)
No offence taken.

I am using the form for application purposes, I run a gaming clan.
If someone wants to join my clan the must apply - using the form.

When they post the form, the form gets posted into a private forum which only current clan members can view. They can then see the new application, comment on it, and vote in the poll whether or not they want to let the user join or not.

At the moment however, it's not entirely clear what the poll is there for so they all comment on the applications saying they want them in the clan or not, but nobody uses the poll lol :D

I'm using this hack for the exact same purpose in one of our applications. The way probably around your issue is to form the post title in a way that corresponds to the poll options. The poll title will be the same as the post title. It seems fluid in the way i've done it, example provided;

Quote:

Post title = "Membership request from CMF - Sponsored by Brundlefly"
Poll option1 = "Yes, I support granting membership"
Poll option 2 - "No, I do not supporting granting membership"

Grimbone 11-21-2007 02:54 PM

In the code below. how would I go about sending a post to 2 different forums?

Code:

$formforumid = "13";
I am trying to get this to post to both a regular section of the forums and to a private section.

snakeair 11-22-2007 12:08 AM

[edit]==== Nevermind, i just un-installed and re-installed.

Works now. I must have deleted something by mistake on first try.


All times are GMT. The time now is 03:17 PM.

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.02161 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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