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)
-   -   Last post on forum home, working version (https://vborg.vbsupport.ru/showthread.php?t=28561)

Scott MacVicar 09-21-2001 05:38 PM

ok, i discovered what it was, i will re-document in about 20mins after i have had some nice kebab :P

Amasov 09-21-2001 05:43 PM

Roger, have a nice eating. ;)

Scott MacVicar 09-21-2001 06:02 PM

ok, i updated the documentation now to go have a beer :P

Amasov 09-21-2001 06:28 PM

Cheers!:)

Thanks for updating. I'll try it in a few hours.

Thanks.

Regards,
Chris.

inetd 09-22-2001 12:07 PM

In last post column it is displayed New worm "Ni.. Ni. though original thread title New worm [u]"Nimida"[/u.] Please fix it.
And how to reduce quantity of symbols deduced in the title of a thread?

Scott MacVicar 09-22-2001 03:10 PM

sorry about this i forgot to unhtmlspecialchars the title.


within index.php and forumdisplay.php look for the follow lines which you added.

PHP Code:

          if (strlen($forum['lasttitle']) > 30) {
            
$forum['lasttitle'] = substr($forum['lasttitle'], 028);
            
$forum['lasttitle'] .= '..';
          } 

above that add the following
PHP Code:

$forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']); 

this should solve the problem with the characters not being converted.

Also the decision on length is made by the top code a quick explanation is, if the length is over 30, remove everything after 28 characters and add two dots to the end.

Hope this helps, instruction file now updated.

inetd 09-22-2001 03:42 PM

Thx, PPN!
GOOD WORK!:)

Scott MacVicar 09-22-2001 03:45 PM

so this is one of the first versions to work without bringing the server to its knees?

:P

Goddess Washu 09-22-2001 07:05 PM

Mine works perfectly fine... Although I just combined a bunch of the ones that were posted before, sorta mad my own... don't remember what I did...

Alien 09-23-2001 09:29 AM

Works great, you did a really good job on this... Thanks so much!

I do have a question though.. How would I get the title to link to the actual post?

Thanks again!. :D


All times are GMT. The time now is 10:39 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.01417 seconds
  • Memory Usage 1,735KB
  • 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_php_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