News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

January 19, 2020, 03:50:12 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189417
  • Total Topics: 20794
  • Online Today: 63
  • Online Ever: 781
  • (January 16, 2020, 02:42:13 PM)
Users Online
Users: 1
Guests: 52
Total: 53

Author Topic: How Can I Remove The Avatar From The Shout Box  (Read 4426 times)

0 Members and 1 Guest are viewing this topic.

james30263

  • Guest
How Can I Remove The Avatar From The Shout Box
« on: July 10, 2010, 11:01:01 AM »
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.
« Last Edit: December 22, 2010, 07:19:53 AM by ZarPrime »

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: How Can I Remove The Avatar From The Shout Box
« Reply #1 on: July 10, 2010, 07:54:12 PM »
I found the line I referenced in that post you linked to just fine in your file. Here's the edited file attached.

james30263

  • Guest
Re: How Can I Remove The Avatar From The Shout Box
« Reply #2 on: July 22, 2010, 08:53:11 PM »
Thank you :D

Offline sI-IoBi3

  • Jr. Member
  • **
  • Posts: 26
Re: How Can I Remove The Avatar From The Shout Box
« Reply #3 on: December 22, 2010, 06:48:46 AM »
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!

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: How Can I Remove The Avatar From The Shout Box
« Reply #4 on: December 22, 2010, 07:25:39 AM »
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

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: How Can I Remove The Avatar From The Shout Box
« Reply #5 on: December 22, 2010, 07:31:19 AM »
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).
Code: [Select]
<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.

Offline sI-IoBi3

  • Jr. Member
  • **
  • Posts: 26
Re: How Can I Remove The Avatar From The Shout Box
« Reply #6 on: December 22, 2010, 08:42:40 AM »
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.

Offline sI-IoBi3

  • Jr. Member
  • **
  • Posts: 26
Re: How Can I Remove The Avatar From The Shout Box
« Reply #7 on: December 22, 2010, 09:47:22 AM »
I can't find TPShout.template.php file , there is only TPShout.php  ??

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: How Can I Remove The Avatar From The Shout Box
« Reply #8 on: December 22, 2010, 09:50:32 AM »
Any file with "template" in the name is going to be in the Themes folder not the Sources folder.

Offline sI-IoBi3

  • Jr. Member
  • **
  • Posts: 26
Re: How Can I Remove The Avatar From The Shout Box
« Reply #9 on: December 22, 2010, 10:35:09 AM »
thanks!
I've still got alot to learn :)