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)

Afterburner 07-19-2001 02:45 PM

did you changed your template to another template ?
I cant see an problem if you follow the instructions
if you want, contact me on ICQ (please remember I am from Germany so choose easy words)

Ajnabi 07-20-2001 04:25 AM

ok... it worked on a test forum.... but when i tried it on the real thing i got this error

Code:

Database error in vBulletin Control Panel: Invalid SQL: ALTER TABLE forum ADD showlasttitle CHAR (3) not null
mysql error: Duplicate column name 'showlasttitle'
mysql error number: 1060

Any suggestions?

Afterburner 07-20-2001 06:28 AM

the error: "Duplicate column name" means you have installed the hack before (means opened already the lasttitlehack.php) and the "showlasttitle" entry is already in your database. You can see this if you go to your mysql database and look into the forum table. There must be the entrys:

showlasttitle and lasttitle

if there are both entrys you have only to mofidy the code in the files and the templates and not to run the lasttitlehack.php file

Ajnabi 07-20-2001 01:57 PM

alright... i'll try that... thx for all the help!

joecrow 08-24-2001 10:07 AM

does it work with vbb 2.0.3?

Afterburner 08-24-2001 10:28 AM

yes

LuBi 09-02-2001 01:02 PM

Read it works on 2.0.3, yet I'm at the part in my instructions to edit the index.php and cannot find the proper code that needs to be replaced that it says can be found around Line 264. How can I edit this to work properly?

LuBi 09-03-2001 04:03 AM

Really Need Some Help on This one...In the middle of my hacking, and am now stuck with no forum and no hack.

Afterburner 09-03-2001 06:38 AM

line 264 is correct, there starts the code:

// dates
if ($forum['lastpost']>0) {
$forum['lastpostdate']=vbdate($dateformat,$forum['lastpost']);
$forum['lastposttime']=vbdate($timeformat,$forum['lastpost']);
eval("\$forum['lastpostinfo'] = \"".gettemplate('forumhome_lastpostby')."\";");
} else {
$forum['lastpostinfo']='Never';
}

LuBi 09-03-2001 02:59 PM

I'm using 2.0.3, I don;t have that paragraph in my index.php


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.01082 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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