Version: , by Kayn
Developer Last Online: Dec 2010
Version: 2.2.x
Rating:
Released: 07-02-2001
Last Update: Never
Installs: 59
No support by the author.
UPDATED! Woohoo!
I just fixed/added stuff from version 1.0!
Download the new version 1.5 if you have the old 1.0 - lots of better features.
From the readme.txt:
Quote:
This script isn't really a hack, just an external script that pulls information out of the VBulletin Database for news
or whatever reason you see fit. It's easy to install and configure, and has tons of the same features that many other
news scripts have, except you don't have to modify any Vbulletin source code (which I'm never comfortable doing
for some reason, but that's just me .
I had a really rough time finding a good, EASY news script that did what this does. I searched and found some, but
it really came down to easy installation. I didn't want to modify MySql tables or mess with the advanced Vbulletin
source (well, to me anyway). So I wrote this script. Yer.
This script was intended for VBulletin 2.0 only (I don't know if it will work with previous releases) and PHP4.
After you install, if at all possible, I would appreciate some credit to my script. A link to http://pluh.com
on your page before or after your news would be great. Let me know when you have it installed too - I love
seeing my stuff working on other websites!
Would the output be able to be done through vb templates? I would then use your vb styles correct? Like instead of using the echo to do the output make it do an eval("\$variable = \"".gettemplate($templatename)."\";");
Sorry, it was a lot of tweaking here and there. Some of the stuff I can't even remember how to do it. Some of the things I have added though are in this thread around pages 15 - 20 I think that allows you to get multiple news headlines on the same page.
Ok is there a reason my smilies don't show up? I have my smilies path set to the full path but nothing. Anyone else have probs with smilies not showing?
I think we talked about this at around page 18 or so. Go 3 or 4 pages in both directions of page 18 and I think that's were we were talking about something like this.
Originally posted by Redmak There's an easy way to have vbcode and linebreaks and stuff interpreted by vbulletin so it shows up on your main news page.
Make sure the following line is added to the news script
PHP Code:
require("./global.php");
To have the message parsed by vbulletin add the following:
PHP Code:
$bericht=bbcodeparse2($pagetext,"1","1","1","1");
$bericht is now the formatted message
The 1's stand for "dohtml,dobbimagecode,dosmilies,dobbcode"
Enjoy
Ok this is already in the hack, but my smilies still don't show up, the links are good just not the smilies. I have the script in the forums directory and I am php including it in a file that is outside of the forums directory. Any ideas why my smilies aren't showing up. It really isn't a big deal cause I could just go with out smilies. So if know one knows why that's fine.
I love this script, but it is very hard on a large site's performance (40k+ visitors/day). We have dual servers running our vBulletin and MySQL set for max_connections of 1000, but it still caused our server to crash.
I would like to use cron to run it once a day and then SSI the results to the homepage. Any suggestions? Extra credit if anyone knows how to modify it to return the top most active threads from the previous day. That would make the most compelling content appear on the homepage I believe. Many thanks.