MegaGlest Forum

MegaGlest => Forum discussion => Topic started by: Omega on 26 June 2011, 18:49:54

Title: Theme update and SMF 2.0 complete
Post by: Omega on 26 June 2011, 18:49:54
2 July 2011:
The theme has been updated. This topic is kept only for the record. Please move any active discussion to the main Glest Board topic.



1 July 2011:

Happy Canada Day! An email from Jose revealed he was sick, but has just backed up the board and is likely to update today. The board will go offline during that time span and until I get the mods installed, it will not be 100% complete. Thank you for your understanding.



I originally planned to upgrade the board today, since I finished the theme and the mods were all tested and ready to go. Sadly, it has proven to be impossible, due to limited rights. The web install fails with a 500 because some PHP functions seem to be disabled. As well, the large install cannot be used because while I have a (very limited) method of uploading files to the server, there is no way to extract the files (not to mention that if the web install would fail, could this even succeed? Would render the board nonoperational unless the restrictions limiting the web install too were removed).

Thus, we must let the Glest team do the upgrading. I will try and contact them, and send the theme (though I could do the theme myself, once upgraded, if necessary). Mods would have to be installed after.

If anyone wants to take a look at the theme, feel free (requires a server running SMF 2.0): https://www.sugarsync.com/pf/D6983676_8815923_64554



This is a notice that the theme has been completed and I am just doing the finishing touches of gathering the mods (note: some mods are not yet compatible, so there will NOT be the activity bar, at least not until the author updates it).

The board will probably be down for around an hour or so to update the version, which will take a long time to convert all the posts, etc. As well, the update will not be finished until I get all the mods safely added in, so until I change the name (and content) of this topic, please be aware that it is not yet complete and may have bugs. Until it's 100% complete, please do not comment on them.

I do not know the exact start time of this update, but it should be whenever my snail internet finished downloading a backup.




Edit: Ooh, had a good catch there too... While testing the mods, some time after its installation, the Bad Behavior mod, which sounded so great, started crashing the forum. We won't be using that.

Edit2: And it is complete. Uploading will commence shortly. Screens:

Code: [Select]
[URL=http://imageshack.us/photo/my-images/847/preview1r.jpg/][IMG]http://img847.imageshack.us/img847/8523/preview1r.jpg[/img][/URL]

[URL=http://imageshack.us/photo/my-images/405/preview2kq.jpg/][IMG]http://img405.imageshack.us/img405/3723/preview2kq.jpg[/img][/URL]

IMPORTANT NOTICE: The Youtube tag mod was abandoned in favor of another, however, it doesn't use a tag, but just needs the link. Thus, youtube tags will NO LONGER WORK. To embed the video, just post the bare link (no url tags), preferably on a new line for formatting. Problem solved, the old method with youtube tags will be continued, screenshot below.
Title: Re: CANCELED: Theme Update Likely to Happen Today
Post by: tomreyn on 26 June 2011, 23:35:00
Something like this can work for uploading + unzipping: http://www.3scriptz.com/snippets/unzip-on-server-using-php.html
Title: Re: CANCELED: Theme Update Likely to Happen Today
Post by: Omega on 27 June 2011, 00:11:15
Only problem is that it will have to overwrite a large number of files (pretty much every source and theme file), so it absolutely cannot go wrong, and must be able to overwrite these files properly. Sadly, the other problem is that we would need to modify the CHMOD on some of those files first, but it would appear that the board is incapable of doing so, for my CHMOD commands always fail. The webinstall is a much better, easier, and faster method, but it is hitting a 500 error, which I suspect is because of lacking permissions.

At any rate, I already contacted Jose, and hopefully he will do it when he gets the time. :)

Sorry if I got anyone's hopes up. :look:



EDIT: Also, a few notes on some potential changes after we get the upgrade:



Suggestions are welcome.

EDIT:
After an email with Jose, I hear that he will be upgrading the forum for us tomorrow! Big thanks in advance to Jose!
Title: Re: Theme Update Likely to Happen Today
Post by: ultifd on 27 June 2011, 08:34:40
Sounds good, although the broken youtube embeds might be a problem. Thanks Jose!
Title: Re: Theme Update Likely to Happen Today
Post by: Omega on 27 June 2011, 13:17:07
Sounds good, although the broken youtube embeds might be a problem. Thanks Jose!
True. We may just be able to edit the posts as we see them, but I'll take a look into it myself, perhaps I may be able to port the youtube tag code enough to allow us to have a tag that parses, but isn't shown in the edit menu. Another cool thing about the posting and editing menus is that there is quick reply, a small collapsible box at the bottom of the thread to allow you to post a reply without loading a new page (at the cost that there is no toolbars, though BBCode still works). As well, there is a rich text editor (aka: WYSIWYG) that is toggleable (defaults to off, but can be set to default to on in your user preferences, which also have a revamp).

For youtube links, is the embedding code always the same (except the link to the video part)? If so, I may be able to replicate it well enough, though, there is some security stuff I'd have to be sure to take care of. It would need a very powerful regex string to ensure that only a youtube link could be placed, as it would be a huge security risk otherwise. Still, I'll look into that.
Title: Re: Theme Update Likely to Happen Today
Post by: John.d.h on 28 June 2011, 02:31:37
Actually, can we not have it automatically parse youtube links?  That's an awful lot of loading to be done if somebody were to post multiple videos, not to mention Flash's tendency to crash like the housing market when anything puts a strain on it.  Thus, I would prefer the current tags for that, so that posting links and embedding videos are two different things.
Title: Re: Theme Update Likely to Happen Today
Post by: Omega on 28 June 2011, 03:08:04
Actually, can we not have it automatically parse youtube links?  That's an awful lot of loading to be done if somebody were to post multiple videos, not to mention Flash's tendency to crash like the housing market when anything puts a strain on it.  Thus, I would prefer the current tags for that, so that posting links and embedding videos are two different things.
I agree, which is why you'll be happy to know I got it the youtube BBCode working again! I'll have to owe that one to you, for you made me try again, and managed to get it working. It does NOT work with the new, short URLs, but that should be fine, those aren't meant for forums anyway, but for things like twitter.

Preview:
Code: [Select]
[URL=http://imageshack.us/photo/my-images/51/previewda.png/][IMG]http://img51.imageshack.us/img51/8729/previewda.png[/img][/URL]
Also, a note that "today" is not necessarily accurate. When ever Jose gets time, not to mention whatever tomorrow would have meant yesterday in Spain. Man, timezones are a headache. :P
Title: Re: Theme Update Likely to Happen Today
Post by: ultifd on 28 June 2011, 09:04:13
OK, everything sounds awesome then. Jose can take his time. :D