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)
-   -   Forum Display Enhancements - Kpt - LP Threads (https://vborg.vbsupport.ru/showthread.php?t=169602)

kaptanblack 02-03-2008 10:00 PM

Kpt - LP Threads
 
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

dj_f16 02-04-2008 09:48 AM

ooo yeah, very good plugin :)
thanx ozgur :p

kaptanblack 02-04-2008 10:04 AM

v1.0 - 4 February 2008
- Turkish Language Added

shadowevil 02-04-2008 10:14 AM

nice mod ... installed

Atilla_UYGUN 02-04-2008 10:28 AM

Verry Good
Thanks Kaptanblack..

İnstalled :)

soletrader 02-04-2008 10:28 AM

Installed and enabled but nothing shows on forumdisplay. Anyone else having this issue?

kaptanblack 02-04-2008 11:07 AM

Quote:

Originally Posted by soletrader (Post 1435979)
Installed and enabled but nothing shows on forumdisplay. Anyone else having this issue?

Hi,

Are you sure to apply all the template modifications on your theme ?

Legendery. 02-04-2008 12:37 PM

Nice job..

Thanks Kaptanblack..
Installed..

NoDRaC 02-04-2008 12:54 PM

nice shop ozgur
installed.

soletrader 02-04-2008 02:09 PM

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?

kaptanblack 02-04-2008 02:26 PM

Quote:

Originally Posted by soletrader (Post 1436100)
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'>

kaptanblack 02-04-2008 02:57 PM

LP Threads v2.0 coming with Random Threads table

soletrader 02-04-2008 02:57 PM

Quote:

Originally Posted by kaptanblack (Post 1436114)
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.

gforce75 02-04-2008 03:46 PM

Nice mod. great job!

kaptanblack 02-04-2008 03:59 PM

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

derzulya 02-04-2008 04:04 PM

thank you kaptanblack

dacho 02-04-2008 07:37 PM

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 ?

kaptanblack 02-04-2008 08:49 PM

Quote:

Originally Posted by dacho (Post 1436337)
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.

Dark Cynicus! 02-04-2008 10:47 PM

i installed and did the template modifications but i dont see it =/

kaptanblack 02-05-2008 07:14 AM

Quote:

Originally Posted by Dark Cynicus! (Post 1436413)
i installed and did the template modifications but i dont see it =/

Did you enable plugin at vbulletin options ?

Simasher 02-05-2008 05:43 PM

eline sağlık :) bişi sorucam bu forumları ?oklu nasıl yapabiliriz ? yani sadece 1 idli foruma değil 1,2,3,4,5 e koymak istiyorum ? 1,2,3 yapsak kabul eder mi vb ?
___________

thanks ;) i vote for motm it's nice hack ;)

kaptanblack 02-05-2008 06:32 PM

Quote:

Originally Posted by Simasher (Post 1436874)
eline sağlık :) bişi sorucam bu forumları ?oklu nasıl yapabiliriz ? yani sadece 1 idli foruma değil 1,2,3,4,5 e koymak istiyorum ? 1,2,3 yapsak kabul eder mi vb ?
___________

thanks ;) i vote for motm it's nice hack ;)

Eder tabi ki :) zaten a?ıklamaya yazdım se?eneklerde virg?lle ayırın diye.

Thanks for commet ;)

AWMGolfer 02-05-2008 07:02 PM

I also am not seeing it show on my forum display. I am using the webber theme and triple checked I had everything all set.

compact123 02-05-2008 09:26 PM

Nice job..

Thanks Kaptanblack..
Installed..

Cs.Net 02-07-2008 11:05 AM

Thank You Kaptanblack


sağol ?zg?r :D

chris1979 02-09-2008 02:46 PM

I'd love a version of this that works on other pages. I don't need it for forum home but I'd love to have latest threads displayed on member profiles and private message pages.

D|ver 02-09-2008 02:47 PM

very nice addon. is it maybe possible to use those tables for vba cmps?

kaptanblack 02-13-2008 03:24 PM

Quote:

Originally Posted by D|ver (Post 1439459)
very nice addon. is it maybe possible to use those tables for vba cmps?

No.

salimakin 02-13-2008 04:47 PM

yav bunu kurdumda nerede görünecek bi bulamadım

kaptanblack 02-14-2008 12:36 PM

Quote:

Originally Posted by salimakin (Post 1442321)
yav bunu kurdumda nerede g?r?necek bi bulamadım

forumdisplayde :S

Hangi forumlarda g?z?keceğini forumidlerini girerek siz belirlicekseniz.

jacki 02-20-2008 03:29 PM

thanx kaptan black very nice :)

lovelypk 02-23-2008 07:02 PM

I have did template modification, enabled the mod in vbulletin options but still it's not showing.

kaptanblack 02-23-2008 09:55 PM

Quote:

Originally Posted by lovelypk (Post 1449483)
I have did template modification, enabled the mod in vbulletin options but still it's not showing.

Did you check lp threads at vbulletin options ?

lovelypk 02-23-2008 10:18 PM

Quote:

Originally Posted by kaptanblack (Post 1449565)
Did you check lp threads at vbulletin options ?

thats what i said, i already enabled LP threads in vbulletin options but still its not showing up :(

kaptanblack 02-24-2008 09:42 AM

lovelypk, if you use v1.0, upgrade to v2.0.

Are you sure didnt make mistake ? Because if you made evertything of this thread (template modifications, vb options etc..) this plugin not working is impossible.

And can i see your forum ?

1Turk 02-24-2008 09:43 AM

thanks kaptanblack very nice mod :)

lovelypk 02-24-2008 06:00 PM

Quote:

Originally Posted by kaptanblack (Post 1449779)
lovelypk, if you use v1.0, upgrade to v2.0.

Are you sure didnt make mistake ? Because if you made evertything of this thread (template modifications, vb options etc..) this plugin not working is impossible.

And can i see your forum ?

it's working now, i forgot to put in forum ids :D

thanks

kaptanblack 02-24-2008 07:50 PM

Quote:

Originally Posted by lovelypk (Post 1450128)
it's working now, i forgot to put in forum ids :D

thanks

Ok :D

iyihost 03-01-2008 09:18 AM

thanx kaptanblack

shlomot 03-05-2008 05:36 AM

No words for this ingenious MOD. Smooth, smart, wise, and painless!

Setting font-size to '1' allows for 27 characters to show up in a single line. It even looks nicer and covers in full so many more headers.

I also suggest to view each forum, after including it first in LP Threads, and see if it makes sense for that forum to be included.

Installed and voted!


All times are GMT. The time now is 02:56 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.01416 seconds
  • Memory Usage 1,838KB
  • 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
  • (18)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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