Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
Since a lot of upcoming hacks are going to (or should) include various wordlets, I propose we make it standard that these hacks not add their wordlets to the standard wordlet file, but to an additional one, just for hacks, instead. This would make upgrading to newer versions significantly easier, as you wouldn't have to sort through your wordlet files looking for the ones Infopop added. Obviously there's no built in method for editing these wordlets via the control panel, but that could be easily remedied.

Thoughts?

Sponsored Links
Joined: Feb 2001
Posts: 35
Member
Member
Offline
Joined: Feb 2001
Posts: 35
I think qasic took the initiative and made a separate wordlet specifically for the avatar hack...pretty snazzy if you ask me.

I see your point though, on smaller hacks that only have one or two words used on the UBB it'd be useful to have a 'catch-all' page for the odds and ends...


Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn to see fear's path. Where the fear has gone there will be nothing. Only I will remain.
Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
Hint:

Make a scriptlet to be distributed with all hacks everywhere that use your new hack_wordlet.

Run from browser, it opens the old hack_wordlets and appends the new hack's wordlets to it.

Snazzy. smile

Err, I didn't say that, did I wink

[ March 19, 2001: Message edited by: navaho ]


Picture perfect penmanship here.
Joined: Jan 2000
Posts: 41
Member
Member
Offline
Joined: Jan 2000
Posts: 41
Also, it would be rather spiffy if there were a seperate section in the control panel for "Hacks Wordlets." Once that particular add-on was finished, there could be a link to it placed at the top of instructions for other hacks. This would make for some very convenient hacking, I do believe.

Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
Two thumbs up and a big "aaaaaay!" to Leshrac for proposing this.

The biggest problem would be lazy coders, and I'm convinced this is something we at UBBDev need to strickly enforce if people want their hacks to be part of our database:

The biggest worry is that people name their hash keys stupidly general things, like:

$wordlets_hack{'reply'}

if we go for this standard, something like that shouldn't be allowed anywhere NEAR the database IMO. We have to be consistent, and use the name of the hack there somewhere to avoid repetition.
eg

$wordlets_hack{'myhack_reply'}


navaho: Thanks, that's a great idea to write into the vinkulum. smile

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
I think Borg's idea of hackname_key is a great suggestion if this idea goes through. Other code hackers opinions on this?

q

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... sounds very similar to this thread:
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=8&t=001193

mebbe I didn't say my words right or something... but I posted it 4 days ago... frown


- Allen wavey
- What Drives You?
Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
i like this idea

Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
Sorry about that, Allen, I didn't see your thread on this. shocked

Borg's idea is a good one, I was thinking the same thing myself. navaho has a good idea as well, hackers could just put all the wordlet keys and values into a separate file, and then a universal script would insert them into the hacks wordlet file, and make sure none of the keys were being duplicated.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Well ok then.. all a body wants is a lil recognition... laugh

Not to disparage anybody, but anything that can be setup and done automagically as in this script that would insert the keys and values would prevent a lot of goof-ups... I am for that too. smile


- 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
Oh yeah, forgot my word to use too...

it would be "groovy" [Linked Image]


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
This sounds like an excellent idea.

It would really make things alot easier, which I'm always for. laugh


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
so who will make the script to auto insert the wordlets? any volunteers? smile

Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
Well, I could write something up, shouldn't take long.

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
i added this to my mod i was making:

Code
code:

Now to summarize... Leshrac, could you make the script check to see if the wordlet file is already on the server, and if not, create it. Then it would add the wordlets. Then it would display to the user instructions on where to add require code, and some other menu code in order to finish installing wordlet file if not already installed. smile

Leshrac: great idea you had. smile

[ March 21, 2001: Message edited by: DPK ]

[ March 21, 2001: Message edited by: DPK ]

Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
Like this? smile

Code
code:

This would also create the keys+default values if they didn't exist in the hash.
I'm using the same thing for for something else I'm writing (unrelated to wordlets).

[ March 21, 2001: Message edited by: Borg ]

Joined: Mar 2000
Posts: 41
Member
Member
Offline
Joined: Mar 2000
Posts: 41
Thought we used the word 'mod' as opposed to 'hack'. ??

shocked


Keep smilin smile
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
true.. we might at least consider "mod" as opposed to "hack"...

quick work elliott... smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
One problem, you won't be able to create the hack wordlet file from scratch, since the variables directory isn't set as writable. I tried this with the Memberlist hack before, and ended up having to distribute a basic setup file along with the hack in order to be able to write to it. The other alternative is creating the wordlet file in another directory, but that's not very desirable.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Okay let's go a few steps further. We are global, so is our audience, soooooooo wouldnt' you need to make wordlets in several languages? I noticed the language box in one of the cp sections, so it stands to reason, choose this langauge, get these wordlets..

Since we are defining terms here, this type of dedication in programming would separate "hackers" from "software engineers"

[ March 21, 2001: Message edited by: DCF ]


- Custom Web Development
http://www.JCSWebDev.com
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
@ragorn: (Who are you, BTW?) I gave up after noone else would, and everyone thought I was talking about "moderators". frown

Leshrac: Just stick a
chmod (0777, "$vars_config{VariablesPath}/");
before the write and an appropriate CHMOD after. smile

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That is both dangerous and impractical.

unless(-e $filepath) { die "You lack vars_wordlets_hacks.cgi. Please view the README included with this hack for instructions on uploading it and setting permissions on it."; }

Well, using UBBish code at least.


UBB.classic: Love it or hate it, it was mine.
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
You think we should make vars_wordlets_hacks.cgi a compulsory download (maybe included in other distributions) then? Ok, I'm all for it..

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That would be the easiest, most likely, and leave less roon for error.


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Assuming the user is not clueless enough to upload the stock version.


UBB.classic: Love it or hate it, it was mine.
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That's assuming quite a bit, wink

For those, I would hope they choose an easier install method... *cough*vinkulum*cough*


- Allen wavey
- What Drives You?
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Quote
quote:
I see the support requests coming in now..

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Seems a lil square one planning might be in order. First narrow your sights, decide whom your target audience is. In programming class we were taught to write like the least versed about computers and software or in this case the UBB was going to use it.

(Side note: I think Hacks is negative in connotation as Allen has echoed several times.)


Is this a further progression in what was once called the vinkilum? If so, then you're establishing a sub format then. The primary being the coding needed to create said works, and the sub being the format in which it's used.

In my long winded way, I'm trying to stress that with so many hacks/mods being created, will those outside this conversation be expected to follow or will they be required (if they don't comply their mod isn't posted here?)

Clearly there are a lot of top flight programmers here, and those like myself that get lucky once in a while. I am not saying anything against this, but how it is implemeneted could be crucial to the growth of the board.

.

(Slides soap box back under the counter)


- Custom Web Development
http://www.JCSWebDev.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
Would be easy enough to make it a requirement to make it into the "finished" forum, and the database... would remain beta until then. Those in the finished forum that contain wordlets could be easily updated for this, since we are in the beginning stages.


- Allen wavey
- What Drives You?
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
That would work, and give young programmers something to strive for and inturn sharpen their skills and learn more.

A win win situation. smile

[ March 22, 2001: Message edited by: DCF ]


- Custom Web Development
http://www.JCSWebDev.com
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Quote
quote:
Bah, ferget that outdated unsupported idea.. Modules are the Future...


UBB.classic: Love it or hate it, it was mine.
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I thought templates are the future? Did I miss the template era already? confused


- Allen wavey
- What Drives You?
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
We don't want EVERYTHING to be un-editable binary CC, and what about the stuff that integrates into the UBB, rather than pluggin in beside it?

*beats Allen with a foam bat for mentioning the "T word"*

Templates are the future for layout and design, not functionality.


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)