Determined to make Flash BBCode work [It Worked!]

STG related Support requests. Post site related support issues or questions about Star Trek Guide, or any of the tools or services on STG -- Not for phpBB Support --
Forum rules
Image
Post site related support issues or questions about phpBB Academy at Star Trek Guide, tools or STG services.
Post site feedback here as well.
Programming and general coding support or assistance should be requested in the Coding Assistance forums.

No phpBB Support in this forum

Re: Determined to make Flash BBCode work

Postby robertmf » 26 May 2006, 05:06

[quote="Highway of Life"]
post an attachment of the picture you want displayed when you lock a topic. (MOD's ONLY)

But... the topic is still open. :)
[/quote]

This is mine (if you still want image for locked topic)
Attachments
forum_locked.png
forum locked logo
Last edited by robertmf on 26 May 2006, 05:27, edited 1 time in total.
Reason: change image
User avatar
robertmf
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 108
Joined: 18 May 2006, 17:34
Location: In PA, 55 min by commuter rail outside Filthadelphia




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Avatar upload

Postby robertmf » 26 May 2006, 05:13

In the UCP uploading a new avatar that is larger than the permitted size causes phpbb3 to bring up the hourglass and hang at the hourglass rather than a graceful error message telling the user that the image is too large.
User avatar
robertmf
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 108
Joined: 18 May 2006, 17:34
Location: In PA, 55 min by commuter rail outside Filthadelphia

Re: Flash BBCode

Postby robertmf » 26 May 2006, 10:29

Highway of Life wrote:
Stock: [b][i][u]
[code][list][list=][img][url][flash][size=]

Added: [hr][hr=]
CSS allowed ONLY in the HR tag.
Example: [hr=width: 50%; height: 4px;]



I don't understand the [flash] BBcode symbol. Is the flash reader embedded into phpbb3 and the [flash] presents the **whatever** as a flash page/image ? ... or do you have to have the $flash$ authoring software to make up/upload your flash BBcode ?
User avatar
robertmf
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 108
Joined: 18 May 2006, 17:34
Location: In PA, 55 min by commuter rail outside Filthadelphia

Re: Determined to make Flash BBCode work

Postby ElbertF » 26 May 2006, 15:46

Your hr-BBcode isn't safe for vandalism (check in FireFox) Grin

[hr=width: 0px; height: 9px;":a62a9]

:cool:
ElbertF
Supporter
Supporter
 
Posts: 574
Joined: 21 May 2006, 06:59
Location: tracing..
Gender: Male

Re: Determined to make Flash BBCode work

Postby Highway of Life » 26 May 2006, 19:01

Ouch!! you are right.
But that's what we have :mod:'s and Admins for, and what Ban's and Warnings are for. Grin

On the other hand, do you have an idea on how to prevent that sort of thing?
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Determined to make Flash BBCode work

Postby ElbertF » 27 May 2006, 02:00

BBcode is there to prevent such things. In 2.0.x allowing a simple img tag would mean you could even open popup windows and so, with the onload attribute. Simply don't give people the freedom of using attributes.
ElbertF
Supporter
Supporter
 
Posts: 574
Joined: 21 May 2006, 06:59
Location: tracing..
Gender: Male

Re: Determined to make Flash BBCode work

Postby Highway of Life » 27 May 2006, 17:55

[quote="spambot":41dff]
BBcode is there to prevent such things. In 2.0.x allowing a simple img tag would mean you could even open popup windows and so, with the onload attribute. Simply don't give people the freedom of using attributes.
[/quote:41dff]
Well, they are limited to the style attribute, which is okay with me. Even if a person chooses a height of 9,999pixels, that's okay.
There is also a way of limiting the code by:
1) Only allow the style attribute, and perhaps certain others. But the style attribute gives the user more options.
2) Allowing only certain styles in the style attribute
3) setting a Max-width, max-height for people like YOU! :D
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Determined to make Flash BBCode work

Postby ElbertF » 28 May 2006, 04:38

And how would you do that Smile

Click here, you'll see there's even worse things I can do.

SHS` had some nice ideas too.. http://www.phpbb.com/bugs/viewreport.php?b=1982
ElbertF
Supporter
Supporter
 
Posts: 574
Joined: 21 May 2006, 06:59
Location: tracing..
Gender: Male

upper/lower in BBcode

Postby robertmf » 28 May 2006, 05:05

You seem to know a bit about the BBcode, have you noticed anything about BBcode u/l case
NNO-Stephen
... also with those of us using lowercase b instead of uppercase B, I don't believe the bbcode parser is case sensitive, which is why you're having problems. that's why you can type in B and b as the bold bbcode, and both regardless of any custom bbcode.
User avatar
robertmf
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 108
Joined: 18 May 2006, 17:34
Location: In PA, 55 min by commuter rail outside Filthadelphia

Re: Determined to make Flash BBCode work

Postby ElbertF » 28 May 2006, 05:25

Nothing strange about that, BBcode is case-insensitive so [b] is the the same as [B]. It's stored in lower case though.

Code: Select all
[b]test[/b]
[B]test[/b]
[B]test[/B]
test
test
test
ElbertF
Supporter
Supporter
 
Posts: 574
Joined: 21 May 2006, 06:59
Location: tracing..
Gender: Male

PreviousNext

Return to STG Support

Who is online

Users browsing this forum: No registered users and 4 guests