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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 228
  • Total: 228

Testing TP 1.0.5 beta1, avatar on post articles

Started by raid, May 03, 2008, 05:27:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raid

well guys first of all, it is wonderful! thx I like it  :up:

then a few questions/ideas:
1) http://i26.tinypic.com/69165x.png
I think that an Align Left would be better

2)I am having problems with avatras on Post-articles:
http://i27.tinypic.com/2e50469.png

settings on CP:
http://i32.tinypic.com/5lvrmh.jpg

is it possible to remove Avatars from post articles?

once again, guys thx for TP v1  :-*
SMF 2.0 + TP RC2

IchBin

1. This is not how TP looks normally. It must be either your language causing the problem, or something went bad on the install. Try default language as English and see if the problem still exists. If so, you'll probably need to run through the manual install to make sure everything is done, and done right.

2. Perhaps you could explain the problem? I don't get what you're problem is just by looking at a picture.

Is it possible to remove the avatar? Yes, you'll have to find the place in the code in the TP files.

Zetan

Removal of the Avatar is a setting on a per article basis. Edit > Visual Options > Others > [ ] Display the authors avatar.

raid

#3
thx, so about topic post the only way is to remove the code from sources?

I am trying a new installation.


EDIT: I am trying to download the package from the link on main page, but the package is corrupted

EDIT2: now it works, about my screenshot, what is wrong? only the header, but I made it
SMF 2.0 + TP RC2

IchBin

Quote from: ZTN on May 03, 2008, 06:26:16 PM
Removal of the Avatar is a setting on a per article basis. Edit > Visual Options > Others > [ ] Display the authors avatar.
Forgot about that. Good catch ZTN. Thx.

The header is wacked because your title is too long.

raid

about recent post, I would like to change the Font, I was looking at TPBlocks.template.php, and: // Output the topics
echo '
<ul class="tp_recentblock" style="' , $context['TPortal']['recentboxscroll']==1 ? 'overflow: auto; height: 20ex;' : '' , '">';
foreach($what as $w){
echo '
<li style="overflow: auo;"><a href="'.$w['href'].'">'.$w['short_subject'].'</a> ', $txt[525], ' ', $w['poster']['link'];
if(!$w['new'])
echo ' <a href="'.$w['href'].'"><img src="'. $settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';

echo ' ['.$w['time'].']
</li>';
}
echo '
</ul>';


specific:<li style="overflow: auo;">

should it be "auto"?
SMF 2.0 + TP RC2

raid

about the avatar, I would like to remove the avatar only on forum-post on Homepage, is possible to do it from CP?

on sources, I found and erased it:
// show authors avatar?
if(isset($story['options']['avatar']) && !empty($story['avatar']['image']))
echo '
<div class="tp_avatar' , ($context['TPortal']['mycat']!='' || !empty($context['TPortal']['is_front'])) ? '_category' : '' , '"><a href="' , $story['poster']['href'] , '" title="' , $story['poster']['name'] , '">' , $story['avatar']['image'] , '</a></div>';


and the Avatar aren't anymore showed, May I add a condition to never show on topic post?
SMF 2.0 + TP RC2

This website is proudly hosted on Crocweb Cloud Website Hosting.