Status
Not open for further replies.

heyzeus909

Customer
Is there a way to have the status text automatically wrapped in quotes? In other words, changing:

This is my status.

to

"This is my status."
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Not by default, but you can edit the template dbtech_status_postbit and replace the contents with this:

Code:
<vb:if condition="!empty($post['dbtech_status_status']) || !empty($vboptions[dbtech_status_default])">
<span class="rank">
	<div id="dbtech_status_status{vb:var post.postid}">
		<div id="dbtech_status_statustext{vb:var post.postid}" style="display:inline;">
			<vb:if condition="$post['dbtech_status_status']">
				{vb:raw vboptions.dbtech_status_prefix} "{vb:raw post.dbtech_status_status}"
			<vb:else />
				"{vb:raw vboptions.dbtech_status_default}"
			</vb:if>
		</div>
		 
		<vb:if condition="$show['dbtech_status_change']">
			<a style="cursor: pointer;" href="javascript://" onclick="return FBStatus{vb:var post.postid}.init_edit_status();">
				<img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit}" />
			</a>
		</vb:if>
	</div>
	
	<div style="display:none;" id="dbtech_status_controls{vb:var post.postid}">
		<input type="text" tabindex="1" value="" id="dbtech_status_input{vb:var post.postid}" name="status" class="primary textbox" style="width:95%; margin: 1px;" /><br />
		
		<input type="button" class="button" value="{vb:rawphrase save}" onclick="return FBStatus{vb:var post.postid}.save_edit_status();" /> 
		<input type="button" class="button" value="{vb:rawphrase cancel}" onclick="return FBStatus{vb:var post.postid}.cancel_edit_status();" />
	</div>
</span>

<vb:if condition="$vboptions['dbtech_status_moodenabled'] == 0">
<script type="text/javascript">
<!--
	// Initialise the object
	var FBStatus{vb:var post.postid} = new FBStatus_Obj();
	
	// Set the userid
	FBStatus{vb:var post.postid}.set_userid('{vb:raw post.userid}', '{vb:var post.postid}');

// Init editors
	<vb:if condition="$vboptions['dbtech_status_moodenabled'] == 1">FBStatus{vb:var post.postid}.set_mood_editors();</vb:if>
	<vb:if condition="$vboptions['dbtech_status_enabled'] == 1">FBStatus{vb:var post.postid}.set_status_editors();</vb:if>
// -->
</script>
</vb:if>
</vb:if>
 
Awesome! Couple that with being able to change the text color, and I have something I've been wanting for a long time.

Thank you very much.

I wouldn't mind seeing this become a pay mod, with integration into Live Feed.
 
Status
Not open for further replies.
Back
Top