vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   LastTitleHack (https://vborg.vbsupport.ru/showthread.php?t=22881)

Thomas P 10-14-2001 10:45 AM

Hi Afterburner,
your hack works awesome on our forums, just two questions:

Any chance to get an "update 'last thread title'" feature and a correct handling of special chars like " (instead of "

I have no idea if this is hard to do, that's why I am asking...
Thanks,
-Tom

Afterburner 10-14-2001 12:42 PM

I know the problem and will fix it as soon as possible but no time at the moment to do this because I have another project (www.jg-scripts.de)

CEDsoft 10-26-2001 04:38 AM

Awesome hack!

I have noticed one problem, perhaps I did something wrong, but when the last post is deleted the topic still shows it as last title.

[update]

Also It appears moving a topic doesn't update the last title either.

jamie 10-27-2001 10:31 AM

great hack :D

installed on my test board fine, i'll just play about to try and get the icos and the & character things done...hehe.

gmtalk 11-02-2001 10:37 PM

Any one test this out on 2.2.0? i had it on my 2.0.3 and it ran well. have not tried it in 2.2.0.

:)

webhost 11-03-2001 03:05 AM

Yea think it needs a little work, had problems with it on 2.2 If I remember right in was in functions.php didn't like it much will look at it tomorrow.

Thomas P 11-04-2001 08:54 AM

Works in 2.2.0 for me, I had problems replying to a poll, but it proved to be from another hack.
cu,
-Tom

Scott MacVicar 11-04-2001 09:01 AM

The one within my sig is working on vb 2.2.x and 2.0.x

Thomas P 11-04-2001 09:06 AM

Well ... this one, too :D

Why don't you both work together on a more perfect "Lasttitle hack"? We don't need two, do we. ;)
But thanks for offering your alternative!

Just two questions to your implementation:
-What happens with the lasttitle if you move/delete or change threads?
-What happens if the thread title contains chars like " or ' etc.?

Thanks so far,
-Tom

Scott MacVicar 11-04-2001 09:27 AM

if you delete or move it goes back to the next newest one in the forum and if you have characters like " it just uses the htmlspecialchars function then the unhtmlspecialchars function before showing it, this version also works on forumdisplay if you have sub forums within a forum.

Mine is based on a modification to the function that updates the post counts, thread counts and last poster name for the forum home page.

It also modifies the newreply, postreply and editpost files.


All times are GMT. The time now is 11:32 AM.

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.01228 seconds
  • Memory Usage 1,729KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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