![]() |
In my Board -> www.kampfkunst-board.de.vu there is no newest user shown!?!?? Only the variable
Please help me there :( |
I applied this hack and all is working well, with the exception of the newest member line display. The special characters in the code line of index.php in the main VB folder:
Code:
What are these ? |
I assumed it was just extra "garbage". I took those characters out of the code and it worked fine.
|
I did too, and it worked well, I just wanted that "newest member $unewusername' display...:)
|
Mine did until I took it out of the script :)
|
Just install this hack and customized the background and font colors to match the board. Dropped the table heading so that the fader just comes in and out of the background by itself. Works like a charm. Thanks much.
Regards, web |
this hack seems to work for me it shows welcome our newest memeber then goes on to a test post but it is posting all my posts in html hyper links how do i stop this?
|
If you do not want the news posts to be hyperlinks, make sure the URL field is blank, including the default "http://".
Regards, web |
yes i removed the http but it still shows as a hyper link do i need to edit soemhting soemwhere else in the install part to stop this
|
also can soemone tell me how to center the text dead center top to bottom if i wanted my box taller then the text is like say i went 1 inch high on box with 1/2 inch text how would it be in the middle of the box?
|
I tested it before I replied to you. When the URL field is blank, the news post does not appear as a hyperlink. When the URL field contains "http://" even without the remaining portion of the URL, the news post appears as a hyperlink.
Regards, web |
ok thanx i got it fixed now the center middle issue is at hand also i seen ona board soemwhere that the news fader had various settings like 1st post typed in <i assume using java script DHTML> next post rolled in from top then one did another transition is there a way to add transitions to this or make it look at a list of transitions or soemthing i tried to add a java script in but it is to long text to do so any help is appriciated
|
is hter a way to change the background color of the newsfader ??
mfg Generics |
Quote:
FDRboxWid = 820; FDRboxHgt = 25; FDRborWid = 2; FDRborCol = "#336699"; FDRborSty = "solid"; FDRbackCol = "#336699"; <~~~~ bg color FDRboxPad = 4; |
it's a great hack!!
thanks~~~~~ and how to make it display the forum new post?? |
kewl thx you helped me a lot ;)
mfg Generics |
Is great hack. I like having it on my board.
One thing I've noticed, however, and I've seen at least ONE other in this thread has seen this. Occasionally, when a new member registers, all the newsfader entries 'leave' the database! This has happened to me three times in the previous week! I have about 10 news items in the fader table, and they are scrolling along, just fine. Next thing I know is I get PM's from my membership saying they are gone! I look in CP, and WOW, none of my 10 news entries are there any more....Ok, so I add em back! Two days later, same thing! I check logs to see whose deleted them, because, surely that's what has happened, but, no log entries!! Ok, so what was the only other activity at the time?? New user registered themselves to board. ??????? ANybody else see this, or am I blind, and missed the fix in an earlier post? |
people dont like to sit in 1 place too long so is there a way to speed it up?
I am assuming it is a setting in the .js file but i cannot find anything! |
Thanks for the great hack! If you want to see my modification of it, you can check here ... www.DIYAW.com
|
This fader does not work on *** 2.2.0 anymore. As soon as I up the INDEX.PHP , the board give me a SQL Error like:
Invalid SQL: SELECT title,pagetext FROM announcement WHERE enddate>= AND forumid=0 ORDER BY startdate DESC mysql error: You have an error in your SQL syntax near 'AND forumid=0 ORDER BY startdate DESC' at line 1 But when I look at the News in my Admin-CP (I had to change some Code to make it implemented there), the News are there and ready to edit. Whats wrong ?!?! |
Dear ztsky
Could you update this newsfader for vb2.2.0 ! Many thanks in advance !! |
Can anyone do it for vbb 2.2.0? Please?!
THank you ! |
tried the 2.20 install, didn't work
once you edit the $bburl/index.php you get DB errors when you try to acsess it sorry, I never caught the errors :p |
Yea I get the same error too.
|
My guess as to why it's not working in 2.2.0 is the fact that they are now using command lines like:
PHP Code:
|
yes please please please please someone redue this hack for us 2.2.1 owners!!
|
It's a great hack.
just a little edit for vb2.2*: in index.php's added code: replace: PHP Code:
PHP Code:
if you want the new backgroud color integratedntegtate with your board: in fader.js: replace : FDRbackCol = "#f7f7f7"; with: FDRbackCol = ""; |
Perhaps someone can update this hack for 2.2.*, since the original programmer doesnt seem to be around anymore...?
|
yes that would be great guys!
|
actually this is wheremy problem is at, where it says
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> I can't find that in my admin/index? Could some one tell me what line its on? |
See my earlier post regarding that...they are no longer using straight HTML anymore, they are using arrays.
They've replaced all that code with the following line: PHP Code:
|
|
how do I add this line into the news fader?
The $bbtitle member of the day is <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]">$memberoftheday[username]</a> please tell me thanks... |
Ok, I re-wrote the hack to work on 2.2.4 with code from the posts of BitBender and PBC.
Just thought I'd make it a bit easier for some of the newer php hackers to install this. :) vBulletin Newsfader Hack for 2.2.4 Files to edit: vb/admin/index.php vb/index.php Template to edit: forumhome *********************************** **1)open ADMIN/INDEX.PHP and find** *********************************** makenavoption("Add","announcement.php?action=add", "|"); makenavoption("Modify","announcement.php?action=mo dify"); makenavselect("Announcements"); // *** ************************** **just below it,add this** ************************** // start of newsfader hack makenavoption("Add","newsfade.php?&action=add","|" ); makenavoption("Edit","newsfade.php?&action=modify" ,"|"); makenavselect("Forum News"); // end of newsfader hack ******************* **save and upload** ******************* ****************************** **2)open vb/index.php and find** ****************************** if ($birthdays) { eval("\$birthdaybits = \"".gettemplate("forumhome_birthdaybit")."\";") ; } } ************************** **just below it add this** ************************** // Hack newsfade $newsfadebits = "\"<b><i>Welcome to $bbtitle</b></i>\",\"\",\n"; $newsfades=$DB_site->query("SELECT title,pagetext FROM announcement WHERE enddate>=$today 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 newsfade *************************************** **3)edit template forumhome and 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> **************note: this should be added before "$header"************** ************* **then find** ************* $unregwelcomemessage </table> <!-- /text --> <br> <!-- main --> ******************************* **just below it,add this code** ******************************* <table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="1" width="100%" border="0"> <TR bgcolor="{tableheadbgcolor}" id=cat><TD colspan=6> <normalfont color="{categoryfontcolor}">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">Forum news</div></div> </td></tr> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> **********upload NEWSFADER.PHP to you vb/ADMIN **********upload FADER.JS to your vb/ **********go to you vb/ADMIN modify or post a news! You're done. |
okay I have this installed on vb 2.2.6 but for some reason, my news only last one day , anyone have a fix to this problem
|
Quote:
god i was such a newb back then. its also nice to know that ppl were hacking there boards on september 11 last year hypedave i might install this again but at the moment i dunno so i cant really help you. this hack might be out of date. |
All times are GMT. The time now is 01:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|