Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Add More Message Icons Reply #16 - Aug 20th, 2014 at 9:47pm Mark & QuoteQuote Dandello wrote on Aug 20th, 2014 at 9:46pm:But isn't it amazing how many fools are out there? Count me in GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #15 - Aug 20th, 2014 at 9:46pm Mark & QuoteQuote But isn't it amazing how many fools are out there? Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Add More Message Icons Reply #14 - Aug 20th, 2014 at 9:44pm Mark & QuoteQuote Dandello wrote on Aug 20th, 2014 at 9:42pm:Let's just say that anyone who starts playing around with editing templates on a live forum without first having a valid backup in a safe place is a fool at best. : That's what I said... GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #13 - Aug 20th, 2014 at 9:42pm Mark & QuoteQuote Let's just say that anyone who starts playing around with editing templates on a live forum without first having a valid backup in a safe place is a fool at best. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Add More Message Icons Reply #12 - Aug 20th, 2014 at 9:29pm Mark & QuoteQuote Dandello wrote on Aug 20th, 2014 at 9:11pm:Monni wrote on Aug 20th, 2014 at 8:55pm:That's because Micon.def is part of the template, and editing active/current template violates security restrictions in YaBB 2.6. Actually, it's because the def files can't be opened inside the Admin Center using the template editor because they're not html or template files and I haven't written anything to allow for safely editing the hashes and/or lists stored inside. A similar issue exists with the Language files - it would be nice to have a language file editing utility so admins can more fully customize things and that's on the agenda for 2.6.2 or maybe 2.8 when we get there. But it's going to be one of those things that's a lot more complicated that it looks on the outside. I could still argue that there is no safe way to edit any of the templates files inside Admin Center even though parsing Micon.def is pretty easy. Only thing that needs validating is that double quotes are not used in strings that need to be injected to JavaScript code... Rest is pretty much making list of all the icon variable names and reading the variable contents. Dumping variables back to the file is the part where hell freezes if there is even single error in either the code that writes back the file or in contents of one of the variables that have been edited. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #11 - Aug 20th, 2014 at 9:11pm Mark & QuoteQuote Monni wrote on Aug 20th, 2014 at 8:55pm:That's because Micon.def is part of the template, and editing active/current template violates security restrictions in YaBB 2.6. Actually, it's because the def files can't be opened inside the Admin Center using the template editor because they're not html or template files and I haven't written anything to allow for safely editing the hashes and/or lists stored inside. A similar issue exists with the Language files - it would be nice to have a language file editing utility so admins can more fully customize things and that's on the agenda for 2.6.2 or maybe 2.8 when we get there. But it's going to be one of those things that's a lot more complicated that it looks on the outside. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #10 - Aug 20th, 2014 at 8:58pm Mark & QuoteQuote Testing moving all the Message icon parameters to Micon.def. (So far so good.) Putting the icon parameters into a hash and processing that also saves on having whole slew of hardcoded repeated items. Also testing the additions made by Add More Message Icons. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Add More Message Icons Reply #9 - Aug 20th, 2014 at 8:55pm Mark & QuoteQuote Dandello wrote on Aug 20th, 2014 at 4:35am:I'm working on Add More Message Icons - saw more spots where code could be made more Mod friendly. The big problem with adding icons is that we currently don't have a way to edit Micon.def from the Admin Center. That's because Micon.def is part of the template, and editing active/current template violates security restrictions in YaBB 2.6. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #8 - Aug 20th, 2014 at 4:35am Mark & QuoteQuote I'm working on Add More Message Icons - saw more spots where code could be made more Mod friendly. The big problem with adding icons is that we currently don't have a way to edit Micon.def from the Admin Center. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #7 - Aug 1st, 2014 at 3:24pm Mark & QuoteQuote I'll email JonB and let him know you've volunteered. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 856 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Add More Message Icons Reply #6 - Aug 1st, 2014 at 3:02pm Mark & QuoteQuote Simply forth with the copy and I will see what I can do. That will not happen overnight. If the attachments are all there, I get the back also. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #5 - Aug 1st, 2014 at 2:56pm Mark & QuoteQuote JonB (supposedly) has all the backups for BoardMod. But a lot of the original functionality for that site was written in PHP and stored in mySQL so a lot has been lost since (guess what) those weren't backed up at all. So ask JonB if he'll send you the backups he has for it to start rebuilding it. And thanks for at least contemplating this challenge. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 856 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Add More Message Icons Reply #4 - Aug 1st, 2014 at 2:46pm Mark & QuoteQuote So the old BoardMod produce, but really should not be a problem if a backup is available. Just bring it on. I do this already then. A subdomain is set up quickly. @ Dandello Would be nice if you could customize this mod, I had it in the old board, but the icons have adapted to my board. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Add More Message Icons Reply #3 - Aug 1st, 2014 at 2:29pm Mark & QuoteQuote I'm hoping that JonB can get BoardMod up again (once he's got time to breathe since I know he's been absolutely swamped at work). Then we'll have access to a lot of the old old mods that looked promising but never got updated to 2 for whatever reason. @Pyragony, are you claiming this one to work on? Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Add More Message Icons Reply #2 - Aug 1st, 2014 at 9:04am Mark & QuoteQuote It's not much of a mod (because I'm not much of a coder) ... but you are welcome. If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged