The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | ||||||||||||||||||||||||||
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:
And Headlines! http://pluh.com/forums/PluhHeadlines.php Let me know if you like it! (Thanks Dark Wizard and Bane) *NOTE: I will not be able to provide support for this hack, as I am extremely busy. Sorry...* Show Your Support
|
Comments |
#512
|
|||
|
|||
Heres the Deal, I modified Pluh enough to work under VB3 pretty much fine. Heres the MAIN peice of code that needs to be changed:
(I emailed the writer of Pluh but his response a few months ago let me to believe that vb3 versions of the mod were far off. so reading through the vb3 functions php files I was able to ID what code needed to be altered in the Pluh script to get it to work right: Code:
Find: $bericht=parse_bbcode2($pagetext,"1","1","1","1"); Replace With: $bericht=parse_bbcode2($pagetext,"","","1","1","1"); An example is here http://www.midwestlan.com All the fields on the front page were based off the Pluh scripts but then highly modified. The Upcomign events is a script I wrote from scratch. |
#513
|
||||
|
||||
Like ga.net was having problems back on 8/1, today I started getting this error:
Quote:
Unfortunately, my webhost (Ventures Online) updated Apache and PHP on my server today (as a part of an overall MySQL upgrade) and this messed some stuff up. You can view my homepage here: http://steveandamysly.tannerworld.com/ The modification is still pulling the last 5 posts, however an error message appears at the top of these posts. I'm running vBulletin 2.3.2 on my forums (which are located at http://forums.tannerworld.com/). Not being a huge techie, what should I do to fix this problem? The update to Apache and PHP caused this problem, so maybe some calls need to be fixed relating to that. Any help would be greatly appreciated. Thanks, Steve |
#514
|
||||
|
||||
I've got an update on this problem. My webhost was able to track down the problem, which appears to be a bug in the latest version of PHP which has been documented at:
http://bugs.php.net/bug.php?id=24053 The include for PluhNews is actually working, however the error message is displayed. A quick fix is to place an @ symbol in front of the include to suppress the error message. The bottom line is that it's a bug in PHP which will most likely be addressed in a future update, however there appears to be several temporary work arounds for this issue |
#515
|
|||
|
|||
This 'hack' is absolutely awesome dude, thanks hugely.
In use at my website, working beautifully. |
#516
|
|||
|
|||
Will this work with allheadlinenews.com?
|
#517
|
||||
|
||||
This rocks my box. I tried it on my Main gaming news site, worked a treat. I hacked it slightly for vB3 Gamma, worked just as well.
http://www.hoteldope.com/forums/PluhNews.php - running on my Current vB3 beta 4 testboards, also working spiffy :B I'll be modifying this to work using only CSS1 for layout, when I learn the new template system. Finally I can get rid of vBPortal and build a custom frontpage for vB3. *makes devil sign with hands and bangs head* YOU RULE! |
#518
|
|||
|
|||
Quote:
And the thing I like about this "hack" the most? It requires no custom templates or modifying of existing templates at all!! Awesome job...thanks for the script!! |
#519
|
|||
|
|||
Hi, I have been using PluhNews and now I modified it just a very little to work as a Game Reviews script. The problem is, that even with the threadid variable successfully passing, it still displays all the threads in the forum. (I have page1 which shows all reviews, click on one and it brings you to page two, where the correct threadid variable has been passed, but it still outputs all the threads in forum 17)
This is the line: PHP Code:
|
#520
|
|||
|
|||
I read the previous pages but I still get this error when I try to include PluhNews.php:
Fatal error: Cannot redeclare stripslashesarray() (previously declared in /home/www/web/html/forum/global.php:31) in /home/www/web/html/forum/global.php on line 31 I did this: I added in the PluhNews.php File this: chdir("/home/www/web/html/forum/"); and at the end of the file: chdir("/home/www/web/html/"); Anyone can help? btw: I have vb 2.3.3 *edit*: made some changes in PluhNews...works now |
#521
|
||||
|
||||
I've been running this without a problem on my vB2 board. Before upgrading to vB3, I was wondering if someone could list any modifications they needed to make to get it working.
|
#522
|
|||
|
|||
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... |
#523
|
||||
|
||||
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!
|
#524
|
|||
|
|||
Ah got it running, no global.php problems, running RC4
|
#525
|
||||
|
||||
Quote:
|
#526
|
|||
|
|||
What Mithan suggested I do, didnt do the global.php stuff though... His Post: https://vborg.vbsupport.ru/showpost....&postcount=521
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|