:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Jan 18, 2018 3:41 am
All times are UTC + 0
 Forum index » PPM Zone » PPM News Network » Forum Announcements
PPM forums no longer support HTML in posts.
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 18, 2013 12:51 pm    Post subject:   PPM forums no longer support HTML in posts.
Subject description: We've fixed some BBCodes as well in this process.
Reply with quote

Hello everyone. Ive been working on improving our BB codes recently and, due to bugs on our forum software, I've decided to completely cut the HTML support in posts. Before doing that, PPM forums supported <center></center>.

However, we are compensating this problem with a couple of changes:

- Links are more flexible and things such as this crazy link are now accepted.

- You can add emails like THIS.

- You can add texts with line through.... like this.

- In order to center text, you should now use this:

Code:
[center]My Text[/center]


I.e.:

My Text

And code is less restrictive now. XML codes seen in C&C3 are fully accepted (which is really the main reason to disabling HTML here).

Code:
<StatusBitsUpgrade
       id="ModuleTag_UpgradeWeaponX"
       StatusToSet="WEAPON_UPGRADED_0Y">
       <TriggeredBy>Upgrade_TheWeapon</TriggeredBy>
</StatusBitsUpgrade>



If you had posts with HTML code inside it, you should edit them to fully fix them. Sorry for any inconvenience.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Wed Sep 18, 2013 1:11 pm    Post subject: Reply with quote

It's good to see the whole feature of centering text isn't gone, just altered. Too bad this has affected almost every post at our site. I don't think Aro will be pleased Neutral
_________________


Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 18, 2013 1:19 pm    Post subject: Reply with quote

Aro won't notice it Wink.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Wed Sep 18, 2013 1:36 pm    Post subject: Reply with quote

I've had to manually trigger an edit on most of the TO threads which used <center>.  The posts all had been automatically altered from <center> to [center], but they only expressed the tag correctly after I clicked the 'edit post' button.

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 18, 2013 1:53 pm    Post subject: Reply with quote

Yea, i've used a MySQL query to update every <center> to [center], however, the database itself stores an additional information at the bbcode to validate it and this information is different at each post. I tried to edit it manually in the database to add it in one of the linea pig posts and things didn't work well. So, it's faster to simply hit edit post than edit post and every center tag by hand.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Sep 19, 2013 3:09 pm    Post subject: Reply with quote

Update: I've edited every post that used <center> to use [center].

Also, I've improved the img bbcode to allow you to force the width of a image.

I.e.: in order to force a image to have 500 pixel width, add a =500 at the img tag. Here's a sample code:

Code:
[img=500]http://www.ppmsite.com/rotd/screenshots01/SCRN39.png[/img]


And other samples:


This code restricts images to 600px wide, our limits for the PPM's frontpage.


This sample restricts the image to 400px wide, used by many people who used img html code in purpose back in the old days.


Now we are restricting the image to about 300px wide, so we can add two images side by side in the site.


And that's it for now. I'm still fixing old posts that used HTML code.

Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Thu Sep 19, 2013 4:06 pm    Post subject: Reply with quote

That is a awesome feature!

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Sep 19, 2013 4:08 pm    Post subject: Reply with quote

Err... I've completely edited my previous message, since I've noticed that it is just better to keep every image under img bbcode. It's better than creating a bunch of variations just because of one parameter.

Back to top
View user's profile Send private message Visit poster's website Skype Account
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Thu Sep 19, 2013 4:57 pm    Post subject: Reply with quote

Still an excellent feature so people don't have to make separate thumbnails.
_________________
TAK02 wrote:
Screw AttachEffect. Can't think of any use for it.

Back to top
View user's profile Send private message Send e-mail Skype Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Thu Sep 19, 2013 5:37 pm    Post subject: Reply with quote

I agree. Good thinking!
_________________


Back to top
View user's profile Send private message Visit poster's website
Starkku
Tiberian Beast


Joined: 28 Dec 2007
Location: Finland

PostPosted: Thu Sep 19, 2013 5:45 pm    Post subject: Reply with quote

More efficient in terms of bandwidth usage etc. to make separate thumbnail images though. Still, useful if such things are of no concern.
_________________

Back to top
View user's profile Send private message Visit poster's website Twitter Channel URL
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Sep 19, 2013 11:04 pm    Post subject: Reply with quote

This is what I'm still doing with the news, Starkku, unless the picture is just slightly wider than 600px.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Sep 20, 2013 1:49 pm    Post subject: Reply with quote

that image code is really useful. thanks Banshee.

Any chance you could improve the attachments and have such a feature there too.
example topic here
when viewing this on my laptop, i always have to scroll to the side to read the text.

Or maybe allow such attachments to be invisible, so the poster can link to them in the post itself and show them in the correct order at the right place.
This would be useful, since the attachments are often in a complete different order (especially when you reupload or change some of the attachments)


offtopic: that crazy link in the first post looks like it leads to an Açai site. Damn i miss this stuff.

Last edited by Lin Kuei Ominae on Fri Sep 20, 2013 1:55 pm; edited 3 times in total

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006
Location: Birmingham, United Kingdom

PostPosted: Fri Sep 20, 2013 1:54 pm    Post subject: Reply with quote

Awesome! Good job. I wish this had been done such a long time ago. Razz
_________________


Twisted Insurrection [Version 0.6]
Twisted Insurrection OST [Vol. 6]
Twisted Insurrection: Gallery

Tiberian Sun Client (Includes UMP)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Sep 20, 2013 2:06 pm    Post subject: Reply with quote

@Banshee: what do you suggest using for map previews with image files of sizes above 4000x3000 pixel?
Better create a separate small preview image or use the new img functionality and use the big preview directly?

\Edit
just tested it and separate small preview seems better.
No 20MB download just for a small preview.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sat Sep 21, 2013 8:44 pm    Post subject: Reply with quote

Quote:
Any chance you could improve the attachments and have such a feature there too.


What I can try to do is to force a thumbnail system for attached pictures. I think the forum has already that thing implemented, but I've disabled it a very long time ago and I don't remember the reason.

Quote:
@Banshee: what do you suggest using for map previews with image files of sizes above 4000x3000 pixel?
Better create a separate small preview image or use the new img functionality and use the big preview directly?

\Edit
just tested it and separate small preview seems better.
No 20MB download just for a small preview.


Create a thumbnail and link the big one there, otherwise the server will lag like a freak and users will complain at your topic.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [16 Posts] View previous topic :: View next topic
 Forum index » PPM Zone » PPM News Network » Forum Announcements
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only one of the following words: Brotherhood, unity, peace! 

 
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.2453s ][ Queries: 12 (0.1231s) ][ Debug on ]