Site plugins

NodeBB Plugins
  • Which plugins are used on this site?

  • @pichalite How is the reply button next to time created set when you hit reply on someone? I don't see that as a default setting?

  • @torn2 there is no setting for that. When you click reply link on a post, the composer stores the post id you are replying to. Persona then uses the post id to create that link.

  • @pichalite This part does not show up on my forum?

    0_1465139601899_mention.PNG

    Mine shows like this:

    0_1465139665807_mention2.PNG

    I added the stats, so not sure if that may have broken something? Though I don't remember that mention tag ever being there when the user is mentioned in the post, which he is.

  • what about the subcategories under the main category with the icons?

  • @chrismccoy what about them?

  • @torn2 it has nothing to do with a mention. It's just a link to the post that was replied to with the username of the post creator.

  • @pichalite sorry, didn't word that well. What I should have said is that when I hit reply on an individual users post that link will not show up.

  • @torn2 post you template code

  • @pichalite

    Post.tpl

    	<div class="icon pull-left">
    		<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
    			<!-- IF posts.user.picture -->
    			<img component="user/picture" data-uid="{posts.user.uid}" src="{posts.user.picture}" align="left" itemprop="image" />
    			<!-- ELSE -->
    			<div component="user/picture" data-uid="{posts.user.uid}" class="user-icon" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div>
    			<!-- ENDIF posts.user.picture -->
    			<i component="user/status" class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
    
    		</a>
    	</div>
    
    	<small class="pull-left">
    		<strong>
    			<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.username}</a>
    		</strong>
    
    		<!-- IMPORT partials/topic/badge.tpl -->
    
    		<!-- IF posts.user.banned -->
    		<span class="label label-danger">[[user:banned]]</span>
    		<!-- ENDIF posts.user.banned -->
    
    		<div class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
    			<a class="permalink" href="{config.relative_path}/post/{posts.pid}"><span class="timeago" title="{posts.timestampISO}"></span></a>
    
    			<i class="fa fa-pencil-square pointer edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>
    
    			<small data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></small>
    
    			<span class="userinfo-extra">
    			<i class="fa fa-star"></i> <span component="user/reputation" data-reputation="{posts.user.reputation}" data-uid="{posts.user.uid}" class="formatted-number reputation">{posts.user.reputation}</span>&nbsp;|&nbsp;
    			<i class="fa fa-pencil"></i> <span class="formatted-number" component="user/postcount" data-uid="{posts.user.uid}" data-postcount="{posts.user.postcount}">{posts.user.postcount}</span>
    			</span>
    			
    			<!-- IF posts.toPid -->
    			<button component="post/parent" class="btn btn-xs btn-default hidden-xs" data-topid="{posts.toPid}"><i class="fa fa-reply"></i> @<!-- IF posts.parent.username -->{posts.parent.username}<!-- ELSE -->[[global:guest]]<!-- ENDIF posts.parent.username --></button>
    			<!-- ENDIF posts.toPid -->
    
    			<span>
    				<!-- IF posts.user.custom_profile_info.length -->
    				&#124;
    				<!-- BEGIN custom_profile_info -->
    				{posts.user.custom_profile_info.content}
    				<!-- END custom_profile_info -->
    				<!-- ENDIF posts.user.custom_profile_info.length -->
    			</span>
    		</div>
    		<span class="bookmarked"><i class="fa fa-bookmark-o"></i></span>
    
    	</small>
    </div>
    
    <br />
    
    <div class="content" component="post/content" itemprop="text">
    	{posts.content}
    </div>
    
    <div class="clearfix post-footer">
    	<!-- IF posts.user.signature -->
    	<div component="post/signature" data-uid="{posts.user.uid}" class="post-signature">{posts.user.signature}</div>
    	<!-- ENDIF posts.user.signature -->
    
    	<small class="pull-right">
    		<span class="post-tools">
    			<a component="post/reply" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:reply]]</a>
    			<a component="post/quote" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:quote]]</a>
    		</span>
    
    		<!-- IF !reputation:disabled -->
    		<span class="votes">
    			<a component="post/upvote" href="#" class="<!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
    				<i class="fa fa-chevron-up"></i>
    			</a>
    
    			<span component="post/vote-count" data-votes="{posts.votes}">{posts.votes}</span>
    
    			<!-- IF !downvote:disabled -->
    			<a component="post/downvote" href="#" class="<!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
    				<i class="fa fa-chevron-down"></i>
    			</a>
    			<!-- ENDIF !downvote:disabled -->
    		</span>
    		<!-- ENDIF !reputation:disabled -->
    
    		<!-- IMPORT partials/topic/post-menu.tpl -->
    	</small>
    </div>
    
    <hr />
  • @torn2 the code to show that link is in the tpl... not sure why you don't see it

    <!-- IF posts.toPid -->
    <button component="post/parent" class="btn btn-xs btn-default hidden-xs" data-topid="{posts.toPid}"><i class="fa fa-reply"></i> @<!-- IF posts.parent.username -->{posts.parent.username}<!-- ELSE -->[[global:guest]]<!-- ENDIF posts.parent.username --></button>
    <!-- ENDIF posts.toPid -->
    

Suggested Topics