![]() |
Quote:
Best regards maxxxxxx |
Sometimes when I click on the last title on the forum home I get the dreaded no thread specified error. I have narrowed it down to this piece of code (which is an addon to this hack posted by PPN elsewhere in this thread).
PHP Code:
Quote:
|
I've actually come really close to fixing that very issue. but unfortunately, i only had it working for some usergroups, while it was not updating for the others, is this the same problem your having? i'm using v2.2.9.
Metro. |
I am using 2.2.9, also. I "think" I might have it fixed, but not sure. In the code above, try changing:
PHP Code:
PHP Code:
|
What file is that in?
|
The showthread.php, but you must be using the addon by PPN. ;) If anyone can verify this fixes it, I would appreciate it.
|
I lloked in showthread php and that is not in the file, could you tell me where the add on is located at
|
That code is the addon. It changes the last title to go to the first post in the thread instead of going to the last post like the arrow already does.
|
hi !
does this hack work with 2.3.0 ? greetz |
i was trying this hack for 2.3.0 but i did't appear to wrk, cause it shows the last title for everyone even if you are not logged in or the forum is a private one.
There's no support for this hack anymore? |
I installed this hack on my public forum finally (after an upgrade to 2.3.0) and so far I've had no errors at all, same with my localhost test forum. I wish there was a way to disable lastpost for a forum that only registered members can see, but thats my only gripe. I'd really like to get that icon addon though, so I'll install that tomorrow on my test board and see how it goes.
For my private forum, I have that set that only admins/mods can view it, so it doesnt appear to anyone else, so no problems there. |
i've had it working on 2.26/7/8&9 but its not straight forward on 2.3 because
Code:
$lastposts=$DB_site->query_first("SELECT MAX(lastpost) AS lastpost FROM thread WHERE forumid=$forumid AND visible=1 AND open<>10"); |
This code was taken straight out of the 2.3.0 functions.php ;)
PHP Code:
|
odd ? but thnx, will try again. Yours works ok?
|
I'm using 2.2.9, but I took that straight out of the functions.php for 2.3.0. I little tip...if you can't find a block of code, try looking for a single line of code and check it out for the rest of it. Sometimes the formatting is different which will throw things off.
|
thnx. Ignore me btw, its all there, works a treat. Not sure what iwas doing b4? :)
|
"if you can't find a block of code, try looking for a single line of code and check it out for the rest of it. Sometimes the formatting is different which will throw things off."
Yep, thats exactly what I do. Ultraedit's search isnt great, so I just search for the first line, but if its a line that appears a bunch of times in a file, I move to the next and narrow it down, then compare the block of code. It sucks, wish I could find blocks of code in Ultraedit though. |
Try EditPlus2. You can find whole blocks of code with it, no matter how big. The one line search is why I ditched Ultra-Edit and switched to EditPlus2. Far better editor. ;)
|
Hmm yeah I've been looking into it. UE does have alot of stuff I like, but I might consider switching.
Does the Icon addon work? I get alot of lines that dont appear in 2.3.0 code so Im guessing its a no go now. Bummer, an Icon addition would be nice with this hack. |
Thanks Scott, it's working flawlessly on 2.3.0 RC3 :)
This is one of those modifications that I believe vBulletin should have as default.. [high]* Oblivion Knight clicks install.[/high] |
hmm odd no matter where i put the
Quote:
i cant get it to work .. can you help me out maybe by takin a look at my forum or something .. the hacking went smoothly enough .. im runnin' 2.3.0 .. so can someone please help me this is like a must for a vB - Speedy |
I am getting a parse error when trying to delete in posts.
It says: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Parse error: parse error in /home2/webbhelp/webbhelper-www/mb/postings.php on line 837 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - It does not give any more information. When deleting a post from within the "Edit Post" section, all is cool, but after viewing the thread (showthread.php) and choosing "Delete Thread / Post" from the " Admin Options" menu, it give me the error above. See for yourself http://www.dungeonkeepersdomain.com/mb/postings.php Help |
Just installed this on 2.3.0, and it worked flawlessly SO FAR.
Tested deleting threads (using edit post AS WELL AS deleting directly from the admin options menu inside showthread), moving threads, etc. So far so good... I'll keep poking around and see if I crash it, heh. -Jason |
Installed this and everything seems to work fine. Although I cannot figure out how to get a last post with the 25 characters to be even with a last post with say 15 characters.
In other words, everytime that the script adds the "..."s the title is out of line with the non "..."s posts. Example at : http://www.mac-forums.com. I have tried to edit the template and changing the length of the string. Nothing has an effect on the alignment. Also tried it with bold and not bold. This one is just messing with me. Any ideas? I've noticed some boards don't have this issue, so I know it can be fixed. I just can't remember which ones, and I'm not gonna re-read a 25 page thread. I've already read it twice :) Added an example for quick reference :) http://mac-forums.com/images/example.gif See how the top post is a little left of the red line and the other 2 are right on the redline? It is easier to see when you are looking at whole page. |
I'd recommend going over the steps again, as that issue does NOT happen on my side of things...?
Anyone else get this problem? |
Wow, I have one site that doesn't have it happen but on my other it certainly does! Hmmmmmmm...
-Jason |
I've seen the problem on other boards.
I have already installed this hack 3 different times. Still no change. I am thinking it is the way that it would be placed in the template, but everything I've tried that has anything to do with the template does nothing for me. Thanks though... |
Okay, I'll see if I spot something that causes this in the code instead...
-Jason |
fine Hack it works on my 2.2.8, but who can i make it, i want to go to the last Posting not to the first Posting in the thread.
thxxx |
Quote:
I know that seems obvious, but that was my problem. More specifically, my lastpost template width was bigger than the td in forum_level2_post, so it was getting smushed. Make sure everything;s the same and see if it fixes it. |
I don't have any widths specified in the <td>'s.... So I guess everything is the same :)
|
I think waht's happening is you have the characters displayed set just right so it doesn't stretch the td, but goes a little into the cellpadding. To fix it you either need to widen that cell or shorten the character's displayed length.
|
Yeah, I shortened it to 25... I will try to bring it down and see what happens... thanks
|
this hack is great but how do I make the link go to the first post in the thread, not the last. I suck at code, I'm a designer!
|
Quote:
|
The default hack already does that o_O... Just make sure the forumhome_lastpostby says &goto=$lastpost&forumid=$forum[forumid] in the url.
|
worked flawlessly.
l8er sonic |
*licking install*
cool lil thing... has anyone found a way to display "today" instead of the today's date? Why should there be 06-05-03, today looks better :) |
got a problem, 2.3.0 installed and the thread title doesnt appear - anyone know a way around this?
|
Hi,
I followed the instrucions to the letter. My problem is this line: Code:
<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]">$forum[lastthread]</a> I'm using vB 2.3.0 and would love to use this hack. Can someone explain to me what to fix? Thanks in advance |
All times are GMT. The time now is 12:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|