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 08-30-2014 02:18 PM

Oh, I guess I didnt read all your message properly.

The previous bug to which you referred was to do with the horizontal postbit, not private messages or the user profile.
The private messages would be a bug (one that no one else has ever mentioned). The user profile is by design.

Due to the way the user profile works, it ignores newlines, and getting round that would require some css tricks which is just not practical for me to spend time on.

Buzzle 10-30-2014 09:54 AM

Quote:

Originally Posted by Paul M (Post 2513075)
I'm not sure what the connection is to this mod ? but nope, I dont know

Any idea where I can remove it?

Elite_360_ 03-08-2015 04:42 AM

Quote:

Originally Posted by Hex_legend (Post 2513102)
Thanks for your time, but no luck for me :(

On the user's profile and the PMs the "Newline Setting" is still not working, so the pips are starting right after the stars and not on a new/separate line.

Quote:

Originally Posted by Paul M (Post 2513127)
css tricks which is just not practical for me to spend time on.

I have a fix for Profile and PM's

Step 1. Edit Template custom_erd.css and replace all CSS code.

Code:

img.repimg {
        margin-left: -1px;
        float: none !important; /* Used for Member profile since float left is used on images */
}

img.repimg.erdstar {
        padding-right: 5px;
}

img.repimg.erdpostbit {
        margin-bottom: 5px;
}

img.repimg.erdmember {
        margin-top: 5px;
        float: none !important; /* Float left is used on images */
        vertical-align: text-bottom !important; /* If you have custom images that are not the same size for pips */
}


Step 2. Go To Plugins & Products > Plugin Manager > Extended reputation display > And Edit Hook "parse_templates"

Find this.

Code:

if (in_array(THIS_SCRIPT, array('memberlist','showthread','member')))

Replace with this.

Code:

if (in_array(THIS_SCRIPT, array('memberlist','showthread','member','private')))

Step 3. Still in Plugin Manager (Plugin System) Edit Hook "reputation_image"

Find this.

Code:

$newline = (THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'memberlist');

Replace with this.

Code:

$newline = (THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'memberlist' OR THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'private');

Now find this.

Code:

                        if (THIS_SCRIPT == 'showthread'
                        AND !$vbulletin->options['legacypostbit'])


Replace with this.

Code:

                        if (THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'private'
                        AND !$vbulletin->options['legacypostbit'])


Hex_legend 03-25-2015 04:46 AM

Thanks a lot for the fix Elite_360 but it worked out only for the PMs.

Unfortunately the bug still exists on the profiles and the the "Newline Setting" is still not working, so the pips are starting right after the stars and not on a new/separate line.

Since you have fixed the PMs i am sure it won't be that hard to fix the profiles as well though! I just hope you will find some time to spend on this project, because you are already busy with your own plugins :)

Hex_legend 06-18-2015 03:46 PM

Quote:

Originally Posted by Hex_legend (Post 2541458)
Thanks a lot for the fix Elite_360 but it worked out only for the PMs.

Unfortunately the bug still exists on the profiles and the the "Newline Setting" is still not working, so the pips are starting right after the stars and not on a new/separate line.

Since you have fixed the PMs i am sure it won't be that hard to fix the profiles as well though! I just hope you will find some time to spend on this project, because you are already busy with your own plugins :)

Ignore this message guys!

I just cleared the cache on my browser and the profiles look as they should now.

So Elite_360's fix is working fine :)

Mangahaven 08-06-2015 05:47 PM

I'm not sure if I uploaded it wrong, or not, but I'm seeing an issue with the images here.(The red & green blocks aren't showing up). They show up in the postbit & user profiles though.

See below screencpas for reference.

https://i.gyazo.com/222bb7b997b1bb1c...6cfabd67e1.png

https://i.gyazo.com/1c292db9e5c4e35c...81a4f9473d.png

vBulletin 4.2.2

Any tips or fixes?:confused:

Mangahaven 08-08-2015 12:53 AM

Can anyone help me?

Paul M 08-11-2015 06:38 PM

Does it work ok in a default style ?

Elite_360_ 08-12-2015 07:42 PM

Quote:

Originally Posted by Mangahaven (Post 2552265)
I'm not sure if I uploaded it wrong, or not, but I'm seeing an issue with the images here.(The red & green blocks aren't showing up). They show up in the postbit & user profiles though.

See below screencpas for reference.

https://i.gyazo.com/222bb7b997b1bb1c...6cfabd67e1.png

https://i.gyazo.com/1c292db9e5c4e35c...81a4f9473d.png

vBulletin 4.2.2

Any tips or fixes?:confused:

This mod only works where reputation show's and i think reputation only show up in postbit, user profiles, memberlist (if enabled in VB options) and pm's. I don't think the pips show's in reputation given.

Paul M 08-14-2015 02:33 PM

They (pips) should show in the usercp (given & received lists) by default, not as part of this mod.


All times are GMT. The time now is 05:43 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.01498 seconds
  • Memory Usage 1,750KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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