TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 126
  • Total: 126

dlmanager

Started by Kike_GL, August 09, 2011, 12:25:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kike_GL

Attached for your information some corrections made in the dlmanager. Corrections solve some problems in presentation on SMF 2.0 and TP 1.104:

From the sources folder:
* TPmanager.php
* TPSubs.php

In the folder Themes / Default:
* TPdlmanager.template.php
* GenericControls.template.php
Saludos, Kike_GL

IchBin

Would be nice if you said what you did so I don't have to diff through all the changes you did to guess what you've done.

ZarPrime

Yeah, especially since there is neither a file called TPmanager.php nor a file called TPGenericControls.template.php
in the TinyPortal distribution.

Kike_GL

Ok, I will try first to compare the original vs. the final presentation with some pictures.

These changes were added mainly on TPdlmanager.template.php

To display the new data (Size, Views, Downloads, Last access and Cat name) was necessary to add the corresponding fields in TPdlmanager.php on SELECT (496, 553, 603, 823, 977, 1138 and 1288) and arrays (542, 589, 652, 777, 860, 1047, 1179, 1317...).

For items "add x most recent and feature the last one" in TPdlmanager.template.php (lines 871 and 872) was used dl_recentitems function on line 2776 of TPSubs.php

Finally when editing a textarea field item went out to the right of the screen because
textarea class="editor" on line 24 of GenericControls.template.php was cols="600"

My apologies for my bad English.
Saludos, Kike_GL

Kike_GL

Please see your own dlmanager.
Saludos, Kike_GL

This website is proudly hosted on Crocweb Cloud Website Hosting.