Omnimaga

Omnimaga => Site Feedback and Questions => Topic started by: TIfanx1999 on September 03, 2008, 10:33:05 pm

Title: Download scetion
Post by: TIfanx1999 on September 03, 2008, 10:33:05 pm
About the screen shots, wouldn't it be possible just to add them on the page where the zip is? Could you expand upon what you were saying about creating a new download system as well, I'm not exactly sure what you mean. When you say it doesn't support html that is odd because the board itself supports html for the posting of pics.
Title: Re: Download scetion
Post by: DJ Omnimaga on September 03, 2008, 10:52:13 pm
Well, I have no idea how I'll get around this. If I knew PHP I could hack into the download system code and allow HTML, but for now if I want screenshots I'll have to rely either on adding screenshots in each zip files or post the URL in the description (that will not be clickable). That's something I wasn't aware about when I installed this mod x.x

It's quite ironic that we can have pics for categories (altough I didn't put any) but not for individual files. If I find the original author I guess i could ask him. This made me concerned a lot because a lot of people including myself rather prefer to know what they are downloading.

EDIT: I THINK I FIGURED OUT!

I had to enable HTML in posts (very limited HTML but still allow img). I guess the download system uses a bit of the post system... we'll see if it works with images though, but I managed to use bold
Title: Re: Download scetion
Post by: Tribal on September 04, 2008, 04:33:19 pm
Happy you figured it out  :)

<thoughts>DJ_Omnimaga doesn't know PHP  :o</thoughts>
Title: Re: Download scetion
Post by: DJ Omnimaga on September 04, 2008, 11:08:42 pm
nah I don't know PHP, I started venturing in web coding/scripting a few years ago and realised it wasn't for me at all. I can modify some small stuff like HTML code and CSS but that's about it
Title: Re: Download scetion
Post by: Tribal on September 05, 2008, 04:26:48 pm
It's not really that bad, I made an IRC library class for a bot I was experimenting with after learning RFC standards, It only took me like... 4 days of learning PHP  :)
Title: Re: Download section
Post by: TIfanx1999 on September 05, 2008, 04:32:28 pm
I'm glad you were right about that, and that enabling HTML for the boards allowed it to be used in the download system also. On a side note, I looked into PHP and it seems to have alot of similarities to C/C++ or basic. It supports strings, lists, and even has conditional statments ! I going to learn it in my free time, it looks like it'll be really easy to pick up.
*Edit* I just realized that I spelled section "scetion" in the topic title. Doh!
Title: Re: Download scetion
Post by: Tribal on September 05, 2008, 04:48:13 pm
Quote from: Art_of_camelot
On a side note, I looked into PHP and it seems to have alot of similarities to C/C++ or basic. It supports strings, lists, and even has conditional statments ! I going to learn it in my free time, it looks like it'll be really easy to pick up.

That's great  :)
Yes, actually it does have quite a few similarities to C/C++ but there are some things that are different like multi-dimensional strings, for example, you could do something like:

Code: [Select]
$MDArray = array('1D'=>'2D');
$MDArray['1D']['2D'] = 'I am a value of \'2D\' in \'1D\' =D';

and some others you'll find out with time, if you need help with any of it, you can just ask me  :D
Title: Re: Download section
Post by: arglactable on September 07, 2008, 01:44:07 am
Just for future reference. Any mods or setting changes applied to the forum WILL affect ALL mods or settings throughout the forum (Where they would interact). Due to the fact the these mods are a part of the forum as a whole. This is based on my own experience with SMF (though my website) as well as inferences that could be made based on knowledge of programming languages. An example from my own website is the auto-embed flash, which affects the SMF shoutbox as well. My point is that this sort of tactic should work for any similar problem ever encountered.