![]() |
I don't have enough time to read through all 19 pages, maybe someone can tell me straight away...how can I make it so clicking the title takes you to the thread, and not the last post in that forum?
|
N/M I found it ;)
|
Hello ..
I'm use 2.2.8 and i have install the last title hack and evry thing is good without any problems .. and now i have problem with it when i need to put reply on any topic in my forum the last title will not show on forum home but if i reply with subject and icon the icon will appear (show) on forum home without the title .. please help me for that and sorry for my english ... Regards |
This hack rules!!
Wonder? Bevor installation i´ve had 24 Querys on Forumhome now after the installation ive got 23...?? /me loves it and klicks install! |
can you show me how to do the little .............. thing so that it doesnt mess with my forum lenths and makes it not strech out
|
I installed the hack on my forums running v2.2.8. Here is the error I get:
Database error in vBulletin Control Panel 2.2.8: Invalid SQL: SELECT * FROM thread WHERE forumid='33' AND lastposter='Smokin' Ace' AND lastpost='1034790242' mysql error: You have an error in your SQL syntax near 'Ace' AND lastpost='1034790242'' at line 1 mysql error number: 1064 Date: Wednesday 16th of October 2002 04:26:52 PM Script: http://www.powwows.com/gathering/gat...admin/misc.php Referer: http://www.powwows.com/gathering/adm...action=chooser I believe it might be having problems with a user that's username is Smokin' Ace because of the ' in the username. How can I fix that? Thanks |
Maybe you can post in that forum, so your username is shown then try again...?
|
But won't it give an error next time she posts?
|
Was that error message created while hacking or does it come up when she posts?
|
Sorry, I should have said that I get this error while running forum update.
Thanks |
Change:
PHP Code:
PHP Code:
|
Which file does that change go in?
|
admin/functions.php You need tyo replace whats in the text file with the change I made above so it should work.
|
I found it, and that fixed it.
Thanks for the quick responses!! |
No problem, happy to help :D
|
Bug: If the parent forum is NOT private, but the child forum IS private, the last title appears to show up for members who have no access to the private child forum.
Is there a fix for this? Thanks in advance. :) |
@Erwin, I also noticed this problem + this one:
When a thread is the latest thread and its title is shown on forumhome, and I edit the thread's title, and go back to forumhome, it still shows the old thread title, and not the new one...my guess is maybe modifying editpost so when the thread title is changed, it changes it in the DB? |
i ave v-bulletin 2.2.8 running and i tried adding this hack but this is what i got ....
i went through the entire thread but no luck :( Parse error: parse error, expecting `']'' in /home/123.com/httpdocs/forums/index.php(321) : eval()'d code on line 6 Parse error: parse error, expecting `']'' in /home/123.com/httpdocs/forums/index.php(321) : eval()'d code on line 6 =============================== line 321 is this eval("\$forum['lastpostinfo'] = \"".gettemplate('forumhome_lastpostby')."\";"); According to instructions i am suppose to add this <a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]">$forum[lastthread]</a> to the 'forumhome_lastpostby' any suggestions .... thankx for helping |
It is telling you to add that HTML into the TEMPLATE forumhome_lastpostby not in the code ;)
|
I installed this hack and the thread names rarely update on the homepage at all. I have tried a few fixes in this thread but they dont seem to work, 2.2.8, etc. I'm going to look at the file tek posted, but atm its not working right.
|
its the newreply code i think
as the newpost code works fine |
hmm seemed to have fixed it
musta missed a line :D |
Code:
+-----------------------------------------------+ I don't have the " if ($visible) {" anywhere underneath any of the "updateforumcount($threadinfo[forumid]);" in the file... :( |
sorry, may be you already talk about, but... how to add lastthread icon for that hack on forumhome?
thanx |
^check back a few pages.
I read quickly through each page, but didnt see what I was looking for, at least not quite. I have a forum where almost every thread has a cuss word in the title. The forum can only be read and posted in for registered users, logged out/unreg users still see the forum in question listed on the index, but when they enter, they wont be able to see any threads. This hack works great on 2.2.9, have it working on my test installation on my workstation, however I'd really like to know if its possible, to disable the last post for this one forum I have? I know I can change permissions to make it invisible to unregistered users, but I dont want to do that, since the forum still needs to appear in the index. Thanks! |
Has anyone figured out how to update the title on forumhome when the thread's title is edited?
|
...Hmm...ok I just looked in the instructions once again and found this:
lastthread That's the row that's created in a table in the DB.... My guess is...upon editing a thread, the change is entered somewhere, but the code isn't calling it? |
N9ne, use "Update Counters" in your AdminCP ;)
Mr. X, please, can you give me link to message, couse i have not time to search.... please! ;) |
M.C.: I could use update counters, but that would mean everytime someone edits a thread's title, I would have to update counters...not practical.
|
hi there.. i just got a little error on my site: http://www.spieleplanet.org/forum
look on the main boards "Spieleplanet Communizty .. there it shows 2x times the last threads.. but only in this forums.. on all others its okay.. please give me an idea!? thx |
Quote:
that dont show for me either on vb 2.2.6 for the postings.php file. when i search for updateforumcount($threadinfo[forumid]); .. about 4 of them comes up without the invisible part. any help? |
I just installed this on 2.2.9 but I got an error when I went to update the forum info. This is the error:
Quote:
|
Ok, I finally got the forum update counters to work by making the last post by someone other than the user with an apostrophe in the name. If they post any last posts in the future, then we are going to run into the problem again. I think it has something to do with adding htmlspecialchars or something like that to the last poster in the hack but I'm not sure where to add that to avoid the db error problem in the future. Can anyone lend a hand on that? Also, I get this error when I click on a last post link from a forum that has only 1 thread and 1 post in it.
Quote:
|
Quote:
Code:
open showthread.php and above: |
Is anyone still supporting this hack? I finally got it working ok, but I ran into a problem earlier tonight. I got the
Quote:
|
One last time, is anyone supporting this hack?
|
I found a bug in this hack, say you disallow guests to view threads in a forum, the guest can still see the title on forumhome, what can I do to make it so they only see the last post they're supposed to see?
|
I have installed this hack and it partly works. I have checked the installation and all seems to be as per instructions. I also have a gateway (usenet) hack installed which maybe causing a conflict.
My problem is: The last post date / name etc are fine The last post title is incorrect - it was correct the first time but won't update. The link from the last post title works, and takes you to the last post. Why won't the title update? You can see the site at http://www.gardenbanter.co.uk I hope one of you can help. Ok - I think I've figured it out. As all my threads come from usenet, the gateway script imports them into the db. Therefore after each import, the 'update forums info' needs to be run. In my case this is 6 times every hour. I have written a cron job calling the misc.php file. It seems to be working, but don't know what it will mean to the server load. |
have the same problem using 2.2.9 Hack was working then I installed this hack https://vborg.vbsupport.ru/showthrea...threadid=34361 now when someone registers it puts the info for that user in the post but does not update on forumhome page. I can go and run update counters in admin cp and it updates then. Any ideas.?
|
All works great but i want this last post on left side under the forums list like the picture...
http://www.phonecity.de/lastpost.gif thx and cu maxxxxxx |
All times are GMT. The time now is 11:36 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:
|