![]() |
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
Is there any way I can add an avatar to show with this?
|
++++, what the hell happened there?
|
Hey all...
I know I suck at supporting this hack (hopefully that will change :) ), however I do plan on releasing a new version for vbulletin 3.0 when the time comes. I'll be sure to post it once it's working and stuff. I'll be sure that it'll end up a lot easier to configure and maintain than this one (I've gotten a lot better at PHP since I created this hack). Thanks ya'll! :D |
This works great! I had to mod the hack a bit because I wanted 30 news post to show on my front news page and only 8 news headline to show on my right side nav bar.
Check it out at work: http://thetechzone.com/ Thanks for the great hack! |
This hack has been something we've been looking to do for quite sometime. Great work to the author(s) of this hack.
We're just making slight tweaks to it here at: http://www.futurelooks.com |
How do I get the print/email function in the news threads like it is on TheTechZone.com ?
|
Ignore my last post. Figured it out :)
|
With a little help from Moto, you can figure anything out. :D
|
Yup. Thanks Moto :)
|
Any help would be cool.
I have this line in the body of a page: (content of the news to show up in a table) The news shows up ok in the page but I get an error. Error: Warning: Cannot modify header information - headers already sent by (output started at c:\www\test\cs\index.php:5) in c:\www\test\forums\admin\functions.php on line 1649 Root of site /www/test $siteroot/cs/Index.php: (page has its own <head> </head>) <div align="left"> <?php include("/www/test/cs/news.php"); ?> </div> $siteroot/cs/News.php: <?php chdir("/www/test/forums"); include("/www/test/forums/PluhNews.php"); ?> only thing in the PluhHeader.txt : <!-- Pluh Header --> <font face="Verdana" size="2"><b>Today's News</b><p> |
Sorry for being a newbie but how do I make the headlines show up in forum main page, my header for forums is quite big and I have a table there where I would want the headlines to show up...
I'm pretty much an idiot when it comes to php anyways. :/ |
Egad - I changed servers and am getting a line exactly similar to yours:
Warning: Cannot modify header information - headers already sent by (output started at /home/squareamp/public_html/index.php:6) in /home/squareamp/public_html/forum/admin/functions.php on line 1690 I have the output going to /home/squareamp/public_html/forum/PluhNews.php and when I load that by itself its just fine - it is only the file that has the include line in it that is producing that output. -joshua Quote:
|
Re-uploading functions.php zaps this problem, fyi.
|
is there any way to set the number of characters that are displayed followed by "..."?
|
Quote:
yeah it's in the config file. Just look at the config file and it's all in there. |
These are the only items in the config file. I thought that $newsforums identified which forum to pull from, $newsitems identified how many threads to show at one time, and then $forumspath. Am I mistaken re $newsitems? IS this for the number of characters to display for each thread or am I missing something?
Code from config file: ======================== //Retrieve news from the correct forum, which is the forumid $newsforums = 1; //Number of news items to show at once $newsitems = 10; //Path to your forums directory (leave out trailing slash) $forumspath = "/forums"; ========================== |
I must be thinking abut the Latest XX hack then. I use both quite a bit on my site: http://www.3dnewz.com
|
anyone know what would need to be changed to get an attached image file to be displayed with this hack?
|
awesome script
got it in use and integrated into my site at www.d2expansion.com but i have one thing i want to do, and it doesnt really have anthing todo with the script but rather with php i split the $dateposted variable into 2 variables PHP Code:
$dateposted = Mon, Jul 21 $timeposted = 4:45 AM i want $dateposted to display as Monday, July 21 is this possible? thanks Aku12 |
Im getting this error:
Warning: main(): stream does not support seeking in /home/green/public_html/index_uaap.php on line 313 FYI, i inserted this tag in my html file and saved it as php <? include ("http://www.greenarcher.net/forums/campusbuzz.php"); ?> Hows this? Thanks |
bump
|
I added a simple bit of code to make it not say last comment was posted by $username when there were no comments. Here it is:
"; if ($replycount[replycount]==0]){ echo "<a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a>"; }else{ echo "<a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a> Last comment was by <b>$lastposter</b>"; } echo" |
Hoping someone can help.
On my site, we are trying to PREVENT certain sections from being viewed in the Actice Topics list (www.clanbrats.com). Any offers of suggestion? |
Any clues whether this can work with vB 3 betas at its current stage?
|
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: 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. |
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 |
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 :) |
This 'hack' is absolutely awesome dude, thanks hugely.
In use at my website, working beautifully. :D |
Will this work with allheadlinenews.com?
|
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! |
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!! ;) |
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:
|
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 |
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.
|
All times are GMT. The time now is 02:11 AM. |
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:
|