NIMBUZZ TOOLS FORUM-2016
Kєяλℓλ-ßυzZ ►☻◄ ƒøяυλ⁄(-2016

✽✽✽✽✽✽✽✽✽✽✽✽ нι gυєѕт ✽✽✽✽✽✽✽✽✽✽✽✽✽✽

♚♚♚♚ωєℓ¢σмє тσ ♚kєяαℓα♕ßυzz♚ zσηє♚♚♚♚

ρℓєαѕє яєgιѕтєя тσ gєт ƒυℓℓ α¢¢єѕѕ αη∂ ∂σωηℓσα∂ ѕтυƒƒ . σηℓү яεgιsтεяε∂ мεмвεя αℓℓσωε∂ vιεω sρεcιαℓ zσηε αη∂ ∂σωηℓσα∂ sтυғғ.

тнαηк уσυ

вαℓυ кяιsнηα !
Top posters
330 Posts - 27%
275 Posts - 23%
127 Posts - 11%
107 Posts - 9%
69 Posts - 6%
54 Posts - 4%
53 Posts - 4%
53 Posts - 4%
51 Posts - 4%
Top posting users this week
Top posting users this month

Share
View previous topicGo downView next topic
avatar
KßZ ►☻◄ ƒøяυλ⁄(-đєѕιgиєя
KßZ ►☻◄ ƒøяυλ⁄(-đєѕιgиєя
Female
Stella
AGE : 21
POSTS : 51
REPUTATION : 3
KBZ TEAM POINTS : 140
JOIN DATE : 2013-11-06
BIRTHDAY : 1996-05-04
LOCATION : ernakulam
View user profilehttp://kbzteam.forums1.net

Tutorial: Forum No Post To View

on Thu Nov 26, 2015 9:28 pm


Tutorial: No post to view
With this little piece of code, you can add a no post to view next to avatar as well. It's really good way to keep your subforums without posts looking good.


--> Tutorials, tips and tricks <--
No post to view



- Javascript
Placement: In Homepage

Code:
$(function(){
        var text = '<span class="punbb-avatar"><img src="http://illiweb.com/fa/invision/pp-blank-thumb.png" /></span>  <span class="punbb-size"><i>No post to view</i></span>';
        var noPost = $('td.tcr');
        $(noPost).each(function() {
        if($(this).text() == '') {
         $(this).html(text);
        }
        else { }
        });
        });


- CSS
Code:
.punbb-avatar img {
height: 40px;
width: 40px;
}

.punbb-size {
  position: relative;
  top: -15px;
}


- Preview
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum