Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
bah.. I have no idea where it might 'fit' tipsy


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
can you give me one example and I'll figure out the rest?


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Allen, maybe once per 10 lines of code put print "Content-type: text/htmlnn[line number]" replacing [line number] with the line number... But make sure it's not in the middle of something, for example don't put it in the middle of:
Quote
quote:
BEGIN { # get our modules directory set up
($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules");
$| = 1;
}
but instead, put it in the end (after })

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thank you.. I can do dat smile


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ok, it printed out all the Content-type: text/html line numbers until the one after line 216, then it started printing the shoutbox, without any styles and all users were 'unregistered':

Quote
quote:

50Content-type: text/html 67Content-type: text/html 96Content-type: text/html 108Content-type: text/html 120Content-type: text/html Content-type: text/html 133Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 198Content-type: text/html 216 02:36 AM Welcome to all the new people who joined this week
07:03 AM wb Embie, thought is good, take your time
here is my current file:
https://www.ubbdev.com/ubb/upload/00000494/ubb_shoutbox.txt


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
and I can make new posts in it with it linking to my name, tho styles are still gone and the refresh for a new post doesn't work.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
What does this mean?

"Software error:
Undefined subroutine &main::md5_hex called at /home/edndot/public_html/cgi-bin/ubb/ubb_lib.cgi line 395"

MD5 is installed - I am using the I-Frame method

Thanks,
Ed

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Are you sure you're using 6.4? There's a 6.3 version in the 6.3 Beta forum if you're not...

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Actually it is 6.5.0 Beta Release 1

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
make sure you've uploaded all the Modules folder for 6.5 smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
it looks ok to me, tho I am not logged in... clear your browser's cache and check it.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi Allen,
What browswer are you using?

When I use IE 6.0 I get this:
"Software error:
Undefined subroutine &main::md5_hex called at /home/edndot/public_html/cgi-bin/ubb/ubb_lib.cgi line 395"

When I use netscape 7.0 I get This:
You are not logged in. You must be logged in (and registered) to perform this function.

Login or Register

Ummm?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
IE 6, tho I am not logged in... got a test login?


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Thanks Allen - The problem was my browser.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It can't be with your browser, it has to be a problem somewhere in your server...

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
I'm working on updating the }}}ChatBox{{{ to work with UBB.classic 6.5 ... it's almost there, and hopefully I'll figure it out w/o asking (begging) LK for help laugh

For some reason it seems this part isn't working any more in the submit form:

[code][/code]Still looking into it... and still missing it. May have to begin begging LK laugh

P.S. What's wrong w/ the time stamps on this board?


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Quote
quote:
Originally posted by jgeoff:
P.S. What's wrong w/ the time stamps on this board?
Mine works fine with 6.5 so not sure there. As far as the time stamps go, set your time zone in MY PROFILE and it corrects it.

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Ran into a little problem this morning. All the shouts that had been posted had been removed or were lost. This follows me actually pointing out the DELETE X for users as they were posting corrections as additional shouts instead of removing and reposting. So, I posted a request as to who or what removed the shouts if known and received the following.
_______________________________________________

I was trying to use them last night (very early).

First, I could not see the [X].

I added a shout and then I could.

I tried to delete my shout and received a No Permissions error message.

I placed another shout to that effect.

I tried once more to delete the first shout, received "no permissions" and all shouts were still present upon refresh.

When I left, all were there. Just mentioning this in case it's bugged or something.
_______________________________________________
Is anything in the above scenario able to wipe all the shouts? I am aware of the fix in this thread and will apply it now... but would like to attribute the missing shouts to an error and not a hack.

Thanks!

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Ok still working on this.

I created a new member, and my board requires that you be approved for membership. When you first register and are in the Registration Que the shout box shows

Content-type: text/html

Where the shouts would go and

User not approved

Where the input box would go. Makes it look kinda broken. Going to authenticate the test user to see if anything else is strange from the regular user point of view. My tester above claims after the Permissions fix he saw Delete graphics on ALL shouts after posting one ... going to test that now wink

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Oh wow ... it DOES show the delete graphic next to every shout, but it appears it only deletes YOUR shout regardless of which one you press. Can you verify this is as intended LK, and that other shouts can not be deleted by some fluke?

