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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 278
  • Total: 278

Update from 106_beta2 to 1 beta 3

Started by Dark-Wolf, February 18, 2009, 05:20:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dark-Wolf

#10
@IchBin:
Error 404 - Not Found (http://darkwolf.altervista.org/forum/tpmod/1235006467Theme_royal-noir-remixed.jpg)
File: user

-
Is still presents with beta4  :-\
maybe someone can help me to fix via .htaccess?
-
(not exist here)
http://darkwolf.altervista.org/forum/tpmod/1235006366Theme_firefox.jpg
(instead of this)
http://darkwolf.altervista.org/forum/tp-images/dlmanager/thumb/1235006366Theme_firefox.jpg
-
Edit:
I think problem is in this line (TPdlmanager.template.php):
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
U can test (see: Vista Shortcut Registry) directly here (not work):
http://darkwolf.altervista.org/forum/tpmod/?dl=win-utility
background: transparent url(1243036740Preview.jpg) no-repeat scroll 0% 0%; margin-right: 5px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; float: right; width: 80px; height: 80px;
and here (works fine):
http://darkwolf.altervista.org/forum/tpmod/?dl
background: transparent url(http://darkwolf.altervista.org/forum/tp-images/dlmanager/thumb/1243036740Preview.jpg) no-repeat scroll 0% 0%; margin-right: 5px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; float: right; width: 80px; height: 80px;


Dark-Wolf

#11
ATM i've patched with this code:
$count=1;
if(!empty($context['TPortal']['dl_last_added']))
{
foreach($context['TPortal']['dl_last_added'] as $last)
{
$screenlink = $last['screenshot'];
$findlink   = '/tp-images/dlmanager/thumb/';
$pos = strpos($screenlink, $findlink);
if ($pos === false) {
$directoryth = ''.$boardurl.''.$findlink.'';
} else {
$directoryth = '';}
echo '
<div class="dl_last_added windowbg" style="overflow: hidden;">
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$directoryth.''.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
<div class="body" style="padding-left: 5px; margin-right: '. ($context['TPortal']['dl_screenshotsize'][0] + 15) .'px;">
<h3><a href="'.$last['href'].'">'.$last['name'].'</a></h3>
' , !empty($last['text']) ? '<p class="middletext">'.$last['text'].'</p>' : '' , '
<p class="smalltext dl_details"><img src="'.$settings['tp_images_url'].'/glyph_author.png" alt="*" /> '.$last['author'].'  <img src="'.$settings['tp_images_url'].'/glyph_down.png" alt="*" /> '.$last['downloads'].'  <img src="'.$settings['tp_images_url'].'/glyph_date.png" alt="*" /> '.$last['date'].'</p>
</div>
</div>';
}
}
i don't know if is best mode but it seems to work fine :)


PS: i've found another bug with bbc code.
See at bottom of this page: http://darkwolf.altervista.org/forum/tpmod/?dl=win-utility

CaptnSolo

one problem but easy fix
Fatal error: Cannot redeclare tpsummary() (previously declared in /home/content/C/a/p/CaptnSolo/html/smf/Sources/TPmodules.php:2039) in /home/content/C/a/p/CaptnSolo/html/smf/Sources/Profile.php on line 3088


i know what i need to do but i just cant find the right file and line. its a dup. file that just need to be delete. any help to tell me the line and file would be appreciated

Renegd98

If you look in sources/profile.php you will see near the bottom that TP has several entries.Those entries can be deleted.


This website is proudly hosted on Crocweb Cloud Website Hosting.