vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=232684)

creative-friend 08-20-2017 05:37 PM

Quote:

Originally Posted by Coder2016 (Post 2589481)
Hi,

I have version vb 4.2.5

Does anyone know if this mod runs on php 7.1?

Yes
its work fine on vb 4.2.5, php (7.1.5 and 7.1.8).

Coder2016 08-20-2017 07:05 PM

Many thanks creative-friend.

Coder2016 08-21-2017 11:04 AM

Hi

I installed this today with me.

I have the setting Do you want a link to the awards displayed in the navigation bar? To YES.

But there is no link in the navigation.

What could be the error? Many Thanks

squidsk 08-21-2017 08:53 PM

Quote:

Originally Posted by Coder2016 (Post 2589500)
Hi

I installed this today with me.

I have the setting Do you want a link to the awards displayed in the navigation bar? To YES.

But there is no link in the navigation.

What could be the error? Many Thanks

That setting is for vb <4.2. The mod as it currently stands does not have a nav item for vb 4.2+ and you will have to create that manually.

Coder2016 08-21-2017 10:59 PM

Ok thanks for the Info.

Crotan 09-14-2017 04:06 AM

hmm tracking down HTTPS mixed content. The URL's to the awards switch HTTPS by simply changing the sitename URL, but the images them selves still seem to be hardcoded to HTTP in the postbit.

Code:

<!-- show awards -->
<vb:if condition="$post[showuserawards]">
<div class="awards_postbit_style3 yaas_postbit">
        <div class="awards_showcase_awarddisplay">{vb:raw post.userawards}</div>
</div>
</vb:if>
<!-- /show awards -->

Was expecting some hardcoded src=http:// type stuff here, but got anything ideas for postbit https goodness?

TiKu 09-14-2017 04:58 AM

Don't you specify the complete URLs in the award settings? There you can use protocol relative URLs, i.e. just //mydomain instead of http://mydomain or https://mydomain.

squidsk 09-14-2017 01:59 PM

Quote:

Originally Posted by Crotan (Post 2589876)
hmm tracking down HTTPS mixed content. The URL's to the awards switch HTTPS by simply changing the sitename URL, but the images them selves still seem to be hardcoded to HTTP in the postbit.

Code:

<!-- show awards -->
<vb:if condition="$post[showuserawards]">
<div class="awards_postbit_style3 yaas_postbit">
        <div class="awards_showcase_awarddisplay">{vb:raw post.userawards}</div>
</div>
</vb:if>
<!-- /show awards -->

Was expecting some hardcoded src=http:// type stuff here, but got anything ideas for postbit https goodness?

You've got the protocol listed in the award settings, for image and likely icon, for the awards. You'll have to change them either to a relative url or a protocol neutral url. Actually I'm not sure protocol neutral will work with the way that the code is written at the moment as that will cause problems in PMs and emails with award images.

TiKu 09-14-2017 03:16 PM

Quote:

Originally Posted by squidsk (Post 2589880)
Actually I'm not sure protocol neutral will work with the way that the code is written at the moment as that will cause problems in PMs and emails with award images.

I use it this way and so far noone did complain about anything.

Crotan 09-14-2017 06:07 PM

Quote:

Originally Posted by TiKu (Post 2589883)
I use it this way and so far noone did complain about anything.

I guess it was wishful thinking that there would be a style template to fix them all at once :P

I've updated each individual award path with the natural // and that fixes the mixed content. Will have to see how that appears in PMs.

Thanks!


All times are GMT. The time now is 01:31 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.06381 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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