The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#312
|
|||
|
|||
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? |
#313
|
||||
|
||||
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:
|
#314
|
||||
|
||||
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:
|
#315
|
||||
|
||||
Quote:
Code:
open showthread.php and above: if ($goto=="nextnewest") { $thread = verifyid("thread",$threadid,1,1); add: // goto newest thread if ($goto=="newthread") { if (isset($forumid) and $forumid!=0) { $foruminfo=verifyid("forum",$forumid,1,1); $forumid=$foruminfo['forumid']; $lastthread=$DB_site->fetch_array($DB_site->query("SELECT threadid FROM post WHERE username='".addslashes($foruminfo[lastposter])."' AND dateline='$foruminfo[lastpost]'")); header("Location: showthread.php?s=$session[sessionhash]&threadid=$lastthread[threadid]"); exit; } } In the "forumhome_lastpostby" template: change: <a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]">$forum[lastthread]</a> to: <a href="showthread.php?s=$session[sessionhash]&goto=newthread&forumid=$forum[forumid]" title="Go to first post">$forum[lastthread]</a> |
#316
|
||||
|
||||
Is anyone still supporting this hack? I finally got it working ok, but I ran into a problem earlier tonight. I got the
Quote:
|
#317
|
||||
|
||||
One last time, is anyone supporting this hack?
|
#318
|
|||
|
|||
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?
|
#319
|
|||
|
|||
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. |
#320
|
||||
|
||||
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.?
|
#321
|
|||
|
|||
All works great but i want this last post on left side under the forums list like the picture...
thx and cu maxxxxxx |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|