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)
-   -   Buy Thread: Pay to Post New Thread (https://vborg.vbsupport.ru/showthread.php?t=116605)

Bleys 05-25-2006 05:30 PM

Been waiting for this for awhile. Thanks! :)

If you're looking for ideas... a credit system would be really cool, where people could buy credits and then use them in multiple forums (i.e., you could buy credits for $1 each, then posts in various forums would cost different amounts of credits) ... that way you could charge different amounts for different forums and people wouldn't feel like they were pigeon holed into one forum. :)

I'm sure that gets more complicated, but that would be a really sweet mod.

paul41598 05-25-2006 06:21 PM

Quote:

Originally Posted by calorie
Thanks again for the thanks. :D
@paul41598: is your PayPal account IPN on


It is on, and always has been. What is the Notification URL: supposed to be?

Right now it points to my forums/ppverify.php ?

Probably from some 3.0.7 series hack that I might have had? dunno

hugh_ 05-25-2006 06:56 PM

Quote:

Originally Posted by calorie
Thanks again for the thanks. :D

@glorify: can't check, don't use vB 3.5.0

@hugh_: no demo unless from someone else

@paul41598: is your PayPal account IPN on

Calorie,

Is there any chance of applying this hack to calendar posts as well?

Thanks...

hugh

Snake 05-25-2006 07:13 PM

I'll be using this kinda like soon so thanks!

calorie 05-25-2006 07:42 PM

@paul41598: the Notification URL set in your PayPal account doesn't matter, as this mod uses the following:
Code:

<!-- in ptpnt_buythread_form template -->
<input type="hidden" name="notify_url" value="$vboptions[bburl]/buythread.php?do=paypal" />

When you get to the page that gives the total, before you click the purchase button, view the HTML source.

Look for the following and make sure the hidden input tags are correct, and if not just edit the template.
Code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
If everything looks okay, make sure there isn't anything like a .htaccess file blocking the PayPal IPN postback.

@hugh_: not sure if I'm up for another hack ATM, but maybe later.

paul41598 05-25-2006 08:02 PM

That did it Calorie. It was because I was testing this on testforums and using htaccess to block it. Its always something obvious huh? Works great. Thanks for the troubleshooting. ;)

hugh_ 05-25-2006 08:49 PM

Quote:

Originally Posted by calorie
@paul41598: the Notification URL set in your PayPal account doesn't matter, as this mod uses the following:
Code:

<!-- in ptpnt_buythread_form template -->
<input type="hidden" name="notify_url" value="$vboptions[bburl]/buythread.php?do=paypal" />

When you get to the page that gives the total, before you click the purchase button, view the HTML source.

Look for the following and make sure the hidden input tags are correct, and if not just edit the template.
Code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
If everything looks okay, make sure there isn't anything like a .htaccess file blocking the PayPal IPN postback.

@hugh_: not sure if I'm up for another hack ATM, but maybe later.

No problem, thanks for considering it!

hugh

Floris 05-25-2006 09:12 PM

Calorie: as usual > very cool!

Thanks for sharing :)

ramone_johnny 05-26-2006 02:40 AM

OH man! Ive been looking everywhere for this!!!!

TOP STUFF!

RJ

TomJames 05-26-2006 06:54 PM

This is prefect! Im testing it now :D hope to implement it soon.

*installs*


All times are GMT. The time now is 10: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.01102 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)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
  • (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