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)

Zaki Shafqat 08-24-2009 01:36 AM

Quote:

Originally Posted by RTMdotORG (Post 1873031)
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?

good thinking i got 2 already and it will be nice if we get get upto 4 :D

for the second mod install Sidebar Column and hide everything except latest threads

So you will have 2 different sidebars this way

----------

where is Sidebar Template????? i am unable to find it from Style Manager>>>Edit Templates>>>Sidebar Lastest Threads i even tried to search from all templates but nothing progress

RTMdotORG 08-24-2009 01:41 PM

Quote:

Originally Posted by Zaki Shafqat (Post 1873066)
good thinking i got 2 already and it will be nice if we get get upto 4 :D

for the second mod install Sidebar Column and hide everything except latest threads

So you will have 2 different sidebars this way

----------

where is Sidebar Template????? i am unable to find it from Style Manager>>>Edit Templates>>>Sidebar Lastest Threads i even tried to search from all templates but nothing progress

Sidebar Column Template is where it should be at.

futuredood 09-21-2009 04:28 AM

does this work with 3.6.8?

futuredood 09-21-2009 04:35 AM

Hmm, I have over 40 individual forums, is there any way to set this option to all?

ForumID.
Forums included from sidebar (List IDs, separate with commas)

I tried on 3.6.8 by the way it doesn't work.

MagicThemeParks 09-25-2009 10:50 AM

Is there something like this mod but to use with an RSS feed rather than feeding from a forum?

MagicThemeParks 09-26-2009 02:46 AM

Instead of pulling from the forums, can this be made to pull from an RSS feed? I have the Video Directory Remixed mod and I want to show the 'latest videos' in a sidebar. Any suggestions?

ElForro 09-26-2009 07:32 AM

I would like to use this MOD to display the latest threads from ALL my forums... The problem is I have +150 forums...

Is there any way I can modify this Mod in order to "exclude" Forums IDs rather than "include" Forums IDs?

Thanks!

Bubble #5 09-30-2009 06:36 PM

What would cause this?

https://vborg.vbsupport.ru/

There are no such threads so we can't delete them.

How should we clear all of the 'undefined' out, and where would we do this at? :confused:

Thanks :)

MagicThemeParks 10-18-2009 03:28 AM

Worked great in some custom pages that I'm setting up! :up:

Thanks! :)

ahmedipa 10-20-2009 05:52 AM

very good thank you my brother

napy8gen 12-21-2009 01:20 AM

how to trim the long title text?

obetyance 03-06-2010 04:55 AM

Can we have a separate block per Board/Forum ID?

Ex:

Lastest Threads on FORUM ID 1, 2 & 3 (GEN COMMUNITY)

Lastest Threads on FORUM ID 5, 6 & 7 ( FOR SALE SECTION)

Lastest Threads on FORUM ID 8 & 9 (TECH SUPPORT)

Thanks! :)

edward hamilton 03-06-2010 08:04 PM

After having trouble with this mod I uninstalled it and used this code to get a list of recent posts. Nothing fancy but it works by making a plugin. If you don't know how to do it there are other threads about that.
I used cache_templates as the Hook Location. You can call it anything you want to.

PHP Code:

