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)

LuBi 11-16-2001 06:17 AM

Well no one has been able to figure out why I get an error removing this hack. So I've decided to keep it, and wait for the icon addon. So I'll KIT waiting for that one, hurry PPN it's a killer.

Scott MacVicar 11-16-2001 06:25 AM

PHP Code:

$lastpostquery=",lastpost='$lastpost',lastposter='".addslashes($lastposter)."'; 

your missing a " at the end should be

PHP Code:

$lastpostquery=",lastpost='$lastpost',lastposter='".addslashes($lastposter)."'"


inetd 11-20-2001 09:05 PM

Please, inform the complete working code for vb2.2.1 version.

Scott MacVicar 11-21-2001 07:07 PM

It will work on vb 2.2.1 there will be no changes as 2.2.1 was just a bug fix and involves no changes to any of the functions which this edits.

Scott

inetd 11-24-2001 09:56 AM

The last version of the code without bugs is necessary for me. Which works with version 2.2.1. Where it to take?

Syphin 11-24-2001 10:12 AM

This does work perfectly fine on vb 2.2.1.. Ive been using it sense it was released...

-Syphin

inetd 11-24-2001 10:31 AM

I understand! The version free from bugs is simply necessary for me!

Alex 11-25-2001 09:55 AM

does this hack exclude private forums to show last title?

CHeeKY 11-25-2001 11:45 AM

Question how would this work if you are using access masks ?

Scott MacVicar 11-25-2001 12:10 PM

The makeforum function already takes into account access masks when showing the last post time and last post user this is simply an addition with last post title so if they don't have permission to view others then they shouldn't see time, user or title.

Scott


All times are GMT. The time now is 03:53 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.01258 seconds
  • Memory Usage 1,731KB
  • 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
  • (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