Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2003, 02:02 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Posting From A Form Into The Forum?

Hi,

I'm wanting to know if the following two things are possible:

1) I want to create a form on my site so that users can input a movie review. Then when they click 'submit' it posts the review into a topic already created in the forums.

I hope to create the movie review page so it looks like a normal HTML webpage with a form at the bottom much like the quick reply hack.

2) The last 5 reviews input are then shown on the review page. I though of pluhnews but it takes topics, i want to take the last 5 posts inside a topic and show them on my review page.

Hope this makes sense
Craig
Reply With Quote
  #2  
Old 03-28-2003, 02:13 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Craig, you can easily modify PluhNews to do what you want for Number 2. Just tweak the queries a bit.

Regarding #1, if you create the form I will happily modify a script I have that posts into the forums to handle it for you.

Amy
Reply With Quote
  #3  
Old 03-28-2003, 02:48 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:13 PM amykhar said this in Post #2
Craig, you can easily modify PluhNews to do what you want for Number 2. Just tweak the queries a bit.

Regarding #1, if you create the form I will happily modify a script I have that posts into the forums to handle it for you.

Amy
I'm quite dumb regarding php and queries.

I can make a form though, so if you could modify it that would be great.

Thanks
Craig
Reply With Quote
  #4  
Old 03-28-2003, 03:04 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. just put the code for the form in a text file and attach it here. I can guarantee that I can do the posting to the forum for you. If I have time, I might be able to tinker with Pluh for you as well. Just don't want to promise that cause I have a busy work week coming up.

Amy
Reply With Quote
  #5  
Old 03-29-2003, 11:17 AM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 05:04 PM amykhar said this in Post #4
OK. just put the code for the form in a text file and attach it here. I can guarantee that I can do the posting to the forum for you. If I have time, I might be able to tinker with Pluh for you as well. Just don't want to promise that cause I have a busy work week coming up.

Amy
Thanks for the offer Amy. I was tinkering around with the quick reply hack and also Pluh News. I managed to get it working quite good after a while.

Now i've got to intergate it with Logician's templates hack. :nervous:

Thanks again
Craig
Reply With Quote
  #6  
Old 03-29-2003, 07:28 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this might help too:
https://vborg.vbsupport.ru/showthrea...threadid=37446
Reply With Quote
  #7  
Old 03-29-2003, 07:47 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry. I was under the mistaken assumption that you wanted to create a custom form that was review specific and have it post into the forum. Sorry, I wasn't paying attention. Glad you got it all working well.

Amy
Reply With Quote
  #8  
Old 03-30-2003, 03:42 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what i ended up with:
http://www.steven-seagal.net/forum/s...abovethelawpg4

When someone writes a review in this box concerning this movie it posts it to this thread:

http://www.steven-seagal.net/forum/s...php?threadid=2

It works quite well, and is exactly the same as what Logician stated in the thread where he also altered the quick reply hack.

Craig
Reply With Quote
  #9  
Old 03-30-2003, 06:42 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job Craigr
Reply With Quote
  #10  
Old 03-30-2003, 07:02 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:42 PM Logician said this in Post #9
nice job Craigr
Thanks, most of the credit goes to your great webtemplates hack.

Thanks
Craig
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 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.04675 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete