Amaury
09-05-2012, 05:53 AM
Which template would I edit and what would I change to add a comma between the date and time for reputation on the User CP?
I want it to look like this:
9/4/2012, 6:37 PMhttp://i101.photobucket.com/albums/m62/AmauryGarcia/UserCP.png
hazem_aliraqi
09-05-2012, 05:10 PM
the template is USERCP
find
<div class="datetime">{vb:raw reputation.dateline} <span class="time">{vb:raw reputation.timeline}</span></div>
It's part of this
<li class="floatcontainer blockrow summaryinfo {vb:raw reputation.posneg}" id="reputationbit_{vb:raw reputation.postid}_{vb:raw reputation.userid}">
<div class="userinfo">
<div class="datetime">{vb:raw reputation.dateline} <span class="time">{vb:raw reputation.timeline}</span></div>
and replace it with ehis
<div class="datetime">{vb:raw reputation.dateline} , <span class="time">{vb:raw reputation.timeline}</span></div>
or you can use this template USERCP
{vb:raw template_hook.usercp_main_pos1}
<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$show['pendingfriendrequests'] OR $show['privatemessages'] OR $show['newvisitormessages'] OR $show['groupattention'] OR $show['invitedgroups'] OR $show['picture_comment_block']">
<div class="block" id="user_notifications">
<h2 class="blockhead">{vb:rawphrase user_notifications}</h2>
<div class="blockbody settings_form_border">
<vb:if condition="$show['privatemessages']">
<h3 class="blocksubhead"><a href="private.php{vb:raw session.sessionurl_q}" class="understate">{vb:rawphrase new_private_messages}</a> ({vb:raw numpms})</h3>
<ol class="pmlist">
{vb:raw messagelistbits}
</ol>
<vb:if condition="$show['more_pms_link'] OR $numpms > 0">
<div class="blocksubfoot actionbuttons floatcontainer">
<vb:if condition="$show['newvisitormessages'] OR $show['pendingfriendrequests'] OR $show['groupattention'] OR $show['invitedgroups'] OR $show['picture_comment_block'] OR is_browser('ie',6) OR is_browser('ie',7)"><div class="group"></vb:if>
<a class="textcontrol inline" href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase view_all_unread_private_messages}</a>
<vb:if condition="$show['newvisitormessages'] OR $show['pendingfriendrequests'] OR $show['groupattention'] OR $show['invitedgroups'] OR $show['picture_comment_block'] OR is_browser('ie',6) OR is_browser('ie',7)"></div></vb:if>
</div>
</vb:if>
</vb:if>
<vb:if condition="$show['newvisitormessages']">
<h3 class="blocksubhead"><a href="{vb:link member, {vb:raw bbuserinfo}, {vb:raw pageinfo_vm}}#visitor_messaging" class="understate">{vb:rawphrase new_visitor_messages}</a> ({vb:raw newvisitormessages})</h3>
<ol class="pmlist">
{vb:raw newvisitormessagebits}
</ol>
</vb:if>
<vb:if condition="$show['pendingfriendrequests']">
<h3 class="blocksubhead"><a href="profile.php?{vb:raw session.sessionurl}do=buddylist" class="understate">{vb:rawphrase pending_friend_requests}</a> ({vb:raw pendingfriendrequests})</h3>
<div class="blockrow pendingfriends floatcontainer">
<a class="textcontrol inline" href="profile.php?{vb:raw session.sessionurl}do=buddylist">{vb:rawphrase manage_your_friend_requests}</a>
<ul class="commalist">
<li>{vb:rawphrase you_have_pending_friend_requests_from} </li>
<vb:each from="pendingfriends" value="row">
<li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
</vb:each>
<li>{vb:raw pendingfriendstext}</li>
</ul>
</div>
</vb:if>
<vb:if condition="$show['groupattention']">
<h3 class="blocksubhead">{vb:rawphrase the_following_groups_need_attention}: ({vb:raw groupsneedattention})</h3>
<div class="blockrow pendingfriends floatcontainer">
<a class="textcontrol inline" href="{vb:link grouphome, '', 'do=requests'}">{vb:rawphrase view_group_requests}</a>
<ul class="commalist">
<vb:each from="groupswaiting" value="row">
<li>{vb:stylevar dirmark}<a href="{vb:link group, {vb:raw row}, 'do=manage'}">{vb:raw row.name}</a> ({vb:raw row.moderatedmembers}){vb:raw row.comma}</li>
</vb:each>
<vb:if condition="$show['moregroups']">
<li> {vb:rawphrase and_x_more, {vb:raw groupsleft}}</li>
</vb:if>
</ul>
</div>
</vb:if>
<vb:if condition="$show['invitedgroups']">
<h3 class="blocksubhead">{vb:rawphrase you_have_been_invited_to_the_following_groups}: ({vb:raw bbuserinfo.socgroupinvitecount})</h3>
<div class="blockrow pendingfriends floatcontainer">
<a class="textcontrol inline" href="{vb:link grouphome, '', 'do=invitations'}">{vb:rawphrase view_group_invitations}</a>
<ul class="commalist">
<vb:each from="pendinginvites" value="row">
<li><a href="{vb:link group, {vb:raw row}}">{vb:raw row.name}</a>{vb:raw row.comma}</li>
</vb:each>
<vb:if condition="$show['moreinvites']">
<li> {vb:rawphrase and_x_more, {vb:raw invitesleft}}</li>
</vb:if>
</ul>
</div>
</vb:if>
<vb:if condition="$show['picture_comment_block']">
<h3 class="blocksubhead">{vb:rawphrase pending_picture_comments}</h3>
<vb:if condition="$show['picture_comment_unread']">
<div class="blockrow floatcontainer">
<a href="album.php?{vb:raw session.sessionurl}do=unread" class="textcontrol inline">{vb:rawphrase view_unread_comments}</a>
{vb:rawphrase you_have_x_unread_picture_comments, {vb:raw bbuserinfo.pcunreadcount}}
</div>
</vb:if>
<vb:if condition="$show['picture_comment_moderated']">
<div class="blockrow floatcontainer">
<a href="album.php?{vb:raw session.sessionurl}do=moderated" class="textcontrol inline">{vb:rawphrase view_comments_awaiting_approval}</a>
{vb:rawphrase you_have_x_picture_comments_awaiting_approval, {vb:raw bbuserinfo.pcmoderatedcount}}
</div>
</vb:if>
</vb:if>
</div>
</div>
</vb:if>
{vb:raw template_hook.usercp_main_pos2}
<!-- ############## SUBSCRIBED THREADS ############## -->
<div class="block" id="new_subscribed_threads">
<h2 class="blockhead">{vb:rawphrase new_subscribed_threads}: ({vb:raw numthreads})</h2>
<vb:if condition="$show['threads']">
<ol class="blockbody settings_form_border" id="threadlist">
{vb:raw threadbits}
</ol>
<vb:else />
<div class="blockbody settings_form_border">
<div class="blockrow">
{vb:rawphrase no_subscribed_threads_to_display}
</div>
</div>
</vb:if>
<div class="blockfoot controlbar textpad">
<a class="textcontrol" href="{vb:link subscription, '', 'do=viewsubscription&folderid=all'}">{vb:rawphrase view_all_subscribed_threads}</a>
</div>
</div>
<!-- ############## END SUBSCRIBED THREADS ############## -->
{vb:raw template_hook.usercp_main_pos3}
<vb:if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ############## -->
<div class="block" id="new_subscribed_forums">
<h2 class="blockhead">{vb:rawphrase subscribed_forums}</h2>
<ol class="blockbody settings_form_border" id="forumlist">
{vb:raw forumbits}
</ol>
</div>
<!-- ############## END SUBSCRIBED FORUMS ############## -->
</vb:if>
<vb:if condition="$show['socialgroups']">
<!-- ############## SUBSCRIBED SOCIAL GROUPS ############## -->
<div class="block" id="new_subscribed_socialgroups">
<h2 class="blockhead">{vb:rawphrase subscribed_social_groups}: ({vb:raw numsocialgroups})</h2>
<ol class="blockbody settings_form_border" id="socialgrouplist">
{vb:raw grouplist}
</ol>
</div>
<!-- ############## END SUBSCRIBED SOCIAL GROUPS ############## -->
</vb:if>
<vb:if condition="$show['discussions']">
<!-- ############## SUBSCRIBED DISCUSSIONS ############## -->
<div class="block" id="new_subscribed_discussions">
<h2 class="blockhead">{vb:rawphrase new_subscribed_discussions}: ({vb:raw numdiscussions})</h2>
<vb:if condition="$numdiscussions">
<ol class="blockbody settings_form_border" id="discussionlist">
{vb:raw messagebits}
</ol>
<vb:else />
<div class="blockbody settings_form_border">
<div class="blockrow">
<strong>{vb:rawphrase no_subscribed_discussions_to_display}</strong>
</div>
</div>
</vb:if>
<div class="blockfoot controlbar textpad">
<a class="textcontrol" href="{vb:link groupsub}">{vb:rawphrase view_all_subscribed_discussions}</a>
</div>
</div>
<!-- ############## END SUBSCRIBED DISCUSSIONS ############## -->
</vb:if>
{vb:raw template_hook.usercp_main_pos4}
<vb:if condition="$show['infractions']">
<!-- ############## NEW INFRACTIONS ############## -->
<div class="block" id="latest_infractions">
<h2 class="blockhead">{vb:rawphrase latest_infractions_received} ({vb:rawphrase x_points_total, {vb:raw bbuserinfo.ipoints}})</h2>
<ol class="blockbody settings_form_border" id="infractionslist">
<vb:each from="infractionbits" value="infraction">
<li class="floatcontainer blockrow summaryinfo userinfraction {vb:raw infraction.card}" id="reputationbit_{vb:raw infraction.infractionid}_{vb:raw infraction.userid}">
<div class="userinfo">
<div class="datetime">{vb:raw infraction.dateline} <span class="time">{vb:raw infraction.timeline}</span></div>
<div class="user">
<a href="{vb:link member, {vb:raw infraction}, null, 'whoadded', 'username'}">{vb:raw infraction.username}</a>
</div>
</div>
<div class="iteminfo">
<div class="title">
<span class="shade">
<vb:if condition="$infraction['reversed']">
{vb:rawphrase reversed}:
<vb:elseif condition="$infraction['expired']" />
{vb:rawphrase expired}:
<vb:elseif condition="$infraction['neverexpires']" />
{vb:rawphrase permanent}:
<vb:else />
{vb:rawphrase expires} {vb:raw infraction.expires_dateline} <span class="time">{vb:raw infraction.expires_timeline}</span>:
</vb:if>
</span>
<vb:if condition="$infraction['postid']">
<vb:if condition="$infraction['postdeleted']">
{vb:rawphrase n_a}
<vb:elseif condition="$infraction['threadtitle']" />
<a href="{vb:link thread, {vb:raw infraction.threadinfo}, {vb:raw infraction.pageinfo}}#post{vb:raw infraction.postid}">{vb:raw infraction.title}</a>
<vb:else />
{vb:rawphrase private}
</vb:if>
<vb:else />
<vb:if condition="$infraction['points']">
{vb:rawphrase profile_infraction}
<vb:else />
{vb:rawphrase profile_warning}
</vb:if>
</vb:if>
</div>
<p class="comment">{vb:raw infraction.reason}</p>
</div>
</li>
</vb:each>
</ol>
<div class="blockfoot"> </div>
</div>
<!-- ############## END NEW INFRACTIONS ############## -->
</vb:if>
{vb:raw template_hook.usercp_main_pos5}
<vb:if condition="$show['reputation']">
<!-- ############## REPUTATION RECEIVED ############## -->
<div class="block" id="latest_reputation">
<a name="reprecv"></a>
<h2 class="blockhead">{vb:rawphrase latest_reputation_received} ({vb:rawphrase x_points_total, {vb:raw bbuserinfo.reputation}})</h2>
<ol class="blockbody settings_form_border reputationbits" id="reputationlist">
<vb:each from="repreceived" value="reputation">
<li class="floatcontainer blockrow summaryinfo {vb:raw reputation.posneg}" id="reputationbit_{vb:raw reputation.postid}_{vb:raw reputation.userid}">
<div class="userinfo">
<div class="datetime">{vb:raw reputation.dateline} , <span class="time">{vb:raw reputation.timeline}</span></div>
<vb:if condition="$vboptions['showuserraters']">
<div class="user">
<vb:if condition="$reputation['username']">
<a href="{vb:link member, {vb:raw reputation}, null, 'whoadded', 'username'}">{vb:raw reputation.username}</a>
<vb:else />
{vb:rawphrase n_a}
</vb:if>
</div>
</vb:if>
</div>
<div class="iteminfo">
<div class="title">
<span class="shade">{vb:rawphrase thread}:</span>
<vb:if condition="$reputation['title']">
<a class="smallfont" href="{vb:link thread, {vb:raw reputation.threadinfo}, {vb:raw reputation.pageinfo}}#post{vb:raw reputation.postid}">{vb:raw reputation.title}</a>
<vb:else />
{vb:rawphrase n_a}
</vb:if>
</div>
<p class="comment">{vb:raw reputation.reason}</p>
</div>
</li>
</vb:each>
</ol>
</div>
<!-- ############## END REPUTATION RECEIVED ############## -->
</vb:if>
<vb:if condition="$show['reputation_given']">
<!-- ############## REPUTATION GIVEN ############## -->
<div class="block" id="latest_reputation_given">
<a name="repgiven"></a>
<h2 class="blockhead">{vb:rawphrase latest_reputation_given} ({vb:rawphrase your_reputation_power, {vb:raw bbuserinfo.reppower}})</h2>
<ol class="blockbody settings_form_border reputationbits" id="reputationgivenlist">
<vb:each from="repgiven" value="reputation">
<li class="floatcontainer blockrow summaryinfo {vb:raw reputation.posneg}" id="reputationgivenbit_{vb:raw reputation.postid}_{vb:raw reputation.userid}">
{vb:raw reputation.template_hook}
<div class="userinfo">
<div class="datetime">{vb:raw reputation.dateline} <span class="time">{vb:raw reputation.timeline}</span></div>
<div class="user">
<vb:if condition="$reputation['username']">
<a href="{vb:link member, {vb:raw reputation}, null, 'userid', 'username'}">{vb:raw reputation.username}</a>
<vb:else />
{vb:rawphrase n_a}
</vb:if>
</div>
</div>
<div class="iteminfo">
<div class="title">
<span class="shade">{vb:rawphrase thread}:</span>
<vb:if condition="$reputation['title']">
<a class="smallfont" href="{vb:link thread, {vb:raw reputation.threadinfo}, {vb:raw reputation.postinfo}}#post{vb:raw reputation.postid}">{vb:raw reputation.title}</a>
<vb:else />
{vb:rawphrase n_a}
</vb:if>
</div>
<p class="comment">{vb:raw reputation.reason}</p>
</div>
</li>
</vb:each>
</ol>
</div>
<!-- ############## END REPUTATION GIVEN ############## -->
</vb:if>
{vb:raw template_hook.usercp_main_pos6}
{vb:raw forumjump}
<script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.