Author Topic: Download scetion  (Read 4848 times)

0 Members and 2 Guests are viewing this topic.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Download scetion
« 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Download scetion
« Reply #1 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
« Last Edit: September 03, 2008, 11:11:48 pm by DJ Omnimaga »

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Download scetion
« Reply #2 on: September 04, 2008, 04:33:19 pm »
Happy you figured it out  :)

<thoughts>DJ_Omnimaga doesn't know PHP  :o</thoughts>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Download scetion
« Reply #3 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

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Download scetion
« Reply #4 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  :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Download section
« Reply #5 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!
« Last Edit: September 07, 2008, 12:12:30 am by Luna »

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Download scetion
« Reply #6 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

Offline arglactable

  • LV3 Member (Next: 100)
  • ***
  • Posts: 42
  • Rating: +0/-0
  • OBAMA MAN!!!
    • View Profile
Re: Download section
« Reply #7 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.
Chill: "It's the famous, the infamous Sugo_v_"
ClouD: "who's that?"
Chill: "Exactly"

"He'll hunt us down and eat us alive until we're dead..."
-Gorfinhofin