Advertisement:

Author Topic: Reseller  (Read 154694 times)

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #160 on: April 30, 2015, 11:31:45 PM »
How can I make user profile avatar on post page to show custom names,  admin or moderator or VIP and other level acquired from post counts. All are not displaying. You can not tell who is administrator or moderator etc.
Please help
« Last Edit: April 30, 2015, 11:57:08 PM by peterwaalker »

Offline hitsme

  • Semi-Newbie
  • *
  • Posts: 58
Re: Reseller
« Reply #161 on: May 01, 2015, 02:13:58 AM »
find in Display.template.php
     
Code: [Select]
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', $message['member']['title'], '</li>';
Add after:

   

Code: [Select]
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
Search:

   

      
Code: [Select]
// Show the stars if they are not in a group.
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
Add before:

     

   
Code: [Select]
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #162 on: May 01, 2015, 03:51:36 AM »
@hitsme, thanks a lot. Let me check and get back to you.

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #163 on: May 01, 2015, 04:03:00 PM »
Worked greatly. Excellent... Splendid
Thank you @hits me. the user post_avatar field is now wonderful.

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #164 on: May 02, 2015, 01:00:33 AM »
two more things i want you to help me on.
Please i want

1. On user profile, how can i add things like the below on the user ?

    Hello, peterwaalker
    Profile
    2 New message, out of 68
    Show unread posts since last visit.
    Show new replies to your posts.
    May 01, 2015, 05:40:12 PM

See how it is currently displaying on my forum below




2. How can i make the links on the post page blue? All links on the post-pages are grey colours same with texts. I cannot distinguish texts from links. It makes posted messages poor in reading.



3. User online does not show time and date




Thank you for your support. I appreciate

Offline Gluz

  • Native Language Support Specialist
  • Sr. Member
  • *
  • Posts: 963
  • Gender: Male
Re: Reseller
« Reply #165 on: May 03, 2015, 08:22:15 PM »
1.- In /Themes/Reseller/index.template.php search:
Code: [Select]
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<img src="', $context['user']['avatar']['href'], '" class="avatar img-thumbnail" alt="*" />';
echo'
<ul class="reset">
<li class="user">', $context['user']['name'], '</li>
<li><a href="', $scripturl, '?action=profile">', $txt['profile'], '</a></li>
<li><a href="', $scripturl, '?action=profile;area=forumprofile">', $txt['forumprofile'], '</a></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_topics_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['unread_replies'], '</a></li>';
                echo '
</ul>';
}

and replace for:
Code: [Select]
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<img src="', $context['user']['avatar']['href'], '" class="avatar img-thumbnail" alt="*" />';
echo'
<ul class="reset">
<li class="user">', $txt['hello_member'], ' <b>', $context['user']['name'], '</b></li>
<li><a href="', $scripturl, '?action=profile">', $txt['profile'], '</a></li>
<li><a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', ($context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase']), '</a>, ', $context['user']['unread_messages'], ' ', ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']), '.</li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
                echo '
</ul>';
}

I didn't add the date 'cause that requires an extra query afaik, but this should be what you want.


2.- Links in the post or links in general in the layout?

To change links in the post:
In /Themes/Reseller/css/index.css search the section of bbc_link and repalce for:
Code: [Select]
.bbc_link:link, .bbc_link:visited {
    border-bottom: 1px solid #0000FF;
    color: #0000FF;
}

For links in general, at the very beginning of the index.css file change just the color of the links with:
Code: [Select]
a:link, a:visited
{
color: #0000FF;

You can change the exact color(#0000FF what I suggest) for the HEX RGB color that you want.

3.- As others said, maybe another MOD screw up with the layout there...
Need help with PHP, HTML, CSS, Themes or MODs?

Quote
Think in spanish, habla en inglés.

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #166 on: May 04, 2015, 05:39:23 AM »
1.- In /Themes/Reseller/index.template.php search:
Code: [Select]
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<img src="', $context['user']['avatar']['href'], '" class="avatar img-thumbnail" alt="*" />';
echo'
<ul class="reset">
<li class="user">', $context['user']['name'], '</li>
<li><a href="', $scripturl, '?action=profile">', $txt['profile'], '</a></li>
<li><a href="', $scripturl, '?action=profile;area=forumprofile">', $txt['forumprofile'], '</a></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_topics_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['unread_replies'], '</a></li>';
                echo '
</ul>';
}

and replace for:
Code: [Select]
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<img src="', $context['user']['avatar']['href'], '" class="avatar img-thumbnail" alt="*" />';
echo'
<ul class="reset">
<li class="user">', $txt['hello_member'], ' <b>', $context['user']['name'], '</b></li>
<li><a href="', $scripturl, '?action=profile">', $txt['profile'], '</a></li>
<li><a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', ($context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase']), '</a>, ', $context['user']['unread_messages'], ' ', ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']), '.</li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
                echo '
</ul>';
}

I didn't add the date 'cause that requires an extra query afaik, but this should be what you want.


2.- Links in the post or links in general in the layout?

To change links in the post:
In /Themes/Reseller/css/index.css search the section of bbc_link and repalce for:
Code: [Select]
.bbc_link:link, .bbc_link:visited {
    border-bottom: 1px solid #0000FF;
    color: #0000FF;
}

For links in general, at the very beginning of the index.css file change just the color of the links with:
Code: [Select]
a:link, a:visited
{
color: #0000FF;

You can change the exact color(#0000FF what I suggest) for the HEX RGB color that you want.

3.- As others said, maybe another MOD screw up with the layout there...



It worked again like charm. Infact you are good. Thank you for helping me.

3. - As for the unknown mod that screw up users online, I do not know how to retrace my steps so as to find out the actual mod in question.
4. - How can I change the body background color to blue. I'm done with the Nav bar, header, body?, and footer area.
« Last Edit: May 04, 2015, 06:01:29 AM by peterwaalker »

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #167 on: May 05, 2015, 03:54:15 PM »
4. schematic Picture attachment

5. How to include again the search box below the header see attachment number two
« Last Edit: May 05, 2015, 04:09:02 PM by peterwaalker »

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #168 on: May 06, 2015, 08:18:03 AM »
For background color I think I should be looking for this code below but does not know the actual CSS file in reseller CSS folder.
Code: [Select]
/* The main body of the entire forum. */
body
{
    background-color: #E5E5E8;
    margin: 0px;
    padding: 12px 30px 4px 30px;
}

I need help

Offline nattasan

  • Newbie
  • *
  • Posts: 6
Re: Reseller
« Reply #169 on: May 12, 2015, 09:48:38 AM »
Dear All,

Please tell me how can i move Recent Posts of SMF 2.0.8 at the board index from bottom to the top?

Thank you very much  :)

Offline peterwaalker

  • Jr. Member
  • **
  • Posts: 271
Re: Reseller
« Reply #170 on: May 13, 2015, 08:48:42 PM »
Dear All,

Please tell me how can i move Recent Posts of SMF 2.0.8 at the board index from bottom to the top?

Thank you very much  :)

To move recent post board index from bottom to top just install a mod can do.
There is no need waiting for support here. If you encounter any error during installation, ask questions in the mods support area.
Visit this link: http://custom.simplemachines.org/mods/index.php?mod=1081

Offline babalola olasehinde

  • Jr. Member
  • **
  • Posts: 233
Re: Reseller
« Reply #171 on: May 22, 2015, 02:24:50 AM »
thanks for this theme , i have gone through page one to the last to implement some of the things said how 2 questions i have are

1. how can only replace that ? mark avatar with a new avatar which would serve as default


2. on the footer  where we have facebook icon , twitter icon etc , there is a grey colour background there that is not making the facebook and other to be clear , how can that be modify so everyone can see the facebook easily?

Offline Gluz

  • Native Language Support Specialist
  • Sr. Member
  • *
  • Posts: 963
  • Gender: Male
Re: Reseller
« Reply #172 on: May 23, 2015, 12:07:53 AM »
The ? is an image, to change, replace the image in /Themes/Reseller/images/noavatar.png

The footer color is in /Themes/Reseller/css/reseller.css
Search for:
Code: [Select]
footer
{
margin-top: 20px;
background: #34495e;

and replace the background color for the color you want.

For my site, I remove that line, so the footer is the same color as the forum background.
Need help with PHP, HTML, CSS, Themes or MODs?

Quote
Think in spanish, habla en inglés.

Offline babalola olasehinde

  • Jr. Member
  • **
  • Posts: 233
Re: Reseller
« Reply #173 on: May 23, 2015, 09:20:52 AM »
@Gluz thanks it worked

pls see the screenshot below and tell where i can see the file to edit , i need to change the colour in the index page

Offline babalola olasehinde

  • Jr. Member
  • **
  • Posts: 233
Re: Reseller
« Reply #174 on: May 23, 2015, 12:49:26 PM »
how can one reduce the font and font size of a new thread ( i.e new topic) ? its always too big both for pc and mobile user

also how can one reduce the 'reply' and 'view' images ( i.e the eye) of a thread ? its always too large

Offline ameo

  • Full Member
  • ***
  • Posts: 545
  • Gender: Male
  • my life is LOST
Re: Reseller
« Reply #175 on: May 23, 2015, 03:16:08 PM »
you could just remove reply and view images, instead - in Display.template.php edit to:
Code: [Select]
   // Show the topic information - icon, subject, etc.
   echo '
         <div id="forumposts">
            <div class="display-info">
               <h1 class="animated slideInDown">
                  ', $context['subject'], '
               </h1>
               <ul class="reset info navbar-right">
                  <li class="replies"> '. $context['real_num_replies'] .' '. $txt['replies'] .'</li>   
                  <li class="amp">&nbsp;&</li>         
                  <li class="views"> '. $context['num_views'], ' '. $txt['views'] .'</li>
               </ul>
            <>';



That background color is so nice, but oh, if you really wanna change it in index.css of your theme find:
Code: [Select]
background-color: #eee;    and change to your hex value


If you think that TITLE of your thread is too big (I hope that's what you think,coz it's unclear to me),
go to reseller.css and find

 font-size: 36px;

& change to smaller number.
antechinus:
Quote
If you are dying for a solution it may be wise to seek medical attention.

Get some Awesome Smileys for your forum

|±(DzinerStudio)±|

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 189
  • Gender: Male
    • @spyloaded_com on Twitter
Re: Reseller
« Reply #176 on: May 28, 2015, 03:30:58 PM »
This topic helps a lot !!!!!

Please how can I make the "profile , Forum profile, Recent unread Topic & Unread topic" at the header to be in Horizontal I don't want it to be in vertical.

« Last Edit: May 28, 2015, 04:16:11 PM by Xpresskonami »
Spyloadedng

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 189
  • Gender: Male
    • @spyloaded_com on Twitter
Re: Reseller
« Reply #177 on: May 29, 2015, 06:04:14 AM »
Am still waiting for reply please!!!!!!!!!
Spyloadedng

Offline ameo

  • Full Member
  • ***
  • Posts: 545
  • Gender: Male
  • my life is LOST
Re: Reseller
« Reply #178 on: May 29, 2015, 12:38:15 PM »
your picture has 0 kb, you did something wrong.
also, you should try asking in developers forum support page about that,
since it looks like he doesn't come here often: http://smftricks.com/index.php?board=40.0

btw. your logo is hideous. brown/beige background is a serious no no on this colorscheme. sorry, but it's true.
antechinus:
Quote
If you are dying for a solution it may be wise to seek medical attention.

Get some Awesome Smileys for your forum

|±(DzinerStudio)±|

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 189
  • Gender: Male
    • @spyloaded_com on Twitter
Re: Reseller
« Reply #179 on: May 31, 2015, 04:54:08 AM »
Whenever am trying to install new mods. It did not go into Themes/Reseller/Display.templates.php

It only go to Themes/default/Display.template.php

What is the solution to that????????
Spyloadedng