![]() |
Simple Forumhome/standalone news hack.
Here is my really simple/rough news hack, there is no caching no acp administration, just a really simple news hack, there is probally some error as I have only tested this on my live board and it was writen within a period of serveral minutes.
An exsample can be found here under the welcome box. Anyways all try and improve it in the future Anyone and everyone is free to modify this hack to his hearts content, no props are needed (or wanted). |
Nice and simple. However you might want to fix the templates, the two tables below are not aligned. I think that is currently determined by news length. At your site it is the first 2 tables.
|
So how would it look like on a normal board?
|
yes the length of the box is detirmined by the character post, all put of a screenshot in a few minutes, using the default skin.
|
need BB code active...its showing my bb code
(ie. [b],[list], [i]...) works good though http://dfmafia.net/forums/news1.php what im talking about also im going to edit this script just a bit to fit my needs...im going to make it in 1 collum instead of the 2 you have currently...if any1 wants me to ill post it when i finish it |
edited to make 1 collum
edited for longer preview text BB Code works but some of the html ive added in my news whacks out other than that it works great to make a collum just edit the "news" template and put PHP Code:
PHP Code:
mine is set up for 10 arcticles to set that up its in the directions provided in the "simplenews.txt" also i set up my collums to be 30% width and not 100% |
also im trying to get this to work on a non-vB page but running into problems
when i insert the code i loose the content on my site on the right side and footer...basically everything after the script... looks like i have an open table script but i cant find it... |
Hix. I want to take news from many forum (not only one). And each forum only take the newest thread. Can you help me? :-S
|
change thread.forumid=4 to
thread.forumid IN (1,2,3,4) to draw from more then one forum. Not as easy to do newest thread from each forum. |
Ive dnoe everything correctly (atleast I think) but my page shows up blank. Im doing the FORUMHOME version.
|
All times are GMT. The time now is 12:56 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:
|