![]() |
Alternate Last Post Display
1 Attachment(s)
Alternate Last Post Display By: Idan B. 1. Description & Usage: Alternate Last Post hack will allow the forum admin to make the "Last Post" column on forum look different (have another/better layout): Hack will make it with user avatar picture & instead of showing post date, it will show "time diff" since the post (for example: 4 Hours, 5 Minutes ago") - See pictures in attachment for better understanding. :up: This Hack can be enabled on both Forum Home & forum Display or Forum Display Only. The hack was develop for request of Theater (request was made here: https://vborg.vbsupport.ru/showthread.php?t=214212 ) I assumed this request might be "handy" to other users of community, so developed it to be a fully working modification. 2. Installation: Please click Mark as Installed. Installation is pretty easy - just download & install:
1. uninstall previous version 2. Download new version xml & install as instructed in previous section. 4. Configuration: Once installed, the "Vbulletin Options" under admincp will have extra section: Section name: "Alternate Last Post Display"
6. TO-DO's LIST (Next Versions):
NOTE: Currently supported format chars for date/time (v1.1.4) are : Date: "j","d", "m", "n", "F", "M", "Y", "y","S" Time: "h", "H", "g", "G", "i", "s", "a", "A". Any other chars will result with Post Time: N/A displayed ! NOTE: i've left v1.1.3 and added in addition the v1.1.4, just in case anyone has problem, he can download old version & rollback. Enjoy hack & dont forget to click Mark as Installed :) |
12 Jun 2009 (19:20) - Version 1.1.4 released :
06 Jun 2009 (20:25) - Version 1.1.3 released :
05 Jun 2009 (21:08) - Version 1.1.2 released :
05 Jun 2009 (19:35) - Version 1.1.1 released :
05 Jun 2009 (13:15) - Version 1.1.0 released :
30 May 2009 (13:15) - Version 1.0.3 released :
29 May 2009 (18:33) - Version 1.0.2 released :
29 May 2009 (16:46) - Version 1.0.1 released :
|
Nice mod
Installed will be translated to arabic |
|
Quote:
if you look at the missing image path you'll see it's looking for: http://www.leenkat.com/vbtest/images...ous_avatar.gif that isnt there. Upload it. Also note if you translate this you might need to go into code, as the "Last Post" & days/weeks/minutes text are hardcoded into plugin. I'll try to place these expressions text out to vbphrase on next version. EDIT: about the block width, it depands on skin, lemme try to place spacer gif to make this better. EDIT2: wait 10m, will place text into phrase & will force minimum width to block, so your skin wont wrap text to break it. |
Done i upload it
but there is an author probleme see it |
Quote:
Gimme 10 minutes, i'll upload v1.0.1 that has both external phrases for every text & i'll also place some spacer inside table to force minimum width to colum. |
Not work on forum install vbSEO ~~"
|
Quote:
EDIT: gimme an hour, it will fixed now. will be working on v.1.0.1 once uploaded. |
Version 1.0.1 posted.
Read changelog for full details of what's fixed & changed. Few notes about vbSEO:
|
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 |
Quote:
ok, investigating it it now. Changed mod status to beta till this matter resolved. Expect revision update to fix this within next hour. |
Awesome........thanks.
|
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) |
without vBSEO not working for me.
|
Quote:
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 ? |
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 |
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... |
Quote:
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%"> |
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. |
Update:
Till next version uploaded, i've updated "Known Bugs" sections - please be aware of them: 1. This mod supports english chars only. 2. The date format currently supported is only "m-d-Y". 3. vbSEO has problem with some of the nicks - sometimes shows as '' & link to profile with "a". 4. Time Diff sometimes shows incorrect negative value - still under check to locate cause. EDIT: Bug #1 - is under work but will take rather time to resolve (as this affect regular expressins) & every different language might have different "symptoms-bugs" . (a fix that will support all languages might be matter of days/weeks) Bug #2 - is under work, i hope a fix is hours/days away. Bugs #3 & #4 - currently being investigated. Seems alot of factors that users has control of inside admincp can cause conflicts/pitfalls thats needs consideration in code. Since i want as frequent updates as possible (but not too much, not to trouble you to keep re-download it), i'll release next revision when i have several bugs fixed. |
version 1.0.3 was uploaded.
See changelog for complete bugs fixed. I've also uploaded recent screenshot showing how it looks. The most critical issue currently fixed in this version is the date / time string - now supporting any format input by user on admincp. The chars supported are : "d", "m", "n", "D", "F", "M", "Y", "y", "h", "H", "g", "G", "i", "s", "a", "A". About vbSEO, i know few people with it, so i'll closely debug this with them, hoping that next version should be vbSEO bugs free (should any of those bugs in there still exists) |
Very cool hack :)
Going to wait until most of the vBSEO bugs are fixed, but definitely installing this one :up: |
Cool mod but as I can see not supporting other languages but english
Cant wait that other languages will be supported Rated |
EDIT2:
I have the solution !!! i dont understand why i didnt see it earlier :p Expect v1.1.0 in next 30 minutes EDIT3: will be uploaded tomorrow night, need to sleep. Waking to work in 5h. |
1 Attachment(s)
I'm not seeing any time data under the user info.
Before and after images attached. |
'Last Post' doesn't tell the members anything about what the post is about. Any way to better fix that?
|
Quote:
Indeed fair point - i'll add it on as feature into admincp so this can be controlled. I'm Currently at work, when i'll get back home tonight i'll upload v.1.1.0 (including this feature). |
Quote:
|
sounds good. can't wait!
|
Quote:
|
this is'nt working
|
v1.1.0 been postponed to weekend. There is some issue that needs resolving + i would like to better test it with vbSEO, and i rather make it 100% working & upload a working ver than upload something that will again work for some & for others will not.
Sadly this week been for me much longer hours @ work than i estimated. I'm too tired to debug this now. So this mod will be updated on the weekend (Saturday probably). |
version 1.1.0 uploaded - code been through major face-up, rewritten it - the entire concept was changed. It should now support any language & fix all the known bugs !
|
Hy, i have einstalled this mod.
but it is not working on the forum home. on the Forum display it is ok! i activated the forum home and an Error message is coming: Pleas help. my site: www.terramystik.lu Thank's Code:
Datenbankfehler in vBulletin 3.8.2: |
Installed latest version. Picture does not show on forum home or forum display.
|
Quote:
EDIT: found the problem !! The sub category on your forums called "LEHRE DES VERBORGENEN" has forum with last post from user with nick of "Kangiska" that user was deleted from your database. As result when i query for his userid i get no user_id which used later on for given query you've qouted. My assumption was that any user shown on last post exsits on db & not deleted. (Prooved wrong) EDIT2: Fixed it in code. Once other bug reported will be fixed i'll upload v1.1.1 that should fix the issue for you. |
Quote:
(right clickj on image, properties & copy paste the "address" shown) |
Its a site under development. http://hmsplan.com/forum.php ...it looks like a conflict with some another forumbit code??
|
Quote:
Does this show "broken image" where the avatar supposed to be ? as i think might be no image tag at all, and that might means some other mod uses var named $GLOBALS[avatar_img]. Will await on your reply, if when other mods disabled this works, i'll change var name to be unique for this mod, and i'll upload v1.1.1. EDIT: if possible upload screenshot, i want to be sure if it's adds broken img tag or non at all. |
All times are GMT. The time now is 07:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|