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 - [DBTech] vBActivity & Awards v3 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=236973)

RedTrinity 08-11-2010 02:43 AM

1 Attachment(s)
Hi DB Tech,

I would like to have the postbit stats listed in a different place to "below post count" on postbit profiles, as they are currently conflicting with the placement of another hack. But it's the only checkbox currently available in the settings?

Quote:

The following template hooks need to be present in the postbit and/or postbit_legacy template(s) in order for its respective checkbox to work as intended:

* Below Rank: postbit_userinfo_left
* Below Post Count: postbit_userinfo_right_after_posts
* Below Reputation: postbit_userinfo_right
* Before Signature: postbit_signature_start
* After Signature: postbit_signature_end
All the other mentioned hooks are intact, so I am not sure why the other placement options are not displaying. Otherwise, I'd appreciate some direction into how to do it manually.

Thanks in advance for your help :)

DragonByte Tech 08-11-2010 11:19 AM

The other options had to be removed because it proved impossible to successfully support multiple placements (which all require different html tag wrappers) on multiple skins across multiple vB versions.

You can use the following variables to manually place various components:
PHP Code:

$vbactivity_postbit['activitystat']

$vbactivity_postbit['achievement']

$vbactivity_postbit['medal'

Please note that at this point in time, the collapse menus are not supported with manual placement enabled.


Fillip

RedTrinity 08-12-2010 10:48 PM

Quote:

Originally Posted by DragonByte Tech (Post 2082109)
You can use the following variables to manually place various components:
PHP Code:

$vbactivity_postbit['activitystat']

$vbactivity_postbit['achievement']

$vbactivity_postbit['medal'


Hi Filip, could you please tell me in what file I need add these variables? I tried in postbit_legacy but they didn't work, so I'm assuming they need to go somewhere else.

Thanks :)

DragonByte Tech 08-12-2010 11:10 PM

They need to go in that template, yeah.

vB4 templates need you to add it like so:
{vb:raw vbactivity_postbit.activitystat}
and so on.

Please be advised that this is currently untested and unsupported functionality.

Fillip

RedTrinity 08-13-2010 12:02 AM

Quote:

Originally Posted by DragonByte Tech (Post 2082961)
vB4 templates need you to add it like so:
{vb:raw vbactivity_postbit.activitystat}
and so on.


Ahh. Got it. Thanks :) Awesome feature, btw :D Its like VBexperience and the award/medal mod in one, so I ditched both in favour of this.

Keep up the good work :up:

RedTrinity 08-13-2010 01:23 AM

Sorry, got one more question... is it possible to assign a non-admin to be able to give out awards? If so, how? One of our moderators had the responsibility with YAAS, which she would like to continue doing.

Thanks in advance :)

GONUMBER6 08-14-2010 02:27 PM

Hi Fillip,

Ever since I installed the new version, for some reason it is showing more than my set amount of achievements in postbit- but only for some users. Not all in same usergroup. I have noticed 1 admin and 1 moderator are showing 6 achievements instead of the set amount (4). Weird huh?

Also, under the "Activity", how do I get rid of it showing 300+ pages of activity? I think this will get rather annoying after it reaches 1000+ pages!

https://vborg.vbsupport.ru/external/2010/08/38.jpg

DragonByte Tech 08-14-2010 02:52 PM

Maybe you had one or more Achievement set as Sticky, they ignore the normal counter IIRC.

Fillip

GONUMBER6 08-14-2010 06:17 PM

Quote:

Originally Posted by DragonByte Tech (Post 2083767)
Maybe you had one or more Achievement set as Sticky, they ignore the normal counter IIRC.


Fillip

Yep, that is what it was, thanks!

Any thoughts on the activity feed to be less pages shown on your next version?

DragonByte Tech 08-14-2010 06:29 PM

That's not something we can control. Did you customise the templates that control pagination? Try it with a fresh style.

Fillip


All times are GMT. The time now is 02:19 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.05679 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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