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)
-   -   [RELEASE vb2B2] NewsFader 2.0 (https://vborg.vbsupport.ru/showthread.php?t=9944)

02-26-2001 10:00 PM

Description:
This small hack will show a DHTML fader on your board. You may choose what to display during fading, customize colors, widths, heights, what to show with links, etc. A member can choose whether to display News Fader or not.

vBulletin versions supported:
2.0 Beta 2

Files to edit:
index.php, register.php, member.php

Templates to modify:
4 - forumhome, registeradult, registercoppa, modifyoptions

Number of new queries:
0

Number of new templates:
5

Size:
10,8KB

Demo:
N/A

Known bugs and issues:
Some versions of Netscape display fader incorrectly.

Future:
"Happy Birthday" or something similar will show when a member has birthday. :D

Instructions:
Included in the attached ZIP file.

02-27-2001 09:27 AM

Fader in action on my test board. Just changing news. :)

[The size of the attachment is 50,2KB]

02-27-2001 04:51 PM

I have been using the fader hack on my beta 1 site for awhile now at http://bikeforums.com/v2/ Only logged in users will see the fader, everyone else will see the New User text... Also, for some reason, some unregistered users recive a javascript error, im still trying to de-bug it.

I'll probly remove the fader for my public version as IMHO it slows down the page, and i always use the get new posts feature, i hate waiting for the fader to show that line ;)

[edit] Sorry, i took down my beta forum, as my main forum went live with v2, i decided not to use the fader hack in the public forum[/edit]

02-27-2001 05:07 PM

Just throwing out ideas, but it would be cool if you could have it say "happy birthday" to those who's birthdays are listed in the profile as one of the news topics.

02-28-2001 01:06 AM

I agree...birthdays would be really cool! Can you hack THAT???

BTW, this works GREAT on my site....THANK YOU!

02-28-2001 02:21 AM

Yeah, sounds like a dope idea. Possible to do it?

02-28-2001 06:11 AM

I'll update this version as soon as possible. There're some bugs with unregistered users (the fader's not showing correctly) which have to be fixed. Next version will also contain a possibility to turn on or turn off the fader using the user control panel (not every member wants to slow down page load :)).

Birthdays are great idea and I'll try to make it run. :)

02-28-2001 11:43 PM

OK...this is a seperate idea I am sure...but what about a fader that shows the last 5 posts...like a snippet of each...or something like that.

I could possibly work on that...

03-01-2001 12:08 AM

Will news fader work with ver 1.1.5 i know you have 2.0 as being supported just wondering if 1.15 was or if there was a ver for 1.1.5? Thx

03-01-2001 12:53 AM

Thats a great one. and your ticker was the best install notes I have ever seen.

03-01-2001 12:54 AM

Can you make it so its self updating? the time etc?

03-01-2001 01:53 AM

Great hack no problems including it.

03-01-2001 08:14 AM

Quote:

Originally posted by [JaGz]
Will news fader work with ver 1.1.5 i know you have 2.0 as being supported just wondering if 1.15 was or if there was a ver for 1.1.5? Thx
Yes, I released News Fader for 1.1.5 some time ago. Just try a search.

03-01-2001 08:18 AM

Quote:

Originally posted by philliplewis
Can you make it so its self updating? the time etc?
It is self updating.

03-01-2001 08:23 AM

Quote:

Originally posted by version2
OK...this is a seperate idea I am sure...but what about a fader that shows the last 5 posts...like a snippet of each...or something like that.

I could possibly work on that...
Hmmm. I'll take a look but before I'll add new features I have to sweep any bugs found.

03-01-2001 02:34 PM

Update:
  • A member can now choose whether to display News Fader or not.
  • Created some new templates for easier manipulation.
  • Bug fixes with unregistered users.
  • News Fader replaces
    Quote:

    Registered Members: 3098
    9912 threads in total | 69663 posts in total Welcome back PeF.
    You last visited: 03-01-2001 01:20 PM.
    The time now is 05:29 PM. View new posts .
    Welcome to our newest member, Prince2001
    if chosen to be displayed. If not everything remains intact. :)

New zip uploaded.

03-01-2001 03:22 PM

<!-- Database error in vBulletin: Invalid SQL: UPDATE user
SET styleid='1',adminemail='1',
showemail='0',invisible='0',cookieuser='1',
maxposts='-1',daysprune='-1',
timezoneoffset='0',emailnotification='1',
startofweek='1',showsignatures='1',receivepm='1',
emailonpm='0',pmpopup='0',newsfader='1',usergroupi d='6',
nosessionhash='0'
WHERE userid='8'
mysql error: Unknown column 'newsfader' in 'field list'

