![]() |
I just upgraded my forum to a clean install of vBulletin 3.0, and got PluhNews working with it.
Here are some tips for people doing the same: PluhConfig.php Basic editing here... Edit: $newsforums = ; to the new News Forum. (same # if you just upgrade) $forumspath = "/forum"; to the new vB 3.0 forum dir (probably the same) PluhHeadlines.php Basic editing here... Change: require("./admin/config.php"); to require("./includes/config.php"); PluhNews.php Change: require("./admin/config.php"); to require("./includes/config.php"); Change: $bericht=bbcodeparse2($pagetext,"1","1","1","1"); to require_once("./includes/functions_bbcodeparse.php"); $bericht=parse_bbcode2($pagetext,"1","1","1","1"," 1"); Where you might have problems: Getting the global.php file to load in PluhNews.php may be a problem. For me, the old method of loading the global.php file didn't work. This WAS my code for vb2.3.4: PHP Code:
I had to delete require("./global.php"); from PluhNews.php entirely (or // it out) and I had to move it to my main sites index.php file. This is what I put in at the top of my Index.php File: PHP Code:
PHP Code:
Anyways, to make a long story short, I got this working fairly quickly, the only problem was with the global.php file not working, which stops the parsing and doesn't allow your script to format the output correctly. A good way to error test is to // (rem) out require("./global.php"); and replace $bericht=bbcodeparse2($pagetext,"1","1","1","1"); with $bericht=$pagetext; That will allow you to do some basic error checking and isolate the global.php problems from the actual news posting. I still get MySQL errors though. Trying to suppress those now... |
Mithan, thanks for posting about your progress. I appreciate the details. I haven't got vB3 up and running yet, but this is going to be very helpful soon!
|
Ah got it running, no global.php problems, running RC4
|
Quote:
|
What Mithan suggested I do, didnt do the global.php stuff though... His Post: https://vborg.vbsupport.ru/showpost....&postcount=521
|
What do you have to alter to have this recognize the vB3 bbcode? Right now it just seems to ignore it. Thanks.
|
Thanks Mithan i got it working fine, i think on my site running vb3 full :D
|
Wow, all I have to say is GREAT SCRIPT!
definitely in top 5 for me. Does exactly what I want. and fully customizeable and easily comprehendible for changes!! i have 1 small problem though, concerning smilies/images, and I would bet that it interferes with some otehr bbcode thing but I haven't checked yet. i place the script here: /website_root_directory/forum/PluhNews.php i php-include the script here: /website_root_directory/another_directory/some_page.php and the smilie doesn't show up. i viewed the properties of the smilie and this is where it is trying to load it from: website_root_directory/another_directory/images/smilies/some_smilie.gif how can i fix this so it grabs the smilie images from the forum directory? |
By the way, i may edit this news script and release a version for vB 3.0.0 with some extra features.
|
Is there any way of making it so it cuts the news post to a certain number of characters and adds a [Read More] URL to the end of a news post?
|
Running this on vB3 also, wicked. Good to be able to come back to this after vB2.
|
Thank's Mithan for the VB3 changes got this working now. :)
|
ok little help need to get rid of the errors above the script inclues here:
http://www.cunning-play.com |
Quote:
You will need to change the two occurances of "username" at the top and bottom in chdir() to your site username. PHP Code:
|
One thing seems different since my u/g to vb3, and that is the URL parsing...
With vb2 if a news post had a really long URL in it the pluhnews page would show the http://www.blahblah...blah.com (i.e. cut down size) link just like the normal showthread templates do. With pluhnews running on vb3 the links no longer get cut down... they still get cut down in the normal forum view but on the news page the full length URL is shown. This sometimes causes havoc with the site layout. Anyone have any idea why that is and how it can be changed? |
A function name has probably changed between vB2 and vB3.
|
Quote:
|
Is there a way for PluhNews to pull info on the most peoplied or the hotest topic at the time? I would like to put a box on my home page that would show the hotest topic each time the home page it loaded.
I looked at some of the sites people listed above to see how theirs worked and every single page I clicked on is no longer there. It's like all the link above point to old web sites that are no longer there. Thanks for the help! |
I've tried everything here... and not one thing worked, guess PluhNews isn't for me :(
I use 3.0.6, imported IPB 1.3.1 into it, working just peachy.. well.. cept PluhNews, heh. |
good job Beowolf! I've been hounding Kayn for weeks now to update that script to work with vB3 [I work at his site now], but since he's moved on to bigger and better projects for news posting on home page, he has abandoned it. FOR CRY! Glad to see somebody figured out the bbcode parse problem! That was the only real hangup. Awesome job, thanks again.
|
I'm getting this on my 3.0.7 board using the pluhnews.php that beowolf posted.
Quote:
|
What would I use if the index.php for my forums is located in the base directory? I tried a few different variations, and I keep on getting error messages...
/home/krang1/domains/twelveoclock.net/public_html dosn't seem to want to work either... |
Do you think we'll see an update of this for vb 3.5? I have used pluhnews forever, and love it. The headlines seem to still be working ok, it just isnt pulling the threads for news. you can see the error here: http://www.lamerc.com
Quote:
|
I don't see errors - what did you do to fix it?
|
Getting a similar error there is something wrong with:
$bericht=parse_bbcode2($pagetext,"1","1","1","1"," 1"); I believe it requires an extra parameter: return parse_bbcode2($bbcode, $dohtml, $dobbimagecode, $dosmilies, $dobbcode, $iswysiwyg, $donl2br); But Im no php person. If you remove this, then it does seem to work, but I am assuming that there is a problem with the bbcode. As the BBCODE is not parsed when I remove it. |
Anyone know if this works for 3.5? I'm running 3.0.7 and am in the middle of moving to a new sever and want to put the latest version of vB but need to make sure all the other goodies still work. Any feed back would be appreciated.
|
Quote:
|
I got a "Could not select database" error when upgrading to 3.5. I don't know how to fix.
Anyone have luck modifying this? |
Im also interested in this, as I can't seem to get vb external to work for me.
|
Solved, working on getting content shown in 3.5!
|
Just an update, I fixed all MySQL errors, and now I've hit a message parsing problem. Im confident that it is the last issue, right now pointing my browser shows the forum title, poster, date etc everything except comments and the posts content. So Im working on that now :D
|
Post content is shown. Pluhnews is working almost 100% on Vb3.5!! Im working on parsing now, and once thats solved Ill probably re-release this as its the best hack I've ever used and lets face it, the 3.5 world NEEDS a news ripper and ONLY a news ripper! Not some CMS bull! You can view it for yourself here:
http://www.thehorrorisalive.com |
Got it working 100%. Ill be posting it in the 3.5 section in a day or so, I just need to clean up the dirty "my site only" code. Though it seems youll have to do some text edits, since a lot of the pre-defined info no longer works with 3.5.
|
Did anyone ever put out an update for VB3.5+?
|
Not that I know of.
|
All times are GMT. The time now is 01:36 PM. |
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:
|