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 |
#412
|
|||
|
|||
Ok First Let me say I'm a newbie so please be gentle. Ok that being said I have the info coming into my PluhHeadlines.php & PluhNews.php files fine. I want to have this information come up in a table 1 cell for the headline and the next cell with the 1st post to come up with who posted and to read more, reply to article. I have seen this done just not sure where to put it in my HTML and how do i create the SSI or the connection to the database. Any help would be greatly aprceiated.
thanks in advance Keely www.ding60.com PS also running front pages and not sure there is a way to do do...i warned you i'm a newbie |
#413
|
|||
|
|||
Quote:
|
#414
|
||||
|
||||
Code:
Fatal error: Failed opening required './global.php' (include_path='.:') in /path/to/forums/PluhNews.php on line 5 note* i edited the path in the code, but it points to the right place. privacy ^^. |
#415
|
||||
|
||||
Can someone help me? i really want to use this script and i have no idea what went wrong.
|
#416
|
||||
|
||||
can you post those lines (1 through 10)? i will tell you what is wrong.
|
#417
|
||||
|
||||
Code:
<?php //PluhNews 1.5 released under GNU GPL Licence version 2.0 (see copying.txt file for more info) //Set your permissions in your control panel to make sure that only YOU and who you specify can post news. Otherwise, everyone and their dog can register and post in your news forums, thus posting where your news will appear. But for this script to work it's extra magic, be sure your members can reply to your news posts. require('./global.php'); require("./PluhConfig.php"); require("./admin/config.php"); //scroll down to edit the HTML for the news //********************** //Start the goodies (please do not edit to goodies unless you know what you are doing //include the header include("./PluhHeader.txt"); |
#418
|
||||
|
||||
i don't know what i did now, but it works if i directly go to PluhNews.php, however, if i try to include PluhNews.php from the root directory (where my main files are), i don't get an error, but a blank page...
|
#419
|
||||
|
||||
I fixed the errors hehe
but now, for the character limit addon. how do i make it so that the "read more" only show up if it exceeds the character limit? |
#420
|
|||
|
|||
Ok , I have installed it and everything went ok. It works fine but I can not get it to come up on my index page in my home directory when I try to include it. My index is index.php It works fine when i use SSI but not with php include. Also, I am using vBHome and just adding the html to the template. I have tried so many things but nothing is working. Here is the code from where the include is:
Code:
<center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="90%"> <tr> <td width="100%" align="center"><!-- PluhNews Begin --> <?php include("/forums/PluhNews.php"); ?><!-- PluhNews Ends --> </td> </tr> </table> </center> That html is in my vBHome (home) template. I even tried having my home page in the same directory as PluhNews and still nothing. I don't know what is wrong. Someone help. The link to my Pluhnews page: http://theinfected.com/forums/PluhNews.php The link to where I want my news to be: http://www.theinfected.com/index.php (in the center of the page.) I have tried all of these includes but nothing happens with either of them. The SSI include works thou but I don't want to use .shtml PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
//<!- PluhHeader --> $bericht=bbcodeparse2($pagetext,"1","1","1","1"); echo " <style fprolloverstyle>A:hover {color: #00cc00; font-family: Verdana; size=\"2\"; text-decoration: blink} </style> <body style=\"font-family: Verdana; size=\" link=\"#FFFFFF\" vlink=\"#FFFFFF\" alink=\"#FFFFFF\" text=\"#999999\" bgcolor=\"#000000\"> <div align=\"center\"> <center> <table border=\"1\" cellspacing=\"1\" width=\"472\" cellpadding=\"2\" bordercolorlight=\"#000000\" bordercolordark=\"#000000\"> <tr> <td width=\"457\" bordercolor=\"#333333\" bgcolor=\"#000000\" background=\"http://www.theinfected.com/images/header4.jpg\"><font face=\"Verdana\" size=\"2\"><b><font face=\"Terminal\" size=\"1\" color=\"#00CC00\">-></font><font size=\"2\"> <a href=\"$forumspath/showthread.php?s=&threadid=$threadid\">$title</a></font> <font face=\"Terminal\" size=\"1\" color=\"#00CC00\"><-</font></b></font></td> </tr> <tr> <td width=\"457\" bordercolor=\"#333333\" bgcolor=\"#1E1E1E\"> <font face=\"Verdana\" size=\"2\"> <p style=\"margin-top: 0; margin-bottom: 0\"><font face=\"Verdana\" size=\"1\"> Posted By </font> <a href=\"$forumspath/member.php?s=&action=getinfo&userid=$postuserid\"><b><font size=\"1\">$postusername</font></b></a> at <i>$dateposted</i></font></p> <p style=\"margin-top: 0; margin-bottom: 0\"> </p> <p style=\"margin-top: 0; margin-bottom: 0\"><font size=\"2\">$bericht</font></p> </font> <p align=\"center\"> <font face=\"Verdana\" size=\"2\"> <a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$replycount</b>$commenttext</a> Last comment was by <b>$lastposter</b></font></p> </td> </tr> </table> </center> </div> <p style=\"margin-top: 0; margin-bottom: 0\"> </p> </body> "; } } //add news search stuff (this is optional - delete if you do not wish to include this, or edit it to meet your needs echo "<center><a href=\"$forumspath/search.php?s=\">Search the News</a> | <a href=\"$forumspath/forumdisplay.php?s=&forumid=$newsforums\">View All News Posts</a></center>"; //end HTML edit //********************** //include the footer include("./PluhFooter.txt"); |
#421
|
|||
|
|||
Anyone?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|