Aahh, yes...I see the languagepal.php.This is just great news. You're a champ I'll get back to you with a danish translation around the time of the release of ubbt6.1
The language file in 5.0 isn't complete and it's not the same as what is used in 6.0 either. I think the only file that's not covered by 5.0's language file is the profile index. In 6.0 I placed the language strings into an array in the same manor as .threads does which makes things cleaner and simpler to work with.
posted by JoshPet:Custom Pals I've also created a few "generic" pal boxes.. where I have placed throughout the page some Amazon.com Product Links. These generate a little revenue and add some interesting graphics to the front page.
JoshPet,
Would you be willing to share as to how you did the generic boxes? Either I am getting older, or my brain has seized up, as I can't remember how I used to do it!!
I *hope* to be playing with 5.0 this weekend.... havne't had time yet.... but I can't wait. Once I look at it, I can see what needs to be done for that.
There was a step that needed to be added for setting this up with UBB.threads 6.0.x to allow the download.php script to work. I updated the instructions of this thread's main post. Basicly the download script was looking for the related language file and could not find it and failed.
Another error found thanks to Gardener. When the viewer's style sheet was set to "use default" the shout box didn't know what to do with that information so it was most likely trying to load a style sheet named usedefault.css (which don't exist) lol
I just updated the IIP 5.0 attachment in this thread's main post. Download the zip and upload the new shoutdisplaypal.php script and you should be good to go.
Just a question, I know the caching has increased my index loading time by quite a bit, but it still a tad slow for my liking. I'm not running all the pals either, but 1.5 seconds is slow to me.. lol I know, I'm picky.
So, what would you recomend for the update times? I left them all at default times as of now, but just wondering, what may help increase load times? Making the update intervals shorter, or longer or what?
Longer times are better if you don't mind information being displayed that's not quite "up to date". Use odd numbers for the minutes to cut down on overlap. Some things such as the "news" section could be changed every 12 hours (720 minutes) and if you need to bring a news article to the front then just add &RefCache=1 to the url or ?RefCache=1 if you have a Cat= in the url.
Pull the polls out of just one forum. Don't make it random.
Turn "force public" on. This is needed if your going to cache the news.
If you really don't need a particular pal box turning it off will help.
These are all I can think of at the moment. Might be one or two more if I think about it long enough... lol
Well I had already everything done you said, but I did adjust the times a bit and I also made a few things show less posts, like 5 instead of 10. Its down to about 1.6 seconds.
I haven't had anyone complain or mention anything, so I'm sure its fine
The funny thing is that I know of some popular websites out there, commercial even, that load in what is probably 3 to 5 seconds and occasionally faster. These sites don't have page generation times so people don't think anything of it. To be quite honest I think anything loading in less than 3 seconds with 20,000+ members and 40,000+ posts is doing fantastic. http://www.myhotboard.com seems to load fairly fast with the amounts above.
The other thing that's a factor is the host. If your on a shared server and it's packed with other accounts then I'm sure times will be slower than being on a dedicated one.
What would be nice is to see a list of sites using IIP that state what they are running on as far as hardware and if it's a dedicated/shared server and give some average generation times.
If I can get around to creating an archival system that moves the older posts out of the w3t_Posts table this will help considerably with the speed issues of larger sites too. (it's on the list) lol
Yeah, I can't complain at all, I mean less than 2 seconds, haha that's fast. As you mentioned I have seen some sites that are generally slow and you're right, I never even think about it.
Its just me being a perfectionist, I will sit here and try to squeeze every ounce of performance I can, whether it be my own machine here at home or a website or whatever Gives me high blood pressure, lol
Yeah, prior to IIP5 I had some pretty poor results, but this has helped out a great deal. With what, 70k posts to pull info from I couldn't ask for much more.
As a side thought... I think I remember in 4.3 that the header would load first, then the info below it would come after. Is that true? If so, why does it not work that way in this version?
I'm not sure why that is as it uses .threads to send the header out like all of the versions including 6.0. Now that it's standards compliant perhaps this has helped speed it up during the display?
That may be. I was just kind of used to the header poping up almost instantly, and then in another short instant the rest would follow. Now its just a white screen for a second, then everything displays at once.
Doesn't make much difference, just something I noticed from before
Just wanted to mention that at some point I'll will be creating a "top 10" page that will list the current top 10 pal boxes that are used on the index along with some other top 10's I can put together. I have seen this sort of page on the various *nuke sites.
As more pal boxes are created that are not dependant on the forum data they will fill the gaps created when the top 10's are on a seperate page. You will of course still be able to use the top 10's anywhere you want but removing such boxes will help speed things up at the entrance.
Silly question - but how does one make the right hand column wide from using the editconfigpal?
I thought it might automatically kick in if the middle or left columns have nothing in it, but this is not the case.
So I looked manually at the config.pal, and see that each pal has four options - I am assuming that this is left,middle,right,wideright? however the second option appears to be the left.
Can you clarify this for me - I have had to disable many of the boxes to get it down to something reasonable, so now wish to just have a left & wideright columns.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.