vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   vBulletin Blog - Latest Blogs on Home Page (https://vborg.vbsupport.ru/showthread.php?t=156652)

ericgtr 09-02-2007 02:59 PM

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.

readjono 09-02-2007 03:21 PM

That's done the trick! :) In fact I might move it above the 'What's Going On' box, as it works well there too.

ericgtr 09-02-2007 03:31 PM

Quote:

Originally Posted by readjono (Post 1330793)
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. :)

NFLfbJunkie 09-02-2007 06:40 PM

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?

cclaerhout 09-02-2007 08:28 PM

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 -->


Lpspider 09-02-2007 08:40 PM

Quote:

Originally Posted by ericgtr (Post 1330304)
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?

NFLfbJunkie 09-03-2007 11:42 PM

Ericgtr, Any idea why I might be having this problem after reinstalling everything?

Michael2 09-04-2007 12:26 AM

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?

ericgtr 09-04-2007 02:15 AM

Quote:

Originally Posted by Junkie (Post 1331762)
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.

ericgtr 09-04-2007 02:17 AM

Quote:

Originally Posted by Michael2 (Post 1331791)
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.


All times are GMT. The time now is 10:42 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.01380 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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