Advertisement:

Author Topic: Breeze  (Read 83918 times)

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #60 on: May 04, 2014, 09:48:56 PM »
New version.

Another release, this release fixes some new bugs that were found on previous versions:

- Fixed checking a wrong variable on BreezeQuery:getCount() which prevented to get the real count.
- Convert to an array of integers the passed value on BreezeQuery:getCount() to prevent weird servers to give errors.
- The load more feature on the general wall wasn't working because userID wasn't defined.
- On the createTopic log and any other log, use the username instead of the real name.

To update, uninstall the previous version without checking the "Remove al data associated with this modification" checkbox  and install the new version.

https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.4

The green button is a ready to install package.  The mod page here also has the latest version.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline langel

  • Jr. Member
  • **
  • Posts: 115
  • Gender: Male
    • Mi sitio
Re: Breeze
« Reply #61 on: May 07, 2014, 01:36:52 PM »
Great suki!! I'll see that such.

Thank you! and greetings from mexico  ;)
Me podran vetar de mil foros pero nunca me callaran!!

Offline fapencio

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Male
    • medilibros
Re: Breeze
« Reply #62 on: May 07, 2014, 06:07:38 PM »
thanks a lot for your mod, is nice

regards

 :D
My smf forum is 2.0.10 version
my theme is default
language spanish es utf8

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 296
Re: Breeze
« Reply #63 on: May 14, 2014, 07:44:25 PM »
New version.

Another release, this release fixes some new bugs that were found on previous versions:

- Fixed checking a wrong variable on BreezeQuery:getCount() which prevented to get the real count.
- Convert to an array of integers the passed value on BreezeQuery:getCount() to prevent weird servers to give errors.
- The load more feature on the general wall wasn't working because userID wasn't defined.
- On the createTopic log and any other log, use the username instead of the real name.

To update, uninstall the previous version without checking the "Remove al data associated with this modification" checkbox  and install the new version.

https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.4

The green button is a ready to install package.  The mod page here also has the latest version.
with this update should I apply the previous solution on the white screen issue? because i have the same problem now. Thanks

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 296
Re: Breeze
« Reply #64 on: May 15, 2014, 04:38:10 PM »
ok I solved the problem on whitescreen by increasing memory to 256m in the php.ini

I hope that will not cause any complications.

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #65 on: May 23, 2014, 11:26:09 AM »
Yeah, the whitescreen problem isn't entirely related to this mod so the new version will not do anything to mitigate that.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #66 on: May 30, 2014, 12:40:20 PM »
New release: 1.0.5.

This release fixes a security issue found on the mod so I urge everyone using any old versions to update to this latest release.

https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.5

Green button is a ready to install package.

Modsite page is already updated with the new version.

Some more info: http://missallsunday.com/news_and_updates/breeze_1.0.5_491.0.html
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline MotRude

  • Semi-Newbie
  • *
  • Posts: 95
    • @@cruetube on Twitter
    • CrüeTube
Re: Breeze
« Reply #67 on: May 31, 2014, 11:36:04 AM »
On Notifications,Can i be notified by private message when a new post is posted on my wall or a buddies wall?

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 296
Re: Breeze
« Reply #68 on: June 02, 2014, 08:51:33 AM »
I have this error
Code: [Select]
Apply Filter: Only show the error messages of this URL
http://www.myforum.com/index.php?topic=37638.570
Apply Filter: Only show the errors with the same message
2: apc_store() [<a href='function.apc-store'>function.apc-store</a>]: Potential cache slam averted for key '7e5058e34de75107f666960f2d97add0-SMF-Breeze-options-27smf'
Apply Filter: Only show the errors from this file
File: /home/ptcb/public_html/Sources/Load.php
Line: 2833

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #69 on: June 05, 2014, 11:35:40 AM »
On Notifications,Can i be notified by private message when a new post is posted on my wall or a buddies wall?

The buddies wall is just a compilation of your buddies posts, it wouldn't be wise to send a pm whenever a buddy post a new status.

As for your own wall, sure, you can add your code right after this:

         // All went good or so it seems...
         if (!empty($this->_params['id']))
         {

on Sources/Breeze/BreezeAjax.php

There are 2 vars:

$statusOwner  <--- is the profile owner
$statusPoster  <--- the person who postd the status.

Just do a quick check to avoid PMing yourself:

if ($statusOwner  != $statusPoster)
{
 // the send pm code here
}


Or if you're familiar with using the hook system, theres a hook you can use:

call_integration_hook('integrate_breeze_after_insertStatus', array($this->_params));

theres a built function for sending a pm already, just take a look at some omd that does it and copy the code from there.


I have this error
Code: [Select]
Apply Filter: Only show the error messages of this URL
http://www.myforum.com/index.php?topic=37638.570
Apply Filter: Only show the errors with the same message
2: apc_store() [<a href='function.apc-store'>function.apc-store</a>]: Potential cache slam averted for key '7e5058e34de75107f666960f2d97add0-SMF-Breeze-options-27smf'
Apply Filter: Only show the errors from this file
File: /home/ptcb/public_html/Sources/Load.php
Line: 2833


Thats an APC cache error on old APC versions, tell your host about it.
« Last Edit: June 05, 2014, 11:48:12 AM by Suki »
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,005
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Breeze
« Reply #70 on: June 07, 2014, 08:29:33 AM »
Is it possible to by default turn on these options for all members?
- Enable the general wall
- Enable the "Buddies" block.
- Enable the "Latest Visitors" module.
Notifications Settings:
- Notify me when someone post a new status on my wall
- Notify me when someone comments on my status
- Notify me when someone made a comment on an status made on my wall
- Notify me when someone mentions me.

I would like to turn all of those option on by default if possible.

Thanks for a great mod once again Suki!  ;)

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #71 on: June 09, 2014, 10:25:14 AM »
Currently there is no way to do that from the admin panel, you will need to run a query on phpMyadmin  or some test.php file with SSI.php included

All user options are stored in {db_prefix}breeze_options  much like how SMF stores generic values on {db_prefix}settings

To change specific settings you will need to do an update query, this is the query formatted for SMf:

Code: [Select]
$smcFunc['db_query']('', '
UPDATE {db_prefix}breeze_options
SET value = 1
WHERE variable IN ({array_string:settings})'),
array(
'settings' => array('enable_wall', 'buddies', 'visitors', 'noti_on_status', 'noti_on_comment', 'noti_on_comment_owner', 'noti_on_mention',),
)
);
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline jafonseca

  • Semi-Newbie
  • *
  • Posts: 57
Re: Breeze
« Reply #72 on: June 11, 2014, 07:03:54 AM »
I Can't active my own wall, notifications.. I have activated the mod but I can't see the wall?¿

In 'smf_log_errors' table of database  appears

2: stripslashes() expects parameter 1 to be string, array given

/home/public_html/Sources/Breeze/BreezeData.php line 130

Sorry for my english
« Last Edit: June 11, 2014, 09:25:35 AM by jafonseca »

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #73 on: June 11, 2014, 09:25:48 AM »
mmm, that indicates theres a logic issue with the last change I made, ideally you don't have to check for get_magic_quotes_gpc() if your passed data is an array, recursiveness will do that for you. Will take a look at it.

You're using an outdated php version or you have magic quotes enable, that will create some issues for you.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline jafonseca

  • Semi-Newbie
  • *
  • Posts: 57
Re: Breeze
« Reply #74 on: June 11, 2014, 10:29:04 AM »
Sorry, it's sound like chinese to me . Only i can show it's my php version



and I don't know what is 'magic quotes' . Anyway thanks for the aswer

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #75 on: June 11, 2014, 11:16:06 AM »
Its a logic bug on Breeze I should take care of.

The rest of the stuff about magic quotes is just something incidental, if you're indeed using php 5.3 then your host actually turned magic quotes ON for some reason, even though they should been deprecated, anyway, SMF supports it so I guess theres no real issue there.
« Last Edit: June 11, 2014, 11:48:13 AM by Suki »
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Semetery

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • The Carnival Has Just Begun
Re: Breeze
« Reply #76 on: June 15, 2014, 11:24:48 PM »
Just installed the mod and it functions perfectly, but I'm afraid I'm getting a jQuery conflict with another mod I use. The profile parts are there, but they're not as they are in the screenshots, they're vertically down the page so I feel fairly sure it's a JS issue as I just had the same problem earlier.

Is there any way around that? I didn't know where to look in this mod to try and disable it so it can use the other instance I already use.

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,564
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #77 on: June 16, 2014, 09:43:54 AM »
A link to a profile page would help.  This mod checks if there is an instance of jquery already and only loads it if it doesn't, sadly, most mod authors just don't do that.

Another possible issue is some other mod incorrectly stuffing $context['html_headers'].
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,609
  • Gender: Male
    • Kindred-999 on GitHub
Re: Breeze
« Reply #78 on: June 16, 2014, 01:01:18 PM »
I suspect the latter...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,005
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Breeze
« Reply #79 on: June 18, 2014, 05:54:56 PM »
Currently there is no way to do that from the admin panel, you will need to run a query on phpMyadmin  or some test.php file with SSI.php included

All user options are stored in {db_prefix}breeze_options  much like how SMF stores generic values on {db_prefix}settings

To change specific settings you will need to do an update query, this is the query formatted for SMf:

Code: [Select]
$smcFunc['db_query']('', '
UPDATE {db_prefix}breeze_options
SET value = 1
WHERE variable IN ({array_string:settings})'),
array(
'settings' => array('enable_wall', 'buddies', 'visitors', 'noti_on_status', 'noti_on_comment', 'noti_on_comment_owner', 'noti_on_mention',),
)
);
Thanks Suki.

I did that, and it seems like some options are now changed, but some like "Enable my wall ", "Enable the general wall", "Enable the "Buddies" block" and "Enable the "Latest Visitors" module" are not enabled at all.