vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Logician NEWS: Drag Any Message to Your Main Page (https://vborg.vbsupport.ru/showthread.php?t=39278)

Logician 06-22-2002 09:00 PM

Quote:

Originally posted by FrankR310

do i have to change that line to $run_time_config={string....?

$run_time variable keeps the running time of the script while our new $run_time_config variable keeps the option if this will be displayed or not. So do NOT touch that line. The line I mentioned in the bugfix message is the only line that should be changed (as you have already noticed) :)

Highlander 06-22-2002 10:00 PM

hi..logician..again i tried your third hack..and i like it again..but enough of that ..you hear that so many times..but its your great work..you handle codes like i drink water on hot days..lol..

ok..i got no bugs to report..only wishes..like every time i meet you..here..

please follow this link to see what i mean:
<a href="http://www.spieleplanet.net/news/index.php">http://www.spieleplanet.net/news/index.php</a>
there you see my old news system....its similar like yours..but not integrated in the board..its a standalone script....but what i liked there is that i could handle different categories ..cause i got english users and german users..and for every head line there was an quick link schown on the top..so all headlines are shown on the top and seen at once..,got an idea how to handle this ?..and the next thing is....to display old news on NEXT PAGES or something like this..

so another question and this is what i need to know really ..how can i make the news system like you showed on teh news pages on the beginning of this thread..(examples) ..i want to make news from FORUM ID XX in the middle....and other news Forums should be shown in side boxes..what about that..its possible to make categories like center BOx (big in the center of the page with main news..and SIDE BOXES with short news on the right or left ?..i have to define specific Forum ids for that..but i dont see any option..for example Forum ID 50 will be shown only in the side boxes ..and ForumID 10 will be shown in the center as main news..understand my idea ?

you just win the football gemae today .. gratulation !

Highlander 06-23-2002 06:55 AM

ups the URL is wrong :

http://www.spieleplanet.org/vbp/news/

Logician 06-23-2002 10:43 AM

Highlander :Unfortunately your wishes are not achievable with this script. Script can not support different categories like English or German. However if you want, you can install it to 2 different directories and use one for English News and the other for German news. This is possible.

As for old news support, it's not possible. This is not designed to be a stand-alone news script but a vb-integration so it just drags vb news tagged messages to your main page and if a message is tagged as news but not dragged to the main page, script automatically removes the news tags from it (configurable in options part). This is intentional to decrease SQL load in your server and incease script running time and because of this behavior, it's not possible to save/archive/access old news.

Again you cannot create different columns for news, script is not designed to do that either. In my site's main page only the middle column is generated by this script, the other columns are not. So if you are referring the right column in that page, it's not this script doing it, I writed an individual PHP code to handle it.

Highlander 06-23-2002 01:25 PM

okay..thx..i will dake the old news script for right side boxes....

but really it would be nice if we could define specific forums for specific teables..like FORUM1 and FORUM2 is with link or without link..so maybe it would be nice to make FORUM3 and Forum4 to define two Forum IDS for specific news .. this script is integrated in VB its the thing i searched..cause i need comments functions .. and so my news on main page and forum are the same..but for me only once written..

p.s. did you rite the seperate news script for the side boxes..could i try it maybe ´for extra news in side boxes like you got !

but really it would be nice to make a more dynamic news vb-script..with specific Forums to choosse wich are shown on the side in extra boxes..or somewhere else..maybe with other tags like [news1] news here inside[/news1]

FrankR310 06-23-2002 06:03 PM

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

futureal 06-23-2002 06:22 PM

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.

Logician 06-23-2002 06:59 PM

@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.

Highlander 06-26-2002 09:52 AM

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 !

inetd 07-23-2002 07:31 PM

Logician, this hack can work with WebTemplates?


All times are GMT. The time now is 11:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01162 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete