Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
http://kurodot.org/Charles/ubb6article.html

This is required reading if you intend to do *ANY* hacking with UBB6.

*edit 02 10 2001* URL change.

[ February 10, 2001: Message edited by: Charles Capps ]


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Bless you smile I was hoping that a high level overview of the new code was available. I don't like tweaking code that I don't truly understand.

Amy

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Excellent article Charles! I second the notion that it's a definite read!

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
indeed thank you.

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
*bumpage*


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
Joined: Jan 2001
Posts: 72
Member
Member
Offline
Joined: Jan 2001
Posts: 72
Wow. Thanks for the much needed information. I a bit iffy about UBB6.0. But I bet it will be good.

Templates and Moduales eeeeh? Weeell I can get used to it! smile

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
Excellent article! Can't wait to start coding when ubb6 gets out of beta. =D

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
hey charles can i upload the Size.pm to the module folder and use it, or its another kind of modules smile?

Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
Thanks for writing that up. If you plan on doing any code hacking read that article, and, if you don't already have it, buy this book !

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
We're talking about different types of Modules.

Perhaps there should be a terminology clarification.

Modules are Perl files with the extension .pm that are called using the use() function. All provide new subroutines and functions, and many use object oritented interfaces....

UBB Modules will be more akin to "plugins" - they will replace or suplement an existing section of UBB's code.

Modules can be implemented with or without IP's help. Frankly, I'm really hoping they will agree to add the nessecary functionality to the UBB. If not, it COULD be relatively trivial to impelement on our own.

Oh, and that link provided above - GET that book if you intend to do ANY serious hacking....

[ February 04, 2001: Message edited by: Charles Capps ]


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
Joined: Feb 2000
Posts: 57
Member
Member
Offline
Joined: Feb 2000
Posts: 57
Charles,
I found that article very informative, thanks for posting it. I was wondering though, where I could get more information about wordlets, and template creation.
Thanks,
-Lupus

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
There's currently no documentation other than a basic overview of use of Wordlets that should be provided on the IP website.

I guess we'll have to step in with descriptions. wink

Wordlet is an Infopop-ism. They're a type of what is normally called "language files". Individual strings are stored seperately, changable by the cpanel. Much of the included UBB text is done via wordlets. On this reply form, for instance... "Message Icon", "Message", "HTML is not enabled", "UBB Code is enabled", etc.

Templates are a little more difficult to explain.

Perl has the ability to read and execute a script at the command of another. This is done using a few different methods. The most often used is the require() function. UBB's templates are really nothing more than Perl subroutines that return HTML code. That HTML code is quite easy to find and edit, as there's almost no Perl code to get in the way.


UBB.classic: Love it or hate it, it was mine.
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
*bump* Note the URL change.


UBB.classic: Love it or hate it, it was mine.
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
charles, did you change the text? actually i copied the text to my hd.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
no, he switched it to another server as ubbhackers is gone.


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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 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
Morgan 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)