Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Top xx Reputation Forum Home Details »»
Top xx Reputation Forum Home
Version: 1.01, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.8 Rating:
Released: 06-07-2006 Last Update: Never Installs: 78
Uses Plugins
 
No support by the author.

Top xx Reputation Forum Home

(Mini Hack)

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-toprep.xml' from your computer then press 'Import'

1.0.0 Initial Version.
1.0.1 Vb.3.6.0 B1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-02-2007, 06:50 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do we enable it to display column by column in the sidebar in forumhome?Thanks
Reply With Quote
  #23  
Old 09-11-2007, 03:27 PM
TigerWare TigerWare is offline
 
Join Date: Feb 2007
Location: England, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TigerWare View Post
I'd like to add my voice to adding a collapse option too, just to make it consistent with the other tables there.

Hope you don't mind Atakan KOC, but I made a modification to your template FORUMHOME_toprep, which allows the table to be collapsable like the others. Please feel free to steal this slight alteration. :up:

Your current html:-
HTML Code:
<tbody>
  <tr><td class="thead" colspan="2">
      $vbphrase[tr_popular]
  </td></tr>
</tbody>
<tbody>
  <tr>
    <td class="alt2"><a href="memberlist.php">
      <img src="$stylevar[imgdir_misc]/stats.gif" alt="" border="0" />
    </td>
    <td class="alt1" width="100%">
      <div class="smallfont">$sonuclaryaz</div>
    </td>
  </tr>
</tbody>
Changed to this:-
HTML Code:
<thead>
  <tr><td class="thead" colspan="2">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('topxxxreputation')"><img id="collapseimg_topxxxreputation" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_topxxxreputation].gif" alt="" border="0" /></a>
    $vbphrase[tr_popular]
  </td></tr>
</thead>
<tbody id="collapseobj_topxxxreputation" style="$vbcollapse[collapseobj_topxxxreputation]">
  <tr>
    <td class="alt2"><a href="memberlist.php">
      <img src="$stylevar[imgdir_misc]/stats.gif" alt="" border="0" />
    </td>
    <td class="alt1" width="100%">
      <div class="smallfont">$sonuclaryaz</div>
    </td>
  </tr>
</tbody>
Reply With Quote
  #24  
Old 09-27-2007, 06:33 AM
adom7's Avatar
adom7 adom7 is offline
 
Join Date: Aug 2007
Location: Turkiye / Antalya
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job! Thanks, install.
Is it possible to add more users for it ? not 5 but 10?
I'd also like to add my voice to adding a collapse option too, just to make it consistent with the other tables there.

teşekk?rler atakan bey,
?ye listesini 5 yerine 10 yapma ya da dahası i?in bir alternatif d?ş?nebilinir mi?
yukarıda biri daha s?ylemiş, kişisel tercihe g?re column acma kapama fonksiyonu olması m?mk?n m??

-y?klendi-
Reply With Quote
  #25  
Old 09-30-2007, 04:58 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your Admincp,under Products & Plug-Ins,under Product:Top Reputation Forum Home,edit the Top xx Reputation Forum Home under Hook Location - forumhome_start ,find

Code:
$adet<10)
Edit both same values in the plug-in that you want to display as the top reputation.

To remove the extra comma at the last member,find

Code:
$sonuclaryaz .= "<a href=\"member.php?u=".$getrep['userid']."\">".$getrep['username']."</a> (".$getrep['reputation'].") , ";
Remove the comma in red
Reply With Quote
  #26  
Old 10-12-2007, 09:35 AM
katilkuzu's Avatar
katilkuzu katilkuzu is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job dude.
Reply With Quote
  #27  
Old 10-12-2007, 10:15 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is an updated xml file that fixes some bugs and also allows the box to be collapsed
Reply With Quote
  #28  
Old 03-20-2008, 11:04 PM
VIPER-MAN VIPER-MAN is offline
 
Join Date: Jul 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know if this works in 3.7 RCx?
Reply With Quote
  #29  
Old 04-16-2008, 09:12 PM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone tell me how I can't exclude admins from this top stats?
Reply With Quote
  #30  
Old 06-11-2008, 05:08 PM
VIPER-MAN VIPER-MAN is offline
 
Join Date: Jul 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI -- this works on my 3.7.1 install ... and even was able to modify the code to exclude admin's from the Top Rep list.
Reply With Quote
  #31  
Old 06-11-2008, 05:11 PM
VIPER-MAN VIPER-MAN is offline
 
Join Date: Jul 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anwar.abdullakh View Post
can anyone tell me how I can't exclude admins from this top stats?
I did this by modifying the code (AdminCP - Plugin Manager) select "Top XXX" and append a WHERE clause to the SQL statement.

My statement now reads:

$db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid <> 1 ORDER BY reputation DESC LIMIT 0, $adet");

This omits the main admin user. As for all admins, you'd have to exclude the usergroup, vs the userid.

Good luck.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09 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.04560 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete