MyBB-Plugins Forums

Full Version: NewPoints 1.9.9
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It's right at the top.
PHP Code:
$menu = array();
// default menu options
$menu[0] = '<a href="'.$mybb->settings['bburl'].'/newpoints.php">'.$lang->newpoints_home.'</a>';
if (
$mybb->settings['newpoints_main_statsvisible'] == 1)
    
$menu[1] = '<a href="'.$mybb->settings['bburl'].'/newpoints.php?action=stats">'.$lang->newpoints_statistics.'</a>';
if (
$mybb->settings['newpoints_main_donationsenabled'] == 1)
    
$menu[2] = '<a href="'.$mybb->settings['bburl'].'/newpoints.php?action=donate">'.$lang->newpoints_donate.'</a>';
    
if (
$mybb->input['action'] == '')
{
    
$menu[0] = "&raquo; ".$menu[0];
}
elseif (
$mybb->input['action'] == 'stats')
{
    
$menu[1] = "&raquo; ".$menu[1];
}
elseif (
$mybb->input['action'] == 'donate')
{
    
$menu[2] = "&raquo; ".$menu[2];

Is it important to upgrade to 1.9.3 or would it be fine to stick with 1.9.2?
That's up to you, not me.
(12-03-2011, 06:47 AM)Pirata Nervo Wrote: [ -> ]It's right at the top.

Yes, sorry about that, common sens failed me :|
If I upgrade from 1.9.2 to 1.9.3 will all my members coin/ settings be reset?
No they won't.
Pirata Nervo, Can you help me?

I upgrade to Newpoints 1.9.3, Shop 1.5 and MyBB 1.6.5, Newpoints_Shop_Items not appear in member_profile and postbit. Can you fix it?

Demo:

Postbit: http://lib4u.net/Chu-de-Truyen-Dong-Phon...Lac-Vo-Tam
You click button "Hiện tài sản" in postbit to show newpoint_shop_item.

Profile: http://lib4u.net/Thanh-vien-BlueHuge

Bonus: I can't buy or send my items. Although, I setted in Newpoints AdminCP.
You most likely placed the items variable in a template which doesn't work for that.
What happens when you buy or send an item?
(12-29-2011, 10:41 PM)Pirata Nervo Wrote: [ -> ]You most likely placed the items variable in a template which doesn't work for that.
What happens when you buy or send an item?

When I not upgrade mybb and newpoint, so it work normal. Postbit-item appear normal. But when I upgrade mybb upto 1.6.5 and newpoint up 1.9.3, so it not appear item and I can't buy or send. It not appear buy or send option in newpoints
Make sure you upload the language files