midihead
03-11-2005, 08:59 PM
I've seen a few people ask for an add-on to uCash & uShop that will allow them to add physical goods. I'm not a programmer, and I thought that this tip might be helpful to those who are unable to hack at the code and make their own modifications.
Basically, I was looking for a feature that would allow someone to purchase physical goods like CD's, T-Shirts, etc. with their points. Here's what I did by using the current, unmodified installation:
Create a forum with rules to disallow access to anyone. Write down the forum ID (you'll need to know this later). Place an item that you want to "sell" in this forum, with instructions on how to obtain that item.
Next, go into the Admin control panel and find the "uTT store hack" menu. Select "Action Manager". To the right of the template "Buy Forum Access" select "copy" from the drop-down menu. The template will open and allow you to edit the settings.
Change the "short name" to "forumaccess1" or something different of your choosing. Edit all your settings to your liking, then at the bottom you will notice "Action Specific Variables System". Enter the forum ID that you created to place the item, in the "Allowed Forums" field.
Repeat this process for EACH physical item that you want to add to your store (so you have control over quantity, price, etc).
If you only want to allow a user to buy one of each item, go into your Admin control panel and select "Users" then "Search for users" then the user's name. Next, find the "Quick user links" at the top left and select "Edit forum permissions (access masks)". Find the forum for which the item was purchased from and reset it to "default".
I know it's a bit of a cumbersome process, but I've not found any other way to do this. I hope this will help a few of you.
Cheers,
Midihead
Basically, I was looking for a feature that would allow someone to purchase physical goods like CD's, T-Shirts, etc. with their points. Here's what I did by using the current, unmodified installation:
Create a forum with rules to disallow access to anyone. Write down the forum ID (you'll need to know this later). Place an item that you want to "sell" in this forum, with instructions on how to obtain that item.
Next, go into the Admin control panel and find the "uTT store hack" menu. Select "Action Manager". To the right of the template "Buy Forum Access" select "copy" from the drop-down menu. The template will open and allow you to edit the settings.
Change the "short name" to "forumaccess1" or something different of your choosing. Edit all your settings to your liking, then at the bottom you will notice "Action Specific Variables System". Enter the forum ID that you created to place the item, in the "Allowed Forums" field.
Repeat this process for EACH physical item that you want to add to your store (so you have control over quantity, price, etc).
If you only want to allow a user to buy one of each item, go into your Admin control panel and select "Users" then "Search for users" then the user's name. Next, find the "Quick user links" at the top left and select "Edit forum permissions (access masks)". Find the forum for which the item was purchased from and reset it to "default".
I know it's a bit of a cumbersome process, but I've not found any other way to do this. I hope this will help a few of you.
Cheers,
Midihead