Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dcd119

Pages: [1]
1
General SMFShop Discussion / permissions
« on: September 30, 2006, 02:13:13 am »
would it be possible to add permissions to the next version so that nonmembers can not even see the shop button, and certain members can manage the shop but not be an admin on the forum, and add a php file to the shop as well...

also have permissions so that people can or can not see the shop, for example if they abuse the shop or something like that...


MJ

2
Items / Change Member Group
« on: September 26, 2006, 12:46:17 pm »
I rewrote the code here to allow people to change membergroups on the forum

I called this Membergroup.php

Code: [Select]
<?php

class item_Membergroup extends itemTemplate {
    function 
getItemDetails() {
        
$this->name "Change Membergroup";
        
$this->desc "Change your Membergroup!";
        
$this->price 50000;

        
$this->require_input false;
        
$this->can_use_item true;
    }

    function 
getAddInput() {
        return 
"Membergroup: <input type='text' name='info1' value=''>";
    }

    function 
onUse() {
        global 
$db_prefix$ID_MEMBER$item_info;

        
$result db_query("UPDATE {$db_prefix}members
                            SET ID_GROUP = 
{$item_info[1]}
                            WHERE ID_MEMBER = 
{$ID_MEMBER}",
                            
__FILE____LINE__);
        return 
"Changed Member Group to {$item_info[1]}";
    }

}

?>


3
General SMFShop Discussion / money maxes out
« on: September 26, 2006, 08:14:46 am »
I am on a forum where we have appeared to reach the max amount displayed by the shop software, where can I change it?

2147483647


this shows in show all Richest Members (Bank) & Richest Members (pocket), and also in money in pocket, and money in bank, however when I go into the admin area it has the actual amount..

whats up?

4
General SMFShop Discussion / random money
« on: August 09, 2006, 03:19:13 am »
ok I setup the random money to -10 and 500 then I lost 70 credits when I checked it out...

thats ODD!!..

should look into the programming on this..

Max

5
General SMFShop Discussion / issue with turning off shop points...
« on: August 06, 2006, 01:35:29 pm »
I installed the latest version...

there seems to be an error in the coding regarding turning off the shop points via manage boards..

when I want to do that I have to go into the database manually...

kinda a pain in the butt..

Max

Pages: [1]