![]() |
|
|
Mod Options |
Logician NEWS: Drag Any Message to Your Main Page Details »»
|
|||||||||||
|
Logician NEWS: Drag Any Message to Your Main Page
Developer Last Online: May 2013
This modification is in the archives.
This is a news script which will drag vb forum messages from your vb db to your non-vb main page/news page. There are a lot of good news script around but I needed a highly customizable main page news script with some special features and wrote it myself. I'm using it in my site's main page for a long time, but I was just too lazy to write installation/help documents to share it here, sorry!
FEATURES: * This script simply pulls forum messages which you marked as "news" from your vb database and post them in your non-vbulletin (main/other) page. * You can mark messages as "NEWS" in any forum you want (including private forums). You dont need to restrict your news to a specific forum. * You can drag any message to your main page, regardless of its date. So news is NOT supposed to be the most recent messages in your board. * You do NOT have to carry the whole message to your main page as news. You can import it all or simply take some part of it. So eg. you can drag a message's the first paragraph to your news page and link the thread for "Read More". * Moreover you can insert invisible custom NEWS text which will be dragged to your main page to your board messages, but not shown in the original forum thread. So your original thread message and news text on your main page can be different than eachother. * You can have sticky news in your main page (even if they are not sticky in your forum). * News does NOT need to be the first message in the thread. You can tag any reply message as news and pull it to your main page either. * Script parses ALL of your message icons/smilies (including your custom add-ons) and some of the important vBCode like: [url] [email] [img] [b] [i] [u] * You can specify which members may post news. * You can form your News' title seperately, apart from of the original thread/message title. * You can set maximum number of news shown in your main page. * You can set maximum number of characters that all shown news should not exceed. Some messages can be long and some can be short and if you set a character limit, the script will automatically compile enough news from your database to fit your web page's relevant part according to the limit you set. * You can enable/disable: News Poster Name News Date News Read Number News 'Send to a Friend' Link Comment number/Add comment button/Last commenter Will viewing news increase the original thread's view count or not News is sticky or not for ALL your news INDIVIDUALLY. * All news tags are invisible in the original thread. So forum readers do not notice any difference when you tag a message as news. * Dragging a message to your main page as news is as simple as inserting a hidden [news]Title of My News[/news] tag to your forum message. Well, these features are what I needed in my news script, so it should suffice to you too! ![]() It's an easy to install script and will work with ALL vbulletin versions because it's an add-on, not a hack. I can give support as much as I have time, but please ask here, not via email or PM. If you use the script, please click INSTALL. If you post the URL of your news page after installation, you can help other users see the script in action in different pages and in custom designs, thank you! Logician Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||
|
#46
|
|||
|
|||
|
two diff news categories on same page...
i was thinking about how to do this as well....
couldnt i just rename one file like phpheader.php and phpheader1.php along with newsconfig.php and newsconfig1.php then change reference to the correct file in the scripts and the news () function to news1 () function? modify the template in phpheader specify specific forums to pull news from for each one then include them on the main news page? i wanted to try this but didnt want to mess anything up as it's running so well right now... what do you think? i have no zero knowledge on programming..just thinking things thru to see if it's possible. thanks, frank No members have liked this post.
|
|
#47
|
|||
|
|||
|
Quick question about this news script/hack: Is it possible to define a range of dates to display on a page (such as a site News page) with this?
In other words, suppose I want my site's home page to display all news messages newer than one month ago. Then I have another page (say, Archive) that will display all news posts for May, one for all on April, one for all of March, etc. Would that work? I read through the documentation and either didn't see that info, or totally missed it. If it's the latter, I apologize. No members have liked this post.
|
|
#48
|
||||
|
||||
|
@Frank: All you suggested may be done but it will be pointless because both scripts (newsconfig.php and newsconfig1.php) will compile the same data from the database so although you achieve to have two news columns in one page, the compiled news will be same.
To seperate the news you need to go on hacking the script and modify the news tags too. [edit: just noticed you planned to seperate forums to post news, so you can skip this step] So it requires a lot of work but it is possible, at least in theory. @futureal: This script is degisned to pull messages only if they are tagged as news in the original post. So if you are referring a system that the script will automatically pull the news according to post date without author's tagging them, no it's not possible. You need to insert [news] tag to pull a message to your main page and delete the tag to remove it. The script automatically deletes the tag in certain cases too but message date is not one of them. What you want to achive can be done via the new version of my WebTemplates hack though. (Recent beta version doesnt support this feature yet). Or you may want to check other news scripts released here. I dont know if any of them support what you asked but there are nice scripts around so you can find one with that feature.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
Last edited by Logician : 23 Jun 2002 at 20:06. |
|
#49
|
|||
|
|||
|
Hi @all
I think i found a little bug..its not a really a bug ..but for all vbulletin owners wich got the FADE hack the news tag will make your posts fading (glowing) like links...i tried to manage this..but the fading hack sees in the news TAGS the same like [url] so the message is glowing...fading.. but only in the Forum..and i thought..maybe its not so bad..so the people see at once..thats news ! No members have liked this post.
|
|
#50
|
|||
|
|||
|
Logician, this hack can work with WebTemplates?
No members have liked this post.
|
|
#51
|
||||
|
||||
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
|
|
#52
|
|||
|
|||
|
[news] tag blanks out post in forumdisplay
using 2.2.6
Everything works fine except that the text that i tag with [news][/news] when i go back to view the thread, it doesnt disply.. as though it disappeared. I will recheck code now. Just wondering if anyone had the same experiance or know a solution. No members have liked this post.
|
|
#53
|
|||
|
|||
|
FIXED!
ok I added {param} in all the right places in the new vbcodes and it worked!
Did i get a bad .html install file? cuz i found it strange. No members have liked this post.
|
|
#54
|
||||
|
||||
|
Re: [news] tag blanks out post in forumdisplay
[news] tag only tags your message as a news to notify the hack and helps you to choose a custom news title for your message. It doesnt have any other usage (especially in the thread) so I dont get why you want to make it visible?
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
|
|
#55
|
|||
|
|||
|
Ohhhhhhhhhhhh.
How silly of me. *whacks self* :cross-eyed: No members have liked this post.
|
|
#56
|
|||
|
|||
|
Thanks for the clearification logician!
and again, great addon! ![]() No members have liked this post.
|
|
#57
|
|||
|
|||
|
Is it posible to link from the news (read more...) to the orginal posting and not only to the thread. I think it is not so easy to find the right message if there are many messages in an thread.
Must be something in this line: $news[$i][link]='[<a href="'.$forumlocation."showthread.php?threadid=".$news[$i][threadid]."&postid=".$news[$i][postid].'">'.$readresttext.'</a>]'; Thanks Michael No members have liked this post.
|
|
#58
|
||||
|
||||
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
|
|
#59
|
|||
|
|||
|
No, not in vb version 2.2.3.
No members have liked this post.
|
|
#60
|
||||
|
||||
When [summary] or [intro] tags are used in a news message you want "Read More" link to link the news message itself which [news] tag is used, not the thread itself? If it is so, this is already the default hack behaviour and it's not related to the vb version you are using. If this is not working for you, you mignt be designed your news HTML ($newstablesample) incorrectly in "phpheader.php" file in options. You need to use ££NEWSLINK££ variable for this link. If you can post your $newstablesample and the link of your webpage which is not working correctly, I can help more..
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 20:44.





