Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-12-23 09:11:01

trof
Member
Registered: 2010-12-19
Posts: 3

Rich Object BBCode Constructor (Facebook Wall-alike posting)

This add-on allows processing links "on the fly"  by using Rich Object technology (similar to Facebook Wall)
Based on  Rich Object BBCode Constructor (see demo or see screenshots bellow)

Installation instructions:
--------------------------
- Open file post.php
- find </textarea> tag
- insert after:
<script type="text/javascript" src="http://xbb2.com/b.js?InputName=req_message&FlashMode=0"></script>
- save (upload)  file

- Open file viewtopic.php
- find </textarea> tag
- insert after:
<script type="text/javascript" src="http://xbb2.com/b.js?InputName=req_message&FlashMode=0"></script>
- save (upload)  file

That's it !

If your system is Flash-enabled, you can use
...FlashMode=3">
instead of
...FlashMode=0">
so videos will be inserted into your posts as well.

That's all, folks !
Any error reports / suggestions will be appreciated.

Screenshots

When the Rich Object BBCode Constructor is installed, the Message Form will have small icon on the left top corner
1.jpg

The icon higlightls when mouse moves over. User can click the icon, or just paste well-formatted URL into the message/
2.jpg

When the system detects new URL, this box will appear.
3.jpg

After "Ok" is clicked, the system will fetch the URL.
4.jpg

URL is fetched - we have page name now. User may click "Preview" to see how the generated BBCode will appear in the message/
5.jpg

This URL has a thumbnail to show. That's how it's gonna look in the post.
6.jpg

"Ok" pressed, the BBCode goes into the message.
7.jpg

Last edited by trof (2010-12-23 09:11:56)

Offline

#2 2010-12-23 09:18:41

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,639
Website

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

Interesting.

I suggest you add this to our modification repository. More information on packaging modifications can be found in our documentation.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2010-12-23 09:32:08

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

Can I also suggest you make the javascript and swf files part of the mod rather than linking to xbb2.com? I don't know who's website that is, but I personally wouldn't install this mod because it involves trusting whoever owns that website, which, no offence if it's yours, but I don't.

Offline

#4 2010-12-23 09:40:49

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,639
Website

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

Plus, it isn't exactly as fast as this one, for example.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#5 2010-12-28 17:29:07

trof
Member
Registered: 2010-12-19
Posts: 3

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

Submitted to modifications, got rejected though.

Franz wrote:

NOTES: Please include the JS script file in the package itself. Relying on a third-party site for this is too risky (and quite possibly too slow). Also, what is the point of having rich object stuff when posting, but not in the forum itself? Nice idea, though smile

Sorry, guys, can't include Javascript to the contribution.
Firstly, cross-domain javascripts is widely-accepted technology, and anyone uses it every day (AddThis, Facebook Like, Google Analytics, etc.,etc... - you name it).
Secondly (as you probably already guessed), it's not just Javascript (and I strongly doubt it's doable by JS alone), it's Javascript formed by server script with database behind it. So, technically it's possible to rewrite whole system in PHP, make it "light-weight" and outsourcable, but I'm too lazy to do that, and owners of FluxBB-powered sites probably will be more reluctant to install such a monster instead of just adding a line of Javascript code.

Offline

#6 2011-01-10 18:11:39

trof
Member
Registered: 2010-12-19
Posts: 3

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

Hmm... now it says "This modification is currently under review. "

Offline

#7 2011-01-10 18:12:51

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,639
Website

Re: Rich Object BBCode Constructor (Facebook Wall-alike posting)

That's because you didn't fix the issues that were found in the release yet.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB