News:

Wondering if this will always be free?  See why free is better.

Main Menu

Tabbed smileys

Started by emanuele, January 15, 2011, 02:32:43 PM

Previous topic - Next topic

emanuele

You mean in the post page? AHHHhh... I thought you were talking about the admin panel...

It could be something related to javascript, send me the data of an account, I don't have any clean forum to test it right now... (and I'm too lazy to set one up :P)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

Sorry, I forgot to mention it - that was just clear for me  :D

If you only need a regular member account: user: test, password: test.

For a higher rank you have to ask in a PM :)

emanuele

Do I have the url of your forum?

* emanuele doesn't remember...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

Quote from: emanuele on September 29, 2012, 09:38:07 AM
Do I have the url of your forum?

* emanuele doesn't remember...

* mgrmgr neither

But try http://forum.michgeyer.de as a start :)

emanuele

Can you also give me an account to see the issue? (normal user should be fine)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

Quote from: mgrmgr on September 29, 2012, 09:32:17 AM
Sorry, I forgot to mention it - that was just clear for me  :D

If you only need a regular member account: user: test, password: test.

For a higher rank you have to ask in a PM :)

emanuele

Forgive a completely sleepy developer... lol
Seems a good thing that are 2 or 3 days I don't write a single line of code for 2.1! :laugh:

Edit: could you also please enable the mod otherwise I can't see the issue... ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

 Please forgive me too. I completely forgot that I switched off the mod :-[

emanuele

In GenericControls.template.php, find:
Code (find) Select
            if(!empty($modSettings['hide_more_smiley']))
               echo 'document.getElementById(oSmileyBox_', $editor_id, '.opt.sUniqueId + \'_addMoreSmileys\').style.display = \'none\';';

and replace it with:
Code (replace with) Select
if(!empty($modSettings['hide_more_smiley']))
echo '
if (document.getElementById(oSmileyBox_', $editor_id, '.opt.sUniqueId + \'_addMoreSmileys\') != null)
document.getElementById(oSmileyBox_', $editor_id, '.opt.sUniqueId + \'_addMoreSmileys\').style.display = \'none\';';


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

#209
Thanks, I'll try right now

The textstring 'hide_more_smiley' occurs only as $txt string in modification.xxx.php, in GenericControls.template I can only find $modsettings['enable_tabbed_interfac'] in

function tabbed_toggleElem(elem)

Sorry :(

mgrmgr

Looks there is no new marker after editing a post :( I can't live without this modification. I reckon it is time that this feature makes it into the core of SMF 2.1.

emanuele

May you attach your GenericControls.template.php?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

Your wish is my command :)

emanuele

I want 10'000 euro per month for the next 900 months. :P

Try the attached.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mgrmgr

you aren't greedy, are you?

{{{{{{{{{{{{{{{{{{{{emanuele}}}}}}}}}}}}}}}}}}}}

Don't take my hug the wrong way :) - I can't express my gratitude in a better way in this forum - now I have to find out where the mistake was - grep helps :)

emanuele

Quote from: mgrmgr on October 06, 2012, 11:19:21 AM
you aren't greedy, are you?
Nope, if I were greedy I would have asked 100'000. :P

I changed the code I posted in the message above, nothing else. ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

nax

I had a problem with aligning my smilies, which is resolved but has left me with another niggle.  Here was the code that was changed


Quote from: emanuele on August 06, 2012, 07:34:39 AM
In your index.ccs you have:
Code (index.css?fin20 (line 2138)) Select
.buttonlist, .buttonlist_bottom {
    float: right;
    margin-right: 1em;
}

and
Code (index.css?fin20 (line 1577)) Select

.buttonlist, .buttonlist_bottom {
    float: right;
    margin-right: 1em;
}

removing the two "float: right;" the issue should be fixed.

Please note that you also set the width of the tab to 1000%, you should use 100%. ;)

It has resulted in some column headings now being left aligned. The source of the page looks like this:-

<div id="readbuttons_top" class="readbuttons clearfix margintop">
      <div class="floatleft middletext">Pages: [<strong>1</strong>] </div>
      <div class="buttonlist_bottom">
         <ul class="reset clearfix">
            <li class="last"><a class="button_strip_markread" href="http://www.nyforum.com/funforest/index.php?action=markasread;sa=all;c923e8fcc07=be4849b248c37138c5db5e8befd1aab2"><span>Mark ALL messages as read</span></a></li>
         </ul>
      </div>

Pages
  • is left but so are the folowing "Mark ALL messages as read" it (and others) should be right aligned.  Can you tell me what to change?

    I attach a couple of screen shots, showing the difference between my site and an unaltered dev version)

nax

I had a problem with aligning my smilies, which is resolved but has left me with another niggle.  Here was the code that was changed


Quote from: emanuele on August 06, 2012, 07:34:39 AM
In your index.ccs you have:
Code (index.css?fin20 (line 2138)) Select
.buttonlist, .buttonlist_bottom {
    float: right;
    margin-right: 1em;
}

and
Code (index.css?fin20 (line 1577)) Select

.buttonlist, .buttonlist_bottom {
    float: right;
    margin-right: 1em;
}

removing the two "float: right;" the issue should be fixed.

Please note that you also set the width of the tab to 1000%, you should use 100%. ;)

It has resulted in some column headings now being left aligned. The source of the page looks like this:-

<div id="readbuttons_top" class="readbuttons clearfix margintop">
      <div class="floatleft middletext">Pages: [<strong>1</strong>] </div>
      <div class="buttonlist_bottom">
         <ul class="reset clearfix">
            <li class="last"><a class="button_strip_markread" href="http://www.nyforum.com/funforest/index.php?action=markasread;sa=all;c923e8fcc07=be4849b248c37138c5db5e8befd1aab2"><span>Mark ALL messages as read</span></a></li>
         </ul>
      </div>

Pages
  • is left but so are the folowing "Mark ALL messages as read" it (and others) should be right aligned.  Can you tell me what to change?

    I attach a couple of screen shots, showing the difference between my site and an unaltered dev version)

littleangel

Hello! sorry if you don't understand me well, but my english is not very good :-\

I have installed this mod, and it works ok in all themes, bur don't work with classicyabb.Classicyabb don't have managesmileys.template.php... is that the error? can you help me?

URL forum:www,patinajeartistico.es/foro
Forum version: 1.1.16

emanuele

Quote from: nax on October 10, 2012, 04:04:48 AM
I had a problem with aligning my smilies, which is resolved but has left me with another niggle.  Here was the code that was changed
Not tested, put back things as they were when it was working properly and then try adding something like that to the end of index.css:
#smileyBox_message .buttonlist, #smileyBox_message .buttonlist_bottom {
    float: none;
}


Quote from: littleangel on October 13, 2012, 07:04:29 AM
I have installed this mod, and it works ok in all themes, bur don't work with classicyabb.Classicyabb don't have managesmileys.template.php... is that the error? can you help me?
If a file is not present in a custom theme, it means the equivalent from the default theme is used, so you don't need to do anything.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: