Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Blogs on Home Page Details »»
Latest Blogs on Home Page
Version: 1.2, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: vBulletin Blog - Version: 3.6.8 Rating:
Released: 08-29-2007 Last Update: 09-03-2007 Installs: 113
Uses Plugins Template Edits
 
No support by the author.

This will display the last 5 blogs on the home page blow the What's Going On box. See screenshot for example.

Installation is easy, just import the product and make the template edit.

Update 9/2/07: Removed the template edit from the What's going on box and added it below. With the table structure it makes more sense in this modification. If you have already installed it, apply the template edit again.

RSS_Instructions
This is an alternative method to the above that will display the last 10, this was taken from one of the admins over at vbulletin.com that originally wrote it for the latest threads and modified for this. It's display is not as clean but it will not show blogs that are hidden and I have yet to work that out for the above method.

Show Your Support

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

Comments
  #42  
Old 09-02-2007, 02:59 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have changed the template edit to place the Latest Blog box below the what's going on box instead. Try applying the template edit again, be sure to note the new location in the instructions.
Reply With Quote
  #43  
Old 09-02-2007, 03:21 PM
readjono readjono is offline
 
Join Date: Jan 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's done the trick! In fact I might move it above the 'What's Going On' box, as it works well there too.
Reply With Quote
  #44  
Old 09-02-2007, 03:31 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by readjono View Post
That's done the trick! In fact I might move it above the 'What's Going On' box, as it works well there too.
Glad it's working for you. Yeah, this way it can be placed above or below much easier. Please remember to click install if you use it.
Reply With Quote
  #45  
Old 09-02-2007, 06:40 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I applied the new template edit and reimported the product, but now (for me) the "Views" and "Date" columns are missing information. Also, is there a way to put a border within the table and change the color of the table to one that matches the rest of the default style's colors?
Reply With Quote
  #46  
Old 09-02-2007, 08:28 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just done very little modification to phrased the code. Thanks, it'a nice hack

Code:
<!-- Latest Blogs -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="4">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('latest_blogs')"><img id="collapseimg_latest_blogs" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_latest_blogs].gif" alt="" border="0" /></a>
      <a href="blog.php">$vbphrase[latestblogs]</a>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_latest_blogs" style="$vbcollapse[collapseobj_latest_blogs]">
	<tr>
		<td class="thead">$vbphrase[author]</td>
		<td class="thead">$vbphrase[title]</td>
		<td class="thead">$vbphrase[views]</td>
		<td class="thead">$vbphrase[date]</td>
	</tr>
	<tr>
		<td class="smallfont"">$spitblogs_username</td>
		<td class="smallfont">$spitblogs_title</td>
		<td class="smallfont">$spitblogs_views</td>
		<td class="smallfont">$spitblogs_date</td>
  </tr>
</tbody>
</table>
<!-- Latest Blogs -->
Reply With Quote
  #47  
Old 09-02-2007, 08:40 PM
Lpspider Lpspider is offline
 
Join Date: Oct 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr View Post
If you have vbadvanced you can put into one of your sidebar items and have it displayed on your forum page, they have a how to on that over at their site.
Well, say I don't have vbadvanced... then how would I go about it?
Reply With Quote
  #48  
Old 09-03-2007, 11:42 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ericgtr, Any idea why I might be having this problem after reinstalling everything?
Reply With Quote
  #49  
Old 09-04-2007, 12:26 AM
Michael2's Avatar
Michael2 Michael2 is offline
 
Join Date: Nov 2001
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work ok on the foruhome page but not on any other page. The table is there but not the data. Any idea how to make this work on all pages?
Reply With Quote
  #50  
Old 09-04-2007, 02:15 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Ericgtr, Any idea why I might be having this problem after reinstalling everything?
I have no idea why the views and dates aren't showing up as the code is in both the template and plugin, only the template needed updating. Try installing the plugin again and see if it doesn't change it for you.
Reply With Quote
  #51  
Old 09-04-2007, 02:17 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael2 View Post
Seems to work ok on the foruhome page but not on any other page. The table is there but not the data. Any idea how to make this work on all pages?
That's because it uses the forumhome_start hook i'm not sure which hook initiates it for every page, you can try maybe global_start or global_complete but I can't be sure.
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 01:27 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.04493 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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