Customizing SMF > Mod Requests

Download System

<< < (4/6) > >>

Texan78:
This is the last thing I need to tweak and then I can officially launch my forum. If you look at the screen shot, what I am trying to do is put a space between the Title, Description, Link when it's posted on a topic.

I looked in downloads2 and Display.template and I can't find where to add the <br /> tag so it puts a space between the two. Any assistance would be very grateful.

vbgamer45:
Updated file attached

Texan78:
Thank you so much vbgamer45! That is perfect and exactly what I am needing.

I was able to figure out in the template how to change the text out and add a download button instead that I made so it is good to go now.

If you don't mind, could you show me a snippet of the code you edited so I can see exactly what you did and maybe learn what you did? I understand if you can't

-Thanks

Texan78:
One other thing I would like to do that I just noticed is set default title to links when the thread is created. When a new download is submitted it creates a topic in a certain section of the forum I choose so there is support for that download. When it creates the link to the download in the topic it is the full URL. How would it be possible to set a default title so instead of it showing like this...



It would show like this with a default link title?



Now I found this in Downloads2.php and tried to change it to this.


--- Code: ---// Create the post
require_once($sourcedir . '/Subs-Post.php');

$showpostlink = '[url=' . $scripturl . '?action=downloads;sa=view;down=' . $file_id . ']Download Script[/url]';
--- End code ---

But it doesn't change anything.

How would I go about making that happen? Where do I need to look? Should be as simple as setting the default text correct?

-Thanks

Blackburn:
Thanks :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version