Ultimate Points

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Ultimate Points

Post by femu » Thu Mar 25, 2010 11:42 am

Sure. See announcement for v1.0.7. It's just not validated yet. But you can download the newest version over here.
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

Hardcore_Shad
Registered User
Posts: 60
Joined: Sun Mar 14, 2010 7:47 am

Re: Ultimate Points

Post by Hardcore_Shad » Thu Mar 25, 2010 3:18 pm

Hi Femu,

I just noticed that when the ultimate points mod is used with the reimage attachment mod by davidiq, the picture viewing will not take away points by clicking on the image. But points will be deducted once the page is refreshed. So each time a page is refreshed, points get duducted...

Also, when attaching an image and the image lets the viewer enter a link, each time the page is refreshed, it deducts points for the image (multiplied by the number of other images in that post).

Is there a possible fix for this?

Thanks.

neal110
Registered User
Posts: 53
Joined: Sun Mar 14, 2010 10:15 am

Re: Ultimate Points

Post by neal110 » Thu Mar 25, 2010 6:44 pm

this isthe error when i cick on the point tab ---

template->_tpl_load_file(): File ./styles/poker_olympus/template/points/points_main.html does not exist or is empty

Evrything is fine except this

Please help femu and please be fast...

http://nealzarena.co.cc
Pas testuser
ID testuser

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: Ultimate Points

Post by keith10456 » Thu Mar 25, 2010 11:07 pm

neal110 wrote:this isthe error when i cick on the point tab ---

template->_tpl_load_file(): File ./styles/poker_olympus/template/points/points_main.html does not exist or is empty

Evrything is fine except this

Please help femu and please be fast...

http://nealzarena.co.cc
Pas testuser
ID testuser
Did you upload the template files to the style that you're using?

Hardcore_Shad
Registered User
Posts: 60
Joined: Sun Mar 14, 2010 7:47 am

Re: Ultimate Points

Post by Hardcore_Shad » Thu Mar 25, 2010 11:26 pm

Hi Keith,

I get that a lot when I upload mod files into my dump. Sometimes it could be your FTP client's fault.

If your error says that particular file does not exist or is empty, it mostly means that it is not found in your dump files. You may want to upload that file manually into your dump and refer to the install instructions of the mod for reference.

It's no biggie. Just upload it and you're set.

Did you manually install the files or modx?

Hardcore_Shad
Registered User
Posts: 60
Joined: Sun Mar 14, 2010 7:47 am

Re: Ultimate Points

Post by Hardcore_Shad » Thu Mar 25, 2010 11:58 pm

Guys, I've used the lottery module for board3 portal.

It's great, but it shows the jackpot points as "500,00" instead of "500.00" The comma is used instead of the decimal to note the tenths and hundredths place zeroes.

I've checked the lottery.php file and both notations are mentioned. So taking the comma out might mean mean trouble later on.

How can this be changed to reflect "." instead of a ","?
lotto.jpg
lotto.jpg (6.12 KiB) Viewed 1175 times
Thanks!

neal110
Registered User
Posts: 53
Joined: Sun Mar 14, 2010 10:15 am

Re: Ultimate Points

Post by neal110 » Fri Mar 26, 2010 3:36 am

Did you upload the template files to the style that you're using?
Hi Keith,

I get that a lot when I upload mod files into my dump. Sometimes it could be your FTP client's fault.

If your error says that particular file does not exist or is empty, it mostly means that it is not found in your dump files. You may want to upload that file manually into your dump and refer to the install instructions of the mod for reference.

It's no biggie. Just upload it and you're set.

Did you manually install the files or modx?
I have updated all files manually via filezilla and can still see them....donno y this kinda thing hapens to me and its working on my other site f9 with prosilver theme....but this theme giving me prob...please help me...

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Ultimate Points

Post by femu » Fri Mar 26, 2010 9:20 am

Hardcore_Shad wrote:Guys, I've used the lottery module for board3 portal.

It's great, but it shows the jackpot points as "500,00" instead of "500.00" The comma is used instead of the decimal to note the tenths and hundredths place zeroes.

I've checked the lottery.php file and both notations are mentioned. So taking the comma out might mean mean trouble later on.

How can this be changed to reflect "." instead of a ","?
Thanks!
Try following. Open the portal/block/lottery.php and search:

Code: Select all

   'JACKPOT'          	=> number_format($points_values['lottery_jackpot'], 2, ",", "."),
and replace with:

Code: Select all

   'JACKPOT'          	=> number_format_points($points_values['lottery_jackpot']),
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

tummz
Registered User
Posts: 2
Joined: Fri Mar 26, 2010 10:16 am
Name: tam tran

Re: Ultimate Points

Post by tummz » Fri Mar 26, 2010 10:17 am

what does *.* mean in this case? Sorry I'm new to this.

Copy: root/umil/*.*
To: umil/*.*

Hardcore_Shad
Registered User
Posts: 60
Joined: Sun Mar 14, 2010 7:47 am

Re: Ultimate Points

Post by Hardcore_Shad » Fri Mar 26, 2010 11:06 am

Thanks for that Femu. But it took out all the decimals and commas altogether.

I'd be glad to try any other suggestion that you may have.

How can we show it as: "1,500.00?" With the code above, it shows as "1500000."

Hardcore_Shad
Registered User
Posts: 60
Joined: Sun Mar 14, 2010 7:47 am

Re: Ultimate Points

Post by Hardcore_Shad » Fri Mar 26, 2010 11:25 am

OK I got it!

The first format was in French, which is correct as well.

For USA type of format, use the code below:

Code: Select all

$lottery_jackpot = 1234.56;

// Send everything to the template
$template->assign_vars(array(
   'LAST_WINNER'       	=> $winner_name,
   'NO_OF_TICKETS'      => $no_of_tickets,
   'NO_OF_PLAYERS'      => $no_of_players,
   'JACKPOT'            => number_format($points_values['lottery_jackpot'], 2, ".", ","),
   'CASH_NAME'       	=> $config['points_name'],
   'NEXT_DRAWING'		=> $user->format_date($points_values['lottery_last_draw_time'] + $points_values['lottery_draw_period']), 
   'S_DRAWING_ENABLED'	=> ($points_values['lottery_draw_period']) ? true : false,
   'U_LOTTERY'			=> append_sid("{$phpbb_root_path}points.$phpEx", 'mode=lottery'),
));
This should give you "1,500.00" :D

Just another thing... How do I reset the jackpot amount?!? I tested it for 23million! Now its just at 23 milion...

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Ultimate Points

Post by femu » Sat Mar 27, 2010 5:18 am

tummz wrote:what does *.* mean in this case? Sorry I'm new to this.

Copy: root/umil/*.*
To: umil/*.*
Simply all files from the folder. So in this case, we don't name every single file.
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

mre03
Registered User
Posts: 149
Joined: Mon Apr 05, 2004 12:02 pm

Re: Ultimate Points

Post by mre03 » Sat Mar 27, 2010 6:57 am

hi im currently receiving this error:

Ultimate Points
PHP Version: 5.2.9
DBMS: MySQL 5.0.81-community-log
phpBB3 Version: 3.0.7-PL1

Refreshing the prosilver template
ERROR: Could not open the file ./styles/prosilveroverall_header.html for reading.

Refreshing the starcraft template
ERROR: Could not open the file ./styles/starcraftucp_pm_viewfolder.html for reading.

Adding a key named holding to table POINTS_BANK_TABLE
SQL ERROR Table 'xxxx_xx.POINTS_BANK_TABLE' doesn't exist

Wipper179
Registered User
Posts: 17
Joined: Tue Sep 29, 2009 5:52 pm

Re: Ultimate Points

Post by Wipper179 » Sat Mar 27, 2010 11:04 am

When i try to install ultimate points 1.0.7, it comes up with this error:

Adding a key named holding to table POINTS_BANK_TABLE

SQL ERROR Table 'a3031260_phpBB3.POINTS_BANK_TABLE' doesn't exist

when i try to click on the .mods tab in admin panel, the following error can be seen:

Code: Select all

SQL ERROR [ mysqli ]

Table 'a3031260_phpBB3.POINTS_CONFIG_TABLE' doesn't exist [1146]

SQL

SELECT config_name, config_value FROM (POINTS_CONFIG_TABLE c)

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_points.php
LINE: 38
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_points->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Help please?

im using the latest version of phpBB

User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: Ultimate Points

Post by MasterZ » Sat Mar 27, 2010 12:02 pm

Wipper179 wrote:When i try to install ultimate points 1.0.7, it comes up with this error:

Adding a key named holding to table POINTS_BANK_TABLE

SQL ERROR Table 'a3031260_phpBB3.POINTS_BANK_TABLE' doesn't exist

when i try to click on the .mods tab in admin panel, the following error can be seen:

Code: Select all

SQL ERROR [ mysqli ]

Table 'a3031260_phpBB3.POINTS_CONFIG_TABLE' doesn't exist [1146]

SQL

SELECT config_name, config_value FROM (POINTS_CONFIG_TABLE c)

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_points.php
LINE: 38
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_points->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Help please?

im using the latest version of phpBB
Did you run the install file? It looks like the database is not setup which is done in the installer, either that or the edit in /includes/constants.php did not get entered. One of those two is most likely the problem.

Locked

Return to “[3.0.x] MOD Database Releases”