The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Logician NEWS: Drag Any Message to Your Main Page Details »» | |||||||||||||||||||||||||||
Logician NEWS: Drag Any Message to Your Main Page
Developer Last Online: Nov 2023
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 Show Your Support
|
Comments |
#182
|
|||
|
|||
hey logician... humm.. sorry for being such an annoying guy... but I think u are the only one who can help me....
first of all, I don?t care about the avatar thing anymore.... I create a news template that looks quite good ... but I have a functionality problem... I have my site in both, english and spanish, so I need two news scripts (I used to use fusionnews... but it was too slow to login, write the news, then logout and then do it all over again on the other script... it worked, but it was too slow...). I?ve installed this script in two different folders, noticias and news. Then installed the advanced way and post a news item on my spanish forum. worked.. perfectly... then posted on the english one.. perfect again, both showing on their respective pages. The problem came when I posted agian on the english forum, one newswriter posted and the old post dissapeared from the mainpage... I thought it may be a installation error but no. I then tried to post another news on the english forum and nothing, the post my friend created was(and still is) the only one that can be viewed on the english main page... even if I post a newer news item.. X.x... I can post again on the spanish forum and it works perfectly... they started deleting each others [news]tags, but that was an easy tsolve problem... (just had to set "$remove_news_tag" to 0) but now I?m desperate... plz help! here are some URLS that may be helfull: http://zelda.wi3k.net/home2.php <-- english mainpage http://zelda.wi3k.net/foro/forumdisplay.php?forumid=22 <-- english news forum http://zelda.wi3k.net/home.php <-- spanish mainpage http://zelda.wi3k.net/foro/forumdisplay.php?forumid=23 <-- spanish news forum hope u can help me... I think the solution is to create a whole new script.. kinda... for the english news... I mean, with different variables, tags and everything.. but I?m unsure.... thnx in advance and sorry for being so annoying (again)... BTW I?ve double and triple checked the phpheader.php file of both, english and spanish and they are right. also, every post has the tags within it ... |
#183
|
||||
|
||||
The script is designed to turn off news tags when a news is not pulled into the news page for a reason. In your example when spanish script runs, english news is not pulled since their forum id is not matched so the script deletes them.
This should fix your problem: find: PHP Code:
PHP Code:
|
#184
|
|||
|
|||
lol.. it didn?t.... I, the administrator, can?t post news.. I logged in as "Zeldafan" (my other news poster" and it worked... kinda... it replaced the other new with the one I posted under his name... of course I?ve checked this: $max_news=0; so I dunno what the problem is... ops:..... again sorry for beeing so annoying :s...
[EDIT] mmmm.. now it?s weirder.. it says: "news hve been compied in xxxxx seconds" but nothing appears!!... Oo... and the spanish one has just 1 news (there are 2 news on the forum @@.... [EDIT] I installed all over again from start, of course, replacing the text that u gave me logician, and here?s what I get: PHP Code:
|
#185
|
||||
|
||||
sorry should be in_array not inarray
|
#186
|
|||
|
|||
lol, thnx, it solve the fatal error problem, but it?s not compiling the news.. I?ll try erasing the forums and creating new ones and installing all over.. I?ll tell u how it came out after
[EDIT] lol, I did what stated above... english poster posted a news on english and I posted in spanish... again, spanish is working and english isn?t... english just says: "News has been compiled in 0.0535 seconds." but the news don?t appear... I did a new install (downloaded and started all over again) for both files, I erased the old forums and created new ones, what changed their ID?s.... I checked all twice and it?s not working. I think it?s the hack since it?s not created to support two different languages in two different pages.... but I dunno :ermm: any ideas?... if it?s too much trouble just tell me and I?ll install fusionnews or something for the enlgish part.. (damn.. >.<)..... |
#187
|
||||
|
||||
Logicina,
Warning: mysql_connect(): Access denied for user: 'a0005075@localhost' (Using password: YES) in /home/logician/public_html/newsdemo/newsconfig.php on line 26 Couldnt find MYSQL! |
#188
|
|||
|
|||
check your database settings in phpheader.php
|
#189
|
|||
|
|||
will this work for 3.x?
|
#190
|
|||
|
|||
i've installed this hack a year ago, now i've upgraded to vb3 and it still works.
great works with vbulletin 3.06 |
#191
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|