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

Tonyvic

#120
Thanks for the fast response Suki, I will await an update.
At least our members can use use the main part of this great Mod until then. 8) :)

Alx974

Hi, thanx for your mod it's great :) It's possible to allow current BBcode shortcut in wall like normal posts ?

Suki

There should be a setting in the mod's admin panel for allowing BBC on both status and comments.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

qs12345

Hi, thanks for the mod!

I'm having some trouble with the wall for admins. For some reason I can see my own wall and be able to post comments on it but no one else can. All the users see is a bar that says wall but no text box under it. Any idea how to fix this? Thanks!

ryan_dwight

Quote from: qs12345 on August 11, 2014, 07:44:25 PM
Hi, thanks for the mod!

I'm having some trouble with the wall for admins. For some reason I can see my own wall and be able to post comments on it but no one else can. All the users see is a bar that says wall but no text box under it. Any idea how to fix this? Thanks!
can you check the Breeze admin page >>>>>permissions

Suki

Yes, basically heres how permissions work:

- Everybody by default has access to post both status and comments on their own wall.
- There are permissions to post status and comments on any wall.  You need to add this permission to the user groups you want to be able to post on any wall.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Tonyvic

Thanks for this great Mod Suki, my members are loving it.
I am however seeing an error quite a lot, in fact it's two in one.
Quotehttp://www.mysite.net/community/index.php?action=profile
8: Undefined offset: 171
File: /home/naturist/public_html/community/Themes/default/BreezeFunctions.template.php
Line: 315
and
Quotehttp://www.mysite.net/community/index.php?action=profile
8: Undefined offset: 1094
File: /home/naturist/public_html/community/Themes/default/BreezeFunctions.template.php
Line: 315

A friend of mine wondered if there was a couple of brackets missing in the following.
311:

// Trickery...
312:

$user = $type == 'visitors' ? $u['user'] : $u;
313: 
314:

echo '
==>315:


<li> ', $context['Breeze']['user_info'][$user]['facebox'] ,' <br /> ', $context['Breeze']['user_info'][$user]['link'];
316:


TIA,
Tony


Suki

Missing brackets where exactly?

is 171 and 1094 the only member IDs that generate those errors?  and if so, does thosew accounts belongs to regular mmebers?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Tonyvic

QuoteMissing brackets where exactly?
I'm afraid I don't know exactly, he isn't available right now but he isn't a coder so he was probably wrong anyway. ???

We are now into the 3rd day since installing Breeze and there are now lot's of different member ID's generating the errors, most are regular members but 171 (As per my last post) is a Global Moderator.

Each time a user generates this error, two appear at exactly the same time as per attached.

Suki

If there is any specific IDs generating those errors then it means the users data isn't been loaded.

Every query in Breeze not only returns data but it also returns all user IDs associated with the data, if a function needs to display that data, it loads the user info from those IDs via BreezeTools::loadUserInfo()  for some reason, one of those queries isn't either getting the Ids or loading the users data properly.

Will take a closer look at that when I have some time.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Tonyvic

Quote from: Suki on August 15, 2014, 12:18:20 PM
If there is any specific IDs generating those errors then it means the users data isn't been loaded.

Every query in Breeze not only returns data but it also returns all user IDs associated with the data, if a function needs to display that data, it loads the user info from those IDs via BreezeTools::loadUserInfo()  for some reason, one of those queries isn't either getting the Ids or loading the users data properly.

Will take a closer look at that when I have some time.
Thanks Suki.

Quote from: Suki on August 04, 2014, 10:28:05 AM
Quote from: Tonyvic on August 04, 2014, 06:31:35 AM
Hi,
I am having trouble with 'Mentions', the dropdown does not appear at all.
I am using SMF 2.0.8 and PHP version 5.4.25
I have tried with IE 11 and Firefox 31.0

The mentions feature is enabled in the Main Breeze Admin Center, also the Membergroups permissions I am testing with are 'Allowed' to mention and appear on the mention list.

There are no other 'Mentions' Mods installed, any help would be appreciated.

