vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Sidebar Lastest Threads (https://vborg.vbsupport.ru/showthread.php?t=204659)

ry215 02-07-2009 10:00 PM

Sidebar Lastest Threads
 
1 Attachment(s)
First thanks to F0xy for a great idea!

Description:
If your forum using sidebar, you want to give Lastest Threads out this sidebar, this Mod will do it.

Info:
Plugins: 3
Phrases: 16
Templates: 2
Settings: 5

Install:

1. Import Product via Manage Products
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]

2. Edit Template:
Add in your sidebar template:

Code:

$template_hook[sidebar_lastest_threads]
where you want show "Lastest Threads"

3. Settings:
ACP >> vBulletin Options >> Sidebar Lastest Threads Settings

History:
v3.8.001 : First Release
v3.8.002 : nothing special, just add default forumids

PS: Work fine with 3.7.x (Tested)

Similar MOD:
Sidebar Column
Sidebar Poll

BlackJacket 02-08-2009 04:18 PM

Thanks. About to install! :) Is there a way to only show admins and mods?

ry215 02-08-2009 04:22 PM

Quote:

Originally Posted by NittoMOD (Post 1737850)
Thanks. About to install! :) Is there a way to only show admins and mods?

yes, but next version :D

Blackhat 02-08-2009 04:42 PM

finaly something for the sidebar. Good job!

F0xy 02-08-2009 06:04 PM

thanking you! Awesome work as always

whoops, i got this error

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:

                        SELECT threadid, title, dateline, lastpost, visible, open, postusername, postuserid         
                        FROM thread AS thread
                        WHERE NOT ISNULL(threadid) AND forumid IN () AND visible = '1' AND open!='10'
                        ORDER BY dateline DESC
                       
                        LIMIT 0, 5;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND visible = '1' AND open!='10'
                        ORDER BY dateline DESC
                       
                        LIMIT 0, ' at line 3
Error Number  : 1064
Request Date  : Sunday, February 8th 2009 @ 02:06:26 PM
Error Date    : Sunday, February 8th 2009 @ 02:06:26 PM
Script        : http://whatsyourview.net/forum/
Referrer      :
IP Address    : 
Username      :
Classname    : vB_Database
MySQL Version : 5.0.67-community


lasto 02-08-2009 06:20 PM

can confirm does not work as it is on 3.8.1

i got exact same error as above

ry215 02-08-2009 06:47 PM

Quote:

Originally Posted by F0xy (Post 1737935)
thanking you! Awesome work as always

whoops, i got this error

Quote:

Originally Posted by lasto (Post 1737957)
can confirm does not work as it is on 3.8.1

i got exact same error as above

You must enter forumids, where you want show lastest threads :D

lasto 02-08-2009 07:10 PM

opps lOL

now i must admit i never done that :)

lazydesis 02-08-2009 10:49 PM

can this be done in similar way to the one in this site on home page?

where they have latest threads from each forum .. instead of latest posts from all forums at one place?

PakFuse 02-09-2009 12:47 AM

it might be a stupid question, but how can I enable side bar in my forum, if it is not using one?

I mean as I understood, this works only when side bar is enabled... right?


All times are GMT. The time now is 02:28 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.01126 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (3)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
  • (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