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)

ztsky 07-17-2001 09:13 AM

thank you.
works well.
but two bugs:
1.the hack is work for new post after install this hack.
2.when you tansfer a thread to other post ,the LastTitle on resorce forum doen't change.

maverick1236 07-17-2001 09:24 AM

Thank You!!

Afterburner 07-17-2001 04:57 PM

the first isn't a bug because the lasttitle table in your database will create with the hack, thats mean earlier there arenĀ“t any entrys

2. I will try to fix this

Ajnabi 07-17-2001 08:41 PM

is there a way to make this hack appear in the forum Discription?

mojotim 07-18-2001 12:58 AM

Thanks, very useful hack!

Afterburner 07-18-2001 02:01 PM

yes, you have to insert the:

$showlastpostingtitle

in the board description template

Ajnabi 07-18-2001 04:56 PM

thx man.... it worked!

Mr. X 07-19-2001 02:10 PM

Im having problems. What template do I hack? in the instructions it says:

"forumhome_lastpostby"

what is this file? Where do I get it? Keep in mind Im a total idiot when it comes to this stuff :)

Afterburner 07-19-2001 02:23 PM

go to your ControlPanel
go to the Templates section and click edit
click on expand list in your choosen template
click on expand in Forum Home Page Templates
click on edit in forumhome_lastpostby

Mr. X 07-19-2001 02:29 PM

Thanx, I was able to figure out after posting that :)

But I had a major problem. When I got done with that part, I tried to enter my Control Panel. When I logged in, it showed me a very messed up version of my board, all graphics missing, default colors etc. I had to restore the index.php3 file from a backup I made before editing. I did everything from your instructions.txt. Were those updated with the new code that you repliied down below?

Btw, heres how I editied my template. Is it correct?

PHP Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" id="ltlink"><tr align="right">
        <
td nowrap><smallfont>$forum[lastpostdate] <font color="{timecolor}">$forum[lastposttime]</font><br>
        
by <a href="member.php3?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$forum[forumid]"><b>$forum[lastposter]</b></a><br><b>$showlastpostingtitle</b></smallfont></td>
        <
td nowrap>&nbsp;<a href="showthread.php3?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]"><img src="{imagesfolder}/lastpost.gif" border="0" alt="Go to last post"></a></td>
    </
tr></table



All times are GMT. The time now is 01:42 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.01067 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (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