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)

leroub 12-09-2005 01:47 AM

i have a problem... i put "mysite/newthread.php?do=form" ... and i have a blank page ???

thanks for your help...

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

Thanks for your help... but i found my prob... i forget 1 comma.... :rolleyes:

Abe1 12-09-2005 12:56 PM

Version 3.2: (12/09/2005)
  • [ADDED] Option to make polls public.

Ramsesx 12-09-2005 01:17 PM

Thanks for the new version, only one question, the vb message box isn't there anymore?

Abe1 12-09-2005 06:28 PM

Quote:

Originally Posted by Ramsesx
Thanks for the new version, only one question, the vb message box isn't there anymore?

You have to give me more info then just that.

silurius 12-09-2005 08:19 PM

Quote:

Originally Posted by Abe1
Put as the thread title "$user[userid]'s Interview".

Hi Abe,

I've tested the updates and all is well for the most part. I am a bit confused about how to set the thread title to include the submitter's name. As directed above, I've edited line # 358 to be this, but the thread still ommits the username:

Code:

$posttitle = "$user[userid]'s story submission";
yields: 's story submission

Ramsesx 12-10-2005 03:22 AM

Quote:

Originally Posted by Abe1
You have to give me more info then just that.

Ok, sorry, I installed the versions 2.7, 3.0,3.1,3.2 but I never saw a box (attached image) as in your form screenshot, how can I get this into my form?
Thanks

Abe1 12-10-2005 09:06 PM

Quote:

Originally Posted by Ramsesx
Ok, sorry, I installed the versions 2.7, 3.0,3.1,3.2 but I never saw a box (attached image) as in your form screenshot, how can I get this into my form?
Thanks

You have to compare the templates.

Abe1 12-10-2005 09:08 PM

Quote:

Originally Posted by silurius
Hi Abe,

I've tested the updates and all is well for the most part. I am a bit confused about how to set the thread title to include the submitter's name. As directed above, I've edited line # 358 to be this, but the thread still ommits the username:

Code:

$posttitle = "$user[userid]'s story submission";
yields: 's story submission

It should be $bbuserinfo[userid]

if that doesn't work, put on the line before,
PHP Code:

$bbuserinfo $vbulletin->userinfo


lanc3lot 12-11-2005 04:08 PM

What u do mean, when u are saying:

2 - Edit the main hook - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!

How can i edit? U mean through the edit on Products?

Abe1 12-11-2005 06:51 PM

Quote:

Originally Posted by lanc3lot
What u do mean, when u are saying:

2 - Edit the main hook - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!

How can i edit? U mean through the edit on Products?

plug-ins

SupermanInNY 12-12-2005 10:45 PM

Quote:

Originally Posted by 2fast4ya
can this be hooked into the "create new thread" button in the forums for certain forums. For instance... i have a website that users can buy, sell, and trade domain names, and this would be useful if i can hook it into that button. But make it different for each forum. could that be done? Specifically to a CERTAIN forum? if so, how?

I second that!
I have a Review/Feedback forum and the "New Thread" in that particular forum should create this form as each thread is a review/feedback on it's own.

However, of course in the other forums it is regular posts, so the "New Thread" should simply create a new thread.

This will be a very welcome and desirable feature.

Thanks for the great work so far!

-Alon.

Skyline_GT 12-13-2005 01:20 AM

Quote:

Originally Posted by Skyline_GT
can you give me more details??

anyone please?
https://vborg.vbsupport.ru/showpost....&postcount=312

JayJay 12-13-2005 09:35 AM

Any ideas why I am encountering the following error?

"No Thread specified. If you followed a valid link, please notify the administrator"

showthread.php?p=

It does not seem to want to post nor redirect me.

Abe1 12-13-2005 11:59 AM

Quote:

Originally Posted by JayJ
Any ideas why I am encountering the following error?

"No Thread specified. If you followed a valid link, please notify the administrator"

showthread.php?p=

It does not seem to want to post nor redirect me.

What are you making? (thread/post/pm/email)

What is your redirect option set to?

JayJay 12-13-2005 12:35 PM

Tried creating a post. I've uploaded the original product and only changed the forumid I wish the form to post to and the option.

I've tried options 1, 2, and 3.

I had a conflict when using the Contract hack, but disabled and uninstalled that now. I thought maybe it was that causing the problems.

Abe1 12-13-2005 03:05 PM

Quote:

Originally Posted by JayJ
Tried creating a post. I've uploaded the original product and only changed the forumid I wish the form to post to and the option.

I've tried options 1, 2, and 3.

I had a conflict when using the Contract hack, but disabled and uninstalled that now. I thought maybe it was that causing the problems.

I'll have to look into it. Can you PM me how your plug-in looks now. Please send it in PHP tags.

Abe1 12-14-2005 01:58 AM

I have created a hack that allows you to set were the "New Thread button goes to. https://vborg.vbsupport.ru/showthread.php?t=102923

silurius 12-14-2005 02:18 AM

Quote:

Originally Posted by Abe1
I have created a hack that allows you to set were the "New Thread button goes to. https://vborg.vbsupport.ru/showthread.php?t=102923

Once again, fantastic work. I'll definitely have use for this! Would also love to have dropdown options determine the destination of the output.

Assuming the New Thread hack can't be tweaked to accomplish this, could you add that request to the pile?

:)

Abe1 12-14-2005 02:47 AM

Quote:

Originally Posted by silurius
Once again, fantastic work. I'll definitely have use for this! Would also love to have dropdown options determine the destination of the output.

Assuming the New Thread hack can't be tweaked to accomplish this, could you add that request to the pile?

:)

I'll try to post a way to do this some time.

tidy_boy 12-14-2005 05:59 PM

How do I create a form?

Thanks

silurius 12-14-2005 06:43 PM

Quote:

Originally Posted by tidy_boy
How do I create a form?

Thanks

As Abe has said in this thread, the setup instructions are all in the XML file, although they are spread out a bit and it might require a bit of troubleshooting to master. The general process I followed was:
1. Make a copy of product-form_hack.xml - name the file according to what kind of form you're creating for your own tracking purposes.
2. Edit product id to correspond with what you are creating
3. Edit title & description ""
4. Edit $formname "" (no spaces or weird characters, underscore is ok)
5. Study the "Customize Variables" section (begins at line 229 I think).
- You can leave any variables you don't plan to use there
6. Edit the "Usergroups Allowed" section according to your needs (line 273)
7. If you plan to create more than one form, edit the Templates section (starts @ line 278)
8. Continue editing the options that follow as needed.
9. Save & upload the product.
10. Call the form using http://www.YOURSITE.com/forum/newthread.php?do=[whatever you put as $formname]
It only took a couple of tries before I got the hang of it and it works like a champ.

tidy_boy 12-14-2005 07:38 PM

Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Abe1 12-14-2005 08:04 PM

Quote:

Originally Posted by tidy_boy
Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Use the option to farward your users to the edit post page.

silurius 12-14-2005 09:15 PM

Quote:

Originally Posted by Abe1
Quote:

Originally Posted by tidy_boy
Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Use the option to farward your users to the edit post page.

Although the button for it is not actually shown, using https://vborg.vbsupport.ru/ in the WYSIWYG box has worked for me.

But because my submissions go to a private area, I'm still on the lookout for an upload feature which does not require that the user visit the forum where their post ended up.http://asdfasfd

Noonster 12-15-2005 08:28 AM

Would it be possible to add a paypal field to it so they can actually pay via the form??

IE....
- Complete form with details needed, name, address etc...
- Then at the end is a payment box where they enter their paypal email addy and it sends the money to our paypal account and the form is then pm/emailed to an admin as normal.

That would be great and your help much appreciated!

Cheers
Daz

apdcanari 12-15-2005 11:15 AM

Quote:

Originally Posted by JayJ
Any ideas why I am encountering the following error?

"No Thread specified. If you followed a valid link, please notify the administrator"

showthread.php?p=

It does not seem to want to post nor redirect me.

Hello,

I have the same error.

Can you help me, please ?

Thanks,

C?dric :ermm:

Abe1 12-15-2005 12:29 PM

Quote:

Originally Posted by apdcanari
Hello,

I have the same error.

Can you help me, please ?

Thanks,

C?dric :ermm:

Was the thread created?

apdcanari 12-15-2005 01:07 PM

My config

Thanks,

Cédric :ermm:

utw-Mephisto 12-15-2005 01:55 PM

Great hack and it works like a charm, however, configuration could be easier through a gui, automatic template creation when using more than one form would be better and the created thread could look a bit better too :)

But this are just my .5c

Abe1 12-15-2005 02:01 PM

Quote:

Originally Posted by apdcanari
My config


Thanks,

C?dric :ermm:

Does the thread get created?

Noonster 12-15-2005 02:13 PM

Quote:

Originally Posted by utw-Mephisto
Great hack and it works like a charm, however, configuration could be easier through a gui, automatic template creation when using more than one form would be better and the created thread could look a bit better too :)

But this are just my .5c

Also agree with this... however after a bit of work it does exactly what its supposed to and works a treat :D

apdcanari 12-15-2005 02:32 PM

Quote:

Originally Posted by Abe1
Does the thread get created?

No :ermm:

Thread > NO
Post > OK
PM > OK
Email > OK

Abe1 12-15-2005 03:44 PM

Quote:

Originally Posted by apdcanari
No :ermm:

Thread > NO
Post > OK
PM > OK
Email > OK

Make sure your settings for the forum allows for new threads.

apdcanari 12-15-2005 03:55 PM

Quote:

Originally Posted by Abe1
Make sure your settings for the forum allows for new threads.


Oh yes, but i have a lot of hacks...

http://www.apdcanari.com/forum

Abe1 12-15-2005 03:57 PM

Quote:

Originally Posted by apdcanari
Oh yes, but i have a lot of hacks...

http://www.apdcanari.com/forum

What happens when you set to go to an other forumid?

apdcanari 12-15-2005 04:02 PM

Quote:

Originally Posted by Abe1
What happens when you set to go to an other forumid?

No change... :ermm:

Abe1 12-15-2005 04:03 PM

Quote:

Originally Posted by apdcanari
No change... :ermm:

I would have to test on your forum when I have time.

apdcanari 12-15-2005 04:06 PM

Quote:

Originally Posted by Abe1
I would have to test on your forum when I have time.

Oki, no problem.

Thanks a lot,

C?dric ;-)

utw-Mephisto 12-16-2005 09:22 AM

Quote:

Originally Posted by Noonster
Also agree with this... however after a bit of work it does exactly what its supposed to and works a treat :D

Sure thing .. I am using it for sure, but I simply dont have the time to create the forms I need (two in total) .. but as you said : Its working great ;)

utw-Mephisto 12-16-2005 09:24 AM

Just a question for understanding, to change the actuall look of the created form I need to modify the template ?


All times are GMT. The time now is 11:34 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.02155 seconds
  • Memory Usage 1,842KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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