View Full Version : 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. (http://www.methlabs.org/forums/)
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).
Lionel
10-16-2004, 12:26 PM
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.
GamerJunk.net
10-16-2004, 03:32 PM
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.
dfmafia
10-17-2004, 11:24 AM
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
dfmafia
10-17-2004, 11:57 AM
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 </tr><tr> before each <!-- item * -->
* being the number of the arcticle
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%
dfmafia
10-18-2004, 02:44 PM
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...
draculanowaday
10-19-2004, 01:21 AM
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.
tilight
11-04-2004, 10:17 PM
Ive dnoe everything correctly (atleast I think) but my page shows up blank. Im doing the FORUMHOME version.
HiDeo
11-05-2004, 03:34 AM
Nice, I'll look at this !
tilight
11-11-2004, 12:04 AM
Found my problem!!! I needed
require_once('./includes/functions_bbcodeparse.php');
In index.php
Enjoy everyone!
Xtrm2Matt
12-01-2004, 04:33 PM
Hi,
Could anyone help me with this? I've done everything it's told me to (using the "Standalone method") but, when I goto news.php, alls it does is show me the 4 boxes with "posted by" and "comments"?
Thanks
Matt
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.