Advertisement:

Author Topic: TinyPortal  (Read 758867 times)

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1100 on: February 15, 2011, 09:21:36 PM »
Ok, I edited the file Sources/TPortalAdmin.php and I change the 1st one and added this on the end
, $modSettings; and then I added the this line $modSettings['global_character_set']);

to this line. I just added to the end.
$context['TPortal']['blockedit']['body'] = html_entity_decode($row['body'], ENT_NOQUOTES, $modSettings['global_character_set']);

Then I saved them and then I uploaded the file replacing the Sources/TPortalAdmin.php

And it still doesn't work. Here you can look for your self. You won't have to register.
http://www.df-barracks.com/index.php?action=tpmod;dl


SMF Forums http://www.df-barracks.com Where gamers go.

Offline DarkAngel612

  • Sophist Member
  • *****
  • Posts: 1,044
  • Gender: Female
Re: TinyPortal
« Reply #1101 on: February 15, 2011, 09:40:25 PM »
well not sure what is happening, but here is my file i just downloaded from the server to let you try it.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1102 on: February 15, 2011, 10:07:03 PM »
Thanks. I uploaded it and replace the one I had on the server. refresh my page and I still have the same problem. There has to be a reason why it's not working.

SMF Forums http://www.df-barracks.com Where gamers go.

Offline DarkAngel612

  • Sophist Member
  • *****
  • Posts: 1,044
  • Gender: Female
Re: TinyPortal
« Reply #1103 on: February 15, 2011, 10:17:34 PM »
yup  i guess we wait for the experts...I a post like yours and they pointed me in the right direction but no idea why yours doesn't want to behave.

writing down what other mods you have installed might help them to help you. I will admit on my site in the shout box it behave immediately, the other spots I had to retype the words to get it to go away, I had it in downloads...not just like yours but in the actual download descriptions, shoutbox and forums
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1104 on: February 15, 2011, 10:51:04 PM »
Well I haven't had any other reports my moderators yet. Thats the only thing they fount they wanted me to fix. Any way here's a list of all the mods i have installed.

    Award Mod    1.11   
    SMF 1.0.21 / 1.1.13 Update
    TinyPortal    1.102    
    PayPal BBCode    0.2    
    SMF Gallery Lite    3.0.2    
    RSS Feed Icon    1.1    
    Contact Page    2.1.1

I hope that list helps.
SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1105 on: February 16, 2011, 11:37:38 AM »
I'm not seeing your problem bigjoe11a. Is it fixed? I'm not seeing anything that you've posted. You said it was the text for the header. Are you talking about the introduction text? Please explain more if you can. Thanks.
IchBin™        TinyPortal
Coding Guidelines       

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1106 on: February 16, 2011, 12:04:23 PM »
Yes I can, I removed it so that it didn't look so dumb, How ever if you look at this.

http://www.df-barracks.com/index.php?action=tpmod;dl

As you can see the html tags seem to show up. Let me know if this can be fixed and if so, I hope a simple fix.

Joe

SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1107 on: February 16, 2011, 12:13:47 PM »
Yeah those issues are fixed in the next release. They are not happening on my latest test install with the fixes I've applied. Try replacing your files with these. Make a backup of your files before you do though.

Sources/TPdlmanager.php
Themes/default/TPdlmanager.template.php

IchBin™        TinyPortal
Coding Guidelines       

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1108 on: February 16, 2011, 12:42:43 PM »
Thanks, How ever that still doesn't work. If you look at the link I gave above. The problem is still there.

SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1109 on: February 16, 2011, 02:19:08 PM »
Ah yes, I didn't take into account that the editor choice changes whether it is HTML or BBC. I only sorta fixed BBC last time. Here's some files to try and should work with either choice on the editor now. As usual, make a backup before replacing your files just to be safe.

IchBin™        TinyPortal
Coding Guidelines       

Offline Crip

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,139
  • Gender: Male
  • C-4 QUAD
    • Cripzone
Re: TinyPortal
« Reply #1110 on: February 16, 2011, 02:27:42 PM »
Got'er done B0ss. :)
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


TOTM Winner. | Demo Site1on1 Theme Support

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1111 on: February 16, 2011, 02:35:37 PM »
Cool, Thanks. That works and looks a lot better. Thank you.

SMF Forums http://www.df-barracks.com Where gamers go.

Offline DarkAngel612

  • Sophist Member
  • *****
  • Posts: 1,044
  • Gender: Female
Re: TinyPortal
« Reply #1112 on: February 16, 2011, 02:42:16 PM »
I knew they could get you fixed up...the guys are super.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1113 on: February 16, 2011, 02:50:25 PM »
That's why I love SMF to PHPBB. PHPBB just sucks compared to SMF.
SMF Forums http://www.df-barracks.com Where gamers go.

Offline GerardWassink

  • Newbie
  • *
  • Posts: 2
Re: TinyPortal
« Reply #1114 on: February 17, 2011, 05:55:18 AM »
Hey guys,

I just downloaded TinyPortal 1.0 RC1 as a mod and installed it over my already present SMF 1.1.13. Installed like a breeze, and I would like to tailor it now.

In my SMF I also installed the Dutch language package before I got TinyPortal.

No I go to "Settings and Frontpage" in the menu on the left and I get a screen with fields and radio buttons, but no text to the left, only white space.

This has something to do with the language package beacause when I switch my profile back to English, everything's there.

Is there a solution for this? (couldnt find a dutch language package myself).

Gerard

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: TinyPortal
« Reply #1115 on: February 17, 2011, 06:57:40 AM »
In SMF 2.0x English strings would be used in case  there is no translation in the selected language.

There is a Dutch TP 1.0 translation http://www.tinyportal.co.uk/index.php?action=tpmod;dl=item25  but it must be from an older version.
What you can do is copy English TP language files in a dir in your PC, rename them to TP*.dutch.php or TP*.dutch-utf8.php, in a UTF-8 installation, then copy them in /Themes/default/languages. This way you will have at least english language and not empty strings when switching to dutch.

You may compare the strings in the older version dutch translation and check if it has many differences.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline GerardWassink

  • Newbie
  • *
  • Posts: 2
Re: TinyPortal
« Reply #1116 on: February 17, 2011, 07:48:45 AM »
This worked! Thanks! It's still English but hey, my users will never see this, right?

Gerard

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: TinyPortal
« Reply #1117 on: February 17, 2011, 03:01:24 PM »
Users interface TP features added to SMF, some strings will only be viewed by admins but many are used in user interface.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline morais17

  • Newbie
  • *
  • Posts: 9
Re: TinyPortal
« Reply #1118 on: February 19, 2011, 08:25:48 AM »
Can i use this portal on my root folder and my forum on the /forum/ folder?

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1119 on: February 19, 2011, 12:20:36 PM »
Nope. As far as I'm aware only Simple Portal does that.
IchBin™        TinyPortal
Coding Guidelines