Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Help with Admin Options for MOD Completion
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

TStewartFan
Junior Member

190 Posts

Posted - 01 April 2005 :  14:15:35  Show Profile  Visit TStewartFan's Homepage
Is anyone available that can help me with a few things I am trying to figure out? I have spent the past month writing a new mod for our awesome forum code because I wanted to hold off on completing my forum until speedball 3 is released. Perhaps someone out here has been able to do some of the things I have been unable to figure out. 1) I have an option to select the default folder where the uploaded files will be stored. I would like to be able to do a couple of things here: 1) I would like for the Admin to be able to manually type in the New Folder name and click a submit button. Upon submit the script would add the appropriate "/" before the name of the folder and the "\" after the name of the folder. Then an update to the db would be performed for all rows containing a value that would change all to the new value and assign this new value as the default value for that column. (i.e. the column is labeled (M_FOLDER) and has a dbs default value of Music/ when clicking submit the new entered value (i.e. Whatever) would change all existing rows with a new value of Whatever/ and would then change the default value to Whatever/) The second thing I need is within another page which is simply an upload feature. Click the upload button and then when the Admin clicks Okay the file name and extension are stored in a hidden field. The final piece would be to update the sql statement to combine the two fields update M_URL with M_FOLDER + hidden value. Anyone out there that can help out?

cripto9t
Average Member

USA
881 Posts

Posted - 02 April 2005 :  08:20:31  Show Profile
Could you just add the folder name to the list of variables in "config.asp". Like the way the Avatar Mod is done.
Just a thought .

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07