The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
You are responsible for this
http://www.eaforums.com/t6418.html I had to dig long and hard to find it, but it's your hack. Amy |
#2
|
||||
|
||||
That's my hack? :stupid:
Wait... let me guess. It's a very modified version of something I posted a long time ago, to change the look of the first post in a thread? Thanks. |
#3
|
||||
|
||||
Uhh Amy,
What hack is this? I wouln't mind trying this one out. Actually if it's heavily modified I wouldn't mind trying your version out. Thanks |
#4
|
||||
|
||||
the only modification I made is to hardcode in the specifc forums that the hack should apply to. Oh, and I also passed the thread id to the function so that my comment link in the first post would work.
Here's the link Hooper: http://vbulletin.com/forum/showthrea...ght=first+post Amy |
#5
|
||||
|
||||
Hi Amy,
Thank you. Very much appreciated. My search wasn't going to well in here... |
#6
|
||||
|
||||
yeah. It's on the WRONG board. (hint firefly)
Amy |
#7
|
||||
|
||||
After reading your post Amy as well as FireFly's above, I'm getting the feeling that what you have on your site with this hack isn't much like what Chen posted it to be. When you said "to hardcode" I just thought maybe you were saying that you did quite a bit of change to get the output you did. When you applied the code to specific forums was that too terribly difficult?
I noticed someone say that they had a problem with subforums. I have Announcements and News Announcements SiteNews etc... Basically subforums. The forums that I will most want to use this for is for SiteNews. I'm sure I can get this to work. I really like what you've done with it. Very nice. |
#8
|
||||
|
||||
No. To make it for specific forums, I did it the lazy way. In the showthread part, I modified this:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Hope that helps. Amy |
#9
|
||||
|
||||
Oh,
Thank You. This is the info I need. I just tried hacking what was in the thread and ended up with 2 parsing errors. I'll try again with what you have here. Thanks |
#10
|
||||
|
||||
Amy,
Did you also change what he wrote on the bottom of the hack? and also replace PHP:-------------------------------------------------------------------------------- // do posts from ignored users if (!$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit")."\";"); } else { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } -------------------------------------------------------------------------------- with PHP:-------------------------------------------------------------------------------- // do posts from ignored users and create first post if ($isfirst and !$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit_first")."\";"); } elseif (!$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit")."\";"); } else { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } Thanks Hey Chen.... This is an awsome hack.. Maybe we could do a clean up of the hack in these forums? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|