vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - My Popular Threads on UserCP (https://vborg.vbsupport.ru/showthread.php?t=185739)

Madlike 07-18-2008 10:00 PM

My Popular Threads on UserCP
 
My Popular Threads on UserCP

This mod will add "My Popular Threads" on UserCP.

Features:

*My Popular Threads (Order by replycount or views)

Modification:

Templates: 1
Plugins: 2
Settings: 3
Phreases: 11

Known Bugs:

- None ! :)

Installation:

Step 1-) Admincp -> Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-ucpop.xml' from your computer then press 'Import'

Step 2-) Find on USERCP template:

Code:

$template_hook[usercp_main_pos1]
Add After:

Code:

<if condition="$vboptions[ucpop_active]==1">
<!-- ############## POPULAR THREADS ##############  -->
<if condition="$show['populerkonular']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tbody>
 <tr>
  <td class="tcat" colspan="6">
  <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_populer')"><img id="collapseimg_usercp_populer" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_populer].gif" alt="" border="0" /></a>
  $vbphrase[ucpop_baslk] [$vboptions[ucpop_limit]]
  </td>
 </tr>
</tbody>
<tbody id="collapseobj_usercp_populer" style="$vbcollapse[collapseobj_usercp_populer]">
<tr class="thead">
            <td width="20"></td>
            <td class="thead" width="40%"><b>$vbphrase[ucpop_konu]</b></td>
            <td class="thead"><b>$vbphrase[ucpop_sonmesaj]</b></td>
            <td class="thead" align="center"><b>$vbphrase[ucpop_cevaplar]</b></td>
            <td class="thead" align="center"><b>$vbphrase[ucpop_bakanlar]</b></td>
            <td class="thead" align="center"><b>$vbphrase[ucpop_forum]</b></td>
</tr>
$populerkonularm
</tbody>
</table>
<br />
</if>
<!-- ############## END POPULAR THREADS ##############  -->
</if>

Settings:

Admincp -> vBulletin Options -> "My Popular Threads on UserCP" Settings

Version History:

v1.0 - 18.07.2008
- First Release

v2.0 - 19.07.2008
- Suppleness with vBulletin v3.7.x [Tested on 3.7.2]
- Added "postuserid" function.

Hope You Like it ! :erm:

Q-v-n-s-Q 07-19-2008 12:35 PM

very nice mod, thanks

Madlike 07-19-2008 01:17 PM

You're weLcome & Don't forget click install pLease ;) :)

vip-q.com 07-21-2008 11:21 AM

install

Alfa1 07-21-2008 01:26 PM

Could you please add best threads by thread rating?

Madlike 07-22-2008 12:04 PM

I'll try for it

symptome 07-29-2008 10:12 AM

2 Things:
- it would be great, if someone could page through more than those 5 (or whatever) threads
- in my opinion, you have to add something like this: if I chose "replies", then my last reply has to be within x days. Instead, this function will always show the same old threads.

Artes_Marciales 08-04-2008 06:28 AM

Simple but great!! : )
**install**

kleinschwanz 08-07-2008 02:21 PM

a nice feature :D maybe you could think of this for the next release:

it would be nice to have a possibility to exclude forums by the ACP as explicit we admins have threads like the rules that everyone looks at... and several of the posts are already in the trashcan for instance hey, I don't want to have those as my most popular thread LOL

GeeZeeR 08-07-2008 04:44 PM

Nice hack,getting errors on images though..


All times are GMT. The time now is 11: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.01110 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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