Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2012, 05:53 AM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User CP - Reputation

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:
Quote:
9/4/2012, 6:37 PM
Reply With Quote
  #2  
Old 09-05-2012, 05:10 PM
hazem_aliraqi's Avatar
hazem_aliraqi hazem_aliraqi is offline
 
Join Date: Oct 2010
Location: iraq
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the template is USERCP


find


PHP Code:
<div class="datetime">{vb:raw reputation.dateline} <span class="time">{vb:raw reputation.timeline}</span></div
It's part of this

PHP Code:
<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


PHP Code:
<div class="datetime">{vb:raw reputation.dateline}  , <span class="time">{vb:raw reputation.timeline}</span></div



or you can use this template USERCP


PHP Code:
{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>
                    <
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">
                <
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><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">
                <
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">
                <
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">
        <
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">
        <
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>
                    <
class="comment">{vb:raw infraction.reason}</p>
                </
div>
            </
li>
        </
vb:each>
    </
ol>
    <
div class="blockfoot">&nbsp;</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']">
                            <
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>
                    <
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']">
                            <
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>
                    <
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


Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03835 seconds
  • Memory Usage 2,399KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete