vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Abe1 08-22-2005 03:14 AM

Quote:

Originally Posted by Zain Jaffer
But then users can also make normal threads in that forum part. What if you don't want users to post in that forum but you do want them to fill in the form?
I mean this for like a news submit system. That would get in the news area...

Check out the lates update. It fixes this.

Abe1 08-22-2005 03:16 AM

Quote:

Originally Posted by RMS-Chef
Thanks for this update. There are a few things I would need to be able to use this though. Is any of the following possible?

Immediate Wish List
-URLs submitted are clickable in the resulting post

Complicated? Wish List
-Have something like $titlefield1, $titlefield2, $titlefield3, etc. that when completed, generates the thread title for a new post or subject line for a sent email, etc. As a generic example say for submitting an auction item: "Title", "Location", and "Cost". The user would fill in something like: "2000 Ford Mustang for sale", "Ebay", and "$12,000". Then the resulting generated thread title would be: "2000 Ford Mustang for sale | Ebay | $12,000"

Are you saying URL are not parsed?

The second is easy. Maybe for next release.

Abe1 08-22-2005 03:16 AM

Quote:

Originally Posted by Sovereign
so do I have to make copies of the plugin to make more forms?

Yes.

RMS-Chef 08-22-2005 03:26 AM

Quote:

Originally Posted by Abe1
Are you saying URL are not parsed?

The second is easy. Maybe for next release.

No, for example, when testing the default form I entered a URL (including the http://) and it is not being parsed.

And if you could get my second request going, other than vBAdvanced CMPS, this would be the #2 most usefull hack for me. I just really can't use it if all thread titles are the same.

Thanks again for your quick responses.

Abe1 08-22-2005 03:30 AM

Quote:

Originally Posted by RMS-Chef
No, for example, when testing the default form I entered a URL (including the http://) and it is not being parsed.

And if you could get my second request going, other than vBAdvanced CMPS, this would be the #2 most usefull hack for me. I just really can't use it if all thread titles are the same.

Thanks again for your quick responses.

This way do dont have to wait,

Find this 2 times:
$newpost['title'] =& $formtitle;

and replace the $formtitle with any varable you want from the form. If you want 2 together, put them in quotes.

Abe1 08-22-2005 03:31 AM

Yes, I know i'm awsome, you dont have to say it ;)

This is what I do on my site for my forms.

RMS-Chef 08-22-2005 05:15 AM

Quote:

Originally Posted by Abe1
Yes, I know i'm awsome, you dont have to say it ;)

This is what I do on my site for my forms.

Thank you very much. Figures I have to go to sleep before giving this a shot. :(
I will try things out tomorrow, and thanks again.

Sovereign 08-22-2005 01:22 PM

Now that I understand this thing, [INSTALL] When you make a copy of the plugin, does it generate the templates for you or do you have to write them?

RMS-Chef 08-22-2005 05:46 PM

Quote:

Originally Posted by RMS-Chef
No, for example, when testing the default form I entered a URL (including the http://) and it is not being parsed.

And if you could get my second request going, other than vBAdvanced CMPS, this would be the #2 most usefull hack for me. I just really can't use it if all thread titles are the same.

Thanks again for your quick responses.

It does pass bbcode fine though.

So, if I enter:
Code:

http://yahoo.com
I just get unparsed text in the post.

But if I enter (I wont enter correctly or it will parse here as well):
Code:

[ url=http://yahoo.com ]Yahoo[ /url ]
I get the clickable link.

One of my required $longanswer fields are file URL locations so without URLs being parsed and the lack of a WYSIWYG editor controls, I fear my average user will not do things right.

Abe1 08-22-2005 07:14 PM

Quote:

Originally Posted by RMS-Chef
It does pass bbcode fine though.

So, if I enter:
Code:

http://yahoo.com
I just get unparsed text in the post.

But if I enter (I wont enter correctly or it will parse here as well):
Code:

[ url=http://yahoo.com ]Yahoo[ /url ]
I get the clickable link.

One of my required $longanswer fields are file URL locations so without URLs being parsed and the lack of a WYSIWYG editor controls, I fear my average user will not do things right.

I'm going to work on getting the forum default options to work on the parsing. I understand the problem.


All times are GMT. The time now is 03:31 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.01966 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (8)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