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)

MajorFm.com 12-28-2006 10:25 PM

Quote:

Originally Posted by Crazy Serb (Post 1142002)
ok, since nobody is supporting this mod, or nobody is willing to take on this little task of integrating it with vb Event Forums mod...

let me ask it here -> are there any similar hacks to this one in this sea of hacks and mods?

anything that will allow me to charge users some fee for every calendar event posted?

tell you what, i will contribute $20 aswell as i need this mod aswell... but i want a simple import process if im paying for it... :) Keep me updated...

bchertov 02-08-2007 05:06 PM

Bump - Has anybody used this or something similar to implement Pay-to-Post in 3.6????

Lionel 02-12-2007 11:15 PM

Quote:

Originally Posted by MajorFm.com (Post 1146598)
tell you what, i will contribute $20 aswell as i need this mod aswell... but i want a simple import process if im paying for it... :) Keep me updated...

Just move the redirect of the event forum new_thread_start to number 6, this way buy thread executes first. They are both at the same hook.

Shouldn't be too hard to replicate this plugin for calendar. At new calendar event start check to see if that calendar id is tied up with a forum that has buy thread activated. If it does, then kick in the buy thread option.

laskos 02-25-2007 04:05 PM

Quote:

Originally Posted by ansuk (Post 1137271)
I desperately need this for 3.6.4 and i'll happily pay ?20.00 for it.
Pleeeeeeeeeeeeeeease :D :D :D

sames here....would really love this mod.........

imranbaig 02-28-2007 08:08 PM

Can this work on specified forum ids only??
Probably wont be so hard? to do this??

echamberlain 04-05-2007 06:48 PM

I'm trying to implement a paid support section on our forum, to replace our ticketing system.

This mod is running fine on my 3.6.5 installation. Posters that were having problems with the mod, could you explain your issues?


Also, after purchasing thread posts, the default is to redirect back to the forumhome. Here's how to redirect back to the newthread page on a purchase or the forum if not.

Style Manager->Your Style->Edit Templates->ptpnt_buythread_form

Replace:

HTML Code:

<input type="hidden" name="return" value="$vboptions[bburl]/$vboptions[forumhome].php" />
 <input type="hidden" name="cancel_return" value="$vboptions[bburl]/$vboptions[forumhome].php" />

with:

HTML Code:

<input type="hidden" name="return" value="$vboptions[bburl]/newthread.php?do=newthread&f=$foruminfo[forumid]" />
 <input type="hidden" name="cancel_return" value="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]" />


Dean C 10-10-2007 06:41 PM

Just an FYI for those complaining this doesn't work. It does work, but the reason you have the illusion it doesn't work is because you're admins and threads are by default free ;) Log in as a test user in registered group, and it works fine, although transactions don't appear to be being logged.

P.S. thanks for the post above echamberlain, saved me 5minutes tracking it down myself.

Dean C 10-11-2007 07:33 AM

Another issue I noticed last night, was the logic for checking if the user is entitled to post any more threads is incorrect :)

stwilson 12-14-2007 04:10 AM

Has anyone managed to get this code updated???

stwilson 12-14-2007 04:47 AM

Updated for 3.6.8 is what I meant to ask. Ayone?


All times are GMT. The time now is 04:05 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.01030 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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