Mike

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I can't confirm it, go to https://www.ubbdev.com/ubbcgi/ubb_shoutbox.cgi?s=iframe or http://www.lkworld.com/cgi-bin/ubb_shoutbox.cgi and you'll see it only has an [x] near the last shout, if you posted it.

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
Does anyone notice anything wrong with this code below? It used to work before I upgraded to 6.5 confused

Quote
quote:
Originally posted by jgeoff:
I'm working on updating the }}}ChatBox{{{ to work with UBB.classic 6.5 ... it's almost there, and hopefully I'll figure it out w/o asking (begging) LK for help laugh

For some reason it seems this part isn't working any more in the submit form:

[code][/code]Still looking into it... and still missing it. May have to begin begging LK laugh
When someone submits a shout in the ChatBox, the bottom frame and the top frame both reload and show the shouts. The bottom frame is supposed to always show the input form.

(You can see the ChatBox on the UBB in my sig)


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
in your shoutbox2, try to replace(untested):
Code
[/code]with:[code]
notice the TARGET thing in the end..

Joined: Apr 2003
Posts: 12
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 12
Does anyone know how to make my shouts go from botom to top instead of top to bottom. and also to have the text box and buttons at the top??

thanks

Joined: Apr 2003
Posts: 12
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 12
OK im dumb.. i didnt even look at the code.. i got it to go from bottom to top.. but i still would like the submit button there at the top as well. any ideas??

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I'm having one small problem with it, if I delete a shout while in a topic, it'll reload the topic with "No Topic found" but if I do it on the main page it works fine, anyone else get this?

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
LK - Thanks! Now the submit box stays where it is... You da man! laugh


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
nevermind, all of a sudden it works

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
I keep having this silly problem of which I suspect I'm really overlooking something obvious.

Im using iframes within a table, so far so good cos everything is working. Except that for some reason the shoutbox wont show the ubb smileys: the links keep directing to the cgi-bin instead of the normal ubb dir. Any ideas on how to fix this?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I tried to access your homepage, http://-/, but it doesn't seem to work wink If you still can't understand why the URL is a required field, can you just post here or in PM your _real_ URL?

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
woopsie daisy, it seems the process of waking up didnt complete, today.. ;D


My html source tells me that its looking for the graemlin in the root but when i checked the html source for other examples mentioned in this topic, the link was a complete link to the forums, eg src="http://www.domain.com/ubbnoncgi/smile.gif". Mine just says "src="smile.gif" where the root obiously is the cgi-bin... And i cant help it, i fear that ill add a shout "doh" when the problem is solved, it has to be something simple im overlooking.

Thnx for checking it out smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
That's pretty odd.. you can see in ubb_shoutbox.cgi that it replaces the regular smiley URL with the full path. For some reason it doesn't do it in your board..

A simple workaround would be to find:
Code
[/code]add below: (untested)[code]

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
[code][/code]isnt anywhere in my ubb_shoutbox.cgi... could that possibly be the cause? In any cause, i know so little about perl and cgi, i wouldnt be able to even guess where to add that line if not below the line you mentioned... Maybe i need to add it somewhere?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops sorry, $w is only in the unreleased version of shoutbox tipsy
Find:
Code
[/code]add below: (untested)[code]

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
Hehe, hope my being vague isnt infectious tipsy

Anyway, I've added the line below the other but unfortunately, it gave me a compilation error... Its such a great addon but it would be even cooler without the thumbnails... smile Any more suggestions? *crosses fingers and bellybutton*

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops sorry, in the end of this line (after " />~"), add ";" (semicolon)...

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
Yesssss! thank you, works like a "smiling" charm smile

Silly me, i could have thought of adding the semolicon myself aswell but seems the vagueness isnt over yet wink

thnx for the help and the great addon!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm.. does this take into account the timezones from 6.5 yet? mine is 2 hours behind me tipsy

http://www.praisecafe.org/ubbcgi/ubb_shoutbox.cgi


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
well thanks to everyone, lk and the godfather guy mostly.
I finally got my shoutbox working under TRIPLE frames. Yes 2 frames within a frame which I didnt even think I could do...
and regardless of what you have heard, UBB can be made to work within frames!!!
actually now my homepage includes my message board and SEVEN frames at once.

http://usastreetracing.com/forum

Page 2 of 3 1 2 3

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)