[CDB] Topic Preview

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Patrick W. wrote: Awesome, that looks great VSE! I will be testing the ACP options once it is updated for sure. :)
It is updated. The repository is always as current as possible. Just remember, because I'm not yet tracking/releasing versions, you can't update from one nightly build to the next like you will be able to once official releases occur.

Since there have been database changes since you probably last tried it, as I mention in the 1st post about updating while testing, for now you should uninstall whatever version you were testing (click disable, then delete data), then completely replace the old package with the new package of files, and enable that. Settings will be reset to defaults but that's ok, we're only just testing things right now.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Topic Preview

Post by Darkness_demoN »

Can you make it to show images too ?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Darkness_demoN wrote:Can you make it to show images too ?
No. Images are a whole other can of worms.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] Topic Preview

Post by Jessica »

Trying to get this to work..

I followed the instructions. Uploaded the contents of the unzipped file to /ext/vse/topicpreview/

When I click enable I get:

Code: Select all

Fatal error: Call to undefined method phpbb\extension\metadata_manager::validate_dir() in /home/jesschen/public_html/ascraeus/includes/acp/acp_extensions.php on line 91
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Jessica wrote:Trying to get this to work..

I followed the instructions. Uploaded the contents of the unzipped file to /ext/vse/topicpreview/

When I click enable I get:

Code: Select all

Fatal error: Call to undefined method phpbb\extension\metadata_manager::validate_dir() in /home/jesschen/public_html/ascraeus/includes/acp/acp_extensions.php on line 91
Try asking for support from the developers on Area51... that's a problem with your phpBB installation/version, not the extension.

Also, make sure you are testing on the latest version of the dev-branch of phpBB.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Just pushed a big update through.

Although, the most noticeable difference will be that the line-break structure of posts is preserved in the topic previews now.

This should make them look a little more natural and readable :)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Requesting Translation Help:

Hello everyone.

I'd like to put out a request for translations for this extension. Some of the translations are incomplete (due to the new features added). These include the following languages:

Czech
Dutch (done)
Italian
Persian (done)
Romanian (done)

Language packages can be found here: https://github.com/VSEphpbb/topic_previ ... n/language

Thank you to any who can contribute.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Louis7777
Registered User
Posts: 247
Joined: Sat Apr 21, 2012 9:22 pm

Re: [DEV] Topic Preview

Post by Louis7777 »

:idea: Do you think it would be a good idea and do you think that you could make a Profile Preview similar to Facebook's?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Louis7777 wrote::idea: Do you think it would be a good idea and do you think that you could make a Profile Preview similar to Facebook's?
I don't think so. That may be a lot of data (ram/query/time) to pull onto to an already busy page, just to have it hidden and only visible on mouse-over. I also don't think seeing other user's profiles is so important all the time that the overhead this would require would warrant it. Besides, their profile is always 1 click away :)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Created some new themes for Topic Preview that will be available as options in the ACP in addition to the default light and dark themes:

Mac OS style browser:
Image

Windows style browser:
Image
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Louis7777
Registered User
Posts: 247
Joined: Sat Apr 21, 2012 9:22 pm

Re: [DEV] Topic Preview

Post by Louis7777 »

VSE wrote:That may be a lot of data (ram/query/time) to pull onto to an already busy page,
Alright :) but now I wanna know - is Topic Preview 'heavy'? I will definetely use it when 3.1.0 stable is out so I should know what the author thinks. :mrgreen:
VSE wrote:Created some new themes for Topic Preview that will be available as options in the ACP in addition to the default light and dark themes
Where are the pointers (bubble arrows?) in those new themes? Are you planning to remove them? I liked them :(
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Louis7777 wrote:Alright :) but now I wanna know - is Topic Preview 'heavy'? I will definetely use it when 3.1.0 stable is out so I should know what the author thinks. :mrgreen:
No it is not. It piggy backs onto the existing SQL queries being made, and just grabs a little extra data.
Louis7777 wrote:Where are the pointers (bubble arrows?) in those new themes? Are you planning to remove them? I liked them :(
I removed them from these new ones, as they were meant to sort of emulate the way they look and feel in native browser style. The original light and dark still have the pointers. I may put them back depending on feedback
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Update: I put back the tooltip pointers into the new themes... They are better that way :)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Louis7777
Registered User
Posts: 247
Joined: Sat Apr 21, 2012 9:22 pm

Re: [DEV] Topic Preview

Post by Louis7777 »

VSE wrote:Update: I put back the tooltip pointers into the new themes... They are better that way :)
Yes, they are! :D
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Topic Preview

Post by MattF »

Just added a "No theme" option, which will show topic previews in the browser's default/native tooltip mode.

Obviously this option will not support avatars or showing of the last post, but is provided for users who want their board (or a particular style on their board) to stick to old fashioned, plain browser tooltips.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.

Return to “Extensions in Development”