![]() |
adding an action
Cant see any tutotrials or anything on how to add a simple action. I want to add a buy avatar action
bump |
Anyone
|
Anyone?
|
No, there are no tutorials.
|
So .... how - do - i - do this?
|
1 Attachment(s)
Well, assuming you know PHP and how vB adds an avatar, it shouldn't be super hard.
Here's an action file that _may_ work on 0.95b. Add it through the action manager. EDIT: Removed some uCS 1.0.x only code. It needs a new template as well. Make a new template: uttstore_inputs_file HTML Code:
<input type="hidden" name="MAX_FILE_SIZE" value="$field[maxsize]" /><fieldset style="text-align: right;"><legend>$field[topphrase]</legend> EDIT2: You also need to change this in includes/functions_uttstore.php: Find: PHP Code:
PHP Code:
|
hey thanks!
but it says There has been an error in the upload. Please ensure that the file has been correctly selected and that the upload has taken place successfully when trying to upload any avatar :( |
Apparently you'll get that if you try to upload one (as opposed to getting it through a URL). I'm not sure why, though.
|
Quote:
|
ill have to wait then, the new one should be great i hope we can buy things like avatars and items (pictures) that we can show as cars or products in the userprofile or even credit cards and usercshops like invisionboards and phpbbs
by the way i had to undo those edits as that stopped the shop completly working |
All times are GMT. The time now is 05:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|