Thats the error I got :(

03-01-2001 03:31 PM

Silly me. Forgot to add MySQL command.
Download new ZIP and run update.php or run in phpMyAdmin:

ALTER TABLE user ADD newsfader smallint (6) NOT NULL DEFAULT 0;

03-01-2001 03:49 PM

Did you know that the older one u had didnt work in netscape?

I went back to the old one. Messing with the mysql database allways goes wrong for me :(

03-01-2001 04:02 PM

You won't mess up anything. It just alters table user. One new field created. That's all.

Netscape, as usual, has problems with DHTML and Javascripting.

03-02-2001 02:40 AM

Where can I see an example of the fader?

I checked the sites mentioned in this thread--registered and logged in but didn't see it?

Thanks

03-02-2001 02:50 AM

i removed the fader from my forum shoe.. sorry.

03-12-2001 04:42 PM

any1 know if this works correctly with beta3?
i get an javascript error when the news is done...
not good, right?

it's running on vB2.0 beta3

03-13-2001 05:20 AM

You probably didn't follow the instructions carefully.

03-13-2001 08:45 AM

Does this version work withe vbulletin 2.0 beta 3???
Where can i see a real demo plzz....
Thx :)

03-13-2001 08:49 AM

It should work without troubles.
Demo, as mentioned, is not available. I'm behind a firewall.
If anyone else decided to post a link to show a demo, I'll appretiate it.

03-13-2001 01:06 PM

Will make that and give you the link :)

03-13-2001 05:26 PM

i have install the script
For the demo go here:

http://www.flash-france.com/forums/

You need to be register!!

Enjoy!

03-20-2001 11:32 PM

well i installed several times didnt work for me im running vb2.0 beta 3 got to to display once but NO link would work on any of the board.. Ill just wait till next ver comes out thank for your hard work though man.. Peace

03-21-2001 06:39 AM

Did you recieve any error?

ukliam 04-16-2001 10:31 AM

It works for me...

bokhalifa 04-16-2001 01:25 PM

good hack


It works for me;)



http://bokhalifa.org/daar/bo/

Steve Machol 04-16-2001 04:39 PM

[QUOTE]Originally posted by ukliam
It works for me...

ukliam 04-17-2001 08:51 AM

Smachol, it is just done using a few images in a table... pretty easy to do.
As I remember you from my UBB days, if you want a hand, just let me know.

Steve Machol 04-17-2001 04:54 PM

ukliam,

Thanks for the offer. And yes I remember you from UBB as well. You were always a great help and resource for information.

If you don't mind, I would appreciate you looking at my vB 2.0 Test forum and suggesting how I could go about adding the image borders. The URL is in my sig. Thanks!

Steve Machol 04-26-2001 05:27 PM

I ran into a slight problem with this hack with RC2.

The problem is that I have a drop-dowm javascript menu that will not display when the Newsfader is running. The menu script is placed in the headinclude template which falls within the < head > < /head > tags with a slight "<body onload="init()">" placed in the header template. The Newsfader, of course, is in the forumhome template and falls wihin the < body > < /body > tags. Is it possible there's a conflict between javascripts when one is within < head > < /head > and the other within < body > < /body >?

When I look at the page source all of the code for the menu script is there, it just won't display.

Any idea how to make this javascript work alongside the javascript that placed in my headinclude template? (Unfortunately I had to disable this hack until I can get this sorted out.)

Steve Machol 04-27-2001 01:53 AM

I've reinstalled this hack in the hope that someone can take a look at it and tell me why the drop-down menu isn't working when Fader is on.

GimmeTech 04-28-2001 01:38 AM

Where are you Pef........??????????????????????????????????

Smachol has posted just what I came in here to post on. The newsfader java is crashing other java in RC2. Or at least it apprears so. The PM pop-ups do not work and Smachols java menu does not work with the Fader installed. With the fader uninstalled everything works again.

Any chance you could respond and maybe give myself and smachol some direction to what might fix this?

Note: Simply put. The fader works no matter what. No other java disables the fader. The fader disables everything else. At least from what I can see.

Thank You!

ff92k 04-28-2001 06:38 AM

i have to ask 2 questions about it
1 : how do you change the background colour of the newsfader bar?
and secondly : It gets rid of "total posts" ect....is there any way i can just get this back?, i know it is the fader, but i want it in both

PeF 04-28-2001 09:46 AM

First, I'd like to apologize for the delay. Currently, I'm changing a department (from PC LAN to Internet Services :)) in my company and I'm forced to limit my Internet access (just for a while). As soon as the final release of vBulletin is released I'll take a look at my hacks and I'll rewrite them ASAP. I have some new hacks in a progress and they need to be finished as well. So, please be patient, I need some time.

Thanks for heads up guys and again, I apologize.

Smachol: If you experience such as problems, I recommend to stop using News Fader. Also, feel free to drop me a message (if you have ICQ, take a look at my profile or email me. I can try to allocate some time and take a look at your site).


All times are GMT. The time now is 08:36 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.01275 seconds
  • Memory Usage 1,805KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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