| Re: Upload locations |
| by X-Ception on 2006/9/18 8:44:27 Thank you TheRplima - most helpful |
| Re: Upload locations |
| by rplima2004 on 2006/9/18 2:06:37 Sorry, I forgot to speak about ranks. The idea is the same of the smile. Only open the file module/system/admin/userrank/main.php and make the changes in the upload code as you made with smiles. Quote:
Quote:
TheRplima |
| Re: Upload locations |
| by rplima2004 on 2006/9/18 1:55:05 Hi X-Ception, Really this is very simple. First make a backup of the file module/system/admin/smilies/main.php Open the file and look at line 64 or search for case "SmilesAdd": In the upload code, change the line: Quote:
for: Quote:
and the line: Quote:
for: Quote:
Now, on the line 106 (case "SmilesSave":) Change the upload area again Quote:
for: Quote:
and the line: Quote:
for: Quote:
Save the file. Now, create the folder uploads/smile and change the write permissions. (chmod 777). Move all smilies files to the new folder and change in the table prefix_smiles the field smile_url. Only add the smile/ before the name of the file for all the smilies. Done. Now, all new smile will be saved in the new folder and normally shown in your site. Hope it helps TheRplima |
| Re: Upload locations |
| by X-Ception on 2006/9/17 23:55:55 I have an idea how to do this, but i dont wish to mod the core blindly, anyone got any ideas ? please |
| Re: Upload locations |
| by Peekay on 2006/9/10 0:00:27 Quote:
I agree with your observation. If module developers create folders in 'uploads' it makes it easy for administrators to add, edit or delete files using a file manager utility. However at present the uploads root is like a teenager's bedroom. Xoops!... go tidy your room.
|