Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Some ideas for the next version of NewPoints
#1

Hi!
I have some suggestions / ideas for the next version of NewPoints (1.7)
  1. To set up a commission (percentage of donation) for those who make donations;
  2. If is set a fee for donations then to create a java script to enable calculation of the final payment amount to a donation!
  3. To improve template design - for example see my screenshot with Lottery plugin (excuse me the text is in romanian)
       
Pirata Nervo if I can help you to build them please say it! I am pleased to enhance any plugins! (I already made this templates - lottery, statistics, donation page on my site)
#2

If you copy/paste the lottery template here, I'd appreciate Tongue

The other two suggestions I will not take into consideration since in my opinion, a donation is not supposed to have fees.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#3

(09-10-2010, 08:22 PM)Pirata Nervo Wrote: If you copy/paste the lottery template here, I'd appreciate Tongue

The other two suggestions I will not take into consideration since in my opinion, a donation is not supposed to have fees.
Sure...
LOTERRY TEMPLATE (for NewPoints 1.7):
Template : newpoints_lottery
PHP Code:
<html>
<
head>
<
title>{$lang->newpoints} - {$lang->newpoints_lottery}</title>
{
$headerinclude}
</
head>
<
body>
{
$header}
<
table width="100%" border="0" align="center">
<
tr>
<
td valign="top" width="180">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead"><strong>{$lang->newpoints_menu}</strong></td>
</
tr>
{
$options}
</
table>
</
td>
<
td valign="top">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder"  style="padding:0px;" >
<
thead>
    <
tr><th class="thead" colspan="2"><strong>{$lang->newpoints_lottery_viewing_lottery}</strong></th></tr>
</
thead>
<
tbody>
    <
tr>
        <
td width="50%" style="padding:0px" valign="top" class="trow1">
        <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="" width="100%">
            <
tr class="tcat" >
                <
td>{$lang->newpoints_lottery_buy_ticket}</td>
            </
tr>
            <
tr>
                <
td class="trow1" align="center">{$buyticket}</td>
            </
tr>
        </
table>
        </
td>
        <
td width="50%" style="padding:0px" valign="top" class="trow1">
        <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="" width="100%">
            <
tr class="tcat">
                <
td >{$lang->newpoints_lottery_your_ticket}</td>
            </
tr>
            <
tr>
                <
td class="trow1">{$usertickets}</td>
            </
tr>
        </
table>
        </
td>
    </
tr>
    <
tr>
<
td width="100%" colspan="2" style="padding:0px" valign="top" class="trow1">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="" width="100%"><tr>
        <
td width="80%" class="trow1" rowspan="2" dir="ltr">
        <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="" width="100%">
            <
tr class="tcat" >
                <
td>Information session</td>
            </
tr>
            <
tr>
                <
td class="trow1">{$lotteryinfo}</td>
            </
tr>
        </
table>
        </
td>
        <
td width="20%" align="center">
                <
img src="images/lottery.png"/>
        </
td>
</
tr></table>
</
td>
    </
tr>
    <
tr><td class="tfoot" colspan="2">COPYRIGHT Please change</td></tr>
<
tbody>
</
table>
</
td>
</
tr>
</
table>
{
$footer}
</
body>
</
html
Template : newpoints_lottery_info
PHP Code:
{$lottery_end}
    {
$lottery_countdown}
    {
$lottery_win}<br>
    {
$ticket_bought}
    <
p>
    <
b>{$lang->newpoints_lottery_winner_ticket} :</b>  {$winner_ticket_number}
    <
p>
    {
$last_winner
Language :
PHP Code:
$l['newpoints_lottery_countdown'] = "&bull; Remaining %%D%% day, %%H%% hours,%%M%% minutes,%%S%% seconds until extraction will occur.";
$l['newpoints_lottery_last_winner'] ='<a href="member.php?action=profile&uid={1}">{2}</a> win{3} in the last session.';
$l['newpoints_lottery_winner'] = '<a href="member.php?action=profile&uid={1}">{2}</a> win {3} in this session.';
$l['newpoints_lottery_win'] ='&bull; The winner of this session will get <b>{1}</b>.';
$l['newpoints_lottery_winner_ticket'] ='&bull; LAST WIN TICKET';
$l['newpoints_lottery_ticket_bought'] = "&bull; In this session users have already purchased a number of <b>{1}</b> tickets.";
$l['newpoints_lottery_end'] = "&bull; This session ends on: <i>{1}</i>."



DONATION PAGE TEMPLATE
Template : newpoints_donate
PHP Code:
<html>
<
head>
<
title>{$lang->newpoints} - {$lang->newpoints_donate}</title>
{
$headerinclude}
</
head>
<
body>
{
$header}
<
table width="100%" border="0" align="center">
<
tr>
<
td valign="top" width="180">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead"><strong>{$lang->newpoints_menu}</strong></td>
</
tr>
{
$options}
</
table>
</
td>
<
td valign="top">
<
form action="newpoints.php" method="POST">
<
input type="hidden" name="postcode" value="{$mybb->post_code}">
<
input type="hidden" name="action" value="do_donate">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead" colspan="3"><strong>{$lang->newpoints_donate}</strong></td>
</
tr>
<
tr>
<
td class="trow1" width="60%"><strong>{$lang->newpoints_user}:</strong><br /><span class="smalltext">{$lang->newpoints_user_desc}</span></td>
<
td class="trow1" width="20%"><input type="text" name="username" value="{$user['username']}class="textbox"></td>
<
td rowspan="4" width="20%" align="center"><br><img src="images/donation.png"/></td>
</
tr>
<
tr>
<
td class="trow2" width="60%"><strong>{$lang->newpoints_amount}:</strong><br /><span class="smalltext">{$lang->newpoints_amount_desc}</span></td>
<
td class="trow2" width="20%"><input type="text" name="amount" value="" class="textbox"></td>
</
tr>
<
tr>
<
td class="trow1" width="60%"><strong>{$lang->newpoints_reason}:</strong><br /><span class="smalltext">{$lang->newpoints_reason_desc}</span></td>
<
td class="trow1" width="20%"><input type="text" name="reason" value="" class="textbox"></td>
</
tr>
<
tr>
<
td class="tfoot" width="100%" colspan="3" align="center"><input type="submit" name="submit" value="{$lang->newpoints_submit}"></td>
</
tr>
</
table>
</
form>
</
td>
</
tr>
</
table>
{
$footer}
</
body>
</
html
Screenshot:
   


Attached Files Thumbnail(s)
       
#4

Where did you get those images from? They probably have licenses
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#5

(09-10-2010, 10:08 PM)Pirata Nervo Wrote: Where did you get those images from? They probably have licenses
I`ve got this images from iconspedia.com!
#6

(09-10-2010, 10:12 PM)Mihu Wrote:
(09-10-2010, 10:08 PM)Pirata Nervo Wrote: Where did you get those images from? They probably have licenses
I`ve got this images from iconspedia.com!

Links? Tongue
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#7

bank , donation and lottery
I think that all the icons from this website are free (or for non-commercial use)Big Grin
#8

None of them mention of we're free to re-distribute so I'll probably just not add any pictures and keep it as it is right now.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)