![]() |
Paid Subscription
Hey,
i want create a Paid Subscription on my Forum and i want add a custom Subscription Length. With the name "Lifetime" without any numbers etc only "Lifetime". Like this: https://vborg.vbsupport.ru/external/2013/09/6.jpg How i can do this? |
So if you have the subscription for Lifetime, with no numbers, how is the user supposed to know how much is costs? Also is that going to be the only subscription available or will there be more?
|
Please look my screen.
I think we can check it with php but i cant code php. |
Ok so you want to have a 3 month, 6month, 1 Year and a Lifetime, so how much will the lifetime be?
|
50€
--------------- Added [DATE]1379965083[/DATE] at [TIME]1379965083[/TIME] --------------- And i want have 1 Month, 2 Month, 4 Month , 6 Month , 2 Years, 6 Years and Lifetime |
Ok so if you don't want any numbers showing for the lifetime, after you set up all your subscriptions in the Subscription Manager, setting the lifetime to €51.11, go to Styles & Templates, Replacement Variable Manager, choose your style and click on [Add New Replacement Variable]
In the field, Search for Text, put €51.11 and in the field, Replace with Text put Lifetime, or something similar, then click Save. So now it won't show €51.11 it will show Lifetime. |
Thank you
|
If you have any other issues let me know. :)
|
What is with expire-date it show Lifetime too?
|
Not sure what you mean?
|
If someone buy Lifetime on payments.php it shows Lifetime too expire date?
|
No it will show how ever long you set it for, so if you set your lifetime at 99 Years, that is what it will show.
|
Hmm maximal is 20 Years how i can change it to 99999 again with this method? Replace the Variable 20 to 9999?
|
Are you sure 20 is the max, I set mine to 987564 Years, then you can use the replacement variable on that number.
|
The length of the subscription you entered is invalid. The length must be a positive value which will result in a date less than 2037.
How i can do it with expire date with Lifetime. |
What version of vB are you running?
|
vBulletin 4.2.1
--------------- Added [DATE]1379968714[/DATE] at [TIME]1379968714[/TIME] --------------- I think it would be easier for me if i could find a special character which represents the same as the * does (unlimited characters), so i could replace all the dates which ends with the same year : like: 09-10-2017, *2017 with Lifetime. Is there such a character in vbulletin? |
That is strange, here is how I set mine up and it saves without that message.
https://vborg.vbsupport.ru/external/2013/09/25.png |
I think it would be easier for me if i could find a special character which represents the same as the * does (unlimited characters), so i could replace all the dates which ends with the same year : like: 09-10-2017, *2017 with Lifetime. Is there such a character in vbulletin?
|
Not that I am aware of.
|
Okay thank you
|
A note about the error.
From my further readings this is supposedly a limitation of php if you are using a 32bit kernel. Or it could be a limitation in your php version. |
And where i can change the limit on php?
|
Is your server a 32 bit? What version of php is your server running? Either way it is something your host would have to handle. Tell them the error you are getting and see what they say.
|
Quote:
and i think php 5 |
Yeah I would ask you host then, if they can help with that error.
|
This thing with Variable is shit because if i create a new Thread and write 20 Years it says "Lifetime" :) Any other method maybe with if method in payments.php?
|
All times are GMT. The time now is 03:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|