News: When asking for support, it helps us and you, if you read the Posting Guidelines

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

September 15, 2019, 08:00:41 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 80
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 54
Total: 54

Author Topic: Changing TP Images  (Read 541 times)

0 Members and 1 Guest are viewing this topic.

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Changing TP Images
« on: July 03, 2019, 04:37:04 AM »
I am trying to edit the TP images such as TPedit2.png, etc. for the blocks and am using TP v1.6.3. I believe you had to create a /tinyportal directory in your theme's /images folder and upload them there. But this is not working as expected and still shows the images as being in:

/Themes/default/images/tinyportal/

They should be in the following directory, right?

/Themes/your-theme/images/tinyportal/

I'm pretty sure that I had a post around here somewhere years ago about this but can't find it.
« Last Edit: July 03, 2019, 06:51:02 AM by @rjen »

Reading can seriously damage your ignorance!

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Changing TP Images
« Reply #1 on: July 03, 2019, 06:15:29 AM »
Mmm, interesting find.

I checked the code on how this works and I found that you CAN use the custome theme folder, but it will only work if you create a folder /images/tinyportal under the custom theme and the file TParticle.png must be in that folder... if that is the case the theme folder will be used instead of the default folder, then make sure ALL images are in that folder and change the ones you want to change..
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Re: Changing TP Images
« Reply #2 on: July 03, 2019, 06:37:08 AM »
Yes! Thank you!!! I knew there was a file that you had to add or edit or something but couldn't remember what it was. LOL

The topic that was here may have been deleted when there was a server issue years ago. I had made a tutorial about it somewhere. May make another soon.

Reading can seriously damage your ignorance!

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Changing TP Images
« Reply #3 on: July 03, 2019, 06:52:07 AM »
Marking solved...

if you have some tutorial input I will gladly include it in TPDocs...
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Re: Changing TP Images
« Reply #4 on: July 03, 2019, 07:03:17 AM »
I may still have access to the docs...used to help update them. LOL Not sure where the tut is. If I can't find it I'll make a new one. :)

Reading can seriously damage your ignorance!

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: Changing TP Images
« Reply #5 on: July 03, 2019, 10:41:36 AM »
It's always worked this way as far as I'm aware.  We used to do the same for the TPshout css as well, dumping a custom css file in each theme so we have different shoutbox colours to match the theme.

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Changing TP Images
« Reply #6 on: July 03, 2019, 11:03:08 AM »
Could be, but the CSS location is not derived the same way: I did not know images folder was checked based on that specific file name...
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: Changing TP Images
« Reply #7 on: July 03, 2019, 12:38:08 PM »
I guess it's just like building custom themes, it'll pick up and use what ever riles are included in it, and if they are not there it'll use the fallback from default.

Quite handy for making custom themes with matching looks for TP. ;)   

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Changing TP Images
« Reply #8 on: July 03, 2019, 12:44:40 PM »
I guess it's just like building custom themes, it'll pick up and use what ever riles are included in it, and if they are not there it'll use the fallback from default.

That's not quite how it works though! If you create the images/tinyportal folder in another theme ALL images MUST be in that folder. If not TinyPortal will wil not show any image for the missing files!
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: Changing TP Images
« Reply #9 on: July 03, 2019, 12:51:10 PM »
I guess it's just like building custom themes, it'll pick up and use what ever riles are included in it, and if they are not there it'll use the fallback from default.

That's not quite how it works though! If you create the images/tinyportal folder in another theme ALL images MUST be in that folder. If not TinyPortal will wil not show any image for the missing files!

Yep, you need the whole set, which you would customise specifically for that theme. 

I found a post from 2012 which touches on this, https://www.tinyportal.net/index.php?topic=35042.0

I can't find the tut Steve was looking for though. 

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 1166
  • Once you stop learning, you stop living!
    • Doc Skillz
Re: Changing TP Images
« Reply #10 on: July 04, 2019, 06:37:29 AM »
Yes, after I uploaded just the 3 the images I had made, I was quickly reminded that I needed to add all of them. I had missing images everywhere! LOL

I found a post from 2012 which touches on this, https://www.tinyportal.net/index.php?topic=35042.0

I can't find the tut Steve was looking for though. 

Couldn't find that topic yesterday for some reason but it would have led me in the right direction.

That tut may have even been on my site when I had TP on it but wasn't ported over to SP. Anyways, it's not hard to make a new one. :)

Thanks for the help.  O0

Reading can seriously damage your ignorance!