Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Is there nobody who can help me with my problem????


Webmaster of d-talk & Kabel-Forum.com
Sponsored Links
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
D-Talk, I fear moving the code will make your total topics and posts part not work.

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Quote
quote:
http://212.227.240.108/cgi-bin/ultimatebb.cgi

Your newsfader works fine. What's the problem?

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi free-tv,

i want the newsfader above the line:

forum, themen, beiträge, letzter beitrag, moderation....

and not behind....

do you have an idea???


Webmaster of d-talk & Kabel-Forum.com
Joined: Oct 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 8
Quote
quote:
tipsy thx for that. Little to much hastey in the hack operation.. lol. Rehacked it, and it worked fine... almost. Now i get this error:
Undefined subroutine &main::NewsFaderSettings called at /home/cgi-bin/cp.cgi line 445. When i go to cp.

And in the (Hacked) cp it looks like this on line 445:
if (($ubb eq "vars_search") && ($status eq 'Administrator')) {
&view_vars("search");
exit(0);
} #end vars_search

if (($ubb eq 'set_vars_search') && ($status eq 'Administrator')) {
&GetOrPost("POST");
&set_vars_search;
exit(0);
} #end set_vars_search
here`s line 445 !!!!!!!!!!!!!!!!! I add`e it now, to tell you
if (($ubb eq 'vars_misc') && ($status eq 'Administrator')) {
&view_vars("misc");
exit(0);
} #end vars_misc

if (($ubb eq 'set_vars_misc') && ($status eq 'Administrator')) {
&GetOrPost("POST");
&set_vars_misc;
exit(0);
} #end set_vars_misc

if (($ubb eq 'vars_config') && ($status eq 'Administrator')) {
&view_vars("config");
exit(0);
} #end vars_config

I checked and rehacked it again, but with no luck.

Sponsored Links
Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
I'm having a little problem, that may be due to my Java script I have for my menus.

When I activate NF, the bar, image, and the whole catagory show up, but no news. Also, it gives me a Java error and won't load my menu script either.

I'm using the same menu as UBBDev...

Joined: Oct 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 33
d-talk: to move the NewsFader above your forum/posts/blah blah line, do the following:

