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 09-07-2001 05:58 PM

OK I uploaded the hack, to download the new version of this hack go to the first post

Thomas P 09-08-2001 08:29 AM

Perfect!
Works very well! :D

Small question: Is there a possibility to update old threads to show the title...?

<german>
Sorry, ist ein wenig bl?d zu erkl?ren und eigentlich nicht wichtig - bin nur neugierig ;)
Kann man den lasttitle auch f?r alte Beitr?ge updaten, so da?
die ?nderungen nicht erst f?r neue Beitr?ge wirksam werden?
<german>

thx,
-Tom

Afterburner 09-08-2001 08:46 AM

at the moment: no

<german>
Geht im Moment nicht, ich habe mir gerade mal Dein Board angesehen udn Du hast ja gar nicht meinen Hack eingebaut sondern einen anderen. Danke noch für den Tip mit der update datei, ist unwichtig die meldung aber ich werde es rausnehmen.
<german>

Thomas P 09-08-2001 08:51 AM

Quote:

Originally posted by Afterburner
<german>
Geht im Moment nicht, ich habe mir gerade mal Dein Board angesehen udn Du hast ja gar nicht meinen Hack eingebaut sondern einen anderen. Danke noch f?r den Tip mit der update datei, ist unwichtig die meldung aber ich werde es rausnehmen.
<german>

<german>
?hhh?? Klaro ist das Deiner! So doof bin ich nu wirklich nicht ;)
Habe nur Apostrophe hinzugef?gt, die Farbe ge?ndert und den Text kursiv gesetzt- das ist alles.
Nichts f?r ungut :D und danke f?r die M?he!
-Tom
</german>

Afterburner 09-08-2001 09:09 AM

next addon:

If you want to use the last title as a link to the last posting go to your cp and edit the forumhome_lastpostby template

look for:

<b>$showlastpostingtitle</b>

replace it with:

<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]"><b>$showlastpostingtitle</b></a>

I insert this in the hack at 12:11 o´clock German time (8.September 2001)

Lian 09-08-2001 10:31 AM

great hack Afterburner!
Thank you - Danke!

Afterburner 09-08-2001 12:53 PM

@ Lian

<german>
Du linkst ja zum selben Board wie Thomas P :D
<german>

Lian 09-08-2001 01:48 PM

Hi,
ja, ich gehöre -wie Tom- zum Forenstaff.
Lian

Baptizer 09-10-2001 01:43 PM

great hack afterburner!!! i have a quick question, after installing the new updated version, exactly where in the control panel can we change the number of characters to be displayed? i cant seem to find the option...

Afterburner 09-10-2001 02:04 PM

Forums and Moderators
-> modify
--> Edit the settings for the Last-Title-Hack

and this is a screenshot:



http://www.the-afterburner.de/lastshot.JPG

Baptizer 09-10-2001 02:08 PM

very sweet...thank you afterburner!

Phil 09-10-2001 03:17 PM

Excellent, Thanks you for another great hack :) I wonder if you can help me solve a small prob? When posts have symbols in the title, they are rendered as ACSII in the last title area. Is it possible for these symbols to be rendered correctly?

Afterburner 09-10-2001 03:23 PM

Did you upload this symblos into ASCII Mode ? If yes upload the symbols in BINARY Mode

Phil 09-10-2001 03:34 PM

What I mean is, we have a thread titled ">>All posts here Siggy<<" but it gets rendered on the front page by your hack as "&gt;&gt;All posts here siggy&lt;&lt;"

Afterburner 09-10-2001 03:42 PM

OK I understand and will try to fix this

Phil 09-10-2001 03:53 PM

Quote:

Originally posted by Afterburner
OK I understand and will try to fix this

Excellent, Thanks :D

fury 09-22-2001 03:27 AM

Great hack, d00d :D

I second this bug notification by ztsky on the first page:
Quote:

2.when you tansfer a thread to other post ,the LastTitle on resorce forum doen't change.
If this could be fixed, that'd be very appreciated by me since threads get moved to other forums quite a bit on the board I installed this hack on (ygm, btw)

bbqfan 09-23-2001 09:58 AM

wow, another... i found...
i have posted the new code of similar hack:
http://www.vbulletin.com/forum/showt...threadid=28489

maybe it interests you... :)

P@ul_tje 09-27-2001 10:52 PM

DAMMN i would really like 2 get the hack but i got a failure @

look for this 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';
}


i could not find it in Index.php3 :(

hacker 10-02-2001 10:59 AM

Quote:

Originally posted by ztsky
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.

This is indeed one of the best hacks even though it took such a long time to complete. If you have installed the Sponsor hack, remember to check the code before you simply replace them.

Just to add on regarding point (2), when you delete the post, the Title still remains...

JZarate 10-07-2001 10:00 PM

the last post <td> larger. I looks a little crowded and I want to make it larger.

hacker 10-10-2001 06:15 AM

Strange error when installed.... ???

Database error in vBulletin Control Panel: Invalid SQL: UPDATE forum SET parentlist=',51,-1' WHERE forumid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
Date: Sunday 07th of October 2001 08:34:37 AM
Script: /forums/admin/forum.php

Afterburner 10-10-2001 07:26 AM

where do you get this error ?

hacker 10-10-2001 09:47 AM

Nevermind, I reinstalled the whole thing.... :).

nuno 10-13-2001 03:00 PM

dang
gr8 hack m8
does it show lastpost icon also?
TIA :)

Afterburner 10-14-2001 07:16 AM

Quote:

Originally posted by nuno
dang
gr8 hack m8
does it show lastpost icon also?
TIA :)

no, not at the moment

Mr. X 10-14-2001 07:52 AM

I had some probs installing the hack as you can see from my previous post, but I will wait until you fix the delete/move features. I hope you do that, cuz I cant wait to install this hack again (on my own system first :)).

Afterburner 10-14-2001 08:07 AM

Quote:

Originally posted by Mr. X
I had some probs installing the hack as you can see from my previous post, but I will wait until you fix the delete/move features. I hope you do that, cuz I cant wait to install this hack again (on my own system first :)).
do you have more than one template ?
then you have to modify all templates, this hack doesn?t change any colors or remove any graphics

Mr. X 10-14-2001 08:08 AM

Not that Im aware of. I have several themes if thats what you mean, but no hacks installed. Hell I dont think I ever touched templates before so my board is running stock code.

It was probly just a dumb error on my part. I dont understand any of this, I just cut and paste, and I probly made some syntax mistakes somewhere.

Afterburner 10-14-2001 08:13 AM

Quote:

Originally posted by Mr. X
I probly made some syntax mistakes somewhere.
I think this catched it.
If you did the changes only in one template the last posting title is only in this template available.

If you are a amateur let it be to change the template or make a complett backup of the database and all files before trying again.

Thomas P 10-14-2001 10:45 AM

Hi Afterburner,
your hack works awesome on our forums, just two questions:

Any chance to get an "update 'last thread title'" feature and a correct handling of special chars like " (instead of &quot;

I have no idea if this is hard to do, that's why I am asking...
Thanks,
-Tom

Afterburner 10-14-2001 12:42 PM

I know the problem and will fix it as soon as possible but no time at the moment to do this because I have another project (www.jg-scripts.de)

CEDsoft 10-26-2001 04:38 AM

Awesome hack!

I have noticed one problem, perhaps I did something wrong, but when the last post is deleted the topic still shows it as last title.

[update]

Also It appears moving a topic doesn't update the last title either.

jamie 10-27-2001 10:31 AM

great hack :D

installed on my test board fine, i'll just play about to try and get the icos and the & character things done...hehe.

gmtalk 11-02-2001 10:37 PM

Any one test this out on 2.2.0? i had it on my 2.0.3 and it ran well. have not tried it in 2.2.0.

:)

webhost 11-03-2001 03:05 AM

Yea think it needs a little work, had problems with it on 2.2 If I remember right in was in functions.php didn't like it much will look at it tomorrow.

Thomas P 11-04-2001 08:54 AM

Works in 2.2.0 for me, I had problems replying to a poll, but it proved to be from another hack.
cu,
-Tom

Scott MacVicar 11-04-2001 09:01 AM

The one within my sig is working on vb 2.2.x and 2.0.x

Thomas P 11-04-2001 09:06 AM

Well ... this one, too :D

Why don't you both work together on a more perfect "Lasttitle hack"? We don't need two, do we. ;)
But thanks for offering your alternative!

Just two questions to your implementation:
-What happens with the lasttitle if you move/delete or change threads?
-What happens if the thread title contains chars like " or ' etc.?

Thanks so far,
-Tom

Scott MacVicar 11-04-2001 09:27 AM

if you delete or move it goes back to the next newest one in the forum and if you have characters like " it just uses the htmlspecialchars function then the unhtmlspecialchars function before showing it, this version also works on forumdisplay if you have sub forums within a forum.

Mine is based on a modification to the function that updates the post counts, thread counts and last poster name for the forum home page.

It also modifies the newreply, postreply and editpost files.


All times are GMT. The time now is 06:12 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.02231 seconds
  • Memory Usage 1,815KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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