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 04-24-2008 07:30 AM

Quote:

Originally Posted by DssCrazy (Post 1497920)
RingLeader can you add these ideas in?

I'm sure I can.
I actually just thought of a way to mass-edit them just there, but it would be based on a prefix you set for the coupons (otherwise there's no telling which coupons are related).

I'm actually looking to launch a local dating site of mine here in the print media in Ireland, so I expect to be extremely busy with that over this coming weekend, but I will get around to doing this in between.
Should be an update to it before the first weekend in May then.

Dannyloski 04-24-2008 03:24 PM

ringleader, Just a heads up that this is in fact affected by the new Security Token on 3.6.10 and 3.7.0 RC4 ... Its a really easy fix though (see below) ...

In the vbCoupons_couponbit template FIND:
Code:

<form action="payments.php?do=addcoupon" method="post">

BELOW that line add:
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

In the same template (vbCoupons_couponbit) FIND:
Code:

<form action="payments.php?do=deletecoupon" method="post">

BELOW that line add:
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

That's it! I did that and now its working like a charm again. So for those who need this Quick Fix until the New Version is released, there it is ...

Hornstar 04-25-2008 05:12 AM

cant believe I only just saw this hack now o_O This is something I have been long awaiting for ^^

Thanks heaps!

ringleader 04-25-2008 06:59 AM

Quote:

Originally Posted by Dannyloski (Post 1498254)
<snip>

That's excellent stuff, Dannyloski.
I haven't actually even had the time to look at 3.6.10 yet so who knows when this would have been done.
I will include it in the update that's coming soon.

Dannyloski 04-25-2008 02:17 PM

ringleader, no problem just glad to help out ...

bada_bing 04-25-2008 07:06 PM

Quote:

Originally Posted by ringleader (Post 1497903)
It's probably database incompatibility.
I'll download vb3.5 this weekend and see if I can make it work for that :)

Awesome please please let me know if you can get this to work on 3.5.x

thank you

mrkhm 04-26-2008 07:00 PM

many thanks for this works fine on vb 3.6.8.

any idea on how to make the redirect for the user to be to the payments page, for instance after adding a coupon or deleting a coupon, it should perhaps redirect to payment.php as supposed to index.php in the case of not so advanced users who might just wonder what went on and have to find the payments page all over again?

bada_bing 04-27-2008 03:10 AM

Quote:

Originally Posted by ringleader (Post 1497903)
It's probably database incompatibility.
I'll download vb3.5 this weekend and see if I can make it work for that :)

Hey ringleader

Just wanted to see if you will get a chance to take a look this weekend..

Thank you

regitbull 05-02-2008 01:07 PM

nice updates on the mod.
i havend check this mod for 3 weeks and i must say that its 10 times better now with all the extra features.
But i have 1 req.
Could you give us the option to or select a discount PERCENTAGE or a MONETARY VALUE.
Because the problem with monetary values is that it use the same discount on all money values.
So when you fill in 10,00 in the discount then it gives 10,00 usd discount but also 10,00 euro discount.
So it will use the same value for all money types.

Would be cool if you could give us the option to choose between PERCENTAGE or MONETARY VALUE.

Anway great job with the updates :D

Julie 05-03-2008 08:54 PM

Hi!

Will this work for 3.7? It not, any chance it may be re-written for it? Thanks in advance :)


All times are GMT. The time now is 05:52 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.01240 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
  • (4)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