![]() |
When I do update the foruminfo in the admin cp it removes all titles on the forum home. :(
|
Nice hack I installed on my vB but I need to know how to shorten the length if it exceeds so big it will be .......... instead of blabla because big thread names are stretching out my main page
|
Quote:
|
I guess not. I guess I will take a look at it myself but I doubt I can make it work. :ermm:
|
just be patient, scott is busy. i'm sure he didnt forget.
keep in mind that he's making us a favor that he posts his hacks, like any other hacker here. |
Yeah you're right. Btw will you (PPN) also include the posticon addon in the updated version?
|
I did the hack according to TecK's instructions and I am having the problem where by when a new reply is made to the post it does not update the title of the last posted thread until a new thread is made.
Replying to existing posts does not alter the thread title on forum home. Can anyone help as its driving me total looney tunes trying to get it to work. Cheers HM |
TECK, you need to fix your instructions a little.
This: ---------------------------------------- +-----------------------------------------------+ | Replace it with: +--------------------------------------------------------------------------+ $lastposts=$DB_site->query_first("SELECT MAX(title) as title,MAX(lastpost) AS lastpost FROM thread WHERE forumid=$forumid AND visible=1 AND open<>10"); if ($lastposts['lastpost']>$lastpost) { $lastposts=$DB_site->query_first(" SELECT lastpost,lastposter FROM thread WHERE forumid = $forumid AND lastpost = '$lastposts[lastpost]'"); $lastpost=$lastposts['lastpost']; $lastthread=$lastposts['title']; $lastposter=$lastposts['lastposter']; } $lastpostquery=",lastpost='$lastpost',lastthread=' ".addslashes($lastthread)."',lastposter='".addslas hes($lastposter)."'"; ----------------------------------- should be: ------------------------------------ +-----------------------------------------------+ | Replace it with: +--------------------------------------------------------------------------+ $lastposts=$DB_site->query_first("SELECT MAX(title) as title,MAX(lastpost) AS lastpost FROM thread WHERE forumid=$forumid AND visible=1 AND open<>10"); if ($lastposts['lastpost']>$lastpost) { $lastposts=$DB_site->query_first(" SELECT lastpost,lastposter,title FROM thread WHERE forumid = $forumid AND lastpost = '$lastposts[lastpost]'"); $lastpost=$lastposts['lastpost']; $lastthread=$lastposts['title']; $lastposter=$lastposts['lastposter']; } $lastpostquery=",lastpost='$lastpost',lastthread=' ".addslashes($lastthread)."',lastposter='".addslas hes($lastposter)."'"; ---------------------------------------- Now updating works in the admin cp. :) |
Hey, could someone help me out getting the posticons to update correctly in the admin cp? I updated the file and added the posticon stuff in it. It seems to work fine when posting but when I do a forum count update all posticons are gone (but titles work with my fix in the post above).
See the attached file. |
dark jim, i'm gonna ask you to take out my file and put a file only with your mods.
or even better, to post here using the [code] vb code. thanks. |
All times are GMT. The time now is 09:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|