Open public_forum_summary.pl, and find the lines:
-------
sub Normal_Table_Row {
my $Row = qq~
-------

Replace with:
-------
sub Normal_Table_Row {

$Row = qq~
-------

Then find:
-------
# Start News Fader Stuff

# determine colspan
-------

Highlight and CUT all of the code between those two lines and "# End News Fader Stuff", INCLUDING those lines.

Paste all the code you just cut right below the line "sub Normal_Table_Top {". DO NOT copy that, just scroll up to find it. If you copy it, you will lose all the data you just cut and will have to start over.

One line above "# Start News Fader Stuff", add a "my $Top;" That should be all you need.


(Scientists) are apolitical, supposedly, like civil servants--empiricists, who only wanted things managed in a rational scientific style, the greatest good for the greatest number, which ought to be fairly simple to arrange, if people were not so trapped in emotions, religions, governments, and other mass delusional systems of that sort.
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Quote
quote:

The test system is now publicly open. Back at ya tipsy ...laff...

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi influenza,

it doesent't work! When I modify the publi_forum_summary.pl like you explain it then there is no newsfader at the mainpage....

frown frown frown


Webmaster of d-talk & Kabel-Forum.com
Joined: Feb 2001
Posts: 36
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 36
I discovered a error.

In News Fader Text: i put the fownling
test
test2
test3

when i view the source im browser i find this source:

//-->




but the correct is


//-->




where i can correct this bug?

[ 11-01-2001: Message edited by: paulomt1 ]

Sponsored Links
Joined: Oct 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 33
Really d-talk? Hmm. Oh wait, I'm still using 3.1. I didn't really see a reason to upgrade. You'll have to ask Slurpee, then. Sorry frown .

Wait... I just visited your board, and it seems to be in the right place? Someone else must've helped you figure it out, then.

[ 11-01-2001: Message edited by: Influenza ]


(Scientists) are apolitical, supposedly, like civil servants--empiricists, who only wanted things managed in a rational scientific style, the greatest good for the greatest number, which ought to be fairly simple to arrange, if people were not so trapped in emotions, religions, governments, and other mass delusional systems of that sort.
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
No influenza nobody helped me, because what you can see on my board is the 2.1 Version! But with this version the fader did not show the total posts and topics... frown

i hope you can help me....

thanks


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Guys, problem has been found. Please upgrade to 4.0. See my first post in thread for link.

Joined: Oct 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 33
Sorry d-talk, I found my error. When I put
Quote
quote:
I meant to put:

Open public_forum_summary.pl, and find the lines:
-------
sub Normal_Table_Row {
my $Row = qq~
-------

Replace with:
-------
sub Normal_Table_Row {

$Row .= qq~
-------

I sent you the fixed file. That should work ok with 3.5, but now that we're at 4.0, no guarantees wink .


(Scientists) are apolitical, supposedly, like civil servants--empiricists, who only wanted things managed in a rational scientific style, the greatest good for the greatest number, which ought to be fairly simple to arrange, if people were not so trapped in emotions, religions, governments, and other mass delusional systems of that sort.


$NewsTable
Joined: Feb 2001
Posts: 36
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 36
@Slurpee

For the text appears in center of screen...

replace this


$vars_news_fader{nftitle}





$NewsTable

for this


$vars_news_fader{nftitle}







correct?

demo in http://nokiforum.com/forum/cgi-bin/ultimatebb.cgi

[ 11-01-2001: Message edited by: paulomt1 ]
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Quote
quote:
Well if you did not update to the updated version 3.5 then the change to 4.0 wont work. Just re-hack the ubb_forum_sumamry.cgi file.

Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
Ok, now the fader is working just fine, but it's not letting my other Java script (the menu) work. I'm not getting an error or anything, just NOT working. Something I need to change?

http://www.fuziontek.com

Joined: Jun 2001
Posts: 86
Member
Member
Offline
Joined: Jun 2001
Posts: 86
Just wondering if you can add the static feature in such as how many page views, how many member, welcome the newest member etc.. confused

Joined: Oct 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 8
Hey guys... little problem here.. Please help smile I just installed the 4.0 and it working great !!! Awesome. But, the picture i want to use, dosen`t show. Only a red cross instead of the pic. I have tried to test the link in the browser, and there it worked fine. I hace cleared cache, refreshed the browser, but nothing seem to work.
No big deal actually, but just wanted to try it out.

grtz

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
To get the newsfader above the line forum/topic/post/...


############# FIND
sub Normal_Table_Top {

############# ADD BELOW
my $Top;

############# CUT THE BLOCK STARTING FROM

# Start News Fader Stuff
# determine colspan

............ AND ENDING AT

# End News Fader Stuff

############# PASTE THIS BLOCK RIGHT BELOW
sub Normal_Table_Top {
my $Top;

############# FIND
# this is the table displayed on regular forum pages
my $Top = qq~

############# CHANGE IT TO
# this is the table displayed on regular forum pages
$Top .= qq~

############# DONE, CLEAR CACHE #########


Quote
quote:

Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Quote
quote:
When configuring the NF make sure the file graphics file is uploaded in to your UBB (non-cgi) directory. The in the CP make sure you enter just the name of the file and not the actual URL of its location. If this is done, try right clicking ont he red X and go to properties and see if it tells you where it is looking.

Joined: Oct 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 8
Thx... laugh laugh I tought it was the hole URL i must provied in the field, but i learned something today also tipsy

Thx. again

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Another small bug fix and 4.1 is about to be released. There was a problem with displaying some Graemlins. Very easy upgrade but important.

Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
Thanks for the great hack... install seemingly went very well, but I have a quick question.

How do I set the News Fader table width? Ever since adding the hack, our boards are approx. 25 pixels wider than the header and footer tables (set in Style Template at 600 pixels wide). Also, it is ever so slighly off center... is this a setting that can be changed or did I just choke on the install?

Thanks in advance...
411 Nightguide Boards

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
In the CP - Newsfader Settings, change 'News Fader Width' to 600.

Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
I figured that was the solution, but setting it doesn't change the size to exactley 600 pixels... it seems to never get any smaller than approx 625-650 pixels regardless of the value I input... it gets larger though.

Joined: Sep 2001
Posts: 21
RTJ Offline
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 21
I must say, a good hack. YaBB has a simler feature built in and the uBB board has not, untill now. This is the first hack i even tried to put in and it kinda worked. when i go to the cp i see news fader settings in the primary settings thing, when i click on it it says this
FYI

You do not have permission to access this area.

» Use your browser's back button to return.

I think it says this as i could not find one file UBB_FORUM_SUMMARY.CGI, is this in the cgi directory?i am assuming it is, u will have to excuse the stupididty of me, i have only just started the board and this is the first hack i have tried to put in.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
RTJ, the problem is in cp.cgi, and yes, ubb_forum_summary.cgi is in /cgi-bin.

Joined: Nov 2001
Posts: 3
nmb Offline
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 3
Help me please !

I installed version 4.1 on my board but however I ran into this problem, the NewFader just simply won't fades any new. I'm getting this error,here is the Screen Shot

Both fader.js and fade.gif are in noncgi folder

I'm running 6.1.02 on IIS, W2K server

Thanks in advance !

[ 11-11-2001: Message edited by: nmb ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Screenshots aren't really gonna help, can you upload the HTML Source (rightclick in IE and choose 'View Source' and 'File' - 'Save As') to somewhere?

Joined: Nov 2001
Posts: 3
nmb Offline
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 3
Here u go http://community.solution4net.com/ci/ultimatebb.htm

[ 11-11-2001: Message edited by: nmb ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You have #00000 as text color instead of #000000 (5 digits instead of 6).

Joined: Nov 2001
Posts: 3
nmb Offline
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 3
Thanks you LK

Careless mistake on my part - It works perfectly now, Thank you for a great hack !

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
I want to make the newsfader show up tru .ssi

Is there a way to do this?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Maurice, put all the ubb_forum_summary.cgi and public_forum_summary.pl (first the ubb_forum_summary.cgi code and then public_forum_summary.pl) in a new CGI file that requires vars_config.cgi, ubb_lib.cgi, ubb_lib_files.cgi, ubb_lib_filehandle.cgi, ubb_lib_filehandler.cgi/whatever and includes #!/usr/bin/perl as the first line, and in the end put:
Code
code:
or something like that. It's untested, so it might not work.

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
Tryed it, no go, It shows up nothing

Joined: Nov 2000
Posts: 51
Member
Member
Offline
Joined: Nov 2000
Posts: 51
Guys,

I installed the NewsFader and am having a problem with a JavaScript error which is:

Line: 30
Char: 1
Error: 'FDRmaxLoops' is undefined
Code: 0
URL: http://www.freaksforum.com/cgitest/ultimatebb.cgi

Anyone have any ideas on this? fade.gif and fader.js have been uploaded to my nonCGI directory.

AgentX

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
View Source didn't show FDRmaxLoops and other parameter. Rehack PUBLIC_FORUM_SUMMARY.PL in TEMPLATE directory.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
AgentX, you can't use percents in the News Fader, use pixels number, like 500. (CP - News Fader Settings - News Fader Width)

Joined: Nov 2000
Posts: 51
Member
Member
Offline
Joined: Nov 2000
Posts: 51
Okay I got it working now, turned out to be that I'd set it to 100%, doh! Thanks guys smile

AgentX

Page 2 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services