Quote:
Originally Posted by wcbryant
That's slick max, on my site I think it will compliment the featured block nicely.
--edit--
On another note, I did the exact same thing in mine, then ended up removing it. You can comment out and/or delete the global.php require once, I believe. And if you replace $forumurl with $vboptions[bburl]/ in the code, then folks don't have to edit the php file at all and that can be commented out or removed too.
I'm seeing if I can edit the template now to see if it can have alternating cell bgcolors as with recent posts.
Great addition. Now if I can just figure out why mine breaks if there's no featured article...
--edit--
Got the cell alternating bgcolor working, this module is running on http://www.buckeyeplanet.com now. Thanks again Max, great addition! If you (Max) want to see my modifications, just PM me with your email and I'll shoot it over to you.
|
thanks bro -
I tried your suggestions and didnt have much luck. Had to require global.php or I got a Fatal: Call to a member function on a non-object. Requiring global.php made it go away.
I dont believe the variable $vboptions[bburl] is in scope yet, so $forumurl is required as far as I can tell. My links did not render correctly when $forumurl was replaced with $vboptions[bburl].
looks like you would still have to edit the php file to setup the chdir() function to get global.php, or include the full path to global.php.
I'd be very interested to see the code be rewritten to not need module configuration. Would really simplify things.
Max
P.S. Im still trying to figure out how to make it so I dont have a featured article