|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Okay, I hope this isn't a stupid question. I want to make a home page for Netwerkin that has the login, content islands etc. etc. on it. I'd like to include the small calendar from LK's hack as well. What is involved in making a new page that will be part of the board including the ability to have the proper styles, the login etc? It seems that a portal is going to be slow in coming so I'm thinking that this type of page would be a lot easier to do.
I'm going to look into the pages that some of the hack authors do to see if I can figure some of it out on my own but I'm not a programmer, I just hack things up till they either brak or do what I think I want them to.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
This shouldn't be very difficult, as reading the cookie should be the same as any other mod made to work with the ubb (calendar, etc.) Hmmm... check the ubb.db mod for a jumpstart in reading permissions, cookies, etc. 
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: Jun 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 2 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by Jasper: Good luck dude. Interesting first post since you registered before I did...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Also you can look at ubb_checkmsg.cgi - it requires vars_config, gets the cookie number, does @ubber = cookie("ubber$vars_config{Cookie_Number}"), then $ubber[0] is username, 1 is password, 2 is public name, 3 is dayview, 4 is member #. ("Hello $ubber[2] [ logout ]"). Content Islands - it's JavaScript/SSI calls, so it's pretty easy  (in your cgi file, you can just open the SSI file as string and then print it). Proper styles - use &LoadStyleTemplate("summary") (of course, require vars_template_matach.cgi), then use AltColumnColor, TextColor, etc and not HEX numbers... quote: Originally posted by TheX: Interesting first post since you registered before I did... hmm, so? 
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Just odd that a person registers over a year and a half ago and his first post is in a thread that he/she didn't start or seem to have any interest in. I guess I'm overly paranoid. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Some people registered but didn't post when they wanted to post but their problem got fixed, they wanted to see features of UBBDev (Time Zone, Style Changer, etc), they want to access Database or maybe they want to post in shoutbox (and afterwards he removed his shout)...
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
quote: Originally posted by LK: or maybe they want to post in shoutbox (and afterwards he removed his shout)... Now that is a bit far-fetched  .
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
It's funny that you mentioned a homepage .cgi X. I'm glad this subject is out. A few months ago I was testing out whether I could make a homepage (out of the UBB .cgi) files and while ultimatebb.cgi did recognize it I still have to add the remaining variables to make it work. I too was looking at several hacks and UBB files which kept the cookies and permissions. I guess LK figured it out within seconds. Ahh you coders. LOL. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
 Yeah, I shoulda remembered the shoutbox probably is a better example of what you are wanting Do you plan to javascript some of the CI into it?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Umm...I'm a bit lost what Allen just said regarding the Shoutbox but because we're finally seeing Portal results who cares. I don't know you guys personally but I vote LK to be the Portal guru since by default he is a coder. Hehe. Let me know how it goes over at your end X. BTW...Doesn't the ultimatebb.cgi file need to be coded so that it reads the homepage.cgi like (if ($ubb eq)?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
you probably wouldn't want to do that, as it would increase the load quite a bit  I'd make it as lean as possible...
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...Good point. UBB does take a lot of CPU however so one page (depending on the content it stores) may not make that much of a difference. For now let's get this party started and make this dream a reality, it's about time... But first I would like to get Sub Zero and Paulus' intergrated login code working on my site first then I'll continue with this Portal alternative. 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Update:
I've created a .pl file that could possibly be for a homepage or other. The header, footer and UBB logins are accepted, like any other .pl file. All is left is to add content...Which I'm having a bit of a problem.
My understanding is that SSI will not work in Perl pages. I think javascript can and maybe &RequireCode? What are the codes I need to invoke UBBNews into my .pl file?
LK, Charles, Bookie...?
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
Why not just do Includes of Content Islands?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
I did for Latest Posts/Threads.  There are some things I would like to do without the use of Javascript, but we'll see how it goes. Ohh...I've managed to create a .cgi file (finally) so I'm using that instead of the .pl for now. 
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|