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


All times are GMT. The time now is 07:20 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.01335 seconds
  • Memory Usage 1,755KB
  • 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
  • (14)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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