Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Eric23 (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-18-2001 Last Update: Never Installs: 0
 
No support by the author.

I apologize for asking but is there a News Fader hack for vB 1.1.6? There was one in this thread

http://www.vbulletin.com/forum/showt...threadid=16131

however, newshackforvb2.txt (the instructions???) are unreadable. I also read PeF's newsfader hack which was very cool however, when I go to insert the lines of code some of them are not there. Is this due to the version or is this the fact that I use *.php3 files?

Thanks for any help!
Eric

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-18-2001, 06:01 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The fader i posted will work for you just open the file with notepad
Reply With Quote
  #3  
Old 05-18-2001, 07:18 PM
Eric23
Guest
 
Posts: n/a
Default

thanks for the reply funky, I tried a couple of things actually and this is what I see.

************************************************** **

????????HACK??????ͩ????http://vbb.yesky.net??????????2001.04.23
?????????????????ļ???NEWSFADER.PHP??FADER.js??new shackforvb2?????DZ??ļ???
????ADMIN/INDEX.PHP
???ң?
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="#3F3849"><td><font color="#BCB6CD">
<b>????????</b>
</font></td></tr></table>
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add">????</a> |
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify">?༭</a>
</td></tr>
???????ӣ?
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="#3F3849"><td><font color="#BCB6CD">
<b>????</b>
</font></td></tr></table>
<a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=add"> ???? </a> |
<a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> ?޸? </a>
</td></tr>

??????index.php
???ң?
$permissions=getpermissions();
if (!$permissions['canview']) {
show_nopermission();
}
?????????ϣ?
// Hack newsfade
$newsfadebits = "";
$newsfades=$DB_site->query("SELECT title,pagetext FROM announcement WHERE enddate>=$datenow AND forumid=0 ORDER BY startdate DESC");
while ($newsfade=$DB_site->fetch_array($newsfades)) {
$newsfadebits.="\"".addslashes($newsfade[pagetext])."\",\"$newsfade[title]\",\n";
}
$newsfadebits = substr($newsfadebits,0,-2);
// End Hack newsfad

?޸?ģ?壺forumhome
?ҵ???
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
???????ӣ?
<SCRIPT LANGUAGE='JavaScript1.2' TYPE='text/javascript'>
prefix="";
arNews = [
$newsfadebits
]
</SCRIPT>
<SCRIPT LANGUAGE='JavaScript1.2' SRC='fader.js' TYPE='text/javascript'></script>
</head>
<body>
????Щ????$header֮ǰ??
???ң?
$unregwelcomemessage
</table>
<!-- /text -->

<br>

<!-- main -->
?????????ϣ?
<table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="1" width="100%" border="0">
<TR bgcolor="{tableheadbgcolor}" id=cat><TD colspan=6>
<normalfont color="{categoryfontcolor}">??̳????????</normalfont></td>
</tr>
<tr><td colspan=6 bgcolor="#f7f7f7" height=30 valign="top" align="center">
<div id="elFader" style="position:relative;visibility:hidden;width:5 00"><div align="center">??̳????</div></div>
</td></tr>
<table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="1" width="100%" border="0">
<tr align="center">

?ϴ?NEWSFADER.PHP????̳ADMINĿ¼
?ϴ?FADER.JS????̳Ŀ¼???Ϳ????ˡ?

ϣ????ϲ??????????????ͩ??????http://vbb.yesky.net

************************************************** *
I can make out some of it but, I am not completely comfortable with making any adjustments with out fully understanding what it is exactly I am looking at.

If anyone has a "non-corrupted" version of this file if you could e-mail it to me that would awesome!!!!!

Thanks Funkie and everyone else in advance!
Eric
Reply With Quote
  #4  
Old 05-18-2001, 07:29 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats not from the attachment I put up m8 d/l the one from my post
If still no joy I'll email it to you
Reply With Quote
  #5  
Old 05-18-2001, 08:19 PM
Eric23
Guest
 
Posts: n/a
Default

Funkie thanks for all the help!!!!

If you could e-mail it to me that would be awesome.

THANKS!

Eric
Reply With Quote
  #6  
Old 05-18-2001, 08:29 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as the email button dosn't allow attachments

here it is anyway
Attached Files
File Type: (21.4 KB, 59 views)
Reply With Quote
  #7  
Old 05-18-2001, 08:37 PM
Eric23
Guest
 
Posts: n/a
Default

Funkie,

Hey good to go!!!! Thanks for all the help Funkie. I really appriciate it!

Eric
Reply With Quote
  #8  
Old 05-19-2001, 02:24 AM
ztsky
Guest
 
Posts: n/a
Default

This hack is just I used.
But i think I would had post it in english.
This newsfader hack is can use in every vb Version.
I like it!
I can translate into english for you:
newshackforvb2:
1)open ADMIN/INDEX.PHP
find??
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="#3F3849"><td><font color="#BCB6CD">
<b>Announcement</b>
</font></td></tr></table>
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add">add</a> |
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify">edit</a>
</td></tr>

just below it,add this??
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="#3F3849"><td><font color="#BCB6CD">
<b>Forum news</b>
</font></td></tr></table>
<a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=add"> add</a> |
<a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> edit</a>
</td></tr>

2)open??index.php
find??
$permissions=getpermissions();
if (!$permissions['canview']) {
show_nopermission();
}
just below it add this??
// Hack newsfade
$newsfadebits = "";
$newsfades=$DB_site->query("SELECT title,pagetext FROM announcement WHERE enddate>=$datenow AND forumid=0 ORDER BY startdate DESC");
while ($newsfade=$DB_site->fetch_array($newsfades)) {
$newsfadebits.="\"".addslashes($newsfade[pagetext])."\",\"$newsfade[title]\",\n";
}
$newsfadebits = substr($newsfadebits,0,-2);
// End Hack newsfad


3)edit template forumhome:

find??
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
Just below it,add??
<SCRIPT LANGUAGE='JavaScript1.2' TYPE='text/javascript'>
prefix="";
arNews = [
$newsfadebits
]
</SCRIPT>
<SCRIPT LANGUAGE='JavaScript1.2' SRC='fader.js' TYPE='text/javascript'></script>
</head>
<body>

??note: this should be added before "$header"??
then find??
$unregwelcomemessage
</table>
<!-- /text -->

<br>

<!-- main -->
just below it,add this code??
<table bgcolor="#FFFFFF" cellpadding="4" cellspacing="1" width="100%" border="0">
<TR bgcolor="#6C6081" id=cat><TD colspan=6>
<normalfont color="#F5D300">Forum news</normalfont></td>
</tr>
<tr><td colspan=6 bgcolor="#f7f7f7" height=30 valign="top" align="center">
<div id="elFader" style="position:relative;visibility:hidden;width:5 00"><div align="center">Forumnews</div></div>
</td></tr>
<table bgcolor="#FFFFFF" cellpadding="4" cellspacing="1" width="100%" border="0">
<tr align="center">

upload NEWSFADER.PHP to you vb/ADMIN
upload FADER.JS to your vb/

this all!!
Reply With Quote
  #9  
Old 05-19-2001, 02:33 AM
ztsky
Guest
 
Posts: n/a
Default

this zipfile is in enhlish!
easy and clean for all vBulletin Version 1.*/2.*
Attached Files
File Type: (21.4 KB, 58 views)
Reply With Quote
  #10  
Old 05-19-2001, 07:19 AM
First-Man
Guest
 
Posts: n/a
Default

ehm..
The fade does not start!
I use IE6.
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 PM.


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.04647 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (3)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete