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: 195,815
  • Total Topics: 21,284
  • Online today: 85
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 77
  • Total: 78
  • @rjen

How Can I Remove The Avatar From The Shout Box

Started by james30263, July 10, 2010, 06:01:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

james30263

Link to my site: http://topcats.clanservers.com/TopCats/index.php
SMF version: 1.1.11
TP version: 1.0 beta

How can I remove the avatars from the tp shoutbox? I did a search and found this http://www.tinyportal.net/index.php?topic=32252.msg259097#msg259097 but the code was different. I guess that code was for an older version of tp. Any help would be greatly appreciated. Thank you and sorry if I posted in the wrong place.

I posted a zipped copy of my TPSHout.php to this post.

IchBin

I found the line I referenced in that post you linked to just fine in your file. Here's the edited file attached.


sI-IoBi3

Hi, I also can't find the line indicated?? there is a similar line for user ID but not for avatar
I have attached my TPshout.php
please can you help?
thanks!

ZarPrime

sI-IoBi3,

The shoutbox code has changed in the newest version of TinyPortal since the op posted this topic.  Please start a new topic and attach the information requested in the Posting Guidelines.

ZarPrime

IchBin

I figured we might as well keep the answer in this topic for when people search. In TP1rc1 the code has moved to the TPShout.template.php file (at the bottom).
<div class="avy2"><a href="' . $scripturl. '?action=profile;u=' . $row['value5'] . '">' . $row['avatar'] . '</a></div>

Please start your own topic when you post for support next time SI-IoBi3. Thank you.

sI-IoBi3

Hi , thanks for the answer! :)
I was going to start a new topic but i thought it would be easier for people searching these problems to find the answers in one place as I was trying to,
Thank you.

sI-IoBi3

I can't find TPShout.template.php file , there is only TPShout.php  ??

IchBin

Any file with "template" in the name is going to be in the Themes folder not the Sources folder.

sI-IoBi3


This website is proudly hosted on Crocweb Cloud Website Hosting.