vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - BT - vBCMS: Latest threads block sidebar (https://vborg.vbsupport.ru/showthread.php?t=238182)

BlackThorn 03-12-2010 10:00 PM

BT - vBCMS: Latest threads block sidebar
 
Demo: http://www.vbulletin-turko.com/forums/index.php (Son Eklentiler)
Son eklentiler = Latest Add-ons.

Special Thanks YILMAZ.

If you do like that, then please mark as installed and go admincp, (if you use CMS) add new cms block (STATIC HTML) and add all this codes:

PHP Code:

<div class="page" style="border:0; padding:1px; height:250px; width:100%; overflow:auto">    
<
script type="text/javascript" src="external.php?forumids=8,71,9,14,72,73,&type=js"></script>
<
script language="" type="text/javascript">
<!--
for (
010x++)
{
document.writeln("<div class=\"cms_widget_content\"><img src=\"/forums/images/icons/icon2.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br /> <b>Posted By: "+threads[x].poster+"</b></div>");
}

//-->
</script>
</
div

Note: Please look in codes external.php?forumids=8,71,9,14,72,73,&type=js

Did you see thats? Which one forum categories you want, you can change that forum ids for yourself. And you can change /forums/images/icons/icon2.gif (your forumpath images or you can add another icon/image) if you want, <b>Posted By: "+threads[x].poster+"</b> code how do you want. (Like posted or starter by.)

Kolbi 03-14-2010 03:23 PM

Nice thing.

I guess the original sidebar block need a query?

And this hack doesn´t?

arena 03-14-2010 06:20 PM

Thank you installed

BlackThorn 03-14-2010 10:34 PM

Quote:

Originally Posted by Kolbi (Post 2003462)
Nice thing.

I guess the original sidebar block need a query?

And this hack doesn?t?

Not so much query. (May be if you can use thread mode on: 20-30-40) that use a little js. This is not a mod. its just a Modification. You can look that again. or you can use that.

Quote:

Originally Posted by arena (Post 2003577)
Thank you insalled

Youre welcome.

gungor 04-07-2010 05:13 PM

thank you.. BlackThorn.

joyboy2001 04-10-2010 09:55 PM

not working for 4.0.3

Fuhrmann 06-03-2010 11:10 PM

Really, not working.


All times are GMT. The time now is 01:11 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.01057 seconds
  • Memory Usage 1,730KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete