Here is a small update from 0.5beta/0.4beta to 0.6beta.
I have tested it on new installs, and upgraded 0.4 and 0.5 installs, but would like to hear how it goes for you. ;)
New in this small update:
- WYSIWYG editor no longer introduces spaces and strange widths.
- install/un-install routines are changed some, to better cater for errors.
- modified theme will no longer "break" the forum if TP is not present.
- added option to turn off WYSIWYG editor.For now a plain textfield.
- permissions for membergroups are limited to non-postbased groups for now.
- Menu manager has enabled lists only for the right type.
There are two archives for you to use:
1) for fresh install or upgrading from 0.5beta.
2) for upgrading from 0.4beta only.
Full install went good on a new smf installation. Will try the upgrade on my live site. lol wish me luck. hehe
On the upgrade I see that the default/index.template.php says failure right before I go to proceed. Is this ok? Why would it do this? The permissions are set to 777 on the file.
Nevermind, it was because I uploaded the wrong package.
Seem to go ok on the live site for me --will look at it more later
Version number didn't change but the install on an upgrade went great. No problems with anything so far. Nice job Bloc!!!0
no issues here ;D
Really can not find anything wrong -- i changed the version number myself but that was it -- nice job
Note: upgraded to SMF 1.03 also and all seems ok
salute to Bloc, you've fix my permission problem :)
Upgrade process:
-Download the 04-06 package and upload to package manager
-Run it with a fail report with modifying index.template.php(don't know why it's needed. Most of us won't have an untouched index.template.php.)
-Runs fine afterwards.
Suggestions:
We are now having discussions within 04,05 and 06. So for avioding confusion, I think it will be better if there is another forum for 0.6 specific. Or just request user to post version first before issueing questions.
Yes, mentioning version number is good, I can set up a new board too..
Great to hear it works as intended...but it fails on index.template.php on upgrading? I separated it into two archives, just becuase 05 and 04 is slightly different, but it might be more changes.
how about fresh installs? anyone tried that?
just did a fresh manual install (was a bit confused about the template06 file) and so far don't see any bugs and didn't have any problems !!
the Sql file did it wonderfull to ;-) thx
going to play with it now see if anything bad comes up
ie works good with the Arte wysiwyg now !! can update articles fine and spacing seems better !!
test on fresh smf installation.
Install = fine
Uninstall = fine
SQL = extra tables are taken care of after uninstall.
Only thing that isn't fine is the uninstall status of package manager isn't resetted. It stay on installed status.
Yes, the package manager seem not to pick it up. I am working on that.
I am in the midst of adding a few things that will be up soon:
- centerblocks...for adding blocks above the start of articles/news.
- submsision of articles. Members that are allowed to submit will have an extra link in their user-info block.
- auto-close of left/right/both sidebars in different sections, based on where you are.
- first steps on a download manager.
- a better laid out content-block. CSS based list with hover perhaps. Its really a theme thing, but at least it can be improved in the default theme. Maybe as an option.
- getting all strings out in language files. finally. ;)
Will post more about this as it progresses.
OK... just tried the install, here's what happened:
1) Installed on (package manager upgraded 1.0.3 SMF) with v0.4 and v0.5 update installed.
It seems to have installed correctly. However, the v0.5 upgrade in the package manager now shows an [upgrade] option... If clicked, it succeeeds, and v0.6 upgrade now shows the [upgrade] option... this, of course fails...
2) reloaded SMF 1.03 (full install) via FTP.
added the full v0.6 package
The package gave errors because of the existing tables. I could not see any issues... but since it errored, I uninstalled.
This removed the tables.
A reinstall of the v0.6 package succeeded
I still think the user block needs to be configurable. Each bullet should be configurable as display/not display... and the current date at the bottom should NOT be bulletted. :)
Thanks, Kindred. Those reports are helpful.
The suggestions for user block is good, I will take them in. Its a list that makes the bullets, but it can be refined and/or not using the list tag at all.
As for options...the things that are there is the same as user-info on top, so if you have hidden the top, users will not see the things you have turned off. But it can be done.
Quote from: Bloc on March 30, 2005, 04:33:56 PM
The suggestions for user block is good, I will take them in. Its a list that makes the bullets, but it can be refined and/or not using the list tag at all.
As for options...the things that are there is the same as user-info on top, so if you have hidden the top, users will not see the things you have turned off. But it can be done.
So, what your saying is, if I edit the user info in the default theme to display/not display certain items, it will have the same effect in the user block?
Hmmm... I could do that, but that brings up another interesting point...
Is there any purpose in having both the User Info, Search, Stats and News duplicated?
I think that TP modified themes should show one or the other.
Hmmm... I wonder if it would be possible:
If User Block is present, do not display user info at top...
If search block is present, do not display search box...
Same for Stats and News...
Or maybe, just assume that people will be using the blocks (as they will likely be doing) and disable those displays in a Tiny Portal modified theme....
<EDIT>
DAMNIT, I knew I had missed something!!!!
You already have the option to hide the top boxes!ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, lol...ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, good work, bloc!
<end EDIT>
Oh, and IMO, the upshrink buttons for the block columns need to be modified.
With > < arrows instead of ^ arrows...ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, But that's just nitpicking. :)
:)
Yes, its in, and no, changing the code on top wont affect the user block.
What i meant was, as long as you hide the top for members, you have to show it in user-info block. You would have to watch out for hiding things members can't see at the top anymore, that was my point..
actually, I disagree....
Personally, I don't see any need at all for the time spent online information.
and most of the time, I get rid of the "read last responses to your posts" and sometimes the "read posts since last time online"
Honestly, the only thing that I want in the user info box is the user welcome, the avatar and the PMs (and of course, the logout link)
This is one of the things I liked alot about the mambo login box... each element is hide/show-able... so I can build it the way I want.
I am setting it up as an options for just the userinfo box, options will be visible when editing that block.
Kindred, when taking out some features according to your own need, that might taking out some useful features of other users' need as well. So, in your case, it should be done by modification of your own.
Thats why I am trying out setting all the things as options - in fact as "hide"-able, means on by default.
NightOwl...
I understand that not everyone wants things not displayed.... that's why I asked to make it "hideable".. in other words, the SysOp can determine what is displayed and what is not.
I can do it by modifying the source code... but the number of people who requested something like that for the Mambo bridge module leads me to believe that options like this should be configurable as options, not as code mods...
(as Bloc has already mentioned, on by default, with options to turn things off if you desire)
I am a complete n00b, so I am probably doing something dumb, but ...
I installed the full package (TinyPortal_06beta.zip) onto my install of SMF 1.03 using the package manager. I uploaded the file and "Apply Mod". I then entered my FTP info and clicked "Proceed". I then get another screen listing the actions to be performed and hit "Proceed" on that page. THen, the following error comes up:
An Error Has Occurred!
2: copy(/home/username/domains/domain.net/public_html/smf/Themes/default/images/divider.gif): failed to open stream: Permission denied
File: /home/username/domains/domain.net/public_html/smf/Sources/Subs-Package.php
Line: 814
Anyone know what I am doing wrong or what I can do to fix it?
your permission aren't set right i think ... check that those folders are writable (in ftp program --> chmod see that is set to 777 or 766)
OK, I manually changed permissions on those folders, then installed the mod. It seemed to have worked, but now when I go to my forum URL, I get just the word "index" and that is it ???
Edit: OK, fixed the forum by reinstalling, but I get the same error as in my previous post. After the package installer runs and I get that error, the permission on the divider.gif file is "666" and I am not able to change the permission, but I can delete the file. I am confused.
if its just that image, then its not really important. Does the forum+portal work otherwise?
Bloc, nope. It looks like the portal is not installing because of that error. index.php just brings up the normal SMF forum and I see no other .php files in the SMF folder
EDIT: I was able to get it to install by manually going in and modifying the permissions of every file the portal needed or created. I set them all to "666" since that is what other files in the same folders where set at.
At the SMF forum I've seen the post that you should chmod all files to 777 except settings.php and settings_bak.php
Okay just upgraded, it was perfect. No problems here. I went from 0.5 to 0.6.
My site: http://www.theantidote.co.nr
Bloc,
I like what you have done with the WYSIWYG editor!
I have however noticed that it does strip the style property out of div tags??!??
Anyway Great Work And keep it up!
Jonas
PS: upgrade worked sweet here too!
PPS: disabled wysiwyg for now
It does?
Its a editor called AplosRTE, so I don't know its inner workings, but I will have a look.
A suggestion that i would like to make, is to by default set the div style of the articles to have wrap turned on so that the page doesnt widen to inifinity + 1 px!
<Div style="word-wrap: break-words;"> </div>
or sumthing like that!
You mean in the article itself..or in a block with links to articles?
The articles themselves (or maybe even the generic class for the content column in the middle), beacuse for example when you do this
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
the page gets huge widths.
<Edit>
well maybe not here but for the articles it certianly does!
</Edit>
I have downloaded 0/6 beta zip file. Thank you.
I looked for installation instruction everywhere. Where can I find it?
Erik
I think you should just be able to go to to the SMF Package Manager (in your admin panel) and install from there.
It didn't work for me because of some permission problems that I had to fix manuallly, but from the other posts, it sounds like it works for most people just fine.
You need to go into Admin Panel | Package Manager | Download New Packages
and then upload the zip file, then click on Apply Mod!
Quote from: JonasNZ on April 02, 2005, 07:40:04 PM
The articles themselves (or maybe even the generic class for the content column in the middle), beacuse for example when you do this
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
the page gets huge widths.
<Edit>
well maybe not here but for the articles it certianly does!
</Edit>
I will check this..it most certainly is a div problem. The reason it does not here is because of setting overflow: auto in the CSS.
Kool, il try that on my site, btw just so you know i am using themis_tp, with some modifications done, which if you are willing / interested i would like to sumbit back to you,
it basically involved setting the top Nav Bar to have a collapsing feature aswell, although i didnt get the cookies stuff to work with it, so at the moment its just dependant on the status of the user [Guest or Logged In].
Cheers Jonas
Quote from: JonasNZ on April 02, 2005, 10:34:03 PM
You need to go into Admin Panel | Package Manager | Download New Packages
and then upload the zip file, then click on Apply Mod!
I did exactly what you said. I also did back up the original. But after applying and test, then when I go to my forum. My ie saud the page could not be displayed.
Oh well i guess the mod is not working, isn't it?
Erik
Maybe your host don't allow the package manager to work right. Then you have to do it manually - look at the tinyportal06.mod file and apply the changes, then use the supplied SQL file to insert the tables through PHPMyAdmin.
But what version of SMF are you using?
Quote from: Bloc on April 03, 2005, 08:48:43 AM
Maybe your host don't allow the package manager to work right. Then you have to do it manually - look at the tinyportal06.mod file and apply the changes, then use the supplied SQL file to insert the tables through PHPMyAdmin.
But what version of SMF are you using?
Powered by SMF 1.0.2.
Erik
It should work fine then. Take a look at Load.php in Sources folder, if it contain any "Tiny Portal" strings, it HAS been patched. If not, then the packagemanager don't work correctly.
Also check index.php in root folder of forum for the same thing, and index.template.php in Themes/default/
Those are great additions!!!!
I am Patiently waiting for the next release!!
I just upgraded to V0.6beta and everyting seems to go fine!
except for this problem I have but it was there since v0.4beta so I made a new thread about it.
Eta on the next version ... is????
Please let us know!
Dude you are making an amazing job with this mod.
Thank you,
Sh33zo ;)
A new version should be on its way pretty soon.
8) didn't have the time i wanted to play with this version yet ???
Currently ruuning SMF v1.03 and upgraded for 0.5b to version 0.6b. Upgrade went well but failed to change the index.template due to a few mod's being installed.
Nothing major.
I'm getting the following error for every page I open:
8: Undefined index: QUERY_STRING
File: c:\Inetpub\wwwroot\SMF\Sources\TPortal.php
Line: 47
Any ideas? I had a similar problem with a theme that ended up being an uninitialized option, but I'm not sure where to start with this one.
This is on a fresh 1.03 with no mods, default template.
TIA,
rkarnes
Installed 0.6beta full install on 1.03 and I have the following mods already installed before 0.6beta:
Ultimate Shoutbox 1.22
2. TinyPortal 0.6
3. Message Icon Manager 1.2
4. OnLine Users Today 1.3
5. G&S_Sticky 1.1
6. SSI NewsArchive 1.3
But after installing tinyportal 0.6 I get this error on line #27:
.thems/default.index.template.php-Failure
Eric
Couple of points to report
1) The footer still shows 0.5beta
In Articles....
2) HTML rendering much improved, not sure how much yet ;)
3) BB code doesn't render at all, just get a page with all the code visible
Off to fiddle again ;D
To Eric's point about the failuire to change the index.template the reason behind the failure is the mod's installed.
Before upgrading any mod like Tiny Portal most people either unload the mod's they have installed or carry the changes to the template files themselves because often a mod upgrade will fail to change the index.template file.
Try uninstalling your mods then carrying your updates or making the changes to the template files yourself.
I did a clean install of SMF 1.0.3. Then installed TP beta .6 .
I installed the Helios_TP theme and it works fine. I then installed the Cerberus_TP theme and when I activate the theme I only get the the header and the very top of the graphics right under it.
What I had to do:
I had to remove any mods that were previously downloaded, then install 0.6beta. It is now ruuning just fine on my test site and my regular site......The more you play with it and understand it the better.
but thanks to all that helped me get to that point!!!
http://www.michigantrunktracking.vze.com/phpBB2
i installed beta6 and had no big problems only from php test or html test in the Blocks,
On my forums the members that where on index.php?action=forum used to say "Unknown Action" in the who's online section
so i added this to Themes\default\languages\Modifications.english.php
$txt['whoall_forum'] = 'Viewing The Board Index Of <a href="' . $scripturl . '">' . $context['forum_name'] . '</a>';
great work
Quote from: eric on April 24, 2005, 10:16:24 PM
http://www.michigantrunktracking.vze.com/phpBB2
lol, the link is just a bit......with the phpbb2. :)
lol.. probably should be in a smf folder! Oh well, I am sure only those involved with SMF see the irony there.
insert.. smiley
Upgraded to SMF 1.0.3, modified tinyportal (I've edited tp to be indipendent by the forum, basically the home page called portal.php uses a theme in wich there's installed tinyportal, while the forum uses the same theme without TP, so I've no lateral bars in the forum, and I can customize my homepage :))
Quote from: TreviÃÆ'ƒÂÃ,±o on April 28, 2005, 04:12:30 PM
Upgraded to SMF 1.0.3, modified tinyportal (I've edited tp to be indipendent by the forum, basically the home page called portal.php uses a theme in wich there's installed tinyportal, while the forum uses the same theme without TP, so I've no lateral bars in the forum, and I can customize my homepage :))
That sounds interesting.. :) do you have a link to it?
Hello, I've found a bug of TinyPortal. It isn't so great, but it's always a bug :)
If you try to open your homepage via wap, wap2 or imode you'll get error:
try:
http://www.tinyportal.net/smf/index.php?imode
http://www.tinyportal.net/smf/index.php?wap
http://www.tinyportal.net/smf/index.php?wap2
In my installation (but it's modded, ^^^), I've fixed it (or better, I've bypassed it) by editing my portal.php like this:
SEARCH FOR
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' : '')));
// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;
// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}
REPLACE WITH
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' : '')));
header('Location: ' . $boardurl . '/index.php?action=forum;' . WIRELESS_PROTOCOL);
}So if an user goes to my homepage using a wireless protocol, I redirect him to the forum showing it as a wireless page.
But this works only in my script, you should do a similar thing by redirecting the users who goes to your index.php to index.php??action=forum;[WIRELESS_PROTOCOL]
Quote from: Bloc on April 28, 2005, 04:43:45 PM
Quote from: TreviÃÆ'ƒÂÃ,±o on April 28, 2005, 04:12:30 PM
Upgraded to SMF 1.0.3, modified tinyportal (I've edited tp to be indipendent by the forum, basically the home page called portal.php uses a theme in wich there's installed tinyportal, while the forum uses the same theme without TP, so I've no lateral bars in the forum, and I can customize my homepage :))
I've it in local... Maybe I'll upload it soon to make you see it, but it has a little problem: you should know the theme ID that you want use in the portal and in the forum... My version isn't dinamical.
Ok... I've made it :)
Here you are the stand-alone version: http://italy.copybase.ch/SMF/
Look, that the one I've in my PC has a different theme (this one I made it now in 10 minutes 8)) and has also an integration with PaFileDB (only graphical...), and yo can see it in this screen shot.
[attachment deleted by admin]
I am not lucky at all.. it shut down my entire site... how can i get them back?? i was just trying to upgrade to v0.6 can anyone help me out/
Goto SMF's site and download the repair_settings.php file that they have. Point your browser to it and make sure all your settings are right. That might fix your database connection problem.
Quote from: Bloc on April 28, 2005, 04:43:45 PM
Quote from: TreviÃÆ'ƒÂÃ,±o on April 28, 2005, 04:12:30 PM
Upgraded to SMF 1.0.3, modified tinyportal (I've edited tp to be indipendent by the forum, basically the home page called portal.php uses a theme in wich there's installed tinyportal, while the forum uses the same theme without TP, so I've no lateral bars in the forum, and I can customize my homepage :))
That sounds interesting.. :) do you have a link to it?
Bloc... Have you seen the test-forum I made?
It's quite simply the modification I've done... If you want I can attach the edited sources...
Btw, the modification I've made could be better... In fact, it should be absolutely needed to hide left and right bars when an user is in the Forum... Mkp does it, and also TP should do it :)
My modification is more radical, but I could optimize it... Without creating 2 themes, but adding in the theme some variables to add the TP theme code only if wanted in the TP admin...
If I can find time, i'll try something about... :)
[attachment deleted by admin]
I install in my page it fine i guess but I have problem in your instruction how to edit rte_image.php files I didn't know much about the code or forum can you explain what need to change and where it is ? it confuse me though
thanks
What exactly are you trying to change? rte_image.php is only used in the AplosRTE editor.
umm , after I install there no imagen on the board all of them are red x im not sure what do i need to do after that though can you visit my forum see what I need to do next thanks
testing forum) (http://www.hostnk.net/SMF/index.php)
Check that you copied over the "images" folder from default theme over to your "TinyPortal_06beta" theme folder.
thank you it work :)
I lost my database, is there a way to re-create it?
Get this message:
Database Error
Table xxxxxxxxx.tportal_settings' doesn't exist
File: /home/xxxxxxxx/public_html/CRPSMF/Sources/TPortal.php
Line: 65
Only if you backed it up..in the latest archive there are sql files for creating the tables, but they will not resurrect your own data of course.
Quote from: borgBOB on May 06, 2005, 12:53:18 AM
I lost my database, is there a way to re-create it?
Get this message:
Database Error
Table xxxxxxxxx.tportal_settings' doesn't exist
File: /home/xxxxxxxx/public_html/CRPSMF/Sources/TPortal.php
Line: 65
Your database isn't gone. Just the 'xxxxxxxxx.tportal_settings' table is missing. I had a similar situation happen to me. What have you recently installed?
I made the newbie mistake of attempting to uninstall the beta0.65 without
having a back-up. The un-install failed, and actually deleted my SQL databases for TP. Threw some very shaky maneuvers, I was able to copy
files from my other installations of SMF with the TinyPortal v0.65 upgrade.
I have 2 live sites, and one test site. I also had to re-create the SQL databases, and now have all 3 sites working fine.
Have not tried to un-install TP v0.65 on the test site, may try that.
I also think part of the problem was attempting to make changes while the site was in-use. Will have to research maintenance mode.
Actually the un-install of upgrades ALWAYS un-install the whole mod, it won't revert back to an earlier version. So the tables get wiped out and the files for TP removed...but often the index.template.php won't revert back to pre-TP...so just keep a copy of that file un-modded.
But if you want to use an earlier version, the tables will work fine, just without the added things present in later versions.
I will not change anything major in the installation routine from now on, only use existing tables and expand with modules that will be in separate tp-files. They get loaded by the main TPortal file, so its just a matter of replacing just TP files.
Thanks for the Heads-up! Now I will know what to do next time.