![]() |
[QUOTE]Originally posted by Infinite
This is my config file... $forumspath = "/vb"; ?> |
Well, I tried two different paths. One of which was /public_html/vb and just /vb. Neither worked.
I'd give you a link, but my server just went down. VenturesOnline is changing hardware apparently. But the link to the vb is www.ripthemic.net/vb Pluh News is www.ripthemic.net/vb/pluhnews.php Headlies is www.ripthemic.net/vb/pluhheadlines.php Think that should do it. I'll try and get the full path, smachol, when the board comes back up. I figured that'd be my last step to get this working. Richard |
Works now, there was a capitalization error. In WSFTP I like to have all remote extensions forced as lower case...I was trying it as lower case when it had to be uppercase.
Richard |
Funny how picky php is...
I learnt that the hard way. :) |
You don't need to add the require admin/config bit since this is already done by global.php
Also global.php connects to the mysql database so your connection isn't really necessary. Just use $DB_site instead of $db Great little news add-on you got here :) Thnx for the credit Bane :) |
I agree....for some reason, it doesn't look to good in Netscat though. If you have more than 5 news items, for some reason, the font goes haywire.
|
Some reason it's not processing the required's in mine
Fatal error: Failed opening required './admin/config.php' (include_path='') in /path/to/boards/global.php on line 66 any ideas? |
[QUOTE]If you have more than 5 news items, for some reason, the font goes haywire.
|
im positive that's not an issue
|
I will check for bugs with the HTML. The issue is that the loop is spitting out the HTML in a strange manner. I think...
I'll work on updating that unnecessary require (thanks!) |
Sorry, I posted this elsewhere, but think it might be better here:
-------------------------- Hmmm, something's wrong. I started getting errors, so I tried to use chdir() to fix them. Here's what I'm using now. I have these two lines: Code:
chdir("/usr/home/web/path/to/forums"); Code:
$comments = bbcodeparse2($comments,"1","1","1","1"); Fatal error: Call to a member function on a non-object in /usr/home/web/path/to/forums/admin/functions.php on line 75 Any idea what's wrong? Thanks for your help either way! :) |
ok guys couple of questions I have hack installed and it is running alright. Questions?
1)On the news page at the bottom when you select view all posts should it pull up the entire forumid that you have set or just new post in that forumid? Mind pulls up the entire forumid. 2) Is there a way to put a link on the headlines page that will bring up the news page. 3) With this version are we able to pull from more than one forum if so how? 4) Would there be away to add current active users in the forum on the headlines page? Thanks For the hack |
Quote:
2) Sure is. You have to go in and add the HTML. If you need specifics on how to do this just let me know. 3) Multiple news forums is currently in the works. It's a good idea to have... 4) That is an entirely different hack that I use on my page (http://pluh.com - under latest reviews). I forget exactly where to get it, but this hack is available somewhere in these forums. Try searching for it. If you can't find it, email me and I'll send you the code. :) |
Quote:
It should work. Anyone else here have suggestions? |
PHP Code:
Guessing you might try something like this and replace username with yours for your ftp account. Maybe? |
Quote:
|
Thanks, Wanting to pull from about 7 or 8 forumid's.
Joey Forgot a question? Is it possible to somehow incorporate the include script in the install.txt into a html document. Tried putting it in there but it didn't wotk very good. Would like to pull the new files from one website to another site if possible? |
Another recommendation.
Say you have your news script setup to pull 10 messages or 40 . Any way say when someone views this page is there away to add views back to total view counts for each thread on the list back in the forum columns . I need this if possible to keep up with views. ??? |
yes yes, all of that is possible. I can put this on a 'request' list if you like for the next release!
|
yes yes can not wait.
Thank You |
is it possible to setup the PluhHeadlines on a different domain rather than your own where some other site could pull the headlines from you?
|
I think you can. Try this:
PHP Code:
|
try mind if you don't mind and see if it works
http://www.realwebhost.net/forums or you might try http://forums.realwebhost.net |
Okay, I've really been wanting to get something like this. I'm not so interested in the thread creation part of this hack, but I am really wanting to link to my threads from my home page and be able to display information like the following:
"e.g. www.mhogaming.com News article here" 20 comment(s) Last post by Jarvis I would think that there is a line of code from this hack that I should be able to use and just manually put in the forumid and thread strings, but my question is, where would I have my MySQL user information to pull this data. My main page is HTML-based, but PHP-parsed. I'm a bit nervous about embedding my user information in my homepage. Can this or any other hack do what I am asking? Newbie questions I'm sure, but any help is greatly appreciated!!! Thanks!! |
This works had someone try it today with mind.
PHP Code:
|
Thanks Webhost,
That solution would give me an output to my mainpage of all the articles in one particular forum, correct? What I am wanting to do is have something that points to one specific thread in any forum. I am okay with having to manually enter the forum and threadids in the string of code which could do this. All of the news items on my site are manually entered by myself or one other, and what I was hoping was something that points to that thread from my home page (i.e. the "Discuss this Post" that I am already using) but also give the last poster and # of posts in that thread. One way I was thinking of tackling this was that I could have an individual phunews.php (i.e. news1.php, news2.php, etc) for EACh article I post, but it seems that there would be a line of code that I could use for every post, and just manually type in the forumid and threadid specific to that news item that I have already created. Hopefully I'm getting my needs across, but I feel like I'm talking in one huge circle. :) Thanks! |
Yea I asked earlier in this post about be able to pull from more than one forum at time. They stated they were working on that. I think if that could be done then what you want should be achiveable. Look back in the post and ask one of the guys that put this hack together. They might be able to help. Got my hands full now with a calendar hack I am working on.
Joey |
There is 9 hours time difference between me and where my website is hosted. vBulletin has a setting like that so that the time is displayed correctly. Could you please help to solve the time difference issue in PluhNews between the server and client. I hope I could explain my problem.
Thanks |
Quote:
|
I've converted our staff new at http://www.systemlogic.net to PluhNews, using PluhHeadlines.
I would like to do the same with our tech news, but like I said before, how can you create a source. I saw another site with it.... |
By popular request I am going to post the code I used for my news posting. I have had about 20 emails asking me for it so I figure I will archive it here. I am no way a php coder. This was just placing "cookies?" where i needed them.
Demo at http://www.sportbikes.net Quote:
|
I have just set it up ! and it show nothing. I think may be the <?
//This is the Config file to get PluhNews running. //********************** //Set some Variables //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 = ""; ?> What should I put on $forumspath= ? My fourm files is under the root domain ( www.adb.com ) all index.php is under www.abc.com not www.abc.com/forum is there any idea ? Thanks !:confused: |
nice :)
|
Kengan, Try putting a slash "/" for that. It should work.
|
Kayn
Any word on the features to be able to pull from more than one forumid? Great hack |
Hmmm...are you working on this Kayn? If not I can easily do it for you....;)
|
|
Kengen:
Yes, PluhNews could be configured to look like that, or almost anything else. You'll just have to adjust the HTML output lines in it. I modified it a lot before I installed it, and the boss was very pleased when he looked at it. He said adopt it. :) deb |
Quote:
I see ! that is neat !! |
Hey, if all of you using PluhNews could send me a link, I would love to see that!
Please post it here: http://pluh.com/forums/showthread.php?s=&postid=8830 Thanks. ;) |
All times are GMT. The time now is 12:11 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:
|