Advertisement:

Author Topic: TinyPortal  (Read 761340 times)

Offline king kratos

  • Full Member
  • ***
  • Posts: 454
  • Gender: Male
  • SSDD
Re: TinyPortal
« Reply #880 on: October 31, 2010, 02:46:42 PM »
It must be something with your forum or install. I do not have your problem when viewing my forum with the same versions you are running.

Oh, Ok... Thanks for the info. I'll check some other code and see if it's that then.

Kratos

Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,723
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: TinyPortal
« Reply #881 on: October 31, 2010, 07:36:20 PM »
Maybe I'm missing something but I wanted to look into something in regards to the TP blocks for 0.9.8 and last time I was told to look in a fiel called tp-style.css and I remember fixing the issue but I cant find the CSS file. Maybe I'm thinking of something wrong but I want to look into the padding for the blocks to see if I can lessen the dead space / padding around the text of a block. Like right now I have just Hello... written in a block but it looks as if it has about 10px or so of padding around the sides and I want to try to squeeze it down a bit to get a tad more space in the blocks... Thx.

Now for the actual question, can anyone help me because this is really bothering me about the CSS thing and I dont know if I'm going nuts or remembering soemthin wrong... Thx.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: TinyPortal
« Reply #882 on: October 31, 2010, 08:16:42 PM »
MoreBloodWine, if you're asking where the tp-style.css is located, you'll find it in the ../themes/default folder.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,723
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: TinyPortal
« Reply #883 on: October 31, 2010, 08:31:49 PM »
MoreBloodWine, if you're asking where the tp-style.css is located, you'll find it in the ../themes/default folder.
Thats just the thing, I'm not... but I know I edited it once before... I even did a generalized find ./ -iname *.css on my entire account and didnt find a tp-styles anywhere.

Edit: Did TP 0.9.8 even have a tp-style.css ?

For all I know when I was playing around with CSS beflre it might have been on a test site with Tp 1x

If that is the case where is the blockbody css handled for TP 0.9.8 ?
« Last Edit: October 31, 2010, 08:59:27 PM by MoreBloodWine »
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: TinyPortal
« Reply #884 on: November 01, 2010, 12:48:21 AM »
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,723
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: TinyPortal
« Reply #885 on: November 01, 2010, 11:17:58 AM »
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.
Thx, I was playing around with TPortalBlocks.template.php last night  but didnt quite find what I was after. I'll check it ut again later along with the other file. Specifically what I'm after is getting rid of the style="padding: 4px;" on the blocks.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #886 on: November 01, 2010, 11:27:07 AM »
That could be the padding that is set in the tinyportal panel settings too, so don't forget to check that.
IchBin™        TinyPortal
Coding Guidelines       

Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,723
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: TinyPortal
« Reply #887 on: November 01, 2010, 03:30:38 PM »
That could be the padding that is set in the tinyportal panel settings too, so don't forget to check that.
I'll look again but I dont recall any padding settings in 098 but I'll look again.

I just hope I can find it heh...

Edit: I found what you were talkin about Itch and while it is a 4px padding it's a left padding to set how far the blocks should be fro mthe sides of the forum.
« Last Edit: November 01, 2010, 09:52:13 PM by MoreBloodWine »
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,723
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: TinyPortal
« Reply #888 on: November 01, 2010, 10:16:45 PM »
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.

Ok, so after checking the style.css in both my custom theme and the default theme and even checking the TPortalBlocks.template.php and TPortal.template.php files I wasnt able to find the blockbody 4px padding. Hopefully Bloc can come in here and lend a hand with where the blockbody css is for 0.9.8

Edit: NM, I figured it out...
« Last Edit: November 01, 2010, 10:52:15 PM by MoreBloodWine »
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #889 on: November 02, 2010, 05:55:33 PM »
smf 2.0 RC4 fresh install and reinstall TP 1.0 RC1

On installing TP on upgrade smf 2.0 RC4 frontpage has left side of title blocks missing as in the attached screenshot. other smf pages are ok this only effects the home page. ???
Don't Follow me I got No Idea what I'm Doing

Offline Jason kiDD

  • Semi-Newbie
  • *
  • Posts: 48
Re: TinyPortal
« Reply #890 on: November 02, 2010, 07:05:31 PM »
How did you get it to work for RC4?

Forget it I figured it was just a simple change in the xml file for now until there is a approved update...   O:)
« Last Edit: November 02, 2010, 07:11:48 PM by Jason kiDD »

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #891 on: November 02, 2010, 11:07:24 PM »
I didnt do anything it just worked apart from this problem and a few blocks that no longer work
Don't Follow me I got No Idea what I'm Doing

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: TinyPortal
« Reply #892 on: November 03, 2010, 04:06:44 AM »
Strange, it shouldn't work as it is.

If someone wants to try TP 1.0 RC1 with SMF 2.0 RC4 but

NOTICE: that's not official and not tested well, nor Bloc has approved it, so use it only in a test site.

Quote
With quick little modifications of package-info.xml (replacing RC3 with RC4, I should have added but...) and /SMF2RC3/tinyportal200rc3.mod replacing
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;
with
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context, $scripturl;

TP 1.0 RC1 installed successfully in a new SMF 2.0 RC4 test installation.  8)

Of course more tests must be done but, at first glance, it seems that not much has to be done for 2.0 RC4 compatibility  :)
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #893 on: November 03, 2010, 04:19:26 AM »
a bit of a trap, i just went to uninstall tp from rc4 and got

Quote
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information.
Don't Follow me I got No Idea what I'm Doing

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: TinyPortal
« Reply #894 on: November 03, 2010, 04:53:17 AM »
ADD ON: Go to advanced options and choose Emulate version: SMF 2.0 RC3. It probably is the way you got it installed. Otherwise look below.

You probably edited package-info.xml of TP 1.0 RC1 for RC4 in "<install for=", otherwise it shoudn't go on with installation, but you didn't edit accordingly "<uninstall for=". Even so installation must have given errors for Security.php, if no other edit was made.

If so download the TP file /Packages, unzip it, edit the "<uninstall for=" section for RC4, rezip with the same zip file name and reupload in/Packages replacing existing files.

Other wise, delete existing TP file from SMF, do a large 2.0 RC4 upgrade and you may try the editing I have suggested, reading the NOTICE first.
« Last Edit: November 03, 2010, 04:59:15 AM by agridoc »
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #895 on: November 03, 2010, 05:46:35 AM »
emulating rc3 did the trick, at least i have the uninstall now although there are some tests failed but thats no biggy, thx a lot
Don't Follow me I got No Idea what I'm Doing

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #896 on: November 03, 2010, 05:48:26 AM »
IT may be quicker for me to just add this line change in the page, which file does it update?

Strange, it shouldn't work as it is.

If someone wants to try TP 1.0 RC1 with SMF 2.0 RC4 but

NOTICE: that's not official and not tested well, nor Bloc has approved it, so use it only in a test site.

Quote

With quick little modifications of package-info.xml (replacing RC3 with RC4, I should have added but...) and /SMF2RC3/tinyportal200rc3.mod replacing
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;
with
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context, $scripturl;

TP 1.0 RC1 installed successfully in a new SMF 2.0 RC4 test installation.  8)

Of course more tests must be done but, at first glance, it seems that not much has to be done for 2.0 RC4 compatibility  :)
« Last Edit: November 03, 2010, 04:36:59 PM by Rafferty »
Don't Follow me I got No Idea what I'm Doing

Offline Jason kiDD

  • Semi-Newbie
  • *
  • Posts: 48
Re: TinyPortal
« Reply #897 on: November 03, 2010, 01:34:54 PM »
Was using TP 1.52b before and this installed without a problem and all blocks work for now for TP RC1 and SMF RC4..
Just edited the xml file and so far so good...

Offline L'AltroWeb

  • Jr. Member
  • **
  • Posts: 344
  • Gender: Male
  • L'AltroWeb
    • laltroweb on Facebook
    • @laltroweb on Twitter
    • L'AltroWeb
Re: TinyPortal
« Reply #898 on: November 04, 2010, 09:11:46 PM »
Hi!
I remember that "Bloc" had abandoned this project but now i see this new release :P
What happening?  ;D
Bloc: you turn back to work with TinyPortal? :)
Anyway, thank you very much, tp is still the best portal for SMF  ;)
---
Can i make a large upgrade to latest SMF 2.0 RC4 and last TP 1.0 RC1 without data loss?  ::)
« Last Edit: November 18, 2010, 08:33:21 PM by Dark-Wolf »

Offline ZarPrime

  • Jr. Member
  • **
  • Posts: 135
Re: TinyPortal
« Reply #899 on: November 04, 2010, 09:43:29 PM »
Dark-Wolf,

At this time, TinyPortal 1.0 RC1 works on either SMF 1.1.11 or SMF 2.0 RC3.  Bloc has not yet finished checking the code to determine whether any edits will be required for SMF 2.0 RC4 (and 1.1.12).  However, even though the upgrade to RC4 isn't recommended yet, several people have done it and it seems to work fine with just a few small glitches.  You may have to manually install some of the code.  This link on the TP Support Site may be of interest to you --> http://www.tinyportal.co.uk/index.php?topic=33343.0

Lesmond and I setup a site to do some testing.  Hold on, let me go and disable registration.  OK, the link is here --> http://tp98.forums-4-free.info/smfrc4/index.php

I'd say only do it on a test site for now unless you're satisfied.

ZarPrime