![]() |
bump
|
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)."\";");
would that work? |
Quote:
|
that is nice, are you willing to tell what you did to make it look like that?
|
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.
|
ok thank you
|
Quote:
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. |
anyone know who to have this script use vbulletins styles for colors and stuff like that. I have the script in my forums directory and it is included on a page outside of the forums directory. I try using stuff like {categoryfontcolor} and stuff like that but it either gives me a parse error or shows a wierd color or just doesn't show up. Any ideas?
|
im also wondering how to get avatars working for newsposts. im close but just cant seem to get it to work. I can get avatars showing up for whos logged in, but not for the damn news posts :P
anyone still supporting this hack? id hate to have to completely remove pluh and install a different one just for avatars |
i was wondering if you have fixed it so when your not logged into the forums and the forums is "logged in only" style you dont see the login page interfere with the site and not the recent posts
|
Is there going to be an updated version on this anytime soon?
|
Has anyone gotten this to work with PostNuke or PhPnuke?
I have applied every fix in this thread. I got it so I can go the pluhnews.php from the root and it displays fine. But in PostNuke I have tried all the different block types there that would work and I either get blank pages or errors. I have included the pluhnews.php, I have used php type blocks and inserted all the code into that that is in pluhnews.php, I have used the php type blocks and used php includes. Nothing has worked. If this hack isn't the right one to work for getting news posted from vBulletin to a PostNuke main page can you tell me which hack it would take? Thank you so much! Brew |
Ok this is irritating me. I had previously had another news script working for me on my old board (not vB), but this one just doesn't want to.
It works fine if you go to the script directly... http://www.expectedmiracles.com/forums/PluhNews.php But if you go to the page which calls that script, you get a blank section where it's supposed to be... http://www.expectedmiracles.com/index2.php My include looks like: <?php include("/s/expectedmiracles.com/httpdocs/forums/PluhNews.php");?> Which is exactly how I had my old one working, the only difference being the script name. Anyone have any ideas? Edit -- Nevermind, I got it going. Well, apart from the smilies but I guess I can live without them. How easy would it be to limit the output to a certain amount of characters rather than displaying the whole post at once? |
I have a headlines page that reads a moderated forum.
BIG PROBLEM: the headlines show, even if they have not been approved yet. The links to unapproved posts yield bad thread errors, so all is not lost, but if the unapproved thread says something like "You guys suck" , then some damage is already done. I use this on a corporate intranet homepage, and have been lucky thus far... |
Hmm, I loaded my php page with the includes etc, but for
<? include ("PluhNews.php"); ?> I get this: Fatal error: Cannot redeclare stripslashesarray() (previously declared in C:\forums\upload\global.php:31) in C:\forums\upload\global.php on line 31 |
I installed the Pluhnews hack on my forum:
As you can see here it works fine: http://www.housequake.com/forum/PluhNews.php But what i want to do, just doesn't work for me somehow. I can include <?php include ("http://www.housequake.com/forum/PluhNews.php"); ?> in my index.php, that works for me aswell, but it parses the pluhnews in the beginning of my forum homepage, and that looks awfull. I just like to add the pluhnews in a certain place in my forumhome template. Just like i can move the $pminfo or $loggedinusers in any place i want. Is this possible? Or in other words, how do i incorperate the content generated by PluhNews.php, in my forumhome template? Thanks for helping me out! |
AVATAR
AVATAR AVATAR AVATAR ICONS ICONS ICONS ICONS ICONS I finally find the perfect news script, install it in 2 minutes, and spend hours on trying to get it to pull the damn avatar or icon. PLEASE, SOMEONE WRITE THIS OUT for us, Ill pay you! thanks :) |
Quote:
I've been trying for hrs to get this script to work on my home page but just got a blank white page. I found this was because my forums are on a subdomain not in a directory. My host wanted to charge ?25 GBP per year to enable a redirect from 'mysite.com/forums' to 'forums.mysite.com' so SSI would work. My other options were frames (which screw up the hit counter) or... iframe Akk! Anyway. I tried this, it works, it's free, and I'm happy :D |
Question. Is there a way I could display only the first few lines of the post? Like this:
http://www.housequake.com/forum/PluhNews.php Thanks! |
Quote:
Yes you can, a part of my pluhnews.php looks like this: ----------------------------------- if (!$sql_result2) { echo "<p>Could not get record in second statement."; } while ($row2 = mysql_fetch_array($sql_result2)) { if (strlen($row2[pagetext]) > $car) { $pagetext = substr($row2["pagetext"],0,$car); $pagetext .= "..."; } else { $pagetext = $row2[pagetext]; } //gotta convert that damn unix time crap $dateposted = date("D j M Y, g:i A",$dateline); //end the goodies ----------------------------------- And my pluhconfig looks like this: ----------------------------------- <? //This is the Config file to get PluhNews running. //********************** //Set some Variables //Retrieve news from the correct forum, which is the forumid $newsforums = 12; //Number of news items to show at once $newsitems = 1; //Path to your forums directory (leave out trailing slash) $forumspath = "/forum"; //Number of characters to display for each news item $car = 400; ?> ----------------------------------- Hope this will help ya! |
Did it! but how come there's no READ MORE link after the last character? http://www.greenarcher.net/forums/PluhNews.php
Thanks so much! :) Btw. And is there away that it can display more than 1 news forums? |
*shows off the hack that is in his signature*
(newsportal hack, that is :)) (this one: https://vborg.vbsupport.ru/showthrea...threadid=38334 ) |
I think its too complicated. You see Ill be using frames in my main page so i think Pluh News is better.
Anyway just to repeat my question earlier, how come there's no READ MORE link after the last character? And I notice If i set the character limit, unfinished sentences end with a "...." . Worse case, last words using VB code will display the unfinished code. Is there a way to limit it to the last paragraph or last sentence? http://www.greenarcher.net/forums/PluhNews.php Thanks dude! :) |
bump
|
double bump
|
Anyone having trouble getting it to work with VB 2.3.0?
|
why would you use pluhnews when there is vBhome lite, it is so much faster and better ;)
|
Quote:
:banana: |
how can I include this into a vb page? im trying to do a php include but dont know how to.... anyone wanna help me?
|
From what I've seen this is a top class hack, but i get this:
Fatal error: Call to undefined function: bbcodeparse2() in /home/nebby/public_html/vb/PluhNews.php on line 111 and line 111 is Code:
$bericht=bbcodeparse2($pagetext,"1","1","1","1"); |
double post.
for those that have been having problems, change your required shiznit to this Code:
$vbulletin_root_path = 'http://www.THEFULLURLTOYOURSITE.com/vb'; |
Bump!
Argh. i urgently need this mod! any help from anyone please! |
Quote:
Example: http://www.tlplanet.com/new/ What I would like to know is, is there anyway to truncate the number of characters to display? And is there anyway to display posts from more than one forum? |
Thank, i'll give it another try.
What version vb are you running? and as for the cut of limit and multiple forums there's info deep inside this thread... somewhere. |
EDIT: Heh, i'm such a dumbass.
Got it working! cheers. |
I love this thing.. You rock *hugs guy that made this hacK*
I LOVE YOU HAHA!! THANKS SO MUCH MAN!! THANXXX!! |
Is there any way I can add an avatar to show with this?
|
All times are GMT. The time now is 12:52 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:
|