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 11-14-2001 03:00 PM

em my bad

:D

LuBi 11-15-2001 05:49 AM

Well I did the layout myself, but how do I get the code for the icon with the last post? What's the code for the icon?

SharkY-GA 11-15-2001 06:01 AM

Yeah it would rock if you added the post icon too

h4p3 11-15-2001 08:31 AM

PPN, this version works really fine on my testboard, some extreme testing, then i will do it on my main forum :)

Javier97Z28 11-15-2001 02:44 PM

This works great!! Thanks! (first post :) )

Scott MacVicar 11-15-2001 03:17 PM

Ok, i'll look into doing the post icon as well, I hope i can do it by just adding to the existing query :)

LuBi 11-15-2001 03:18 PM

Quote:

Originally posted by PPN
Ok, i'll look into doing the post icon as well, I hope i can do it by just adding to the existing query :)
Thanks!

LuBi 11-15-2001 10:46 PM

Tried to remove this hack, I uninstalled this hack form all my files backed out changed everything back from what the text told me to change it to. Anyhow so now with my fuctions.php I get this error:

Parse error: parse error in /www/htdocs/forums/admin/functions.php on line 1793

Fatal error: Call to undefined function: makelogincode() in /www/htdocs/forums/global.php on line 332

The code on the lines around it are as follow.

PHP Code:

1789    if ($lastpost!=$currentlastpost) {
        
$lastpostquery=",lastpost='$lastpost',lastposter='".addslashes($lastposter)."';

    } else {
        
$lastpostquery="";
    }

    
$DB_site->query("UPDATE forum SET
                replycount
='$numberposts',threadcount='$numberthreads'
1798        $lastpostquery WHERE forumid='$forumid'"); 

$lastpostquery=""; seems to be the problem, what do I do?

SharkY-GA 11-15-2001 11:51 PM

Didnt you backup functions.php?

LuBi 11-16-2001 12:05 AM

Quote:

Originally posted by SharkY-GA
Didnt you backup functions.php?
Well yes but I installed other hacks after, it should be as simple as un-doing everything to install. But for some reason this hack isn't.... I dunno what the problem is.


All times are GMT. The time now is 11:52 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.01367 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_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