vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - vbCoupons - offer money-off coupons for paid subscriptions (https://vborg.vbsupport.ru/showthread.php?t=173778)

ringleader 03-23-2008 05:22 PM

But that makes no sense.
If paidsub_complete plugin is active, $couponbit is in subscription template, and vbCoupons_couponbit exists, there should be no problem.

DssCrazy 03-23-2008 05:45 PM

dam i wish this would wor this is such a cool mod

ringleader 03-23-2008 05:46 PM

Quote:

Originally Posted by DssCrazy (Post 1472632)
dam i wish this would wor this is such a cool mod

No worries, am going to install it on a vanilla board locally now and get this sorted.

ringleader 03-23-2008 05:58 PM

Man, I don't know what kind of setup you guys have, but it installs absolutely without error on a vanilla 3.6.8PL2 board.

DssCrazy 03-23-2008 06:07 PM

vb 3.6.8 pack2

ringleader 03-23-2008 06:18 PM

It might just be your style. Do you see if the default style will show it?

You could try changing the hook locations from paidsub_start and paidsub_complete to forumhome_start and forumhome_complete, then put $coupon bit just below $footer in the FORUMHOME template.

If it shows there then we just have to work out where to put $couponbit in yours to make it show up.

stamos2003 03-24-2008 09:31 AM

well you now what I did and it's working now, I just added the whole cuponbit template to the paid subscriptions template instead of only the $couponbits, this seems to work.
So for some reason the template seems not to be called.
Maybe you should not have CAPS in the templatenames but only lowercase names?

edit: another small error is showing up when you delete an added coupon again, it says phrase coupon deleted could not be found

ChurchMedia 03-24-2008 04:09 PM

I just installed and the $couponbits section isn't showing up for me either. I haven't looked at the code yet to see if I can spot the problem.

ringleader 03-25-2008 09:03 AM

If found it :D :D

The $couponbits is supposed to be $couponbit (without the 's').

The one place I wasn't looking was in the instructions file :oops:

The product version1.1 fixes this, and includes a missing phrase when the coupon is deleted.

DssCrazy 03-25-2008 04:48 PM

Pro bud works perfect you will be getting a donation from me. 1 question, where do i gen the serial code? or where do i get it to hand how how does that work?

Thanks


All times are GMT. The time now is 01:44 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.01092 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)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