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

Reply
 
Thread Tools
Kpt - LP Threads Details »»
Kpt - LP Threads
Version: 3.0, by kaptanblack kaptanblack is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 02-03-2008 Last Update: 05-02-2008 Installs: 80
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Code Changes Translations  
No support by the author.

LP Threads

You can put most reply threads, most view threads and latest thread at forumdisplay

Mark as Installed - Nominate for MOTM

Install

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

Find in FORUMDISPLAY Template:

Code:
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
Add under:

Code:
<if condition="$vboptions[lthreadfrmdisplay_enable] == 1">
$lp_threadfrmb
</if>
Find in FORUMDISPLAY Template:

Code:
</tbody>
    <!-- end show no threads message -->
</if>
</table>
Add under:

Code:
<if condition="$vboptions[lthreadfrmdisplay_enable] == 1">
$lp_threadfrms
</if>
Update v1.0 to v2.0

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

Update v2.0 to v3.0

Go to your admin cp, then:
Plugin System -> Manage Products -> LP Threads >> Delete and then

Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-lthreadfrmdisplay.xml' from your computer, Allow Overwrite-> Yes, then press 'Import'...

Because all the template and plugins changed


Kpt - LP Threads

Go to your admin cp, then:
vBulletin Options -> LP Threads ->

Modifications Info v3.0

Plugin : 4
Phrases : 53
Template : 6
Setting : 20

Versions:
v1.0 - 4 February 2008
- First release

v1.0 - 4 February 2008
- Turkish Language Added

v2.0 - 4 February 2008
- Random Threads Table Added
- Phrases Updated

v3.0 - 3 May 2008
- Phrases Updated
- Added Thread Icons
- All the templates changed
- All plugins changed
- Added 3 setting in admincp
- Collapsible box Enable
- Right or Left column setting
- Thread information setting

v3.0 - 3 May 2008
- Added Turkish Language

Show Your Support

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

Comments
  #12  
Old 02-04-2008, 02:26 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soletrader View Post
Thanks for the reply. My mistake, I didnt make the template changes. Thank you for the nice hack. How would one go about changing the font size?
Go to your admin cp, then:
Plugin System -> Plugin Manager -> LP Threads (global_start)

Find

Code:
$lthreads.="<tr><td class='$classkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$lthreadlast[postusername] | $vbphrase[lpthreadpostr]$lthreadlast[lastposter] | $vbphrase[lpthreadreply]$lthreadlast[replycount] | $vbphrase[lpthreadview]$lthreadlast[views] | $vbphrase[lpthreadattach]$lthreadlast[attach]' href='showthread.php?t=$lthreadlast[threadid]'>$lthreadlast[title]</a></td></tr>";
Change whity this codes:

Code:
$lthreads.="<tr><td class='$classkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$lthreadlast[postusername] | $vbphrase[lpthreadpostr]$lthreadlast[lastposter] | $vbphrase[lpthreadreply]$lthreadlast[replycount] | $vbphrase[lpthreadview]$lthreadlast[views] | $vbphrase[lpthreadattach]$lthreadlast[attach]' href='showthread.php?t=$lthreadlast[threadid]'>$lthreadlast[title]</a></font></td></tr>";
Find:


Code:
$pthreads.="<tr><td class='$classpkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$pthreadlast[postusername] | $vbphrase[lpthreadpostr]$pthreadlast[lastposter] | $vbphrase[lpthreadreply]$pthreadlast[replycount] | $vbphrase[lpthreadview]$pthreadlast[views] | $vbphrase[lpthreadattach]$pthreadlast[attach]' href='showthread.php?t=$pthreadlast[threadid]'>$pthreadlast[title]</a></td></tr>";
Change with this codes

Code:
$pthreads.="<tr><td class='$classpkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$pthreadlast[postusername] | $vbphrase[lpthreadpostr]$pthreadlast[lastposter] | $vbphrase[lpthreadreply]$pthreadlast[replycount] | $vbphrase[lpthreadview]$pthreadlast[views] | $vbphrase[lpthreadattach]$pthreadlast[attach]' href='showthread.php?t=$pthreadlast[threadid]'>$pthreadlast[title]</a></font></td></tr>";
Find:

Code:
$rthreads.="<tr><td class='$classrkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$rthreadlast[postusername] | $vbphrase[lpthreadpostr]$rthreadlast[lastposter] | $vbphrase[lpthreadreply]$rthreadlast[replycount] | $vbphrase[lpthreadview]$rthreadlast[views] | $vbphrase[lpthreadattach]$rthreadlast[attach]' href='showthread.php?t=$rthreadlast[threadid]'>$rthreadlast[title]</a></td></tr>";
Change this codes:

Code:
$rthreads.="<tr><td class='$classrkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$rthreadlast[postusername] | $vbphrase[lpthreadpostr]$rthreadlast[lastposter] | $vbphrase[lpthreadreply]$rthreadlast[replycount] | $vbphrase[lpthreadview]$rthreadlast[views] | $vbphrase[lpthreadattach]$rthreadlast[attach]' href='showthread.php?t=$rthreadlast[threadid]'>$rthreadlast[title]</a></font></td></tr>";
Or,if you want to change font sizes, edit this code:

