News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Tabbed smileys

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

Previous topic - Next topic

littleangel

Quote from: emanuele on October 13, 2012, 07:25:26 AM

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.
but the mod don't work...There aren't any tabs, I only can see a "more" button, but when I click the smileys...nothing happen



Maybe a javascript problem?

emanuele

ManageSmiles has nothing to do with actually see the smiley in the post interface.
So, what's the issue, please describe it exactly (even with screenshots if it helps).


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.

littleangel

Well...I have the screenhots(really sorry, but muy english...)


As you can see...there are any tabs...there ara a more(más in Spanish) button, but when I click in the smiley, nothing happen,the smiley don't show in the post...




emanuele

Does it work in the default theme?
Did you change Post.template.php of your theme?


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.

littleangel

Yes,I change all the codes manually...and default theme works perfectly,also babylon theme works

NanoSector

Did you install the theme after installing this mod?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

emanuele

If you changed the Post.template.php file in your custom theme then it should work...
A test account (normal user) would be nice.


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.

littleangel

ok, account details on PM

No, Yoshi2889, We install the theme two years ago, and the mod the last week

emanuele

Not all the changes are present in the template.
Check the directory of the theme you are using, there should be another "Post.template.php", apply the changes to that file too.


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.

littleangel

#229
two post.template??? or with another name? thank you, I will check the directory .

modify: well...I don't find anymore post.template....

The theme has this directories.
-images (folder)
-languages (folder)
-boardIndex.tempalte.php
-display.template.php
-index.php
-index.template.php
-Mesageindex.template.php
-post.template.php(this one is the one I have modified)
-recent.template.php
-style.ccs
-themeinfo.xml

I don't know what I must modify...

NanoSector

Mind attaching the modified template in your next post?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

littleangel

Quote from: Yoshi2889 on October 14, 2012, 05:01:49 AM
Mind attaching the modified template in your next post?
ok, no problem, this is the file, maybe I did something wrong, or I have copied a wrong code,...

emanuele

I may be wrong, but doing a comparison with a clean install the file you attached comes from the default theme and not from Classic.


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.

littleangel

No, you aren't wrong...I remember that ,when we customize the themes, two years ago, one of our admins changed this post.template for the default theme, i don't remember why, because the admin is not in the forum now.I remember that this admin customize the themes based in classic yabb, and another girl and me, the babylon one.
Is that the problem??? what can I do?

Wait...There are more classic yabb, with different colours...and another changes...I'm attaching another one,maybe this is different... :-\

Sorry...I must tell you this before...but i don't remenber...

emanuele

The two files are identical and both have the proper modifications in place.
Unless there is yet another Post.template.php that you have around the only solution I can suggest (as temporary and because you already replaced the Classic post.template.php with the default one is to rename the Post.template.php you have in your theme directory to something like "Post.template-back.php". That way SMF will pick the post.template.php from the default template and it should work as expected.


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.

littleangel

ok, deleting post.template, the mod works perfectly...

emanuele

Delete is the answer to most of the questions! :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.

littleangel


nax

Quote from: emanuele on October 13, 2012, 07:25:26 AM
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;
}



That didn't do anything but the source of the page shows where the smilies are configured :-

</script>
   <style type="text/css">
            
                div.tabContent {
         
                        width:100%;
         overflow:auto;
         padding-bottom: 10px;


      }
      div.hide {
         display: none;
      }
      div.tabContent_spacer {
         margin-top: 0.5em;
      }

                 
      #tab_smiley_content {
         padding-top:10px;
      }
      #tabs
      {
         margin-top:15px;
      }
   </style>


Could some statement be put in the template (whicherver it is in) to add a float left control - I'm no programmer (but I am trying.
I'm getting too old for this!

nax

Errr I think I had a lucky break and solve this myself.  In Admin/forum/smilieys/set smiley order I added a float:none; statement in the code window at the bottom of the screen and saved it - this seems to solve the problem.
I'm getting too old for this!

Advertisement: