vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Enhanced Reputation Given Checks (https://vborg.vbsupport.ru/showthread.php?t=101841)

kafi 09-26-2006 10:51 AM

Very usefull hack!!! Good Job!

Feature REQUEST .-) : - can you adopt changes so that users will get per Forum (groups) rep. points?
Example:

WEBDESIGN SITE FORUM will have these forums>
Photoshop Forums, Corel Forums, CSS Forums, PHP Forums .... so that we can specify which topic is user's best field of interest and profesionalism...

Paul M 09-26-2006 06:50 PM

That sounds like a very specific change for you, not something the majority need.

Anyway, there are no changes planned to this (esp as it's a 3.5 mod). Atm there are not even any plans to upgrade it to 3.6 as this will work on 3.6 as is.

Antivirus 09-27-2006 01:38 AM

Nice job Paul, it's great to see some added features for Reputation! In my opinion (along with User Notes), it's one of the often overlooked and features of vb. Nice to see an add-on for it.

kafi 09-29-2006 07:25 PM

Quote:

Originally Posted by Paul M
That sounds like a very specific change for you, not something the majority need.

Anyway, there are no changes planned to this (esp as it's a 3.5 mod). Atm there are not even any plans to upgrade it to 3.6 as this will work on 3.6 as is.

I think chart with reputation given per forum would be usefull also for others. Your hack is very close to this. If you search vb.org there are some requests for this...

My community beg for it, but I am not a coder :-(

zylstra 10-09-2006 05:21 PM

I want to show reputation links only for the forums in which reputation votes count, so I used the following code in the postbit template
Code:

        <if condition="$vboptions[noreplist]">
        <else />
                <if condition="$show['reputationlink']">
                        Rep Link
                </if>
        </if>

but it didn't work. Any ideas on how to implement this?

Paul M 10-09-2006 07:19 PM

It's not as easy as that - you would need to add another plugin to the hack to check if the forum you are in allows reputation.

zylstra 10-09-2006 08:01 PM

Thanks, Paul. I think I figured it out. I hooked
Code:

// No Reputation Link //
$flist = explode(',',$vbulletin->options['noreplist']); 
$show['ratablelink'] = (!in_array($threadinfo['forumid'],$flist)) ? true : false;

into showthread_getinfo.

Then I put
Code:

        <if condition="$show['ratablelink']">
                <if condition="$show['reputationlink']">
                        Rep Link
                </if>
        </if>

into the postbit template.

Paul M 10-09-2006 08:48 PM

Excellent :cool:

imranbaig 10-27-2006 04:13 PM

does this work with 3.62?

Paul M 10-27-2006 06:43 PM

Look up a few posts ;)


All times are GMT. The time now is 01:29 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.01120 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_code_printable
  • (1)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
  • (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