![]() |
it is not working
same problem wich SirSteve had !!! also i have expand/contract hack installed .. what i should do now? |
HOW is it not working? SOME details might help :)
For example, if it's showing no post, and just showing the reply/post bars above and below where the post should be then your postbit_first template needs to be expanded due to the expand/contract hack. So just redo the template. If that's not your problem, give us some info :) |
great hack. thanks firefly. i needed exacly this.
|
I was trying to do as SirSteve suggested, to remove the Author/Thread/New Thread/Post Reply bit in the beginning of the post, and to have it only after the first post. So, I thought I could modify showthread.php like this:
Original Code: Code:
eval("dooutput(\"".gettemplate("showthread")."\");"); Code:
if ($counter==1 and $pagenumber==1 and ($thread['forumid']==6 or $thread['forumid']==7 or $thread['forumid']==8 or $thread['forumid']==4)) { Unfortunately, that didn't work. I'm a newbie in PHP, but that seemed to have been a good solution for what I was trying to achieve. I'd appreciate any input on this... Thanks a lot! Paulo |
For those who had a problem like this one:
Warning: Missing argument 2 for getpostbit() in /usr/www/users/gandalf/starwarsguide.com/forums/admin/functions.php on line 57 It is an easy fix. and maybe firefly can update his hack with this if he feels like it :). He has you change the following: function getpostbit($post) { To the following: function getpostbit($post,$templatename) { How about instead of that, you change it to the following: function getpostbit($post,$templatename='postbit') { That makes it so that second argument is optional, and if its not used, it defaults its value to postbit. That means that if any other calls are made to getpostbit() expecting the unhacked version of the function, they will operate as expected :) |
Cool.... added this for a book review section on my architecture site...
|
Is there any way to get this to work on 2.3.2?
|
Has anything like this been released for vB3?
|
Something else I thought might work would be to allow the first post to use the postbit vb3 while the rest use legacy postbit. This would be sufficiant. Anything like this?
|
Hi There,
also I liked this hack a lot and I want to know if there's a hack like this made for 3.0.7 ? waiting a reply Thanks a lot |
Do we have to make our own postbit for it? are there any that people would like to donate?
|
All times are GMT. The time now is 04:21 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:
|