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?

F0xy 02-09-2009 09:58 AM

Quote:

Originally Posted by PakFuse (Post 1738225)
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?

there is no way to enable sidebar, it must be coded into your skin or use the sidebar mod available from here.

Forum Lover 02-09-2009 01:42 PM

Tagged. wish there is lastest poll too. :) I mean all in one. :)

dmknights 02-09-2009 02:22 PM

Quote:

Originally Posted by F0xy (Post 1738554)
there is no way to enable sidebar, it must be coded into your skin or use the sidebar mod available from here.

Where do i find it?

dmknights 02-09-2009 02:46 PM

does not work for 3.8.1

lasto 02-09-2009 03:20 PM

u done one for new threads m8 can u also do one for new posts plz ?

PakFuse 02-09-2009 03:43 PM

Quote:

Originally Posted by F0xy (Post 1738554)
there is no way to enable sidebar, it must be coded into your skin or use the sidebar mod available from here.

You mean there is a MOD that actually creates sidebar?

ry215 02-09-2009 04:02 PM

Quote:

Originally Posted by lasto (Post 1738767)
u done one for new threads m8 can u also do one for new posts plz ?

At the option "Order by?", you should choose" Lastpost".

ry215 02-09-2009 04:38 PM

Quote:

Originally Posted by PakFuse (Post 1738798)
You mean there is a MOD that actually creates sidebar?

here is your :)
https://vborg.vbsupport.ru/showthread.php?t=204773

dmknights 02-09-2009 05:09 PM

any chance of updating this to work for 3.8.1?

I have tested this mod on my 3.8.1 board & it doesnt work

ry215 02-09-2009 05:25 PM

Quote:

Originally Posted by dmknights (Post 1738879)
any chance of updating this to work for 3.8.1?

I have tested this mod on my 3.8.1 board & it doesnt work

Hello, I used vBulletin 3.8.1 to code this mod.

Please read the replies above.

dmknights 02-09-2009 05:44 PM

As ive said, i have tested this on my 3.8.1 board & it DOESNT WORK!

ry215 02-09-2009 05:52 PM

Quote:

Originally Posted by dmknights (Post 1738919)
As ive said, i have tested this on my 3.8.1 board & it DOESNT WORK!

OK, it DOESNT WORK! :D

Big-K 02-15-2009 01:04 AM

I just tried this on 3.8.1 using Ultimate side columns and nothing shows up.

jorgejgm 02-16-2009 01:26 PM

All time received this message:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT count(*)as cnt,max(dateline) as lastupdate
FROM vbulletin_groupmessage
WHERE groupid='1';

MySQL Error : Unknown column 'groupid' in 'where clause'
Error Number : 1054
Request Date : Monday, February 16th 2009 @ 03:59:14 PM
Error Date : Monday, February 16th 2009 @ 03:59:14 PM
Script : http://www.XXXXXXXXX/cron.php?rand=xxxx
Referrer : http://www.XXXXXXXXX/xxxxxx.php?do=xxxx
IP Address : XXXXXXXXX
Username : No Registrado
Classname : vB_Database

itsheinz 02-17-2009 11:32 AM

Quote:

$template_hook[sidebar_lastest_threads]
i dont get this part..i already have it in my template.
and also this one:
Quote:

where you want show "Lastest Threads"
can you explain further what to do or additonal editing..coz i already installed the xml and yet the latest threads in side bar is not showing.

Nimrod. 02-21-2009 04:59 PM

Actually, I have this enabled on my board and it works great. I am running 3.8.1

LanciaStratos 02-24-2009 02:48 AM

Thanks very much for this hack! Are the results of the 'latest topics' cached in some way? Otherwise, I imagine this additional additional query on each page load of a busy site could introduce a significant overhead.

Befragen 03-12-2009 02:39 AM

I can't get it to show :( I'm on 3.8.1

How do I add it?

keez 03-13-2009 08:20 PM

IF it's working on 3.8.1...
is there a way to get this thing grap something like
PHP Code:

forumid IN (".ACTUAL BOARD AND SUBBORD IDs."

instead of
PHP Code:

forumid IN (".$vbulletin->options['+++++++_slt_forumid']."

I want it to show the latest posts/threads out of the board you're visiting... I think above is the right place for the missing piece of "the auto-generated IDs", but i'm quite new on vB, so that I don't know how to do this yet^^?

Daryn 03-27-2009 05:38 PM

Great mod, I just wish there was an easier way to pick which forums you want to show. I had to look up and enter over 50 forum IDs.

Also, for the next version could you possibly change it so that if you have it set to show LastPost, it will take you to the latest post in that thread instead of taking you to the first?

tercede 03-29-2009 01:13 AM

This is actually a pretty sweet mod. Now where the heck do I change the title of it..

*edit* found it thereafter!

manguish 03-30-2009 05:21 PM

Installed and working BUT it doesn't reflect the actual forum posts?

Any ideas why it doesn't refresh?

www.minimotoclub.co.uk for the example.

BlackRanger3d 04-03-2009 01:16 AM

Great mod.

Quote:

Originally Posted by tercede (Post 1779445)
This is actually a pretty sweet mod. Now where the heck do I change the title of it..


*edit* found it thereafter!

How did you change it?

Um yeah......I just found it too. Edit the sidebar template

RTMdotORG 06-15-2009 09:21 PM

anyway to add forum name?

DarthCoder 08-07-2009 11:53 AM

where do i put $template_hook[sidebar_lastest_threads]

i dont have any "sidebar" template. I want it to be shown on the left side.

Zaki Shafqat 08-20-2009 07:12 PM

Quote:

Originally Posted by DarthCoder (Post 1863040)
where do i put $template_hook[sidebar_lastest_threads]

i dont have any "sidebar" template. I want it to be shown on the left side.

yes i have a same question

waiting until tomorrow or will uninstall it :mad:

i got another tempelate Sidebar Column now but want 2 :D

sebaldus 08-21-2009 04:50 AM

Doesn't work. :mad:
Uinstalled.
Sebaldus..

Zaki Shafqat 08-23-2009 11:20 PM

Quote:

Originally Posted by DarthCoder (Post 1863040)
where do i put $template_hook[sidebar_lastest_threads]

i dont have any "sidebar" template. I want it to be shown on the left side.

i have added the second column as well :D

What i actually did is i first installed this plug-in

https://vborg.vbsupport.ru/showthread.php?t=204773

then hide all the un-necassary things and it was working just like this "Sidebar Lastest Threads"

i also installed this plugin "Sidebar Lastest Threads" so after both plugins were installed

what i did is i added this code $template_hook[sidebar_lastest_threads] provided in a first post in "Side Column templates (sc_latest_threads) found in Style & Manager>>>Edit Manager>>>Sidebar Column Template>>>sc_latest_threads and it was working fine

Now i got 2 siderbar columns installed on my site :D

Zaki Shafqat 08-23-2009 11:21 PM

Now i have one question only

How do i edit the title of this plugin from Lastest Threads to (Latest Videos)

Please help me edit this

Thanks

RTMdotORG 08-24-2009 12:12 AM

First off, thanks for this mod...
Secondly... im looking for a mod like this, but i want this mod like 4 times, so i can use each for a different forum.... anyway of doing this?


All times are GMT. The time now is 06:45 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.01694 seconds
  • Memory Usage 1,826KB
  • 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
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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