Must be some JS error, chances are some other mod broke it.
Since this is becoming a recurrent issue, I will modify the code not to depend on $context['html headers'] for loading the necessary JS files as a lot of mod authors simply doesn't use that var properly.

Will take a look at it when I have some time.
By elimination on my forum, have discovered it was BBC_Spoiler_V1_By_SMFSImple.com Mod which was the cause. Uninstalled it & Mentions is now working fine.

Suki

I've been toying with some code to try and reduce any issues caused by other mods misusing $context['html_headers'] but I'm afraid its a lot more work than I expected it to be :(  It also feels bad having to spend that many time trying to tweak my code to cover other people's mistakes :(

As for a spoiler, I got a very simple one: https://github.com/MissAllSunday/SimpleSpoiler doesn't conflict with any other mod, loads jquery only if it hasn't been loaded yet and it doesn't use any shared var which means no conflicts with other wrongly coded mods.

I've been working on the next version, it will be for SMF 2.1 but it will have lots and lots of improvements:

- No more conflicts with other mods or JS issues.
- Less files, code is cleaner.
- Cover feature, much like Twitter or Facebook, an user can upload an image and it will appear on his/her wall.
- A revamped wall page.
- "my mood" feature, small icons that represents common feelings, angry, happy, bored, etc, easily changed by clicking on it. Admin can add/edit/delete moods too.
- A follow/unfollow system, to avoid messing around with the buddy system, this is something I haven't decided just yet so I might still end up using the existing buddy system.
- Likes for status/comments.
- Editing status/comments.
- Hopefully no more "undefined" errors while trying to load user's data.

Thats basically what I have in mind, I already finished some of that but still had lots of things to do, I have plans to make it ready once SMF 2.1 is released.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

byproduct

Quote from: Suki on March 29, 2014, 06:12:28 PM
???

Since I can't do much with SMF 2.0, all future features will be for SMF 2.1.  I have responded to all the questions and fixed all reported bugs, dunno what else do you need.


glad i read deeper into the topic.... you should post that on the mod page so people know it might be year(s) before any updates take place



Suki

You may want to read even deeper, say, until the post right above yours when I said I already did most of the new features planned ;)

Anyway, if you're in a hurry or something, please step on and help with development, this mod is open source and everyone can contribute. Nope? yeah, that's what I thought. Carry on then, nothing to whine here.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

byproduct

not in a hurry
but not interested in sitting around waiting for "some day" that tends to run into yrs.











Suki

Good to know you're not interested in this mod, therefore you have no reason to keep posting here :)
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kimmie

I know this is a bit off topic, but since you brought it up :P

Are we to assume by this that 2.1 is close to a release?

----------------

"This mod needs PHP 5.3 or greater and SMF 2.0.x or greater"


Does it "have to" be 5.3? My host is still using 5.2.17

Kindred

2.1 will be released when it is ready

and yes... 5.3 is required. 5.2 is out of date, insecure, and End of Life anyway
Сл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."

Kimmie

Quote from: Kindred on August 18, 2014, 06:54:08 PM
2.1 will be released when it is ready

and yes... 5.3 is required. 5.2 is out of date, insecure, and End of Life anyway


  :o  K No need to be snarky, I simply asked. You could have just said you didn't know how close it was.

Others have told me that 5.2 is still a reliable version of PHP and is probably why my host has not updated. I have since asked them if they would consider updating. Hopefully they will. It isn't every day you find a mod that has no real code edits to speak of.

Suki

Quote from: Kimmie on August 18, 2014, 06:43:13 PM
I know this is a bit off topic, but since you brought it up :P

Are we to assume by this that 2.1 is close to a release?

----------------

"This mod needs PHP 5.3 or greater and SMF 2.0.x or greater"


Does it "have to" be 5.3? My host is still using 5.2.17

Nope! this mod and SMF 2.1 release are two different things, I might as well release this for a beta or other not gold SMF releases. It makes no difference to me, I know both codebases, I can forsee any possible change and since this mod doesn't do any file edit, upgrading it its a matter of uploading the new files.

Me finishing the new features for this mod is not an indication of any possible SMF releases. It just mean I'm working on it.

And yes, it has to be php 5.3, there are some features this mod uses that are only available on 5.3.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: