Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. KasparTr
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 16
    • Best 1
    • Groups 0

    KasparTr

    @KasparTr

    1
    Reputation
    655
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    KasparTr Unfollow Follow

    Best posts made by KasparTr

    • RE: Display more information on Users page

      @pichalite

      Thanks for offering help!
      Here is the users_list.tpl content.

      I did change users.js

       <!-- BEGIN users -->
      <li class="users-box registered-user" data-uid="{users.uid}">
      <div class="user-data-container">
      	<div class="user-media">
      		<a href="{config.relative_path}/user/{users.userslug}">
      			<div class="user-picture">
      				<img src="{users.picture}" />
      			</div>
      		</a>
      		<div class="user-info">
      			<span>
      				<i component="user/status" class="fa fa-circle status {users.status}" title="[[global:{users.status}]]"></i>
      				
      			</span>
      			<br/>
      			<!-- IF route_users:joindate -->
      			<div title="joindate" class="joindate">
      				<i class='fa fa-clock'></i>
      				<span class='timeago' title="{users.joindateISO}"></span>
      			</div>
      			<!-- ENDIF route_users:joindate -->
      
      			<!-- IF route_users:reputation -->
      			<div title="reputation" class="reputation">
      				<i class='fa fa-star'></i>
      				<span class='formatted-number'>{users.reputation}</span>
      			</div>
      			<!-- ENDIF route_users:reputation -->
      
      			<!-- IF route_users:postcount -->
      			<div title="post count" class="post-count">
      				<i class='fa fa-pencil'></i>
      				<span class='formatted-number'>{users.postcount}</span>
      			</div>
      			<!-- ENDIF route_users:postcount -->
      		</div>
      	</div>
      	<div class="user-info-extended">
      		<a href="{config.relative_path}/user/{users.userslug}"  class="uie-username"><h4>{users.username}</h4></a>
      		<p>{users.signature}</p>
      		<p id="uie-location">{users.location}</p>
      		<a>{users.website}</a>
      	</div>
      </div>
      <div class="user-interaction">
      		<!-- IF !config.disableChat -->
      		<a href="#" class="btn btn-primary btn-sm chat-btn-users" data-uid='{users.uid}' data-username='{users.username}'>[[user:chat]]</a>
      		<!-- ENDIF !config.disableChat -->
      </div>
      <hr>
      
      </li>
      <!-- END users -->
      

      I alse changed the /srv/<url>/www/public/src/client/users.js file content to handle the chat button. That should not alter the new user load but here is the content I added to the end of Users.init = function(){... function.

          /*--- eRes change: added users button listener*/
      	/* note: delegated event handling*/
      	$('#users-container').on('click', '.chat-btn-users', function() {
      		app.openChat($(this).data('username'), $(this).data('uid'));
      	});
      
      	/*note: hide user interaction div */
      	$('#users-container').on("mouseenter", '.users-box', function(){
      		$(this).children(".user-interaction").css('visibility','visible');
      	});
      	$('#users-container').on("mouseleave", '.users-box', function(){
      		$(this).children(".user-interaction").css('visibility','hidden');
      	});
      	/*--END-- eRes change: added users button listener */
      

      Thanks again!

      posted in General Discussion
      K
      KasparTr

    Latest posts made by KasparTr

    • RE: Change email digest appearance

      @baris Thanks for that.
      Tell me please why does the server keep overwriting the tpl files.
      I changes the digest.tpl file (in /www/public/templates/emails) to make it work to my needs but every time I reload the server it overwrites the file.

      What is happening there?

      posted in NodeBB Development
      K
      KasparTr
    • RE: Redirect sso plugins to custom route

      This is an old post, but have you found a solution? I have the exact same problem. I need a new user to be redirected to profile edit page to enter the email address.

      Thanks!

      posted in NodeBB Development
      K
      KasparTr
    • RE: Uploaded avatars do not show up in email digest

      @PitaJ Could be, I will test it, thanks!
      Althou it if weird that it just dosen't play well with the largert email service 😛

      posted in Bug Reports
      K
      KasparTr
    • RE: Uploaded avatars do not show up in email digest

      @PitaJ I cannot dictate what services my users use. Most of them use gmail so it is a problem. My email digest goes to users and the image is broken.

      posted in Bug Reports
      K
      KasparTr
    • RE: Uploaded avatars do not show up in email digest

      So there is no solution to this problem?

      posted in Bug Reports
      K
      KasparTr
    • Change email digest appearance

      I have MailGun set up in my NodeBB forum but the digest emails look horrible. Where can I change the look and feel of the emails.
      Is the content generated bu Node or MailGun. Confused...

      posted in NodeBB Development
      K
      KasparTr
    • Chat input box responsive height to content

      I am trying to figure out how to alter the source so that the chat input box height will responde to text input and lose the frustrating overflow scroll arrows.
      There will be maximum height after which the overflow will kick but right now nothing works in making the class="textcomplete-wrapper" and class="form-control" responsive.

      Has anyone tried and succeeded at this?

      Thanks

      posted in Technical Support
      K
      KasparTr
    • RE: Display more information on Users page

      @pichalite

      Thanks for offering help!
      Here is the users_list.tpl content.

      I did change users.js

       <!-- BEGIN users -->
      <li class="users-box registered-user" data-uid="{users.uid}">
      <div class="user-data-container">
      	<div class="user-media">
      		<a href="{config.relative_path}/user/{users.userslug}">
      			<div class="user-picture">
      				<img src="{users.picture}" />
      			</div>
      		</a>
      		<div class="user-info">
      			<span>
      				<i component="user/status" class="fa fa-circle status {users.status}" title="[[global:{users.status}]]"></i>
      				
      			</span>
      			<br/>
      			<!-- IF route_users:joindate -->
      			<div title="joindate" class="joindate">
      				<i class='fa fa-clock'></i>
      				<span class='timeago' title="{users.joindateISO}"></span>
      			</div>
      			<!-- ENDIF route_users:joindate -->
      
      			<!-- IF route_users:reputation -->
      			<div title="reputation" class="reputation">
      				<i class='fa fa-star'></i>
      				<span class='formatted-number'>{users.reputation}</span>
      			</div>
      			<!-- ENDIF route_users:reputation -->
      
      			<!-- IF route_users:postcount -->
      			<div title="post count" class="post-count">
      				<i class='fa fa-pencil'></i>
      				<span class='formatted-number'>{users.postcount}</span>
      			</div>
      			<!-- ENDIF route_users:postcount -->
      		</div>
      	</div>
      	<div class="user-info-extended">
      		<a href="{config.relative_path}/user/{users.userslug}"  class="uie-username"><h4>{users.username}</h4></a>
      		<p>{users.signature}</p>
      		<p id="uie-location">{users.location}</p>
      		<a>{users.website}</a>
      	</div>
      </div>
      <div class="user-interaction">
      		<!-- IF !config.disableChat -->
      		<a href="#" class="btn btn-primary btn-sm chat-btn-users" data-uid='{users.uid}' data-username='{users.username}'>[[user:chat]]</a>
      		<!-- ENDIF !config.disableChat -->
      </div>
      <hr>
      
      </li>
      <!-- END users -->
      

      I alse changed the /srv/<url>/www/public/src/client/users.js file content to handle the chat button. That should not alter the new user load but here is the content I added to the end of Users.init = function(){... function.

          /*--- eRes change: added users button listener*/
      	/* note: delegated event handling*/
      	$('#users-container').on('click', '.chat-btn-users', function() {
      		app.openChat($(this).data('username'), $(this).data('uid'));
      	});
      
      	/*note: hide user interaction div */
      	$('#users-container').on("mouseenter", '.users-box', function(){
      		$(this).children(".user-interaction").css('visibility','visible');
      	});
      	$('#users-container').on("mouseleave", '.users-box', function(){
      		$(this).children(".user-interaction").css('visibility','hidden');
      	});
      	/*--END-- eRes change: added users button listener */
      

      Thanks again!

      posted in General Discussion
      K
      KasparTr
    • RE: Display more information on Users page

      So I finished the UI part as well.
      Added the chat option to the Users page.
      Working on the plugin for the chat.
      0_1453481244492_users_page_new.png
      Chat will appear on hover.

      Currently having some trouble when dynamically loading new users (missing some and some are loaded double) and it is happening randomly.
      Can't understand why thou. I only changed the inside struckture of the <li> tags in the partials/users_list.tpl.
      If someone has ideas why changing templates inside structure screws with new users loading then let me know 😉

      Thanks

      posted in General Discussion
      K
      KasparTr
    • RE: Display more information on Users page

      @pichalite
      Thanks a lot for the info.
      You are correct, we are working on the UI at this moment.
      The plugin wasn't that hard to make, here it is:
      https://github.com/andres-liiver/nodebb-plugin-additional-user-fields
      Credits to Andres Liiver!

      I will post a reply here when the user page is done.

      posted in General Discussion
      K
      KasparTr