Gift Codes (Credits/Pixels/Shells) - uberCMS

Results 1 to 19 of 19
  1. #1
    Full-Stack Web Developer Emetophobic is offline
    MemberRank
    Jan 2012 Join Date
    Nice, FranceLocation
    238Posts

    Gift Codes (Credits/Pixels/Shells) - uberCMS

    Hi everyone, I want to share one of my script from my personnal uberCMS edit, the script itself is designed for a shop but you can easily adapt it for a free feature.
    The script cost 3 Shells for a user and generate a 8 character string linked to a voucher code that will be insert into the database (table: vouchers), the content of the voucher code is completly random from the character string to the amount and the currency linked. The max/min amount for the gift codes are configurable under the rand function value on line 77 to 79 of the page. Don't worry, if a user know well the URL and try to type it directly, the script will detect if a user have enough Shells to continue the execution of the PHP Script, if not he's redirected to another page.

    A dedicated page is delivered with the script to showcasing packages, the packages are listed from a database table (voucher_packages) that is delivered with the script too.

    Here's the source of the voucher-gen.php if you don't want to directly download the rar package:
    http://pastebin.com/TD5DVbDs

    Screenshot:




    Additional files: (Contains necessary .tpl files and .sql files and some images too)
    http://images.habbostrap.com/strapcm...%20uberCMS.rar

    Add these lineto your .htaccess file in order to get working the rewrited URL's:
    Code:
    RewriteRule ^purchase/confirmVoucherGen/online(|/)$ /voucher-gen.php
    RewriteRule ^vouchers(|/)$ /vouchers.php
    Credits:
    - Meth0d - Original uberCMS
    - Jonteh - uberCMS 2.0.1 edit
    - Anthony93260 - Fixed some part of the code
    - Me - Idea and for coding that shit
    Last edited by Emetophobic; 28-12-12 at 11:08 AM.


  2. #2
    Enthusiast JackBS is offline
    MemberRank
    May 2012 Join Date
    AlgeriaLocation
    34Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Thanks ^^

  3. #3
    Full-Stack Web Developer Emetophobic is offline
    MemberRank
    Jan 2012 Join Date
    Nice, FranceLocation
    238Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Yoops fixed the archive, if you already downloaded it, download it again I added the missing file (vouchers.php)

  4. #4
    Run, but I'll find you. Ddos Attack is offline
    MemberRank
    Jan 2011 Join Date
    AustraliaLocation
    908Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Awesome release. I think I may use this :)

    Also, would u be willing to release he script for the black bar at the top? ;)

  5. #5
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    I'm really liking this it's nice but is the whole CMS included because if so then I'm very happy with you because i do really like the CMS

    I assume not anyway so you're at least being liked and +repped for the good release.

  6. #6
    Planning Stuff Since 2013 Vrop93 is offline
    MemberRank
    Jan 2012 Join Date
    Grocery StoreLocation
    320Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Nice Addon, Emetophobic!

  7. #7
    Member CookieMonst is offline
    MemberRank
    Jul 2012 Join Date
    62Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Nicely done.

  8. #8
    Full-Stack Web Developer Emetophobic is offline
    MemberRank
    Jan 2012 Join Date
    Nice, FranceLocation
    238Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Ddos Attack View Post
    Awesome release. I think I may use this :)

    Also, would u be willing to release he script for the black bar at the top? ;)
    For now the "redesign" of the navigation is in a really early alpha state since I want to remove tabs for the navigation and want all the navigation on the black bar, for now it's only used for my upcoming hotel. But once this navigation done I will certainly release files.

  9. #9
    Run, but I'll find you. Ddos Attack is offline
    MemberRank
    Jan 2011 Join Date
    AustraliaLocation
    908Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Emetophobic View Post
    For now the "redesign" of the navigation is in a really early alpha state since I want to remove tabs for the navigation and want all the navigation on the black bar, for now it's only used for my upcoming hotel. But once this navigation done I will certainly release files.
    Would you mind if I made a similar design for my hotel then? Cuz I just love the whole header ;D

  10. #10
    Full-Stack Web Developer Emetophobic is offline
    MemberRank
    Jan 2012 Join Date
    Nice, FranceLocation
    238Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Ddos Attack View Post
    Would you mind if I made a similar design for my hotel then? Cuz I just love the whole header ;D
    No sure, if you can do it by yourself ! :P

  11. #11
    Run, but I'll find you. Ddos Attack is offline
    MemberRank
    Jan 2011 Join Date
    AustraliaLocation
    908Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Emetophobic View Post
    No sure, if you can do it by yourself ! :P
    Easy task for me. PHP CSS HTML are my alley :)

  12. #12
    nyan. Doctorate is offline
    MemberRank
    Sep 2012 Join Date
    NarniaLocation
    332Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Nice release!

    Will use it.

  13. #13
    Full-Stack Web Developer Emetophobic is offline
    MemberRank
    Jan 2012 Join Date
    Nice, FranceLocation
    238Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Ddos Attack View Post
    Easy task for me. PHP CSS HTML are my alley :)
    Nice then ;P Some of your designs on Rare Hotel inspired me, I may look onto redesign my whole uberCMS edit too when I finished my navigation.

  14. #14
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Love it thank you :)

  15. #15
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Just another simple script ;3

    I love your header :P

  16. #16
    Run, but I'll find you. Ddos Attack is offline
    MemberRank
    Jan 2011 Join Date
    AustraliaLocation
    908Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Quote Originally Posted by Emetophobic View Post
    Nice then ;P Some of your designs on Rare Hotel inspired me, I may look onto redesign my whole uberCMS edit too when I finished my navigation.
    Aww thanks xx
    If u wanna take my current design on Rare, feel free. I'm currently rewriting the UberCms I've made. Gonna make it faster, and its going to take habbo's theme. With a few edits, like the top ;)
    For a retro, I find it "difficult" coding a custom CMS based on habbo, so I thought the best alternative is to go back to the original design :)

    This is what I've whipped up today: ;P

    Last edited by Ddos Attack; 29-12-12 at 05:49 AM.

  17. #17
    Apprentice ItsTim is offline
    MemberRank
    Dec 2012 Join Date
    The NetherlandsLocation
    20Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Nice Release,

    OffTopic: Love your CMS. Release it!

  18. #18
    Brad Bradshly is offline
    MemberRank
    Aug 2007 Join Date
    Ragezone :DLocation
    611Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    Then i press acheter nothing happens

  19. #19
    Make a wish .::Arjan::. is offline
    MemberRank
    Jan 2012 Join Date
    the NetherlandsLocation
    504Posts

    Re: Gift Codes (Credits/Pixels/Shells) - uberCMS

    I like your style ;o



Advertisement