Previous Thread
Next Thread
Print Thread
Rate Thread
#156024 01/11/2003 4:14 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

Sponsored Links
#156025 01/11/2003 5:47 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile

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.) smile

Hmmm... check the ubb.db mod for a jumpstart in reading permissions, cookies, etc. smile


- Allen wavey
- What Drives You?
#156026 01/11/2003 7:56 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Thanks Allen!

#156027 01/11/2003 9:59 PM
Joined: Jun 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 2
Good luck dude.

#156028 01/11/2003 10:07 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Jasper:
Good luck dude.
Interesting first post since you registered before I did...

Sponsored Links
#156029 01/12/2003 12:05 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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 tipsy (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
quote:
Originally posted by TheX:
Interesting first post since you registered before I did...
hmm, so? tipsy

#156030 01/12/2003 1:50 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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. wink

#156031 01/12/2003 6:35 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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)...

#156032 01/12/2003 10:23 AM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Quote
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 wink .

#156033 01/13/2003 5:05 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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. tipsy

Sponsored Links
#156034 01/13/2003 11:11 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile Yeah, I shoulda remembered the shoutbox probably is a better example of what you are wanting laugh

Do you plan to javascript some of the CI into it?


- Allen wavey
- What Drives You?
#156035 01/13/2003 5:11 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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. laugh

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)?

#156036 01/13/2003 6:38 PM
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 smile I'd make it as lean as possible...


- Allen wavey
- What Drives You?
#156037 01/13/2003 7:12 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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. laugh

#156038 03/08/2003 6:31 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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...?

#156039 03/13/2003 1:53 PM
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
Why not just do Includes of Content Islands?

#156040 03/13/2003 11:56 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I did for Latest Posts/Threads. laugh There are some things I would like to do without the use of Javascript, but we'll see how it goes. smile

Ohh...I've managed to create a .cgi file (finally) so I'm using that instead of the .pl for now. tipsy


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)