Advertisement:

Author Topic: Breeze  (Read 84200 times)

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #100 on: July 10, 2014, 10:59:39 AM »
I'm sorry, dunno how to fix it, perhaps it is my browser but at the time the data is passed to Breeze the content is already messed up.  Don't even know how to properly test this, I cannot write Russian letters and copy/pasting will not work.

I changed all the files encoding to windows 1251 and set my browser the same but still no luck, by the time the value gets picked up its already messed up.

I'm not that familiar with encodings and all that stuff.
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 ZerK

  • Sr. Member
  • ****
  • Posts: 970
  • Gender: Male
    • ElPlayer on GitHub
    • @imZerk on Twitter
    • Kekomundo
Re: Breeze
« Reply #101 on: July 10, 2014, 11:05:19 AM »
i remember once having a problem with the characters like that and i couldnt finx it in the bd, what i did was censor it in the admin and replace it with the html entity of the character.

if the comment are censored using the censortext function it should work.

Offline ZerK

  • Sr. Member
  • ****
  • Posts: 970
  • Gender: Male
    • ElPlayer on GitHub
    • @imZerk on Twitter
    • Kekomundo
Re: Breeze
« Reply #102 on: July 10, 2014, 11:18:08 AM »
i cant test it but you can try with something like this no ?

mb_convert_encoding($string, "Windows-1251", "utf-8");

or otherwise if the data is saved in utf8 and you want to convert it to 1251

mb_convert_encoding($string, "utf-8", "Windows-1251");

Offline vladok

  • Semi-Newbie
  • *
  • Posts: 53
    • .: Ньюз Дозор.ru :.
Re: Breeze
« Reply #103 on: July 10, 2014, 11:36:24 AM »
My charset  to DB is OK: http://www.newsdozor.ru/imhost/image.php?di=D7SQ
But data to DB not ok: part of the data - cp1251, part - UTF8
See: http://www.newsdozor.ru/imhost/image.php?di=JS68

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #104 on: July 10, 2014, 12:01:20 PM »
You could try encoding all the files inside Sources/Breeze folder to Windows 2151 and also couldn't hurt adding:

accept-charset="'. $context['character_set']. '"  to the forms on /themes/default/Breeze.template and BreezeFunctions.template

Other than that, I have no idea and I don't even know how to properly test this either.

Does this happen to every user or just to some users?
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 vladok

  • Semi-Newbie
  • *
  • Posts: 53
    • .: Ньюз Дозор.ru :.
Re: Breeze
« Reply #105 on: July 10, 2014, 01:14:26 PM »
This happens to all users :(
If I (or another user) open a new topic on its wall- all ok. The problem begins when commenting.
...
Ok, thank you very much :) I need some time for testing.

Offline Semetery

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • The Carnival Has Just Begun
Re: Breeze
« Reply #106 on: July 19, 2014, 10:24:20 PM »
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'].

I'm very late to reply, but here's a link to the profile: http://midnightspookhouse.com/community/index.php?action=profile;u=2 [nofollow]

My previous message was about the layout being strange. Any help would be greatly appreciated, I'd love to get this working. :)

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #107 on: July 20, 2014, 10:38:19 AM »
Guest can't see profile pages, would you create a demo regular account for me to see that profile.
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 #108 on: July 20, 2014, 02:18:47 PM »
Sure thing, here you go:

Username: Suki
Password: 123456

Thanks!

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #109 on: July 20, 2014, 05:13:16 PM »
Yaeh, it looks like some sloppy mod author casually forgot how to use $context['html_headers'] and how to append your own content to it...

Can you list the mods you had installed?
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 #110 on: July 21, 2014, 12:33:09 AM »
Sure, here's the list:

Thumbnail Topic Mod
Quick Reply Reposition Mod    
Like Posts   
Social Login   
Recent Forum Topics Boardindex   
NiceTooltips   
Spoiler BBCode
Simple Audio Video Embedder
Tabbed Categories
Remove Help From Menu   
Add Facebook Like, Tweet, and Google +1
Simple .htaccess Cache Mod   
SMF Gallery Lite

And Breeze, of course.

Thanks for your help. :)

Offline drfun

  • Jr. Member
  • **
  • Posts: 195
  • Gender: Male
    • All Student Forum
Re: Breeze
« Reply #111 on: July 22, 2014, 01:16:38 PM »
Thanks for this mod, this mod will for ever change the way smf forum is been looked upon.
Nice work, God bless your coding skill  :-*
All students forum -Global Online community for Students, Ex-Students and their friends

Offline sayl3r

  • Semi-Newbie
  • *
  • Posts: 67
  • Gender: Male
    • نیمکت
Re: Breeze
« Reply #112 on: July 24, 2014, 09:49:20 AM »
how i can get everyone`s last status,i wanna show the last status instead of signature !
:|

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #113 on: July 24, 2014, 12:24:14 PM »
Theres currnetly no way to get the latest status, maybe I should write a quick method for it,  thing is, status can be pretty long and won't be pretty to add them after a post, could be confusing.

For Breeze 1.1 I'm implementing a "my mood" feature which will be included on the posting area by default.
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 sayl3r

  • Semi-Newbie
  • *
  • Posts: 67
  • Gender: Male
    • نیمکت
Re: Breeze
« Reply #114 on: July 26, 2014, 08:58:51 AM »
i want just show the status not the comments.

is there any way to limit the status characters and lines?
:|

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #115 on: July 26, 2014, 09:40:47 AM »
Since the status uses BBC parsed as HTML nop, you will end up with chopped HTML fragments all over the place that will break your page.

If you cut the body before been parsed you will end up with broken BBC tags that will not parse correctly.

I can show you how, even build a custom query for you but I don't have time to code all that is required to show the last status as it will require a few edits on Display and display.template
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 sayl3r

  • Semi-Newbie
  • *
  • Posts: 67
  • Gender: Male
    • نیمکت
Re: Breeze
« Reply #116 on: July 27, 2014, 05:59:07 AM »
Since the status uses BBC parsed as HTML nop, you will end up with chopped HTML fragments all over the place that will break your page.

If you cut the body before been parsed you will end up with broken BBC tags that will not parse correctly.
what if i disable BBC parse?
and what if prevent user from submitting many lines and characters before submit the status?
I can show you how, even build a custom query for you but I don't have time to code all that is required to show the last status as it will require a few edits on Display and display.template
i will Be grateful if U build the query.
« Last Edit: July 27, 2014, 07:20:46 AM by sayl3r »
:|

Offline Tonyvic

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
Re: Breeze
« Reply #117 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.

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: Breeze
« Reply #118 on: August 04, 2014, 08:59:59 AM »
Nice mod Suki. I always like smf to improve its profile page to something like this social mod. Keep it up.

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #119 on: August 04, 2014, 10:28:05 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.
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.