vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Extended Reputation Display (https://vborg.vbsupport.ru/showthread.php?t=231876)

Paul M 03-13-2010 12:41 PM

Just a minor change to the installation code, so nothing for anyone who has it installed to worry about.

sung 03-14-2010 11:24 PM

Quote:

Originally Posted by New Joe (Post 1975748)
After installing this I noticed when you place your mouse over the repo green dots it doesn't say the little sayings any more ", it just shows as "reputation"


Here's the changes you need to make to get them back.

Quote:

Originally Posted by Paul M
Quote:

Originally Posted by sung
I altered the plugins and templates slightly to allow for displaying the alternate text, would you like the changes to incorporate into the mod?

If not can I post my changes in the thread for the mod so that others can use them if they want?

So that we're not sending PMs back and forth here are the changes:

Changed postbit_reputation_erd to match the default postbit_reputation (I'm not sure if this negates the need for the custom template or not?), namely the alt tag.

OLD:
Code:

alt="{vb:phrase reputation}"
NEW:
Code:

alt="{vb:raw post.username} {vb:raw post.level}"

Changed the following plugin: Extended Reputation Display (3) reputation_image

OLD:
PHP Code:

if ($vbulletin->options['erdenable'])
{
    if (
$posneg <> 'off')
    {
        
$repval $post['reputation'];    
        
$post['reputationdisplay'] = ($vbulletin->options['legacypostbit'] ? '<br/>' '' );

        if (!
$post['reputationlevelid'])
        {
            
$post['level'] = $vbulletin->options['reputationundefined'];
        }

        
$erdxv = ($vbulletin->options['erdav'] * $vbulletin->options['erdac']) + 
        (
$vbulletin->options['erdbv'] * $vbulletin->options['erdbc']) + 
        (
$vbulletin->options['erdcv'] * $vbulletin->options['erdcc']) ;

        
$erdyv $erdxv $vbulletin->options['erdsl'];
        
$erdzv $erdyv $vbulletin->options['erdsl'];
        
$erdxc $erdyc $erdzc $vbulletin->options['erdsl'];

        
$templater vB_Template::create('postbit_reputation_erd');

        
$stars false


NEW:
PHP Code:

if ($vbulletin->options['erdenable'])
{
        if (!
$post['showreputation'] AND $perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canhiderep'])
        {
        
$posneg 'off';
        
$post['level'] = $vbphrase['reputation_disabled'];

        
$templater vB_Template::create('postbit_reputation_erd');
            
$templater->register('posneg'$posneg);
            
$templater->register('post'$post);
        
$post['reputationdisplay'] = $templater->render();
    }
        else
    {
        
$repval $post['reputation'];
        
$post['level'] = $vbphrase['reputation' $post['reputationlevelid']];
        
$post['reputationdisplay'] = ($vbulletin->options['legacypostbit'] ? '<br/>' '' );

        if (!
$post['reputationlevelid'])
        {
            
$post['level'] = $vbulletin->options['reputationundefined'];
        }

        
$erdxv = ($vbulletin->options['erdav'] * $vbulletin->options['erdac']) + 
        (
$vbulletin->options['erdbv'] * $vbulletin->options['erdbc']) + 
        (
$vbulletin->options['erdcv'] * $vbulletin->options['erdcc']) ;

        
$erdyv $erdxv $vbulletin->options['erdsl'];
        
$erdzv $erdyv $vbulletin->options['erdsl'];
        
$erdxc $erdyc $erdzc $vbulletin->options['erdsl'];

        
$templater vB_Template::create('postbit_reputation_erd');
            
$templater->register('post'$post);

        
$stars false


The rest of the code below that line remains unaltered.

Hi.

You are free to post your changes if you wish - however, I took the alt text out deliberately, so I wont be putting it back :)

Cheers, Paul.

I'm not supporting this in any way, so if you have problems uninstall and reinstall the mod so you have a fresh installation.

Argyle 03-16-2010 10:23 AM

Quote:

Originally Posted by sung (Post 2003766)
Here's the changes you need to make to get them back.

Works for me. Thanks!

(and thanks again to Paul for the product)

-=Leb=- 03-16-2010 11:27 PM

thx for the good work :)

Professional2 03-17-2010 06:16 AM

will it work on 4.0.2?

Paul M 03-17-2010 12:29 PM

Yes ;

Quote:

vB Version: 4.0.x

Professional2 03-17-2010 01:21 PM

but i copied the images and imported it ,i don't know why it does'n work:
http://www.mobile4persian.com/forum/

Paul M 03-17-2010 08:42 PM

What makes you think it isnt working ?

Dr.osamA 03-18-2010 07:45 PM

thanxxxx

installed

FaiSao_963 03-21-2010 11:29 PM

Translated into Arabic

Thanks,

Professional2 03-22-2010 06:24 AM

Quote:

Originally Posted by Paul M (Post 2005738)
What makes you think it isnt working ?

becuase it isn't as same as the picture in attachment

buiquockhanh 03-22-2010 10:22 AM

not work in 4.0.2

Paul M 03-22-2010 11:20 AM

Quote:

Originally Posted by Professional2 (Post 2007958)
becuase it isn't as same as the picture in attachment

Do you actually have members with big enough reputation values ?

Quote:

Originally Posted by buiquockhanh (Post 2008034)
not work in 4.0.2

Yes it does. Please dont make statements without any information to support them.

Professional2 03-22-2010 11:24 AM

because i have converted it recently no,is there any way to give big reputation for e.g to myself?

buiquockhanh 03-22-2010 11:41 AM

do you fix the 4.0.2? :(

Popa Andrei 03-22-2010 02:10 PM

Quote:

Originally Posted by buiquockhanh (Post 2008034)
not work in 4.0.2

bullsheet....
It works.Dont make statements without any prove...

buiquockhanh 03-22-2010 03:31 PM

it isn't in user profile

Paul M 03-22-2010 06:33 PM

Correct.

vb4 doesnt display your reputation in the user profile.

In future, please check your facts before making false statements.

AlfaRomeoPortal 03-26-2010 03:57 PM

Its working great, thx mate!

Da-Vinci 03-26-2010 10:11 PM

Installed working perfect for me on 4.0.2 PL2

https://vborg.vbsupport.ru/

Here are my stars if anybody want's to use them.

http://www.nzb-forum.com/images/repu...on_redstar.gif
http://www.nzb-forum.com/images/repu...bronzestar.gif
http://www.nzb-forum.com/images/repu...silverstar.gif
http://www.nzb-forum.com/images/repu...n_goldstar.gif

Paul M 03-27-2010 09:26 AM

Do you mind if I use them ? They look better than the current ones.

hoadiem 04-25-2010 10:24 PM

great , easy to install, marked as installed

docvader 05-01-2010 01:36 PM

Are these latest stars on a white background, instead of transparent? That's going to wreak havoc on people's boards that have dark styles.

But other than that, as usual Paul, great stuff.

Paul M 05-01-2010 08:31 PM

What stars are you referring to ?

The supplied ones are transparent.

AliceHoward 05-02-2010 06:45 AM

Thank you for this, what a great idea.

I have made my own graphics for our site, a set for light styles and a set for dark styles, I will share them here for any one who might want to use them.

Attachment 116578
Attachment 116579

Attachment 116580
Attachment 116581

Paul M 05-02-2010 11:15 AM

Thank you for sharing. :)

docvader 05-03-2010 05:57 PM

My mistake Paul. Was looking at them in Windows paint and it looked like it had a nontransparent background.

dxds 05-20-2010 10:03 PM

This don't work for me.. it just shows the word reputation over and over were rep bars are... whats my problem?... www.aogamers.com i dont have it activated but this is my forum and version is on the site...

Paul M 05-21-2010 10:33 AM

Quote:

Originally Posted by dxds (Post 2040816)
This don't work for me.. it just shows the word reputation over and over were rep bars are... whats my problem?... www.aogamers.com i dont have it activated but this is my forum and version is on the site...

Sounds like you havent uploaded the images to the correct place.

Skyrider 05-25-2010 01:46 PM

I installed this, but it shows numbers instead of the green/colored bar:

Rep Power: 3

Any idea how to solve this?

Paul M 05-25-2010 03:36 PM

Nope, this cannot display numbers, nor does it display Rep Power.

Skyrider 05-25-2010 04:34 PM

Quote:

Originally Posted by Paul M (Post 2043222)
Nope, this cannot display numbers, nor does it display Rep Power.

Regardless, it doesn't show any new bar.

Reputation: 31

Numbers :-\.

Example:
http://forum.esforces.com/threads/77...777#post976777

Paul M 05-25-2010 08:49 PM

I would guess that either you have disabled the display of reputation, or you have edited the template in some way.

Fraxter 07-17-2010 10:56 PM

The addon don't display the tooltips from the rep ranks if i go with my mouse over the reputation display. :(

Would be awesome if you could fix that paul. :)

Paul M 07-18-2010 01:34 PM

I wont be fixing it as its not broken - its by design. I dont use them and find them a complete waste of time.

If you want them then I believe if you look back to post #42, someone posted the changes required.

Fraxter 07-18-2010 02:45 PM

Ok, thanks for your reply. :)

hendri 07-24-2010 02:32 PM

Quote:

Originally Posted by Paul M (Post 1984140)
{vb:var post.reputation} I would guess.

THANK YOU !!!

USE THIS CODE :

Code:

<div>Rep Point    : {vb:var post.reputation}<div>
PUT INSIDE POSTBIT / LEGACY

AFTER
Code:

<vb:if condition="$show['reputation']">

RobbieZ 08-09-2010 03:06 PM

Quote:

Originally Posted by Da-Vinci (Post 2010815)
Installed working perfect for me on 4.0.2 PL2

http://www.hostmypics.org/pictures/a...1b8fd5f417.png


Hi..

I noticed in the image above that there is a white space between the stars and the top of the border box.

Obviously you cant see it in default (ie not using the div class)

Is there anyway to remove it?

Please dont say its just me >_<

Ta.

RobbieZ 08-24-2010 04:14 PM

Bump please

Paul M 08-24-2010 06:39 PM

No idea - but those are not the stars I supply, so maybe its something to do with them.


All times are GMT. The time now is 01:01 PM.

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.01648 seconds
  • Memory Usage 1,856KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete