Results 1 to 11 of 11

Thread: Show Reputation

  1. #1

    Default Show Reputation

    Is no longer showing after the newest vb4.1.8 update..

    this was 4.1.7 postbit legacy reputation code.
    Code:
    <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
    			</vb:if>
    it was changed to this for 4.1.8.
    Code:
    <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
    					<vb:each from="reputationdisplay" value="row">
    						<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
    					</vb:each>
    				</span>
    vBadvanced CMP 4.1.2 reputation code .
    Code:
    <vb:if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
    						<div style="float:{vb:stylevar right}">
    						<vb:if condition="$bbuserinfo['reputationdisplay']">
    							{vb:rawphrase rep_power}: {vb:raw reppower}
    							<div align="{vb:stylevar right}" style="padding-bottom:{vb:stylevar cellpadding}px">{vb:raw bbuserinfo.reputationdisplay}</div>
    thanks for any help on this matter..

    Hippy
    Backup Backup Backup.. Thats all I can say

  2. #2
    Join Date
    Jan 2010
    Posts
    14

    Post

    Quote Originally Posted by r_hippy View Post
    Is no longer showing after the newest vb4.1.8 update..

    this was 4.1.7 postbit legacy reputation code.
    Code:
    <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
    			</vb:if>
    it was changed to this for 4.1.8.
    Code:
    <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
    					<vb:each from="reputationdisplay" value="row">
    						<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
    					</vb:each>
    				</span>
    vBadvanced CMP 4.1.2 reputation code .
    Code:
    <vb:if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
    						<div style="float:{vb:stylevar right}">
    						<vb:if condition="$bbuserinfo['reputationdisplay']">
    							{vb:rawphrase rep_power}: {vb:raw reppower}
    							<div align="{vb:stylevar right}" style="padding-bottom:{vb:stylevar cellpadding}px">{vb:raw bbuserinfo.reputationdisplay}</div>
    thanks for any help on this matter..

    Hippy
    just like i post it heres a picture with the red arrow pointing at it and did try default no parent same issue so its not the styles i got since they styles seamus did get upgrade it as well to 4.1.8
    Attachment 6360

  3. #3
    Join Date
    Sep 2010
    Posts
    3

    Default not show the reputation icon

    After upgrade from 4.1.7 --> 4.1.8 in my forum does not show the reputation icon on "Welcome Block" CMPS v4.1.2.
    Templates Used :adv_portal_welcomeblock_lean, adv_portal_welcomeblock_expanded, postbit_reputation.

    From vb 4.1.8 the postbit_reputation template no longer exists.
    https://www.vbulletin.com/forum/entr...Bulletin-4-1-8

    How changed welcomeblock.php and adv_portal_welcomeblock_expanded in CMPS v4.1.2 for vb 4.1.8??

    =================
    For show rank in "Welcome Block" changed in /modules/welcomeblock.php
    Code:
     $vbulletin->userinfo['rank'] = str_replace('src="', 'src="' . $vbulletin->options['bburl'] . '/', $vbulletin->userinfo['rank']);
    to
    Code:
    $vbulletin->userinfo['rank'] = str_replace('src="', 'src="', $vbulletin->userinfo['rank']);
    Last edited by POL_ED; 11-24-2011 at 10:27 PM.

  4. #4

    Default

    not sure about the fix you posted but reputation still showing a Array
    Backup Backup Backup.. Thats all I can say

  5. #5
    Join Date
    Jan 2010
    Posts
    14

    Default

    Quote Originally Posted by r_hippy View Post
    not sure about the fix you posted but reputation still showing a Array
    Same here that seems to be for rank we need Reputation fix not rank.

  6. #6

    Default

    We need ya Brian..

    thanks
    Backup Backup Backup.. Thats all I can say

  7. #7
    Join Date
    Nov 2011
    Posts
    1

    Default

    I have the same issue, I tried the suggested fix and it did not correct the problem.

  8. #8
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Thank you for pointing this out. I've just applied the fix to the forum/modules/welcomeblock.php file in the download package here, so if you will download the files from here again and update that one on your server, that should take care of the issue. Or if you would rather apply the fix manually, just look in the file for this code:
    PHP Code:
    if ($mod_options['portal_welcome_rank']) 
    And add this just Above it:
    PHP Code:
        if ($vbulletin->options['simpleversion'] >= 418)
        {
            
    $repimage '';
            foreach (
    $vbulletin->userinfo['reputationdisplay'] AS $rep)
            {
                
    $repimage .= '<img class="' $rep['class'] . '" src="' $vbulletin->stylevars['imgdir_reputation']['imagedir'] . '/reputation_' $rep['posneg'] . $rep['imgext'] . '" alt="" />' $rep['rowend'];
            }
            
    $vbulletin->userinfo['reputationdisplay'] = $repimage;
        } 
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  9. #9
    Join Date
    Sep 2010
    Posts
    3

    Default

    Thank you Brian.
    Icons rep vba 4.1.2 with vb 4.1.8 are now in place.

  10. #10

    Default

    once again thanks Brian..
    Backup Backup Backup.. Thats all I can say

  11. #11
    Join Date
    Jan 2010
    Posts
    14

    Smile

    Thanks Brian.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reputation Problem...
    By natecoupons in forum Troubleshooting & Problems
    Replies: 4
    Last Post: 01-10-2009, 02:14 AM
  2. New Reputation Comments
    By divided_by_fear in forum "How Do I..." Questions
    Replies: 5
    Last Post: 05-26-2006, 11:22 PM
  3. Need Help :Top (10) Reputation Module
    By f22s in forum "How Do I..." Questions
    Replies: 1
    Last Post: 02-11-2006, 04:01 PM
  4. Top (10) Reputation Module
    By Acido in forum Add-On Modules & Modifications
    Replies: 45
    Last Post: 08-27-2005, 12:16 AM
  5. Top reputation in stats
    By armkbdotcom in forum Add-On Modules & Modifications
    Replies: 0
    Last Post: 08-04-2004, 06:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •