vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Today's Top Poster(s) 4.2.2 (https://vborg.vbsupport.ru/showthread.php?t=229116)

MyPeSePe 10-05-2011 12:11 AM

installed thanks

chrisngrod 10-05-2011 04:14 AM

Quote:

Originally Posted by BozzaJos (Post 2251474)
I have the same problem, but on 4.1.6 :(

Just change some of the code up. This is what I'm using...

It's found in todays_top_poster

Quote:

<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:raw top_posters_title}"/>{vb:raw top_posters_title}</h3>
<div id="top_posters_list">
<table class="block" cellpadding="6" cellspacing="6" border="0" width="100%" align="center">
<tr>
<vb:if condition="$todays_top_posters">
{vb:raw todays_top_posters}
<vb:else />
{vb:rawphrase todays_top_poster_no_posters}
</vb:if>
</tr>
</table>
</div>
</div>
This changes where it gets placed:

Code:

{vb:raw template_hook.forumhome_wgo_pos2}
Demo:

Scroll to bottom (www.cricketusers.com/forum.php).

chrisngrod 10-05-2011 04:15 AM

Quote:

Originally Posted by BozzaJos (Post 2251474)
I have the same problem, but on 4.1.6 :(

Just change some of the code up. This is what I'm using...

It's found in todays_top_poster

Code:

<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:raw top_posters_title}"/>{vb:raw top_posters_title}</h3>
<div id="top_posters_list">
<table class="block" cellpadding="6" cellspacing="6" border="0" width="100%" align="center">
<tr>
<vb:if condition="$todays_top_posters">
{vb:raw todays_top_posters}
<vb:else />
{vb:rawphrase todays_top_poster_no_posters}
</vb:if>
</tr>
</table>
</div>
</div>

This changes where it gets placed:

Code:

{vb:raw template_hook.forumhome_wgo_pos2}
I also placed a space between the avatar and the username so it wouldn't be so close... (&nbsp)

Placed in todays_top_poster_bit...

Code:

<vb:if condition="$show['comma_leader']">, </vb:if>{vb:stylevar dirmark}
<vb:if condition="$show['photo']"><a href="{vb:link member, {vb:raw top_poster}}" class="avatarlink"><img class="inlineimg" src="{vb:raw top_poster.avatarurl}" width="20" height="20" class="userlist_avatar_{vb:raw top_poster.userid}" alt="{vb:rawphrase xs_avatar, {vb:raw top_poster.username}}" border="0" /></a>&nbsp;</vb:if> <a class="username" rel="nofollow" href="{vb:link member, {vb:raw top_poster}}">{vb:raw top_poster.musername}</a> (<a rel="nofollow" href="{vb:raw vboptions.bburl}/search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw top_poster.userid}&amp;contenttype=vBForum_Post&amp;showposts=1" title="{vb:raw top_poster.postdate}">{vb:raw top_poster.postcount}</a>)

Demo:

Scroll to bottom (www.cricketusers.com/forum.php).


Currently using 4.1.5 with CompleteVB theme.

SpaceStar 10-15-2011 09:39 PM

Removed. Database error.

chrisngrod 10-15-2011 09:52 PM

I'm on 4.1.7 now and it still works here.

dvL-den 10-15-2011 11:27 PM

4.1.7 problems... not in the line with other things.
And have an option for hide/show :-/

chrisngrod 10-15-2011 11:45 PM

Maybe it's just having problems in some locations.

Made minor mods which I documented ABOVE --> http://www.cricketusers.com/forum.php

steve1966 10-24-2011 08:40 AM

Hi after the forum update i encountered two comas showing i have fixed this issue by editing todays_top_poster_bit template
and removing the , from this code

<vb:if condition="$show['comma_leader']">, </vb:if>

<vb:if condition="$show['comma_leader']"> </vb:if>

Bob_R 10-28-2011 01:55 PM

Working fine but its showing this message "Today's Top Posters" twice. Like this:

"Today's Top Posters Today's Top Posters"

Also would like it under "Users active in the past 24 hours".

For the record I'm using the code from post #73

Bob_R 10-28-2011 02:43 PM

Forget it guys. I figured it out and fixed it all by myself.

Thanks anyway!


All times are GMT. The time now is 12:47 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.03762 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
  • (4)bbcode_code_printable
  • (3)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