![]() |
Zajako's News Hack
This hack lets you make any page you want have the first post of your x amount of threads in the forum you choose, which is bassicaly a news feed. What makes mine different from any others is first its alone and not attached to anythign else.
2nd you can do it on any page that calls the global page, including non vb pages. 3rd it uses a single template that allows you to show anything in your postbit for each of the threads an example is to output your news using your default postbit for your threads, which is similar to what the one that is default does. I hope you guys find it useful and also i want to point out theh template included should be changed. It uses the postbit that is default to vb, and shows all the details of a normal post including the links to profile and all that stuff its merely of an example at what it can do. I also plan to update this in the uture to contain coments type of links and numbers to make it more like a news displayer. Anyways i hope it works well. for all of you For a demo board here is one of my sites i have installed it on. www.therpgia.com Here is the updated file Zajako's News Hack |
heres a screenshot
|
cool... can u show us some live demo?
|
nice but useful? :)
thx! |
Umm, I kinda still don't get it...It shows up on the top of the post bit or something?? Please elaborate a little??
|
it shows the first post of every thread in a specific forum. Just like news hacks do. Thats because it is a news hack. You can limit the totla threads shown as well.
Very useful for making your news showwn on your webiste pages. |
i would show a demo, however, my site that uses it is not released to the public yet
|
as with most betas this was no exception, i messed up a ton of things. Here is the fix for the bugs as well as a minor update of a few otehr things.
just download the new files, and then run the update script in the newsinstall.php file. THen recopy the functions.php text. then recopy the new text for the news getting process. Final step is to set the max number of characters before it cuts off the text via the adminpanel. |
So basically like the announcments feature already in vBulletin? :confused:
|
no, its made mainly for non vb pages, to display the "News" which can be non site related but on the fourms in a thread itself.
|
I was wondering what kind of news script I would use for my site, sice I'm not allowed to use newspro anymore >_<
Maybe I'll try this out, thanks AGAIN for making a great hack :D |
Heres a better newsbit to work with. A little less liek a post, and a bit more like news. Has a comment link as well as a cut off link for text extending the limit of characters.
PHP Code:
|
Ah - I get it now. Looks Cool! Thanks zajako
|
Very interesting concept, to show the first post in each thread of every forum.
But, would it make more sense to show the latest post of each thread in every forum? Maybe not..since viewers wouldn't be keened in on the topic, but then again..who knows? Well, nifty idea of a hack, but I'll have to consider whether I need it or not. |
I like! :) I'll probably use this for some interesting reason...heh
|
Velocd, i don't think you understand it. It is for displaying news. The news post is shown, and lets your members read it on another page, and then they can clikc a link to lead to the forum so they can comment on the news. For example you have a forum called site news. then you have a main site page. You can use this hack to display the news thread's first post listing off the current news. Thus any comments or replies about the news would not matter nor want to be shown.
|
sory for bump
i want only titles of the news , also i want it as columns like : news1 | news2 | news3 any one help me please ? |
if your looking for a live demo i belive that he has also installed it at his website www.tfogame.com
|
Zajako just sent me an update to this hack. I'm attaching it with his permission. The instructions should be self-explanatory, but I don't believe that you need to make any changes to admin/functions.php or the template.
|
All times are GMT. The time now is 04:44 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:
|