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)

hotwheels 05-29-2009 01:04 PM

Okay, right now it isn't working in forumdisplay in its default mode. When i set the second setting to no so the product will show on forumhome, it works, but i have this error all over the place "Warning: mktime() expects parameter 1 to be long, string given in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 387"

Great idea though

IdanB 05-29-2009 01:09 PM

Quote:

Originally Posted by hotwheels (Post 1819500)
Okay, right now it isn't working in forumdisplay in its default mode. When i set the second setting to no so the product will show on forumhome, it works, but i have this error all over the place "Warning: mktime() expects parameter 1 to be long, string given in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 387"

Great idea though

o.O

ok, investigating it it now.
Changed mod status to beta till this matter resolved.
Expect revision update to fix this within next hour.

hotwheels 05-29-2009 01:19 PM

Awesome........thanks.

IdanB 05-29-2009 02:47 PM

version 1.0.2 uploaded.
Please report any problems.
The vbSEO should now be fully fixed, inlcuding links fix.

Once i'll get feedback this is working properly, i'll remove the beta status.

Extra Notes:
should any user see "Post Time NA", please be sure to check this plugin on default skin too before posting feedback & mention if this fails on both of the skins.
Since this plugin uses regular expression to fetch certain information (post time & link of last post) it is possible that someone has way-custom skin installed, a skin that not using "default" format for the "last post" (most custom skins are ok, so this should be rare case, but it's possible)

Hasann 05-29-2009 02:57 PM

without vBSEO not working for me.

IdanB 05-29-2009 03:05 PM

Quote:

Originally Posted by Hasann (Post 1819595)
without vBSEO not working for me.

version 1.0.2 ?
Can you give more information as to what not working ?
Errors showing on page ? empty links ?

EDIT: also, have you checked it with default skin ?
I will gladly debug this to support other unforseen factors, but i'll need as much information as possible.
Could you please add screenshot that shows problem ?

Hasann 05-29-2009 03:20 PM

sure I've installed version 1.0.2 on default skin and if I select turkish language it shows nothing.

http://img12.imageshack.us/img12/5281/altlastpost.jpg

IdanB 05-29-2009 03:27 PM

I see.
Well few things:
1. minor: align to left, it's minor issue - will be fixed on next rev.
2. i see it detects avatar & nicks correctly, with exceptions of 2 users. Can you please paste their nicks, so i'll see what chars the regexp not catching. Is it English / Arab chars ?
3. As to the "Post Time: N/A" is it using non mm-dd-yyyy format on forum ? non english numbers ?

Any chance you can paste the html as seen on your forum, while mod is disabled ? (specific the html block inside the last post cell)
i want to match the regular expression in mod to ones you have, and understand what's different between what you have & what i have in mine.

EDIT2: As long as i can find in html some anchor in english (some html char / tag) that can be used to grabbing, this issue can be fixed in a common way to all languages. About fact turkish language showing nothing - this is due to regular expression. if we fail to find some common tags to use as refrence to fetch fields, this might require version specific code, as i'm not sure it's possible to make turkish & english regexp code that cover all cases...

Hasann 05-29-2009 03:38 PM

Quote:

Originally Posted by IdanB (Post 1819614)
I see.
Well few things:
1. minor: align to left, it's minor issue - will be fixed on next rev.
2. i see it detects avatar & nicks correctly, with exceptions of 2 users. Can you please paste their nicks, so i'll see what chars the regexp not catching. Is it English / Arab chars ?
3. As to the "Post Time: N/A" is it using non mm-dd-yyyy format on forum ? non english numbers ?

Any chance you can paste the html as seen on your forum, while mod is disabled ? (specific the html block inside the last post cell)
i want to match the regular expression in mod to ones you have, and understand what's different between what you have & what i have in mine.

2. no it is Turkish chars.
3. Im using tr_TR on Linux with %d %B %Y format on my forum

here is the html block inside the last post cell while mod is disabled.

HTML Code:

<td class="alt2" width="36%">
<div class="smallfont" align="left">
        <div>
                <span style="white-space:nowrap">
                <img class="inlineimg" src="http://www.vbulletin-turkey.com/forum/images/icons/document.png" alt="" border="0" />
               
                <a href="showthread.php?goto=newpost&amp;t=4240" style="white-space:nowrap" title=" 'Css dosyası' Konusundaki birinci okunmamış Mesaja git"><strong>Css dosyası</strong></a></span>
        </div>
        <div style="white-space:nowrap; float:left">
                G?nderen: <a href="member.php?find=lastposter&amp;f=9" rel="nofollow">Hasann</a>
        </div>
        <div align="right" style="white-space:nowrap">
                29 Mayıs 2009 <span class="time">17:26</span>
                <a href="showthread.php?p=30473#post30473"><img class="inlineimg" src="images/turkce/buttons/lastpost.gif" alt="son yazılan Mesajı g?ster" border="0" /></a>
        </div>
</div>
</td>


IdanB 05-29-2009 03:50 PM

about different non-default date - it's a "pitfall" i've indeed neglected - that will be fixed on next rev.
About turkish chars, lemme investiage this for some "work-around" solution, i might need your help too. I've sent yu a pm - if you have msn, that would help.

I'll update on any progress.


All times are GMT. The time now is 01:48 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.01498 seconds
  • Memory Usage 1,752KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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