Code:
<font size='1'>
Reply With Quote
  #13  
Old 02-04-2008, 02:57 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LP Threads v2.0 coming with Random Threads table
Reply With Quote
  #14  
Old 02-04-2008, 02:57 PM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kaptanblack View Post
Go to your admin cp, then:
Plugin System -> Plugin Manager -> LP Threads (global_start)

Find

Code:
$lthreads.="<tr><td class='$classkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$lthreadlast[postusername] | $vbphrase[lpthreadpostr]$lthreadlast[lastposter] | $vbphrase[lpthreadreply]$lthreadlast[replycount] | $vbphrase[lpthreadview]$lthreadlast[views] | $vbphrase[lpthreadattach]$lthreadlast[attach]' href='showthread.php?t=$lthreadlast[threadid]'>$lthreadlast[title]</a></td></tr>";
Change whity this codes:

Code:
$lthreads.="<tr><td class='$classkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$lthreadlast[postusername] | $vbphrase[lpthreadpostr]$lthreadlast[lastposter] | $vbphrase[lpthreadreply]$lthreadlast[replycount] | $vbphrase[lpthreadview]$lthreadlast[views] | $vbphrase[lpthreadattach]$lthreadlast[attach]' href='showthread.php?t=$lthreadlast[threadid]'>$lthreadlast[title]</a></font></td></tr>";
Find:


Code:
$pthreads.="<tr><td class='$classpkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$pthreadlast[postusername] | $vbphrase[lpthreadpostr]$pthreadlast[lastposter] | $vbphrase[lpthreadreply]$pthreadlast[replycount] | $vbphrase[lpthreadview]$pthreadlast[views] | $vbphrase[lpthreadattach]$pthreadlast[attach]' href='showthread.php?t=$pthreadlast[threadid]'>$pthreadlast[title]</a></td></tr>";
Change with this codes

Code:
$pthreads.="<tr><td class='$classpkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$pthreadlast[postusername] | $vbphrase[lpthreadpostr]$pthreadlast[lastposter] | $vbphrase[lpthreadreply]$pthreadlast[replycount] | $vbphrase[lpthreadview]$pthreadlast[views] | $vbphrase[lpthreadattach]$pthreadlast[attach]' href='showthread.php?t=$pthreadlast[threadid]'>$pthreadlast[title]</a></font></td></tr>";
Find:

Code:
$rthreads.="<tr><td class='$classrkpt'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$rthreadlast[postusername] | $vbphrase[lpthreadpostr]$rthreadlast[lastposter] | $vbphrase[lpthreadreply]$rthreadlast[replycount] | $vbphrase[lpthreadview]$rthreadlast[views] | $vbphrase[lpthreadattach]$rthreadlast[attach]' href='showthread.php?t=$rthreadlast[threadid]'>$rthreadlast[title]</a></td></tr>";
Change this codes:

Code:
$rthreads.="<tr><td class='$classrkpt'><font size='1'>&rsaquo; <a title='$vbphrase[lpthreadpostd]$rthreadlast[postusername] | $vbphrase[lpthreadpostr]$rthreadlast[lastposter] | $vbphrase[lpthreadreply]$rthreadlast[replycount] | $vbphrase[lpthreadview]$rthreadlast[views] | $vbphrase[lpthreadattach]$rthreadlast[attach]' href='showthread.php?t=$rthreadlast[threadid]'>$rthreadlast[title]</a></font></td></tr>";
Or,if you want to change font sizes, edit this code:

Code:
<font size='1'>
Thank you very much. I will give this a try.
Reply With Quote
  #15  
Old 02-04-2008, 03:46 PM
gforce75 gforce75 is offline
 
Join Date: Sep 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod. great job!
Reply With Quote
  #16  
Old 02-04-2008, 03:59 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v2.0 - 4 February 2008
- Random Threads Table Added
- Phrases Updated
Reply With Quote
  #17  
Old 02-04-2008, 04:04 PM
derzulya derzulya is offline
 
Join Date: Dec 2006
Location: Zonguldak / T?rkiye
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you kaptanblack
Reply With Quote
  #18  
Old 02-04-2008, 07:37 PM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kaptanblack if i want to put the most reply threads, most view threads and latest thread... at the Side Columns - in HOMEPAGE

how can i do that ?
Reply With Quote
  #19  
Old 02-04-2008, 08:49 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dacho View Post
kaptanblack if i want to put the most reply threads, most view threads and latest thread... at the Side Columns - in HOMEPAGE

how can i do that ?
You cant that with this plugin, This plugin's queries working ony forumdisplay cus this queris run according to forum id.
Reply With Quote
  #20  
Old 02-04-2008, 10:47 PM
Dark Cynicus! Dark Cynicus! is offline
 
Join Date: Aug 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed and did the template modifications but i dont see it =/
Reply With Quote
  #21  
Old 02-05-2008, 07:14 AM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Cynicus! View Post
i installed and did the template modifications but i dont see it =/
Did you enable plugin at vbulletin options ?
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 11:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07593 seconds
  • Memory Usage 2,331KB
  • 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
  • (18)bbcode_code
  • (4)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