Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Logician NEWS: Drag Any Message to Your Main Page Details »»
Logician NEWS: Drag Any Message to Your Main Page
Mod Version: 1.00, by Logician (Coder) Logician is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (1 vote - 5.00 average) Installs: 105
Released: 31 May 2002 Last Update: Never Downloads: 14
Not Supported  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 23 Jun 2002, 19:03
FrankR310 FrankR310 is offline
 
Join Date: Jun 2002
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
Reply With Quote
  #47  
Old 23 Jun 2002, 19:22
futureal futureal is offline
 
Join Date: Feb 2002
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.
__________________
Editor, Xtreme RC Cars Magazine
Owner, R/C Tech
Reply With Quote
  #48  
Old 23 Jun 2002, 19:59
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
@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..

Last edited by Logician : 23 Jun 2002 at 20:06.
Reply With Quote
  #49  
Old 26 Jun 2002, 10:52
Highlander Highlander is offline
 
Join Date: Apr 2002
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 !
Reply With Quote
  #50  
Old 23 Jul 2002, 20:31
inetd inetd is offline
 
Join Date: Nov 2001
Logician, this hack can work with WebTemplates?
Reply With Quote
  #51  
Old 23 Jul 2002, 20:48
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally posted by inetd
Logician, this hack can work with WebTemplates?
nope inetd, you cant integrate this script into a webtemplate. However you can create a webquery inside your webtemplate which derives news from your vb db. Of course news compiling features of a webquery will not be as advanced as Logician News script, but can do the trick, if you dont have so high expectations.
__________________
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..
Reply With Quote
  #52  
Old 25 Jul 2002, 02:21
Ryangel Ryangel is offline
 
Join Date: Jun 2002
[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.
Reply With Quote
  #53  
Old 25 Jul 2002, 03:13
Ryangel Ryangel is offline
 
Join Date: Jun 2002
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.
Reply With Quote
  #54  
Old 25 Jul 2002, 06:59
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Re: [news] tag blanks out post in forumdisplay

Originally posted by Ryangel
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.
lol Ryangel but this is the default behaviour of the hack. :glasses: As mentioned in the instructions ALL hack tags (ie. [news] [summary] [intro] [options]) are INVISIBLE in the original thread.

[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..
Reply With Quote
  #55  
Old 25 Jul 2002, 07:02
Ryangel Ryangel is offline
 
Join Date: Jun 2002
Ohhhhhhhhhhhh.

How silly of me. *whacks self*
:cross-eyed:
Reply With Quote
  #56  
Old 25 Jul 2002, 07:17
Ryangel Ryangel is offline
 
Join Date: Jun 2002
Thanks for the clearification logician!

and again, great addon!
Attached Images
File Type: gif logicianhack.gif (38.7 KB, 46 views)
Reply With Quote
  #57  
Old 07 Aug 2002, 06:22
miho miho is offline
 
Join Date: Nov 2001
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
Reply With Quote
  #58  
Old 21 Aug 2002, 08:33
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally posted by miho
Is it posible to link from the news (read more...) to the orginal posting and not only to the thread.
Isnt it already so?
__________________
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..
Reply With Quote
  #59  
Old 21 Aug 2002, 14:58
miho miho is offline
 
Join Date: Nov 2001
No, not in vb version 2.2.3.
Reply With Quote
  #60  
Old 21 Aug 2002, 18:31
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally posted by miho
No, not in vb version 2.2.3.
Did I get you right:

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..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:16.

Layout Options | Width: Wide Color: