Topic: News Generator?
Can anyone point me in the direction of this plugin and examples of sites that use it?
Cheers
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → News Generator?
Can anyone point me in the direction of this plugin and examples of sites that use it?
Cheers
http://punbb.org/download/plugins/AP_News_Generator.zip
The punbb.org main site uses it.
hmm?i've installed it but this is what I get
An error was encountered
Error: Unable to fetch topic list.
I am trying to generate news from the general discussion forum. I want this news to be the first thing you see on the website.
Any ideas?
anyone?
Enable DEBUG mode and try again. Then post the full error message.
Thanks for the help. Turns out I had the topic ID wrong.
I have now entered the right ID and this is what I get:
There are no topics to generate news based on in forum with ID = 18.
Apologies for so many questions, I am new to code etc?so your help is greatly appreciated!
Well, it basically means that the forum with ID 18 is empty.
http://www.stephenkelman.co.uk/forum/viewforum.php?id=2
viewforum is where you should be looking, you were looking at a topic
thats the one, cheers?getting there! One last question (honest!) how do I get this news to be displayed on the front page of the site?
many thanks again!
PS: here is the generated news link.
You include that file in the front page of the site in some way
ah?not easy?
Well, it's up to you to integrate it, all the news generator does is give you the HTML file
ahhhh. brick wall time I think. theres no mods or anything that will talk me through the integration?
ps, or any other solution?
Well, adding it is a simple
include forum/plugins/AP_News_Generator/news.html
(assuming you're including from http://www.stephenkelman.co.uk/index.php or something)
The issue is styling it I believe
it's not that simple for me - not having a clue about php/code! is there any tutorials that spell how to put a news bit on the front page easily
Cheers!
I pretty much literally just gave you the code
Assuming the page is www.mysite.com/index.php and your forum is at www.mysite.com/forum/, you would put the following code somewhere in your index.php (put it where you want to output the HTML)
include 'forum/plugins/AP_News_Generator/news.html';
The only thing to do then is style the output using CSS
wey hey, kinda working now, Cheers for the help Smartys
its a nice plugin. but is there any auto generate feature? do i have to generate manually each time i post a new topic??
its a nice plugin. but is there any auto generate feature? do i have to generate manually each time i post a new topic??
Yes, you have to manually generate the news each time you post a new topic. If you would not like to do so, use this instead: http://punbb.org/forums/viewtopic.php?id=7552
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → News Generator?
Powered by PunBB, supported by Informer Technologies, Inc.