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
  #62  
Old 05-04-2008, 05:05 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lapsetur View Post
CAn you also add latest Posts !?
I will add that on next version...

Quote:
Originally Posted by sola View Post
And maybe blank fields to paste adverts (from Admin end) between the sections. Will download and install though. Thanks.
I will add that on next version...

Quote:
Originally Posted by shlomot View Post
Thanks for version 3.0. I find the use of Right Column display very appealing.

I recommend using the value "23" as default for "Latest Threads Name Cut".

Also, can you add an option to simply check "All Forums" or a range of forums (0 - 100) instead of going to the Forum Manager to retrieve forum IDs? This is obviously good only if one wants to set the LP Threads across the board.

Thanks again for a great product.
Hmm... Maybe i can that, thanks for idea
Reply With Quote
  #63  
Old 05-08-2008, 06:59 PM
deLi_kurT's Avatar
deLi_kurT deLi_kurT is offline
 
Join Date: Dec 2007
Location: izmir - TURKEY
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice... Thanks Kaptan
Reply With Quote
  #64  
Old 05-18-2008, 02:13 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there are a lot of replies to this thread... i want to add that it is really cool and i am using it too.. however i wanted to make a request....

instead of having to add the forums that i want this option to show, can you make it to where it show in all the forums.. and i choose which forum i DONT want it in??

its one of those small things that help keep me lazy... but i'd appreciate it....
Reply With Quote
  #65  
Old 05-18-2008, 03:18 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheBlackPoet View Post
there are a lot of replies to this thread... i want to add that it is really cool and i am using it too.. however i wanted to make a request....

instead of having to add the forums that i want this option to show, can you make it to where it show in all the forums.. and i choose which forum i DONT want it in??

its one of those small things that help keep me lazy... but i'd appreciate it....
I will add of this on next version...
Reply With Quote
  #66  
Old 05-19-2008, 08:50 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod... It would be nice if it showed the top RATED threads... Either total rating points, or rating average (with minimum # of ratings).. Those are probably the truly best threads on a large forum.

Another idea is to convert this into a sligthly different mod that would show the top threads for the entire forum on its own page (like this old mod: https://vborg.vbsupport.ru/showthrea...t=99397&page=2)

Thanks!
-vissa
Reply With Quote
  #67  
Old 05-19-2008, 04:47 PM
mvigod mvigod is offline
 
Join Date: Dec 2001
Location: Jersey
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nicely done. Ill throw my two cents in to have be able to use it on Forumhome in place of Forumdisplay. Well done again!
Reply With Quote
  #68  
Old 05-20-2008, 09:13 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed / Nominated for MOTM!

-vissa
Reply With Quote
  #69  
Old 05-20-2008, 07:31 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Likely Bug found:

From the forum homepage, with this mod enabled (on the left side): If a user clicks "quick links->Mark Forums Read" it generates the following mysql error..

PHP Code:
Database error in vBulletin 3.7.0:
Invalid SQL:
     
SELECT thread.threadidthread.titlethread.postusernamethread.replycountthread.lastposterthread.viewsthread.attach,icon.title AS icontitleicon.iconpath
     FROM thread 
AS thread
     LEFT JOIN icon 
AS icon ON(icon.iconid thread.iconid)
     
WHERE forumid 
     
order by views DESC
     LIMIT 10
;
MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'order by views DESC
     LIMIT 10' 
at line 5
Error Number  
1064
Request Date  
TuesdayMay 20th 2008 01:21:45 PM
Error Date    
TuesdayMay 20th 2008 01:21:45 PM
Script        
xxx/forumdisplay.php?do=markread
Referrer      
xxx/index.php
IP Address    
XX.XX.XX.XX
Username      
XXXXX
Classname     
vB_Database
MySQL Version 
5.0.45-community 
This does not happen with the mod disabeld.

thanks
-vissa
Reply With Quote
  #70  
Old 05-20-2008, 07:49 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once the above bug is fixed, I thought of another neat idea for this mod. In addition to 'top rated threads,' it would be nice to show the most popular threads (views/replies) in the last XX months/days... So you could have most popular all time, most popular in the last 30 days, etc...

-vissa
Reply With Quote
  #71  
Old 05-20-2008, 08:43 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vissa you are wanting a lot of things Maybe i can make most of rated threads...

I checked this error on my forum and i didnt get error. Maybe my plugin chashing another plugin.
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 04:28 AM.


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.07371 seconds
  • Memory Usage 2,333KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_php
  • (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
  • (4)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