![]() |
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...* |
Sweet script, this is what i've been looking for. I have one problem though. After configuring everything the links to view the news appear on my page but when you click on the links is is looking at the wrong path. It is using the default /forums path instead of the one I specified in the config file. you can see what I mean over at MY SITE
|
Ok i'm a moron, you can delete that last post if you want. It was a simple line I needed to edit in the html portion of the script. If your forums are in a directory other than /forums then you need to edit the text to the links at the bottom of the script in the html section. On a side note how would I go about changing the text color displayed so I can change the background color of my table?
|
You can change that using plain HTML. Like , <font face=\"#000000\">blah blah</font> Just remember the slashes in front of the quotes so you don't get a parse error when the script executes.
...that's a good suggestion though, an option for font colors inside the setup. I'll take note of that for the next release, plus more options. Looks like the script is working for you! That is very good. Yes. :) (the error that you were talking about was fixed - stupid me) |
This is an awesome script! Didnt want you to think noone was checking it out ;)
If you could make it do auto formatting on the posts (so i dont have to use html in my news posts) I would be a happy camper! I think you could sneak some code out of printthread.php and noone would notice ;) As soon as this is added this feature will be added to iguanaland.com :) Hell, i will even give you credit! Thanks again ~Chris |
Hey man, thanks! It was really simple to do too (the code, for any php guru, is a no-brainer).
I did some research on the auto formatting and came across some special functions that allow breaks without <br>'s and <p>'s. Just gotta test 'em. I'm going to attempt to get the rest (like VBcode, etc) to work. This would make this script much better for people, like yourself, who don't want to hassle with HTML. :) Thanks again! |
First off....this is a very cool hack and exactly what I was looking for. However, there are a couple problems:
1. The html in the new.php file needs to be checked/cleaned. It's not a big deal and it isn't that bad...but just being picky. :) 2. The time stamp seems to be screwed up. The times that the posts were actually made is incorrect and looks like they are 1-2 hours ahead of the actual posting time. 3. Suggestion....you may want to see how you can require the config.php file in the admin directory rather than including the database name, password, etc right in the php file. Just a suggestion. Otherwise, good job! |
Thanks man for the suggestions.
1. The HTML was thrown together really quick, but that is a good idea for a future release. 2. I don't know why the time is messed up. A bug to tackle! 3. Another good idea. Will work on it. :) |
Just another suggestion. It would be great if this hack was able to parse vb code. :)
|
Be easier to just recreate printthread.php IMHO
|
I went through printthread.php, and I was scratchin' my head. I'm gonna try some stuff with the code. I got the results to recognize line breaks, which was actually easy. :)
But once I get this working with VBcode and all that stuff, I'll be sure to let you know. Thanks! |
Nice job on the addon i would say.. I am using it at my site right now for the front page www.sportbikes.net
I did notice about the line breaks it would be nice if it can look just like what is posted. Because If I do add the line breaks then the post looks wrong. Just something I noticed. Also.. This is kind of a permission thing but I figured I would ask here. I want it so only admin and moderators can post in the forum but everyone can reply. Is there a place I need to go to set this permission up? Thanks again.. keep up on the updates.. i love it Goodbye newspro.. hello Pluhnews |
this looks great just needs parsing of vB code & smilies and sent to friend link and you're set :D
|
White knight...
I like how you have the "0 Comment(s) Last comment was by Fred" after your news posts. Did you use this hack to do that, or is there some other line of code that your are using? I would like to be able to do this at my site www.mhogaming.com Thanks for the help!! :) |
Working on those new features, and yes, the script includes the (0 Comments, last comment was by So-and-so).
This might take a while, so bear with me... :) |
I have fixed the time so it displays properly....Kayn >> I PM'd you can you get back to me so I can give you the changes?
|
Wow, this hack looks excellent! Great work, Kayn.
One question, though... Can I make multiple news forums and have several news things used on different pages? If not, would it be too hard to modify it and make that work? Thanks. :) |
Hey Kayn I found something I dont know if someone pointed out.
Today I tried to add a new post which worked fine. The problem is the vb URL tag does not work correctly. The code just shows and does not make the url. I went back into the post and used html code but I figured this would be something to look at. Just trying to give a helping hand. This script is very nice for me not having to give away passwords for newspro.. |
Quote:
Yes I am still new to php.. but lovin every minute of it |
Dark_Wizard, I PMed ya back. :)
Suitcase, I don't see why you couldn't. You can copy and rename the the hack file to pluhnews2.php and configure it to whatever forum you wanted. That way you could have tons of different news forums if you chose. The VBcode is still not working as of yet, White Knight, but I am taking that on. It should be included in the next release. Keep the suggestions coming, I would love for this to have tons of features. Another feature I was working on is categories. I have a 'rigged' version of categories on http://pluh.com if you want to see it. If that would be an interesting feature, let me know and I'll plug it in. Thanks! |
Not sure how to pull the news onto my main page from the news.php script.
I would appreciate your help in doing this. Thanks, Gary |
Quote:
|
Well, unfortunately you cannot include the file on an index.html page.
The page has to be either .php or .phtml - whichever your server is configured to parse php code. You can then include it like so: PHP Code:
|
Thanks for everyone's help, after making the post, I thought that maybe an SSI would work.
This hack is really terrific, and you can see my site at CyberMacro Gary |
Well....it's running on my home page as an SSI and it works. And, my home page is an HTML document. :)
|
Right Rob, in my last post I did not make it clear that it is working for my as an ssi on my html based front page.
Gary |
Accually I am running mine on my index.html page. Via SSI. No problems as of yet.
|
sorry if this was answerd but
is there any news on getting vB code and line breaks to work yet ?? |
Quote:
Quote:
Oh, I just thought of something that's possible with this hack... A picture for each news post! All one would need to do is make an <IMG src="webhost.com/news/images/thumbnails/$threadid"> somewhere in the HTML, and perhaps have it link to another image with the $threadid for a full sized image. Hey, that's cool... Thanks for the hack, it's very flexible! :) |
Quote:
Line breaks and other stuff are on the way... |
Kayn >>> Did you implement the time fix I sent you? Let me know what else I can help with....keep up the great work!
|
I wanted to let you all know that I'm going to try and have line breaks and VBcode working on Sunday, but that depends on how things go this weekend for me (I have a show on Saturday, and those are exhausting for me). ;)
Dark Wizard added some stuff and sent it over to me (which is really handy), so I'll be implemeting those additions as well. I'll keep you updated. |
Quote:
good line breaks im getting tired of <br>'s |
Not to stray off-topic here, but...
RobAC, That home page for you is HTML?!? It looks like a php portal of sorts. |
Just some help from me if you want to do the ssi command. This is what I have on my website www.sportbikes.net
Quote:
|
|
Quote:
|
Quote:
I'm trying to do something similar as the: "0 Comment(s) Last comment was by Fred" on my page, but I really do not want to implement all of the features of PluhNews. I manually type in the articles and links and photos, but I would love to replace my "Discuss this post" with the above real-time counter. The only way I see I'd be able to do it with PluhNews is to call an unique file for each article and manually specify the threadid's in each file, i.e. news1.php, news2.php, etc. Any ideas, or would I have to go all or none in order to do this. My site is www.mhogaming.com so that you may see exactly what I am talking about. Thanks!! |
I installed this yesterday without any troubles and am ever so pleased with it.
Heck, even my boss is pleased with it! Thank you! |
There's an easy way to have vbcode and linebreaks and stuff interpreted by vbulletin so it shows up on your main news page.
Make sure the following line is added to the news script PHP Code:
PHP Code:
The 1's stand for "dohtml,dobbimagecode,dosmilies,dobbcode" Enjoy :) |
All times are GMT. The time now is 04:48 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:
|