vb.org Archive

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

Madlike 07-17-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

Hope You Like it ! :erm:

Madlike 07-18-2008 05:26 PM

vBulletin 3.7.x version incoming Tomorrow :) :erm:

ERAFOX 09-22-2008 08:14 PM

nice , i like it !

Yalan 09-26-2008 10:52 AM

thanks :up:

basketmen 10-07-2008 10:17 AM

this is not usefull if there is no time cut off from popular threads, like just showing threads since 30 days ago

threads from 2 years ago still showing in the usercp

please add time cut off in options


All times are GMT. The time now is 04:32 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.02954 seconds
  • Memory Usage 1,726KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete