vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   a PHP form to make a post in a definite forum? (https://vborg.vbsupport.ru/showthread.php?t=77164)

Francisco 02-27-2005 09:07 PM

a PHP form to make a post in a definite forum?
 
Hey,

So I was looking to make the use of my vB more common when Pre-sales questions are about (we offer Webhosting, dedicated servers, etc.) and I thought it would bring a little more life to my board.

The most inactive part of my forums are the pre-sales section and I was thinking to add a PHP script that could post the pre-sale questions in the forums after hitting send. Just like a form-mail.

What do you think about it? Our forums are http://forums.navigatoris.net btw.

Thanks

cinq 02-27-2005 11:25 PM

Check out Erwin's flexible hack here

Should be able to customize to do what you want. :)

Francisco 02-27-2005 11:37 PM

Quote:

Originally Posted by cinq
Check out Erwin's flexible hack here

Should be able to customize to do what you want. :)

Hi,

Thanks for the reply. However, it is a form that only wokrs if you have it installed on the ROOT of the forums :(

I was looking like a PHP code I could bundle into a html page to fill the form and post it.

Is it possible?

cinq 02-27-2005 11:52 PM

I think you could just include a chdir('path/to/forums') line in that hack for it to work.
The HTML page you are thinking of, could just be the template.

Just an idea. :)

Francisco 02-28-2005 12:03 AM

Quote:

Originally Posted by cinq
I think you could just include a chdir('path/to/forums') line in that hack for it to work.
The HTML page you are thinking of, could just be the template.

Just an idea. :)

Ok, will try this over the weekend (when I get time to work on extra things, weekdays are just too busy :surprised: )

Thanks again!

CarlitoBrigante 03-30-2005 12:17 AM

Quote:

Originally Posted by Francisco
Ok, will try this over the weekend (when I get time to work on extra things, weekdays are just too busy :surprised: )

Thanks again!

Francisco, did it work?

Francisco 03-30-2005 12:20 AM

Quote:

Originally Posted by CarlitoBrigante
Francisco, did it work?

Haven't had time, sorry.

wynode 04-01-2005 08:50 AM

The other option is to just get some HTML code for a generic form and make a new template.

I'm about to do this.......but just need to find out how to have a form submited from the server side :)

PS: reason I haven't chosen Erwin's hack is because I don't need such complexity!

Francisco 04-01-2005 08:53 AM

Quote:

Originally Posted by wynode
The other option is to just get some HTML code for a generic form and make a new template.

I'm about to do this.......but just need to find out how to have a form submited from the server side :)

PS: reason I haven't chosen Erwin's hack is because I don't need such complexity!


That sounds great :)

wynode 04-03-2005 11:27 AM

I actually ended up getting Erwin's hack as I needed more than just a form.

Also this hack is a LOT easier to do than coding your own HTML FROM tags into a page.

So get the hack :)

https://vborg.vbsupport.ru/showthrea...highlight=form


All times are GMT. The time now is 03:48 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.01157 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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