vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Alternate Last Post Display (https://vborg.vbsupport.ru/showthread.php?t=214832)

mike2902 08-09-2009 01:22 AM

The avatars are showing on Forum home but not inside each individual forum. Any ideas? And yes I have it set to yes in the admin cp.

IdanB 08-09-2009 05:44 PM

This will be checked as soon as i can.
As mentioned in previous posts, i've been quite busy with other urgent projects, some are still underway.
I will do my best to upload fix for it this weekend (14/8/809 night).

TheLastSuperman 08-09-2009 09:34 PM

Quote:

Originally Posted by IdanB (Post 1864149)
This will be checked as soon as i can.
As mentioned in previous posts, i've been quite busy with other urgent projects, some are still underway.
I will do my best to upload fix for it this weekend (14/8/809 night).

I assume you had already figured out the tabbed forum home and it will be included w/ the update or did I just fall in to the saying? :D

Let me know if not so I can PM you what I found. Also I found another mod for user avatars on threadbit so it shows in all threads and plan to merge it with this one or splice etc.

S-MAN

Front Range 4x4 08-10-2009 10:31 PM

Marked as Installed. Very nice addition and improves the look considerably. Thanks IdanB!

One issue: Enable on Forum Display? - Yes/No (default YES) isn't working for me. I can't get it to show on Forum Display probably due to some template mods I've made, Forum Home is fine.

Any tip on what to check to try to get it working on Forum Display?

Thanks again.

IdanB 08-11-2009 02:24 PM

Quote:

Originally Posted by TheLastSuperman (Post 1864231)
I assume you had already figured out the tabbed forum home and it will be included w/ the update or did I just fall in to the saying? :D

tbh i never had a chance to inspect it closely to figure this one out, as i wasnt using this mod myself.
Few people offered to help use their board as debug platform for this bug, but due to different timezone i had trouble get online same time as other users that offered to help debug this one.

If you can pm me everything you fixed & i'll continue work from there.

Thanks.
Idan.

TheLastSuperman 08-12-2009 05:22 PM

Quote:

Originally Posted by IdanB (Post 1865137)
tbh i never had a chance to inspect it closely to figure this one out, as i wasnt using this mod myself.
Few people offered to help use their board as debug platform for this bug, but due to different timezone i had trouble get online same time as other users that offered to help debug this one.

If you can pm me everything you fixed & i'll continue work from there.

Thanks.
Idan.

I sure will and it will be sent later today, I believe my problem was related to not storing avatars in a folder instead of the DB however I don't want to change that yet... I'll forward what I have so far as some can use it w/ the tabbed mod and some won't depending on the avatar settings I assume. Sit tight, I'll have it forwarded in about an hour or so when I finish up my searches on here ;)

S-MAN

nascartr 08-23-2009 05:31 PM

I store my avatars in a folder and not the database so I believe the problem is just the way the modification is coded. I'm still hoping for a fix soon for the Tabbed Forum Home mod!

TheLastSuperman 08-23-2009 10:23 PM

Quote:

Originally Posted by nascartr (Post 1872839)
I store my avatars in a folder and not the database so I believe the problem is just the way the modification is coded. I'm still hoping for a fix soon for the Tabbed Forum Home mod!

CRUD!!! I knew I was forgetting something the other night, I found a fix for naother mod and PM'd it thinking I had covered everything lol.. IdanB and nascartr I'll BRB w/ info.

S-MAN

TheLastSuperman 08-23-2009 10:37 PM

1 Attachment(s)
Ok IdanB... in the actual xml I modified this part you'll see what I added...

Code:

// Code written by Idan Bismut (c) 2009
// Copy and/or re-use of this code (or part of it) without author approval in writing is forbidden

if ( $vbulletin->options['alt_lp_global_enabled'] == 1)
{
 
  if ( ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'index') ) || ( ($vbulletin->options['alt_lp_enable_in_forumdisplay'] == 1) && (THIS_SCRIPT == 'forumdisplay') ) || ( ($vbulletin->options['alt_lp_enable_in_forumdisplay'] == 1) && (THIS_SCRIPT == 'tabforumhome') )  )
  {

Plus another instance near the bottom:

Code:

                        <title>Forum Home - Template Change</title>
                        <hookname>forumhome_start</hookname>
                        <phpcode><![CDATA[// Alternate Last Post Display Modification
// ----------------------------------------
// Code written by Idan Bismut (c) 2009
// Copy and/or re-use of this code (or part of it) without author approval in writing is forbidden

if ( $vbulletin->options['alt_lp_global_enabled'] == 1)
{
 
  if ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'index')  || ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'tabforumhome') ) )
  {
      // Fixed in v.1.1.4 - now all inside template, so user may update it as they please !
      //$vbulletin->templatecache['forumhome_lastpostby'] = "<div align='left'><table width='100%'><tr><td align='left' width='40'>\$vbulletin->options['usefileavatar']</td><td align='left' NOWRAP><a href='\$GLOBALS[alt_lp_last_post_link]'>\$GLOBALS[alt_lp_last_post_title]</a> $vbphrase[alt_lp_by] <a href='\$GLOBALS[alt_lp_last_poster_profle_link]'>\$GLOBALS[alt_lp_last_poster]</a><br>\$GLOBALS[alt_lp_last_post_time_ago]</td></tr></table></div>";

      $vbulletin->templatecache['forumhome_lastpostby'] = $vbulletin->templatecache['forumhome_lastpostby_alternate_view'];

      //eval('$vbulletin->templatecache[\'forumhome_lastpostby\'] = "' . fetch_template('forumhome_lastpostby_alternate_view') . '";');

      // Reload template so the first bit will be updated as well
      eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
  }
}]]></phpcode>
                </plugin>

And I believe that was it... I had another similar mod for Avatars in another area of the forum so I had to change that as well but don't think they were directly related. So to sum it up all I did (sorry I had to backtrack due to heavily modifying that similar mod that was for threadbit etc) was add in another && this script etc w/ the forumhometab named as the if this script.

S-MAN

Edit: See attached copy of XML that has been modified for my forum w/ this && this_script for Tabbed Forum Home.

ArnyVee 08-23-2009 11:23 PM

Michael, you think it's safe for me to use your product for my site? I haven't been following this one too closely as of late, but noticed this post tonight :up:


All times are GMT. The time now is 09:05 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.03646 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)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)pagenav_pagelinkrel
  • (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