$numposts='5';


    
$thrdqry $vbulletin->db->query_read("
        SELECT forumid,threadid, title, dateline, lastpost, visible, open, lastposter      
        FROM " 
TABLE_PREFIX "thread
                WHERE forumid NOT IN (100,200,300)  AND visible = '1' 
        ORDER BY lastpost DESC
          LIMIT 0, 
$numposts ");

        while (
$thrds mysql_fetch_array($thrdqry))    
    {

    
$ttid $thrds[threadid]; 
        
$pstqry $vbulletin->db->query_read("
        SELECT postid      
        FROM " 
TABLE_PREFIX "post                        
                WHERE threadid= 
$ttid 
                ORDER BY postid DESC"
);

        
$psts mysql_fetch_array($pstqry);
 
        
$pstid $psts[postid];
            

$lastposted .=<<<EOD
<tr><td class="smallfont">

<b><a href="showthread.php?p=
$pstid#post$pstid">$thrds[title] </a></b></td><tr>
<tr><td>
$thrds[lastposter]<hr> </td></tr>
EOD;
            
    }
        
$db->free_result($thrds);
                
$db->free_result($psts); 

I put $lastposted in my Ultimate Side Column block after adding a heading called Recent Posts.

I hope this helps someone.

Silmarillion 03-12-2010 11:16 AM

How to delete/change the "Latest Threads" text?

MagicThemeParks 03-13-2010 01:03 PM

Quote:

Originally Posted by Silmarillion (Post 2002122)
How to delete/change the "Latest Threads" text?

Did a quick search and this may be your answer. https://vborg.vbsupport.ru/showpost....4&postcount=35

Silmarillion 06-10-2010 08:54 AM

What do i have to change to show the last poster in every thread?

Original-Code:

Code:

<tr>
    <td class="$class">
        <div class="smallfont"><a href="showthread.php?$session[sessionurl]t=$+++++++_slt[threadid]"><strong>$+++++++_slt[title]</strong></a></div>
<div class="smallfont">- von <a href="member.php?$session[sessionurl]u=$+++++++_slt[postuserid]">$+++++++_slt[postusername]</a></div>
    </td>
</tr>


Silmarillion 06-14-2010 01:13 PM

No one?

angeljs 10-24-2010 07:18 AM

Hi, is there any way to show attachments with this, instead of the title?

Sukubis 01-11-2011 11:56 PM

That works perfect, thank you =)

WebCraker 11-13-2011 03:17 AM

1 Attachment(s)
thnx alot man for this mod ..
Attached the mod translated into arabic
الموضوع والمنتج مترجم بتصرف باللغة العربية هنا

webnsn 07-05-2016 11:18 AM

It is not showing anything.

where I need to add? $template_hook[sidebar_lastest_threads]

I am using 3.7.1

blind-eddie 07-06-2016 01:09 AM

:up:
Quote:

Originally Posted by webnsn (Post 2572809)
It is not showing anything.

where I need to add? $template_hook[sidebar_lastest_threads]

I am using 3.7.1

I installed vbadvanced a long time ago and can add right side column, left side column, top or bottom columns, each with their own content to any vbulletin page with very little effort.

Follow this link to learn more.

webnsn 07-07-2016 05:19 AM

Quote:

Originally Posted by blind-eddie (Post 2572861)
:up:

I installed vbadvanced a long time ago and can add right side column, left side column, top or bottom columns, each with their own content to any vbulletin page with very little effort.

Follow this link to learn more.

Sorry I am not using new version.

I am using 3.7.1 and your DEMO is showing advanced module.

Anyway I have installed SIDEBAR and here the example www.wikinewforum.com

NOW I need your help to get below,

1. SIDEBAR threads should show SUB-FORUM wise, example if I see a article from SUBFORUM 5 then thereads should in the sidebar Latest threads fom subforum 5 only.

And I also wanted to add a ADSENSE above sidebar so that first adsence and below latst thereads for that subforum

And I also want one SIDEBAR (RIGHT side) with Threads which I select example If I select 10 threads which I want to show in RIGHT SIDEBAR.

blind-eddie 07-07-2016 11:11 AM

The link I provided to you is to the site you would download vBadvanced from.
Simply go here: http://www.vbadvanced.com/products.p...fo&productid=4

Click [Download / Additional Services], follow instructions, on the Download Options page, click the dropdown and select 3.2.3 (vB 3.6 - vB 3.8) - Released 01-26-2012. This will be the one you need to work with your current version of vbulletin.
Good luck.

webnsn 07-07-2016 11:55 AM

Quote:

Originally Posted by blind-eddie (Post 2572951)
The link I provided to you is to the site you would download vBadvanced from.
Simply go here: http://www.vbadvanced.com/products.p...fo&productid=4

Click [Download / Additional Services], follow instructions, on the Download Options page, click the dropdown and select 3.2.3 (vB 3.6 - vB 3.8) - Released 01-26-2012. This will be the one you need to work with your current version of vbulletin.
Good luck.

4 types I tried to register and it is saying same

'The answer given for the random question was incorrect.'


All times are GMT. The time now is 01:41 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.01279 seconds
  • Memory Usage 1,786KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)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
  • (25)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