Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show latest threads on showthread Details »»
Show latest threads on showthread
Version: 1.00, by ThorstenA ThorstenA is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Beta 4 Rating:
Released: 01-23-2008 Last Update: Never Installs: 53
Template Edits
 
No support by the author.

Do you ever wanted to show latest threads on showthread ? You can do that without products. All you need is to use build-in RSS feed. Here you will be presented all topics within actual forum and all subforums. It's working great!
  1. admincp > vbulletin options > External Data Provider > set yes all
  2. Place this code into template ad_showthread_beforeqr
    Code:
    <!-- show latest active threads -->
    <br />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" 
    align="center">
    <tbody><tr><td class="tcat">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_external')"><img 
    id="collapseimg_forumhome_external" 
    src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_external].gif" alt="" border="0" /></a>
    <a href="forumdisplay.php?f=$foruminfo[forumid]">New topics in $foruminfo[title]</a>
    </td></tr></tbody>
    
    <tbody id="collapseobj_forumhome_external" style="$vbcollapse[collapseobj_forumhome_external]">
    
    <tr><td class="alt1" width="100%" valign="top">
     
    <div class="smallfont">
    
    <script type="text/javascript" src="external.php?forumids=$foruminfo[childlist]&type=js"></script>
    <script language="" type="text/javascript">
    <!--
    for (var x in threads)
    {
    document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/firstnew.gif\" alt=\"\" border=\"0\" /></a> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br />");
    }
    //-->
    </script>
    
    </div>
     
    </td>
    
    </tr></tbody>
    </table>
    
    <!-- / show latest active threads -->
  3. Done

Optional
If you want to change time frame of your refreshing threads, go to
AdminCP > vBulletin Settings > External Data Provider
Change the value of Cache Lifespan to for example "1 Minute"

Hope that works great for you, too. I'd be glad to hear from you via pm.


9.2.2008 Fixed an error. Upgrade instruction: Please just copy this new code here into the template. Done.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-25-2008, 12:29 AM
nyqnzguju nyqnzguju is offline
 
Join Date: May 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done Or Screen shouts Please. Thanks man.
Reply With Quote
  #3  
Old 01-25-2008, 07:25 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No screeny? screenshot please.
Reply With Quote
  #4  
Old 01-30-2008, 05:27 AM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although it works I get the following error message

The conditional on line 33 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.

I deleted the </if> and it still works and has no errors.

Is it possible to get it vbseo link friendly?

Will the search engines be able to read these posts?

Cheers

Mally
Reply With Quote
  #5  
Old 01-30-2008, 05:29 AM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also I don't know what you mean by "all topics within actual forum and all subforums"

It just provided a list of recent posts?
Reply With Quote
  #6  
Old 02-05-2008, 08:03 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vwdforum View Post
Although it works I get the following error message

The conditional on line 33 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.

I deleted the </if> and it still works and has no errors.

Is it possible to get it vbseo link friendly?

Will the search engines be able to read these posts?

Cheers

Mally
It uses javascript to write the codes, so i don't think search engines will pick them up anyway
Reply With Quote
  #7  
Old 02-05-2008, 02:31 PM
avsunforum avsunforum is offline
 
Join Date: Feb 2008
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm screenshot please
Reply With Quote
  #8  
Old 02-08-2008, 01:29 PM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen please.
Reply With Quote
  #9  
Old 02-09-2008, 08:19 AM
tackebong tackebong is offline
 
Join Date: Jun 2007
Location: Vietnam
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is screenshot
note: to active this hack, you must turn on all option in External Data Provider
(vbulletin options > External Data Provider)(set yes all)

Reply With Quote
  #10  
Old 02-09-2008, 08:24 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for your screenshot! This product helped me to get users attracted to similar topics within same forum.

For all: If you installed this mod, please click "Install" so maybe it will be integrated into feature vbulletin editions (like my "show who's online not for guests" modification, which made it into vbulletin 3.6).

And if you like it, please rate it. If you do not like it, please rate it, too
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 08:44 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.05222 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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