Breeze

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

Previous topic - Next topic

Suki

Thats weird then, that query should set everything to 1.

You can also do it manually from phpMyadmin by running the same query on sql format.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

ryan_dwight

I think we have a similar problem.

I have a member who has a wall settings all unchecked and trying to activate every box and save but nothing happens.

then I tried on my profile which is reverse, all checked then I unchecked all boxes in the wall settings in my profile then save but when i tried to see if i was changed, it was still checked.

AnarchyClub

This is very useful, thanks.

Suki

Quote from: ryan_dwight on June 30, 2014, 10:24:20 AM
I think we have a similar problem.

I have a member who has a wall settings all unchecked and trying to activate every box and save but nothing happens.

then I tried on my profile which is reverse, all checked then I unchecked all boxes in the wall settings in my profile then save but when i tried to see if i was changed, it was still checked.

I've been trying to replicate this but I've been unable to do so.

Is there any error on the error log?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

ryan_dwight

Quote from: Suki on July 01, 2014, 11:04:16 AM
Quote from: ryan_dwight on June 30, 2014, 10:24:20 AM
I think we have a similar problem.

I have a member who has a wall settings all unchecked and trying to activate every box and save but nothing happens.

then I tried on my profile which is reverse, all checked then I unchecked all boxes in the wall settings in my profile then save but when i tried to see if i was changed, it was still checked.

I've been trying to replicate this but I've been unable to do so.

Is there any error on the error log?
I don't see any related error on the log.

Steelio

hello Suki!

i've been looking for something like this (an improved member profile from SMF's very basic one). thank you for coming up with this! ;D

i've just installed your Mod on my site, and while i was testing things out i noticed that the messages i just typed wouldnt show up after i click the "Post" button. instead i see a gray bar popping at the top of  the browser (outlined in a red square in my attached screenshot below). its only AFTER i refresh/ reload the page does my message show up. (i'm using Chrome as the browser).

also the @mentions feature of your wall doesnt work either. i'm wondering if your Mod works with Dragoon's @mentions Mod because i have that installed in my forum as well


and i was just wondering if there is a way for you to tweak the social media icons appearing on the wall (circled in pink on the same screenshot below). they're all lined up vertically now, is there a way to make them go horizontally instead? or anything that could optimize the space? i could imagine the icons being all vertical like that can get cumbersome when a members has plenty of social media icons activated (like 6 or more with facebook, twitter etc etc)

thats all, hoping you can help me out with this as im loving the Member and Admin features of your Mod :)

~ Steeley


Kindred

If you install two mods that do the same feature, odds are good that one of them will be failing....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Suki

That would indicate theres an issue when posting, usually the mod will return an actual error but if there is just a blank/gray bar then it means theres some PHP error.  Have you done any change to any Breeze files?  any errors on your error log?  if you disable JavaScript, does posting works?

The icons list was a bug I fixed a long time ago, are you sure you're using the latest version?

I have no idea if this mod will work with Dragooon's mod, in theory they should work, I do the mention stuff quite differently and load my own files, if it doesn't work then theres some javaScript conflict somewhere, an url to a profile wall would be handy.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Suki

#88
Quote from: ryan_dwight on July 01, 2014, 04:50:44 PM
Quote from: Suki on July 01, 2014, 11:04:16 AM
Quote from: ryan_dwight on June 30, 2014, 10:24:20 AM
I think we have a similar problem.

I have a member who has a wall settings all unchecked and trying to activate every box and save but nothing happens.

then I tried on my profile which is reverse, all checked then I unchecked all boxes in the wall settings in my profile then save but when i tried to see if i was changed, it was still checked.

I've been trying to replicate this but I've been unable to do so.

Is there any error on the error log?
I don't see any related error on the log.


OK, I was doing testings with the new version for 2.1, I installed the mod on a clean 2.0.8 installation and indeed it doesn't save any user settings, will take a look at it.


Edit, found the issue, there was a flaw in the logic on BreezeData::sanitize()  will release a new version shortly
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Steelio

Quote from: Suki on July 03, 2014, 01:09:29 PM
That would indicate theres an issue when posting, usually the mod will return an actual error but if there is just a blank/gray bar then it means theres some PHP error.  Have you done any change to any Breeze files?  any errors on your error log?  if you disable JavaScript, does posting works?

The icons list was a bug I fixed a long time ago, are you sure you're using the latest version?

I have no idea if this mod will work with Dragooon's mod, in theory they should work, I do the mention stuff quite differently and load my own files, if it doesn't work then theres some javaScript conflict somewhere, an url to a profile wall would be handy.

nope, didnt touch anything on the Breeze zip file. i downloaded it a few hours prior to me posting that issue, so im running the Breeze version thats uploaded here. these are the version infos currently running on my forum in case you need them:

Version Information:
Forum version: SMF 2.0.7
GD version: bundled (2.0.34 compatible)
MySQL version: 5.1.73-cll
PHP: 5.3.23


im not sure about disabling Java Script or anything else because it might mess with the other mods already installed (or the rest of the board).

i checked the error logs, so far the only breeze related error messages look like these (see attachment below)

i can give you a profile link here to study: http://themazerunner.net/forums/index.php?action=profile;u=17 [nofollow]
you may need to register though, since we have restrictions set in place for guests.

thanks so far for looking into this Suki i really appreciate this :)







Steelio

Quote from: Kindred on July 03, 2014, 12:58:30 PM
If you install two mods that do the same feature, odds are good that one of them will be failing....

i had a feeling thats whats happening  :-\

although Dragoon's @mentions feature supposedly just works for the forum posts, from how i understood Suki's mod, seems like her @mentions feature is limited to the wall.

im really not sure, these are all educated guesses on my part.

Suki

#91
Would be easier if you provide me with a regular user demo account able to post either new status or comments.

As for the errors, they should be fixed with the new version, in the meantime upload this file to your Sources/Breeze/  directory overwritten the existing one, that should take care of those errors.

Actually, to everyone who want to avoid the annoying procedure of uninstalling the old and install the new version, you can just upload this file to your Sources/Breeze/ directory and that should be it, this is just one of the perks of using an OOP/no edits mod :P

This file fixes the error when saving user settings.


Edit, removed the attachment.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Steelio

Quote from: Suki on July 04, 2014, 09:51:44 AM
Would be easier if you provide me with a regular user demo account able to post either new status or comments.

ok i created a new account for you. i'll send the details to your PM

Suki

Quote from: Steelio on July 08, 2014, 04:10:19 AM
Quote from: Suki on July 04, 2014, 09:51:44 AM
Would be easier if you provide me with a regular user demo account able to post either new status or comments.

ok i created a new account for you. i'll send the details to your PM


You have several issues going on.

To fix the gray bar at the top, disable the output compression from your admin panel, can't remember exactly where is it,maybe on server settings or something.  You have that setting enable which makes usage of ob_gzhandler but it appears your host doesn't have the zlib library installed.

So you have 2 options, disable that setting or ask your host to install and enable that library.

As for the mentions problem, yes, it looks like there is a conflict with the mentions mod, there isn't an easy way to solve it, best you can do is turn off parsing BBC on status and comments.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Steelio

Quote from: Suki on July 08, 2014, 11:57:09 AM
Quote from: Steelio on July 08, 2014, 04:10:19 AM
Quote from: Suki on July 04, 2014, 09:51:44 AM
Would be easier if you provide me with a regular user demo account able to post either new status or comments.

ok i created a new account for you. i'll send the details to your PM


You have several issues going on.

To fix the gray bar at the top, disable the output compression from your admin panel, can't remember exactly where is it,maybe on server settings or something.  You have that setting enable which makes usage of ob_gzhandler but it appears your host doesn't have the zlib library installed.

So you have 2 options, disable that setting or ask your host to install and enable that library.

As for the mentions problem, yes, it looks like there is a conflict with the mentions mod, there isn't an easy way to solve it, best you can do is turn off parsing BBC on status and comments.

Suki it worked! :D

it even fixed the @mentions issue of the Wall. thank you so much!


Quote from: Suki on July 04, 2014, 09:51:44 AM
Would be easier if you provide me with a regular user demo account able to post either new status or comments.

As for the errors, they should be fixed with the new version, in the meantime upload this file to your Sources/Breeze/  directory overwritten the existing one, that should take care of those errors.

Actually, to everyone who want to avoid the annoying procedure of uninstalling the old and install the new version, you can just upload this file to your Sources/Breeze/ directory and that should be it, this is just one of the perks of using an OOP/no edits mod :P

This file fixes the error when saving user settings.

ok im trying to see if i can do this simple overwrite.... but this means i need to have access to the FTP server right?  :-\
that might take some time (my co-admin havent created my access yet) i might have to wait for your new release where this fix is bundled along with the rest of the mod. any idea when you could get that up?

Suki

Yeah, you would have to use an FTP program to upload that file or you can upload it via cpanel or similar, you can also wait until I release a new version but since the last versions I released I did it with my head on some place else, I want to make sure everything is working fine.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Suki

This release fixes a bug introduced in the 1.0.5 version which prevented users from saving their options, it also improves the security fix introduced in the 1.0.5 release.

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

The green button is a ready to install package.

To upgrade just uninstall your previous mod version and DO NOT check the "Remove all data associated with this modification" checkbox.  Then proceed to install the new version.

If you do not want to follow the uninstall/install process, simply upload the attached file to your Sources/Breeze/ directory with your prefered FTP program, make sure to upload it as "ASCII mode" and to overwrite your existing BreezeData.php file.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

vladok

#97
Suki

Comments not work to Win 1251 - UTF only  :'(
See:
http://www.newsdozor.ru/imhost/image.php?di=87NO
And MySQL DB (coding OK)
http://www.newsdozor.ru/imhost/image.php?di=D7SQ

Suki

what languageb are you using?  the SMF package language.

Don't really understand why you aren't using utf8, would be much much easier for you.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

vladok

Forum used russian language (cp 1251/ Windows 1251). I can not change the charset of the forum. Forum is large and old :)

Advertisement: