PDA

View Full Version : Profile Enhancements - My Popular Threads on UserCP


Madlike
07-18-2008, 10:00 PM
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:

$template_hook[usercp_main_pos1]

Add After:

<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..

xyzmary2001
07-17-2009, 11:45 AM
Does it work with vbulletin 3.8.2?