MyBB Community Forums

Full Version: How to do this icons?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2018-10-05, 05:45 PM)iKsu Wrote: [ -> ]
(2018-10-05, 02:05 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-05, 12:56 PM)iKsu Wrote: [ -> ]Hello,
How i can get 'Country' Line? Because it's not visible in post_author_user
And Thanks!

Without looking at the plugin I am merely assuming that there should be a template called "postbit_country"?


So if I am correct you would edit it like so:

postbit_country:


<br /><i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />

And add this to global.css:

i.flagcount {
   padding-right: 3px;
   color: #555;
   font-size: 14px;
}

Sorry, but i did not find template with this name 'postbit_country' so what can i do now? 
Please try to help me with any other way and Thanks a lot for replying!


It is in global templates...
(2018-10-05, 05:54 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-05, 05:45 PM)iKsu Wrote: [ -> ]
(2018-10-05, 02:05 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-05, 12:56 PM)iKsu Wrote: [ -> ]Hello,
How i can get 'Country' Line? Because it's not visible in post_author_user
And Thanks!

Without looking at the plugin I am merely assuming that there should be a template called "postbit_country"?


So if I am correct you would edit it like so:

postbit_country:


<br /><i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />

And add this to global.css:

i.flagcount {
   padding-right: 3px;
   color: #555;
   font-size: 14px;
}

Sorry, but i did not find template with this name 'postbit_country' so what can i do now? 
Please try to help me with any other way and Thanks a lot for replying!


It is in global templates...


Hello Bro,
I tried that and followed everything you typed and i was not knowing where i add the second code in global css while in advanced mode but i added it at end, and that is the result:
[Image: p_10084wvzy1.png]
Just space before Country..
What to do now?
And Really Thanks for your replies Smile
It would be added to the previous provided css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}

And if you actually follow all my previous instructions, it works just fine . So with the flag addition the instructions would be as so:


Add to headerinclude:


<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">


Add to global.css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}


Replace postbit_author_user with:

<i class="fas fa-comments postcount"></i>&nbsp;{$lang->postbit_posts} {$post['postnum']}<br />
<i class="fas fa-newspaper threadcount"></i>&nbsp;{$lang->postbit_threads} {$post['threadnum']}<br />
<i class="fas fa-calendar joindate"></i>&nbsp;{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Replace postbit_reputation with:

<br />
<i class="fas fa-thumbs-up repcount"></i>&nbsp;{$lang->postbit_reputation} {$post['userreputation']}

Replace postbit_profilefield with:

<br />
<i class="fas fa-chalkboard-teacher profield"></i>&nbsp;{$post['fieldname']}: {$post['fieldvalue']}

Replace postbit_warninglevel with:

<br />    
 <i class="fas fa-exclamation-triangle warncount"></i>&nbsp;{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>


In global templates find:

postbit_country

Replace with:

<br />
<i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />
(2018-10-05, 06:36 PM)vintagedaddyo Wrote: [ -> ]It would be added to the previous provided css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}

And if you actually follow all my previous instructions, it works just fine . So with the flag addition the instructions would be as so:


Add to headerinclude:


<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">


Add to global.css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}


Replace postbit_author_user with:

<i class="fas fa-comments postcount"></i>&nbsp;{$lang->postbit_posts} {$post['postnum']}<br />
<i class="fas fa-newspaper threadcount"></i>&nbsp;{$lang->postbit_threads} {$post['threadnum']}<br />
<i class="fas fa-calendar joindate"></i>&nbsp;{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Replace postbit_reputation with:

<br />
<i class="fas fa-thumbs-up repcount"></i>&nbsp;{$lang->postbit_reputation} {$post['userreputation']}

Replace postbit_profilefield with:

<br />
<i class="fas fa-chalkboard-teacher profield"></i>&nbsp;{$post['fieldname']}: {$post['fieldvalue']}

Replace postbit_warninglevel with:

<br />    
 <i class="fas fa-exclamation-triangle warncount"></i>&nbsp;{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>


In global templates find:

postbit_country

Replace with:

<br />
<i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />
Hello,
Finally It worked i just forgot to add the following code in headerinclude

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
Still there last something i am unable to do it 
Look at this photo brother:
[Image: p_10086gtnx1.png]
Posts => Threads => Thanks Received => Thanks Given => Joined => Country
Thanks Given Unable to make for it font awesome too and this is the URL of the plugin
Thank You/Like System+MyAlerts
So if you can tell me how can i get Thanks Given it's Line?
Frankly, I am speechless, because of your morals and your love to help me and your fast responses
Well, brother, thank you very much  Heart
(2018-10-05, 07:15 PM)iKsu Wrote: [ -> ]Hello,
Finally It worked i just forgot to add the following code in headerinclude

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
Still there last something i am unable to do it 
Look at this photo brother:
[Image: p_10086gtnx1.png]
Posts => Threads => Thanks Received => Thanks Given => Joined => Country
Thanks Given Unable to make for it font awesome too and this is the URL of the plugin
Thank You/Like System+MyAlerts
So if you can tell me how can i get Thanks Given it's Line?
Frankly, I am speechless, because of your morals and your love to help me and your fast responses
Well, brother, thank you very much  Heart

Find and replace thankyoulike_postbit_author_user with:

<i class="fas fa-thumbs-up thxgotcount"></i>&nbsp;{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}
<br />
<i class="fas fa-thumbs-up thxgivecount"></i>&nbsp;{$lang->tyl_given}: {$post['tyl_unumtyls']}


Add to global.css:

i.thxgotcount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}
i.thxgivecount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}
(2018-10-05, 07:37 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-05, 07:15 PM)iKsu Wrote: [ -> ]Hello,
Finally It worked i just forgot to add the following code in headerinclude

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
Still there last something i am unable to do it 
Look at this photo brother:
[Image: p_10086gtnx1.png]
Posts => Threads => Thanks Received => Thanks Given => Joined => Country
Thanks Given Unable to make for it font awesome too and this is the URL of the plugin
Thank You/Like System+MyAlerts
So if you can tell me how can i get Thanks Given it's Line?
Frankly, I am speechless, because of your morals and your love to help me and your fast responses
Well, brother, thank you very much  Heart

Find and replace thankyoulike_postbit_author_user with:

<i class="fas fa-thumbs-up thxgotcount"></i>&nbsp;{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}
<br />
<i class="fas fa-thumbs-up thxgivecount"></i>&nbsp;{$lang->tyl_given}: {$post['tyl_unumtyls']}


Add to global.css:

i.thxgotcount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}
i.thxgivecount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}

Hello Bro,
I followed all that but did not work as you see in this photo below:
[Image: p_1008ltfm91.png]
I am using this in postbit_author_user
    <i class="far fa-comments"></i>&nbsp;{$lang->postbit_posts} {$post['postnum']}<br />
    <i class="far fa-newspaper"></i>&nbsp;{$lang->postbit_threads} {$post['threadnum']}<br />
    <i class="far fa-calendar"></i>&nbsp;{$lang->postbit_joined} {$post['userregdate']}
And the country way you told me about, Then the way of Thanks Received and Thanks Given as you told me 
But Thanks Given And Thanks Received Disappeared, so what to do now?
And Thanks A lot bro You are the best Heart
Use the ones in my instructions not the ones from others instructions. So now the total instructions should look like:

Add to headerinclude:


<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">


Add to global.css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
.thxgotcount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}
i.thxgivecount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}


Replace postbit_author_user with:

<i class="fas fa-comments postcount"></i>&nbsp;{$lang->postbit_posts} {$post['postnum']}<br />
<i class="fas fa-newspaper threadcount"></i>&nbsp;{$lang->postbit_threads} {$post['threadnum']}<br />
%%TYL_NUMTHANKEDLIKED%%<br />
<i class="fas fa-calendar joindate"></i>&nbsp;{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Replace postbit_reputation with:

<br />
<i class="fas fa-thumbs-up repcount"></i>&nbsp;{$lang->postbit_reputation} {$post['userreputation']}

Replace postbit_profilefield with:

<br />
<i class="fas fa-chalkboard-teacher profield"></i>&nbsp;{$post['fieldname']}: {$post['fieldvalue']}

Replace postbit_warninglevel with:

<br />    
 <i class="fas fa-exclamation-triangle warncount"></i>&nbsp;{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>


In global templates find:

postbit_country

Replace with:

<br />
<i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />

Find and replace thankyoulike_postbit_author_user with:

<i class="fas fa-thumbs-up thxgotcount"></i>&nbsp;{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}
<br />
<i class="fas fa-thumbs-up thxgivecount"></i>&nbsp;{$lang->tyl_given}: {$post['tyl_unumtyls']}

Hopefully that makes sense. Also don't mix other instructions when the instructions here are completed per your request..., so they work. Mixing and matching can cause issues.
Also notice you removed while using others instructions?

%%TYL_NUMTHANKEDLIKED%%<br />

That would explain the missing thanks call.

And you removed:

{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Thus causing them to not be called as well.
(2018-10-05, 07:55 PM)vintagedaddyo Wrote: [ -> ]Use the ones in my instructions not the ones from others instructions. So now the total instructions should look like:

Add to headerinclude:


<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">


Add to global.css:


i.postcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.threadcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.joindate {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.repcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.profield {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.warncount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
i.flagcount {
  padding-right: 3px;
  color: #555;
  font-size: 14px;
}
.thxgotcount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}
i.thxgivecount {
 padding-right: 3px;
 color: #555;
 font-size: 14px;
}


Replace postbit_author_user with:

<i class="fas fa-comments postcount"></i>&nbsp;{$lang->postbit_posts} {$post['postnum']}<br />
<i class="fas fa-newspaper threadcount"></i>&nbsp;{$lang->postbit_threads} {$post['threadnum']}<br />
%%TYL_NUMTHANKEDLIKED%%<br />
<i class="fas fa-calendar joindate"></i>&nbsp;{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Replace postbit_reputation with:

<br />
<i class="fas fa-thumbs-up repcount"></i>&nbsp;{$lang->postbit_reputation} {$post['userreputation']}

Replace postbit_profilefield with:

<br />
<i class="fas fa-chalkboard-teacher profield"></i>&nbsp;{$post['fieldname']}: {$post['fieldvalue']}

Replace postbit_warninglevel with:

<br />    
 <i class="fas fa-exclamation-triangle warncount"></i>&nbsp;{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>


In global templates find:

postbit_country

Replace with:

<br />
<i class="fas fa-flag flagcount"></i>&nbsp;{$lang->country}: <img src="{$country['flag']}" alt="{$country['name']}" title="{$country['name']}" />

Find and replace thankyoulike_postbit_author_user with:

<i class="fas fa-thumbs-up thxgotcount"></i>&nbsp;{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}
<br />
<i class="fas fa-thumbs-up thxgivecount"></i>&nbsp;{$lang->tyl_given}: {$post['tyl_unumtyls']}
Hopefully that makes sense. Also don't mix other instructions when the instructions here are completed per your request..., so they work. Mixing and matching can cause issues.
Also notice you removed while using others instructions?

%%TYL_NUMTHANKEDLIKED%%<br />

That would explain the missing thanks call.

And you removed:

{$post['replink']}{$post['profilefield']}{$post['warninglevel']}


Thus causing them to not be called as well.
Hello brother,
Finally It worked and everything's now is ok
Look at this photo below:
[Image: p_1008ti85n1.png]
Really all I can say, that like you few, you are the best person I have seen help with enthusiasm,
Without waiting for any reward, well man,
I thank you very much for all this effort, I swear to you if you asked for money to give it to you no matter how much, you deserve it !,
You are the best person here, God reward you all the best!  Heart Heart Heart Heart Heart Heart
Cool beans. No worries and thank you. Glad you got it sorted out! Best of luck. Smile Oh, and you may find this thread of further use: https://community.mybb.com/thread-220017.html
http://prntscr.com/l2pnf4
How does this look?



Oh and what's this? Failed to notice it:

<br />
<i class="fas fa-chalkboard-teacher profield"></i>&nbsp;{$post['fieldname']}: {$post['fieldvalue']}
Pages: 1 2 3